package bap-std
The Binary Analysis Platform Standard Library
Install
Dune Dependency
Authors
Maintainers
Sources
v2.5.0.tar.gz
sha256=9c126781385d2fa9b8edab22e62b25c70bf2f99f6ec78abb7e5e36d63cfa4174
md5=5abd9b3628b43f797326034f31ca574f
doc/bap/Bap/Std/Disasm_expert/Recursive/index.html
Module Disasm_expert.Recursive
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 -> Sexplib0.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)"
>