package bap-std

  1. Overview
  2. Docs
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/Term/class-mapper/index.html

Class Term.mapper

Mapper performs deep identity term mapping. If you override any method make sure that you didn't forget to invoke parent's method, as OCaml will not call it for you.

inherit Exp.mapper
method map_term : 't 'p. ('p, 't) cls -> 't term -> 't term

map_term cls t dispatches t to corresponding method

method run : program term -> program term

run p maps each sub in program p

method map_sub : sub term -> sub term

map_sub sub maps each arg and blk in sub

method map_arg : arg term -> arg term

map_arg arg is arg

method map_blk : blk term -> blk term

map_blk blk is blk

method map_phi : phi term -> phi term

map_phi phi is phi

method map_def : def term -> def term

map_def def is def

method map_jmp : jmp term -> jmp term

map_jmp jmp is jmp

OCaml

Innovation. Community. Security.