Instruction.forward_df()
Returns a list of all instructions following the current point in the current data flow graph.
forward_df() → List[
Instruction
]
The forward_df()
function is an intra-procedural analysis function. This means that the function does not operate recursively and instead returns instructions within the current function instruction set.
For example, in the function:
For the instruction uint256 c = a * b;
the forward data flow will return instructions:
The easy way to put this is that it will follow the nodes where the variable c
is being used directly or indirectly.
Query Example
Output
Last updated