struct Cradare2::Model::StackFrame

Overview

Represents a stack frame in a debug backtrace from radare2 dbtj.

Included Modules

Defined in:

cradare2/models/stack_frame.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(frame : Int32 = 0, raw_pc : UInt64 | Nil = nil, raw_function : String | Nil = nil, sp : UInt64 = 0_u64, bp : UInt64 | Nil = nil, raw_addr : UInt64 | Nil = nil, raw_fname : String | Nil = nil, offset : UInt64 | Nil = nil, fcn_offset : UInt64 | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def address : UInt64 #

[View source]
def bp : UInt64 | Nil #

[View source]
def fcn_offset : UInt64 | Nil #

[View source]
def frame : Int32 #

[View source]
def function : String #

[View source]
def function_name : String #

[View source]
def offset : UInt64 | Nil #

[View source]
def pc : UInt64 #

[View source]
def raw_addr : UInt64 | Nil #

[View source]
def raw_fname : String | Nil #

[View source]
def raw_function : String | Nil #

[View source]
def raw_pc : UInt64 | Nil #

[View source]
def sp : UInt64 #

[View source]