Skip to main content

lift_function

Function lift_function 

Source
pub fn lift_function(cfg: &ControlFlowGraph) -> IRFunction
Expand description

Lift an entire ControlFlowGraph into an IRFunction.

This walks each basic block, translates every disassembled instruction into one or more IR opcodes, and converts the block’s terminator into IR as well.