Std.Symtab
Reconstructed symbol table.
This data structure holds information about functions that were found in the executable.
type t = symtab
symbol table
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val sexp_of_fn : fn -> Ppx_sexp_conv_lib.Sexp.t
val empty : t
empty symbol table
val create :
Disasm.Driver.state ->
Disasm.Subroutines.t ->
t Bap_core_theory.KB.t
create disasm calls
creates the symbol table given the disassembly state disasm
and callgraph calls
.
add_symbol table name entry blocks
extends table
with a new symbol with a given name
, entry
block and body blocks
.
find_by_name symbols name
finds a symbol with a given name.
find_by_start symbols addr
finds a symbol that starts from a given address
dominators syms mem
returns a list of functions that dominates over provided memory region mem
intersecting_mem syms mem
returns a list of functions, that resides in memory region mem