package bap-std
The Binary Analysis Platform Standard Library
Install
Dune Dependency
Authors
Maintainers
Sources
v2.2.0.tar.gz
sha256=7c6d0dfe2640e800829617dd150ffe748493fe3f317ed41be44312b2821deb46
md5=5dbc6677d646bec59fd7414f23e88cf8
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 -> 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)"
>