package bap-std
Recursive Descent Disassembler. This disassembler is built on top of Basic
disassembler. It uses the work list algorithm to implement recursive descent disassembly and reconstructs the whole program CFG.
This is an expert-level module, and it is suggested to use high-level Disasm
interface, that is built ontop of this module.
type error = [
| `Failed_to_disasm of mem
| `Failed_to_lift of mem * Basic.full_insn * Core_kernel.Error.t
]
error
domain of errors.
val sexp_of_error : error -> Ppx_sexp_conv_lib.Sexp.t
val run :
?backend:string ->
?brancher:brancher ->
?rooter:rooter ->
arch ->
mem ->
t Core_kernel.Or_error.t
run ?backend ?brancher ?rooter arch mem
disassemble and reconstruct a CFG of the code in mem
, assuming architecture arch
.
cfg t
returns a control flow graph, representing the code in the input region of memory. Note, this is not a subroutine CFG, is is a whole segment graph.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>