struct Cradare2::Model::Xref

Overview

Represents a code or data cross-reference (XREF) from radare2 xtj or xfj.

Included Modules

Defined in:

cradare2/models/xref.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
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) #

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

[View source]

Instance Method Detail

def call? : Bool #

[View source]
def data? : Bool #

[View source]
def from : UInt64 #

[View source]
def function_address : UInt64 | Nil #

[View source]
def function_name : String | Nil #

[View source]
def jump? : Bool #

[View source]
def opcode : String | Nil #

[View source]
def raw_from : UInt64 | Nil #

[View source]
def raw_to : UInt64 | Nil #

[View source]
def ref : UInt64 | Nil #

[View source]
def to : UInt64 #

[View source]
def type : String #

[View source]