Expand description
The vocabulary analyses use to work with any instruction set: how an
instruction transfers control (Flow, Target) and the traits every
binbun decoder implements (Architecture, Instruction).
Control-flow recovery needs only FlowSteps, which
Architecture::decode_flow may give faster than a full decode.
Analyses (CFG recovery, later lifting) are written against these traits only. Architecture-specific detail, such as which condition a branch tests, stays in the decoder crates.
no_std, no dependencies.
Structs§
- Flow
Step - What control-flow recovery needs of the instruction at an address: its
length, how it transfers control and the address it computes
(
Instruction::len,Instruction::flowandInstruction::computed_address).
Enums§
- Flow
- How an instruction transfers control.
- Target
- Where a jump or call goes, as far as the instruction alone tells.
Traits§
- Architecture
- An instruction set and its decoder.
- Instruction
- A decoded instruction, as analyses see it.