package bap-std

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

Class Term.visitor

Visitor performs deep visiting. As always, don't forget to overrid parent methods. The visitor comes with useful enter_T leave_T that are no-ops in this visitor, so if you inherit directly from it, then you may not call to the parent method.

inherit 'a Exp.visitor
method enter_term : 't 'p. ('p, 't) cls -> 't term -> 'a -> 'a

visit_term cls t dispatch term t to corresponding method

method visit_term : 't 'p. ('p, 't) cls -> 't term -> 'a -> 'a

visit_term cls t dispatch term t to corresponding method

method leave_term : 't 'p. ('p, 't) cls -> 't term -> 'a -> 'a
method enter_program : program term -> 'a -> 'a
method run : program term -> 'a -> 'a
method leave_program : program term -> 'a -> 'a
method enter_sub : sub term -> 'a -> 'a
method visit_sub : sub term -> 'a -> 'a
method leave_sub : sub term -> 'a -> 'a
method enter_blk : blk term -> 'a -> 'a
method visit_blk : blk term -> 'a -> 'a
method leave_blk : blk term -> 'a -> 'a
method enter_arg : arg term -> 'a -> 'a
method visit_arg : arg term -> 'a -> 'a
method leave_arg : arg term -> 'a -> 'a
method enter_phi : phi term -> 'a -> 'a
method visit_phi : phi term -> 'a -> 'a
method leave_phi : phi term -> 'a -> 'a
method enter_def : def term -> 'a -> 'a
method visit_def : def term -> 'a -> 'a
method leave_def : def term -> 'a -> 'a
method enter_jmp : jmp term -> 'a -> 'a
method visit_jmp : jmp term -> 'a -> 'a
method leave_jmp : jmp term -> 'a -> 'a
OCaml

Innovation. Community. Security.