abstract class
Cradare2::Lines::LineProvider
- Cradare2::Lines::LineProvider
- Reference
- Object
Overview
Abstract strategy provider for resolving native instruction addresses to source code locations.
Direct Known Subclasses
Defined in:
cradare2/lines/line_provider.crConstructors
Instance Method Summary
-
#available? : Bool
Returns true if this provider is available and functional on the host environment.
- #name : String
-
#resolve_address(address : UInt64) : SourceLocation | Nil
Resolves a single instruction address.
-
#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.
Constructor Detail
Instance Method Detail
abstract
def available? : Bool
#
Returns true if this provider is available and functional on the host environment.
abstract
def resolve_address(address : UInt64) : SourceLocation | Nil
#
Resolves a single instruction address.
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.