Module Sub.KB

lift entry takes an basic block of assembler instructions, as an entry and lifts it to the subroutine term.

  • since 2.6.0

ssa sub returns sub in SSA form. If program is already in SSA, then do nothing (see also is_ssa). The underlying algorithm produces a semi-pruned SSA form. To represent different versions of the same variable we use variable versions. Any definition of a variable increases its version number. So, the zero version is reserved for variables that weren't defined before the first use.

  • since 2.6.0
val flatten : t -> t Bap_knowledge.knowledge

flatten sub returns sub in flattened form in which all operands are trivial. @see Blk.KB.flatten for more information about flattening.

  • since 2.6.0