struct Cradare2::Model::Instruction

Overview

Represents a disassembled instruction from radare2 pdj or pdfj.

Included Modules

Defined in:

cradare2/models/instruction.cr

Constructors

Instance Method Summary

Constructor Detail

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

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

[View source]

Instance Method Detail

def address : UInt64 #

[View source]
def bytes : String | Nil #

[View source]
def comment : String | Nil #

[View source]
def disasm : String | Nil #

[View source]
def fail : UInt64 | Nil #

[View source]
def family : String | Nil #

[View source]
def flags : Array(String) | Nil #

[View source]
def jump : UInt64 | Nil #

[View source]
def offset : UInt64 #

[View source]
def opcode : String #

[View source]
def raw_addr : UInt64 | Nil #

[View source]
def raw_offset : UInt64 | Nil #

[View source]
def size : Int32 #

[View source]
def to_s : String #

Human readable disassembly line


[View source]
def type : String | Nil #

[View source]