struct
Cradare2::Model::Xref
- Cradare2::Model::Xref
- Struct
- Value
- Object
Overview
Represents a code or data cross-reference (XREF) from radare2 xtj or xfj.
Included Modules
- JSON::Serializable
Defined in:
cradare2/models/xref.crConstructors
- .new(pull : JSON::PullParser)
- .new(raw_from : UInt64 | Nil = nil, raw_to : UInt64 | Nil = nil, type : String = "CALL", opcode : String | Nil = nil, function_address : UInt64 | Nil = nil, function_name : String | Nil = nil, ref : UInt64 | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #call? : Bool
- #data? : Bool
- #from : UInt64
- #function_address : UInt64 | Nil
- #function_name : String | Nil
- #jump? : Bool
- #opcode : String | Nil
- #raw_from : UInt64 | Nil
- #raw_to : UInt64 | Nil
- #ref : UInt64 | Nil
- #to : UInt64
- #type : String
Constructor Detail
def self.new(raw_from : UInt64 | Nil = nil, raw_to : UInt64 | Nil = nil, type : String = "CALL", opcode : String | Nil = nil, function_address : UInt64 | Nil = nil, function_name : String | Nil = nil, ref : UInt64 | Nil = nil)
#