abstract class Cradare2::Lines::LineProvider

Overview

Abstract strategy provider for resolving native instruction addresses to source code locations.

Direct Known Subclasses

Defined in:

cradare2/lines/line_provider.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String) #

[View source]

Instance Method Detail

abstract def available? : Bool #

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


[View source]
def name : String #

[View source]
abstract def resolve_address(address : UInt64) : SourceLocation | Nil #

Resolves a single instruction address.


[View source]
abstract def resolve_instructions(instructions : Array(Model::Instruction), function_name : String | Nil = nil) : Hash(UInt64, SourceLocation) #

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


[View source]