B2R2


StackPointerPropagation Type

This is a variant of the SparseConstantPropagation, which only tracks the stack pointer used in a function. We initiate the stack pointer with a constant first, and check how it propagates within the function. StackPointerPropagation is generally much faster than SparseConstantPropagation due to its simplicity.

Constructors

Constructor Description

StackPointerPropagation(hdl, ssaCFG)

Full Usage: StackPointerPropagation(hdl, ssaCFG)

Parameters:
Returns: StackPointerPropagation
hdl : BinHandle
ssaCFG : DiGraph<SSABasicBlock, CFGEdgeKind>
Returns: StackPointerPropagation