Instruction.previous_instructions()
Returns a list of the previous instructions of the current node in the control flow graph.
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}return c;uint256 c = a - b;
require(b <= a, errorMessage);
*entry_point_instruction*require(b <= a, errorMessage);*entry_point_instruction*
{
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}Query Example
Example Output

Last updated