package bap-std
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=63ada71fa4f602bd679174dc6bf780d54aeded40ad4ec20d256df15886e3d2d5
md5=b8b1aff8c6846f2213eafc54de07b304
doc/bap/Bap/Std/Biri/class-context/index.html
Class Biri.context
Biri evaluates terms in the context of a whole program (since terms may contain calls and jumps). Biri also tracks for current position inside block, the block and preceding block.
Note, that even if some properties do not provide setters, they can still change during the evaluation, as other implementations may override them and provide different behavior.
inherit Expi.contextmethod trace : tid listlist of term that were already executed (may be long)
method enter_term : tid -> 'sShould be called when a new term is entered. This implementation will update the trace list with the passed argument.
method set_next : tid option -> 'sset_next tid set the identifier of the next term.
method next : tid optionThe next term identifier is the identifier of a term, that should be executed next. If next is None then, the interpretation will stop. The identifier must belong to a term, that is in the program and is either an identifier of a block or a subroutine.