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