mirror of https://github.com/crytic/slither
parent
5f9abc2e89
commit
0c27b000aa
Binary file not shown.
@ -0,0 +1,6 @@ |
||||
{ |
||||
"C": { |
||||
"f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: RETURN 1\n\"];\n}\n", |
||||
"g()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: INLINE ASM 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n}\n" |
||||
} |
||||
} |
@ -0,0 +1,11 @@ |
||||
contract C { |
||||
function f() public view returns (uint256) { |
||||
return block.prevrandao; |
||||
} |
||||
|
||||
function g() public view returns (uint256 ret) { |
||||
assembly { |
||||
ret := prevrandao() |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue