Instruction.forward_df()
Returns a list of all instructions following the current point in the current data flow graph.
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}require(c / a == b, "SafeMath: multiplication overflow");
return c;Query Example
from glider import *
def query():
# Fetch an instruction
instructions = Instructions().exec(1,16)
# Return the list of instructions following the current instruction
return instructions + list(instructions[0].forward_df())Example Output

Last updated