class Cradare2::Lines::R2CodelineProvider

Overview

Provider querying radare2's native code line tables (CLj).

Defined in:

cradare2/lines/line_provider.cr

Constructors

Instance Method Summary

Instance methods inherited from class Cradare2::Lines::LineProvider

available? : Bool available?, name : String name, resolve_address(address : UInt64) : SourceLocation | Nil resolve_address, resolve_instructions(instructions : Array(Model::Instruction), function_name : String | Nil = nil) : Hash(UInt64, SourceLocation) resolve_instructions

Constructor methods inherited from class Cradare2::Lines::LineProvider

new(name : String) new

Constructor Detail

def self.new(client : Client) #

[View source]

Instance Method Detail

def available? : Bool #
Description copied from class Cradare2::Lines::LineProvider

Returns true if this provider is available and functional on the host environment.


[View source]
def client : Client #

[View source]
def query_r2_codelines : Hash(UInt64, SourceLocation) #

[View source]
def resolve_address(address : UInt64) : SourceLocation | Nil #
Description copied from class Cradare2::Lines::LineProvider

Resolves a single instruction address.


[View source]
def resolve_instructions(instructions : Array(Model::Instruction), function_name : String | Nil = nil) : Hash(UInt64, SourceLocation) #
Description copied from class Cradare2::Lines::LineProvider

Batch-resolves a list of instructions, returning a mapping of Address => SourceLocation.


[View source]