package bap-std

  1. Overview
  2. Docs
The Binary Analysis Platform Standard Library

Install

Dune Dependency

Authors

Maintainers

Sources

v2.1.0.tar.gz
sha256=631fc58628418e4856709a0cfc923a65e00c9494fbd28d444c633d11194831de
md5=3db9deac8d429b9b8a8ec9aec54987b1

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.