mirror of https://github.com/crytic/slither
commit
cacfefd1e6
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,5 @@ |
||||
{ |
||||
"Test": { |
||||
"set(StackTop,uint256)": "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,5 @@ |
||||
{ |
||||
"Test": { |
||||
"set(StackTop,uint256)": "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,5 @@ |
||||
{ |
||||
"Test": { |
||||
"set(StackTop,uint256)": "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,5 @@ |
||||
{ |
||||
"Test": { |
||||
"set(StackTop,uint256)": "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,5 @@ |
||||
{ |
||||
"Test": { |
||||
"set(StackTop,uint256)": "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,5 @@ |
||||
{ |
||||
"Test": { |
||||
"set(StackTop,uint256)": "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,5 @@ |
||||
{ |
||||
"Test": { |
||||
"set(StackTop,uint256)": "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,27 @@ |
||||
type Operand is uint256; |
||||
type StackTop is uint256; |
||||
struct StorageOpcodesRange { |
||||
uint256 pointer; |
||||
uint256 length; |
||||
} |
||||
struct IntegrityState { |
||||
// Sources first as we read it in assembly. |
||||
bytes[] sources; |
||||
StorageOpcodesRange storageOpcodesRange; |
||||
uint256 constantsLength; |
||||
uint256 contextLength; |
||||
StackTop stackBottom; |
||||
StackTop stackMaxTop; |
||||
uint256 contextScratch; |
||||
function(IntegrityState memory, Operand, StackTop) |
||||
view |
||||
returns (StackTop)[] integrityFunctionPointers; |
||||
} |
||||
|
||||
contract Test { |
||||
function set(StackTop stackTop_, uint256 a_) internal pure { |
||||
assembly { |
||||
mstore(stackTop_, a_) |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue