class
Cradare2::DSL::Disassembly
- Cradare2::DSL::Disassembly
- Reference
- Object
Overview
DSL for disassembling code and decompilation.
Defined in:
cradare2/dsl/disasm.crConstructors
Instance Method Summary
-
#at(address : UInt64 | Int32 | Int64 | String, count : Int32 = 1) : Array(Model::Instruction)
Disassembles instructions starting at specified address.
-
#decompile(target : UInt64 | Int32 | Int64 | String | Nil = nil) : String
Decompiles current function or target to C-like pseudocode (pdc, or pdg if ghidra is available).
-
#function_instructions(target : UInt64 | Int32 | Int64 | String | Nil = nil) : Array(Model::Instruction)
Disassembles an entire function returning typed instructions.
-
#function_text(target : UInt64 | Int32 | Int64 | String | Nil = nil) : String
Disassembles an entire function by name or address as formatted text.
-
#instructions(count : Int32 = 10, at : UInt64 | Int32 | Int64 | String | Nil = nil) : Array(Model::Instruction)
Disassembles instructions at current seek or specified address returning typed instructions.
-
#text(count : Int32 = 10, at : UInt64 | Int32 | Int64 | String | Nil = nil) : String
Disassembles instructions at current seek or specified address as text.
Constructor Detail
Instance Method Detail
Disassembles instructions starting at specified address.
Decompiles current function or target to C-like pseudocode (pdc, or pdg if ghidra is available).
Disassembles an entire function returning typed instructions.
Disassembles an entire function by name or address as formatted text.
Disassembles instructions at current seek or specified address returning typed instructions.
Disassembles instructions at current seek or specified address as text.