Security analysis tool for EVM bytecode. Supports smart contracts built for Ethereum, Hedera, Quorum, Vechain, Roostock, Tron and other EVM-compatible blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
mythril/tests/testdata/outputs_expected/overflow.sol.o.graph.html

56 lines
22 KiB

<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/vis/4.21.0/vis.min.css" integrity="sha256-iq5ygGJ7021Pi7H5S+QAUXCPUfaBzfqeplbg/KlEssg=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/vis/4.21.0/vis.min.js" integrity="sha256-JuQeAGbk9rG/EoRMixuy5X8syzICcvB0dj3KindZkY0=" crossorigin="anonymous"></script>
<style type="text/css">
#mynetwork {
background-color: #232625;
}
body {
background-color: #232625;
color: #ffffff;
font-size: 10px;
}
</style>
<script>
var options = {"autoResize": true, "edges": {"font": {"align": "horizontal", "background": "none", "color": "#FFFFFF", "face": "arial", "multi": false, "strokeColor": "#ffffff", "strokeWidth": 0, "vadjust": 0}}, "height": "100%", "layout": {"hierarchical": {"blockShifting": true, "direction": "LR", "edgeMinimization": true, "enabled": true, "levelSeparation": 450, "nodeSpacing": 200, "parentCentralization": false, "sortMethod": "directed", "treeSpacing": 100}, "improvedLayout": true}, "manipulation": false, "nodes": {"borderWidth": 1, "borderWidthSelected": 2, "chosen": true, "color": "#000000", "font": {"align": "left", "color": "#FFFFFF"}, "shape": "box"}, "physics": {"enabled": false}, "width": "100%"};
var nodes = [{"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "98 JUMPDEST fallback\n99 PUSH1 0x00\n101 DUP1\n102 REVERT", "id": "1198", "isExpanded": false, "label": "98 JUMPDEST fallback\n99 PUSH1 0x00\n101 DUP1\n102 REVERT", "size": 150, "truncLabel": "98 JUMPDEST fallback\n99 PUSH1 0x00\n101 DUP1\n102 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "122 JUMPDEST _function_0x18160ddd\n123 PUSH1 0x40\n125 MLOAD\n126 DUP1\n127 DUP3\n128 DUP2\n129 MSTORE\n130 PUSH1 0x20\n132 ADD\n133 SWAP2\n134 POP\n135 POP\n136 PUSH1 0x40\n138 MLOAD\n139 DUP1\n140 SWAP2\n141 SUB\n142 SWAP1\n143 RETURN", "id": "1203", "isExpanded": false, "label": "122 JUMPDEST _function_0x18160ddd\n123 PUSH1 0x40\n125 MLOAD\n126 DUP1\n127 DUP3\n128 DUP2\n(click to expand +)", "size": 150, "truncLabel": "122 JUMPDEST _function_0x18160ddd\n123 PUSH1 0x40\n125 MLOAD\n126 DUP1\n127 DUP3\n128 DUP2\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "346 JUMPDEST _function_0x18160ddd\n347 PUSH1 0x01\n349 SLOAD\n350 DUP2\n351 JUMP", "id": "1202", "isExpanded": false, "label": "346 JUMPDEST _function_0x18160ddd\n347 PUSH1 0x01\n349 SLOAD\n350 DUP2\n351 JUMP", "size": 150, "truncLabel": "346 JUMPDEST _function_0x18160ddd\n347 PUSH1 0x01\n349 SLOAD\n350 DUP2\n351 JUMP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "114 JUMPDEST _function_0x18160ddd\n115 PUSH2 0x007a\n118 PUSH2 0x015a\n121 JUMP", "id": "1201", "isExpanded": false, "label": "114 JUMPDEST _function_0x18160ddd\n115 PUSH2 0x007a\n118 PUSH2 0x015a\n121 JUMP", "size": 150, "truncLabel": "114 JUMPDEST _function_0x18160ddd\n115 PUSH2 0x007a\n118 PUSH2 0x015a\n121 JUMP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "110 PUSH1 0x00\n112 DUP1\n113 REVERT", "id": "1204", "isExpanded": false, "label": "110 PUSH1 0x00\n112 DUP1\n113 REVERT", "size": 150, "truncLabel": "110 PUSH1 0x00\n112 DUP1\n113 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "103 JUMPDEST _function_0x18160ddd\n104 CALLVALUE\n105 ISZERO\n106 PUSH2 0x0072\n109 JUMPI", "id": "1200", "isExpanded": false, "label": "103 JUMPDEST _function_0x18160ddd\n104 CALLVALUE\n105 ISZERO\n106 PUSH2 0x0072\n109 JUMPI", "size": 150, "truncLabel": "103 JUMPDEST _function_0x18160ddd\n104 CALLVALUE\n105 ISZERO\n106 PUSH2 0x0072\n109 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "177 JUMPDEST Token(uint256)\n178 STOP", "id": "1209", "isExpanded": false, "label": "177 JUMPDEST Token(uint256)\n178 STOP", "size": 150, "truncLabel": "177 JUMPDEST Token(uint256)\n178 STOP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "352 JUMPDEST Token(uint256)\n353 DUP1\n354 PUSH1 0x01\n356 DUP2\n357 SWAP1\n358 SSTORE\n359 PUSH1 0x00\n361 DUP1\n362 CALLER\n363 PUSH20 0xffffffffffffffffffffffffffffffffffffffff\n384 AND\n385 PUSH20 0xffffffffffffffffffffffffffffffffffffffff\n406 AND\n407 DUP2\n408 MSTORE\n409 PUSH1 0x20\n411 ADD\n412 SWAP1\n413 DUP2\n414 MSTORE\n415 PUSH1 0x20\n417 ADD\n418 PUSH1 0x00\n420 SHA3\n421 DUP2\n422 SWAP1\n423 SSTORE\n424 POP\n425 POP\n426 JUMP", "id": "1208", "isExpanded": false, "label": "352 JUMPDEST Token(uint256)\n353 DUP1\n354 PUSH1 0x01\n356 DUP2\n357 SWAP1\n358 SSTORE\n(click to expand +)", "size": 150, "truncLabel": "352 JUMPDEST Token(uint256)\n353 DUP1\n354 PUSH1 0x01\n356 DUP2\n357 SWAP1\n358 SSTORE\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "155 JUMPDEST Token(uint256)\n156 PUSH2 0x00b1\n159 PUSH1 0x04\n161 DUP1\n162 DUP1\n163 CALLDATALOAD\n164 SWAP1\n165 PUSH1 0x20\n167 ADD\n168 SWAP1\n169 SWAP2\n170 SWAP1\n171 POP\n172 POP\n173 PUSH2 0x0160\n176 JUMP", "id": "1207", "isExpanded": false, "label": "155 JUMPDEST Token(uint256)\n156 PUSH2 0x00b1\n159 PUSH1 0x04\n161 DUP1\n162 DUP1\n163 CALLDATALOAD\n(click to expand +)", "size": 150, "truncLabel": "155 JUMPDEST Token(uint256)\n156 PUSH2 0x00b1\n159 PUSH1 0x04\n161 DUP1\n162 DUP1\n163 CALLDATALOAD\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "151 PUSH1 0x00\n153 DUP1\n154 REVERT", "id": "1210", "isExpanded": false, "label": "151 PUSH1 0x00\n153 DUP1\n154 REVERT", "size": 150, "truncLabel": "151 PUSH1 0x00\n153 DUP1\n154 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "144 JUMPDEST Token(uint256)\n145 CALLVALUE\n146 ISZERO\n147 PUSH2 0x009b\n150 JUMPI", "id": "1206", "isExpanded": false, "label": "144 JUMPDEST Token(uint256)\n145 CALLVALUE\n146 ISZERO\n147 PUSH2 0x009b\n150 JUMPI", "size": 150, "truncLabel": "144 JUMPDEST Token(uint256)\n145 CALLVALUE\n146 ISZERO\n147 PUSH2 0x009b\n150 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "234 JUMPDEST balanceOf(address)\n235 PUSH1 0x40\n237 MLOAD\n238 DUP1\n239 DUP3\n240 DUP2\n241 MSTORE\n242 PUSH1 0x20\n244 ADD\n245 SWAP2\n246 POP\n247 POP\n248 PUSH1 0x40\n250 MLOAD\n251 DUP1\n252 SWAP2\n253 SUB\n254 SWAP1\n255 RETURN", "id": "1215", "isExpanded": false, "label": "234 JUMPDEST balanceOf(address)\n235 PUSH1 0x40\n237 MLOAD\n238 DUP1\n239 DUP3\n240 DUP2\n(click to expand +)", "size": 150, "truncLabel": "234 JUMPDEST balanceOf(address)\n235 PUSH1 0x40\n237 MLOAD\n238 DUP1\n239 DUP3\n240 DUP2\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "427 JUMPDEST balanceOf(address)\n428 PUSH1 0x00\n430 DUP1\n431 PUSH1 0x00\n433 DUP4\n434 PUSH20 0xffffffffffffffffffffffffffffffffffffffff\n455 AND\n456 PUSH20 0xffffffffffffffffffffffffffffffffffffffff\n477 AND\n478 DUP2\n479 MSTORE\n480 PUSH1 0x20\n482 ADD\n483 SWAP1\n484 DUP2\n485 MSTORE\n486 PUSH1 0x20\n488 ADD\n489 PUSH1 0x00\n491 SHA3\n492 SLOAD\n493 SWAP1\n494 POP\n495 SWAP2\n496 SWAP1\n497 POP\n498 JUMP", "id": "1214", "isExpanded": false, "label": "427 JUMPDEST balanceOf(address)\n428 PUSH1 0x00\n430 DUP1\n431 PUSH1 0x00\n433 DUP4\n434 PUSH20 0xffffffffffffffffffffffffffffffffffffffff\n(click to expand +)", "size": 150, "truncLabel": "427 JUMPDEST balanceOf(address)\n428 PUSH1 0x00\n430 DUP1\n431 PUSH1 0x00\n433 DUP4\n434 PUSH20 0xffffffffffffffffffffffffffffffffffffffff\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "190 JUMPDEST balanceOf(address)\n191 PUSH2 0x00ea\n194 PUSH1 0x04\n196 DUP1\n197 DUP1\n198 CALLDATALOAD\n199 PUSH20 0xffffffffffffffffffffffffffffffffffffffff\n220 AND\n221 SWAP1\n222 PUSH1 0x20\n224 ADD\n225 SWAP1\n226 SWAP2\n227 SWAP1\n228 POP\n229 POP\n230 PUSH2 0x01ab\n233 JUMP", "id": "1213", "isExpanded": false, "label": "190 JUMPDEST balanceOf(address)\n191 PUSH2 0x00ea\n194 PUSH1 0x04\n196 DUP1\n197 DUP1\n198 CALLDATALOAD\n(click to expand +)", "size": 150, "truncLabel": "190 JUMPDEST balanceOf(address)\n191 PUSH2 0x00ea\n194 PUSH1 0x04\n196 DUP1\n197 DUP1\n198 CALLDATALOAD\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "186 PUSH1 0x00\n188 DUP1\n189 REVERT", "id": "1216", "isExpanded": false, "label": "186 PUSH1 0x00\n188 DUP1\n189 REVERT", "size": 150, "truncLabel": "186 PUSH1 0x00\n188 DUP1\n189 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "179 JUMPDEST balanceOf(address)\n180 CALLVALUE\n181 ISZERO\n182 PUSH2 0x00be\n185 JUMPI", "id": "1212", "isExpanded": false, "label": "179 JUMPDEST balanceOf(address)\n180 CALLVALUE\n181 ISZERO\n182 PUSH2 0x00be\n185 JUMPI", "size": 150, "truncLabel": "179 JUMPDEST balanceOf(address)\n180 CALLVALUE\n181 ISZERO\n182 PUSH2 0x00be\n185 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "320 JUMPDEST sendeth(address,uint256)\n321 PUSH1 0x40\n323 MLOAD\n324 DUP1\n325 DUP3\n326 ISZERO\n327 ISZERO\n328 ISZERO\n329 ISZERO\n330 DUP2\n331 MSTORE\n332 PUSH1 0x20\n334 ADD\n335 SWAP2\n336 POP\n337 POP\n338 PUSH1 0x40\n340 MLOAD\n341 DUP1\n342 SWAP2\n343 SUB\n344 SWAP1\n345 RETURN", "id": "1222", "isExpanded": false, "label": "320 JUMPDEST sendeth(address,uint256)\n321 PUSH1 0x40\n323 MLOAD\n324 DUP1\n325 DUP3\n326 ISZERO\n(click to expand +)", "size": 150, "truncLabel": "320 JUMPDEST sendeth(address,uint256)\n321 PUSH1 0x40\n323 MLOAD\n324 DUP1\n325 DUP3\n326 ISZERO\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "580 JUMPDEST sendeth(address,uint256)\n581 DUP2\n582 PUSH1 0x00\n584 DUP1\n585 CALLER\n586 PUSH20 0xffffffffffffffffffffffffffffffffffffffff\n607 AND\n608 PUSH20 0xffffffffffffffffffffffffffffffffffffffff\n629 AND\n630 DUP2\n631 MSTORE\n632 PUSH1 0x20\n634 ADD\n635 SWAP1\n636 DUP2\n637 MSTORE\n638 PUSH1 0x20\n640 ADD\n641 PUSH1 0x00\n643 SHA3\n644 PUSH1 0x00\n646 DUP3\n647 DUP3\n648 SLOAD\n649 SUB\n650 SWAP3\n651 POP\n652 POP\n653 DUP2\n654 SWAP1\n655 SSTORE\n656 POP\n657 DUP2\n658 PUSH1 0x00\n660 DUP1\n661 DUP6\n662 PUSH20 0xffffffffffffffffffffffffffffffffffffffff\n683 AND\n684 PUSH20 0xffffffffffffffffffffffffffffffffffffffff\n705 AND\n706 DUP2\n707 MSTORE\n708 PUSH1 0x20\n710 ADD\n711 SWAP1\n712 DUP2\n713 MSTORE\n714 PUSH1 0x20\n716 ADD\n717 PUSH1 0x00\n719 SHA3\n720 PUSH1 0x00\n722 DUP3\n723 DUP3\n724 SLOAD\n725 ADD\n726 SWAP3\n727 POP\n728 POP\n729 DUP2\n730 SWAP1\n731 SSTORE\n732 POP\n733 PUSH1 0x02\n735 PUSH1 0x00\n737 DUP1\n738 DUP6\n739 PUSH20 0xffffffffffffffffffffffffffffffffffffffff\n760 AND\n761 PUSH20 0xffffffffffffffffffffffffffffffffffffffff\n782 AND\n783 DUP2\n784 MSTORE\n785 PUSH1 0x20\n787 ADD\n788 SWAP1\n789 DUP2\n790 MSTORE\n791 PUSH1 0x20\n793 ADD\n794 PUSH1 0x00\n796 SHA3\n797 DUP2\n798 SWAP1\n799 SSTORE\n800 POP\n801 PUSH1 0x01\n803 SWAP1\n804 POP\n805 SWAP3\n806 SWAP2\n807 POP\n808 POP\n809 JUMP", "id": "1221", "isExpanded": false, "label": "580 JUMPDEST sendeth(address,uint256)\n581 DUP2\n582 PUSH1 0x00\n584 DUP1\n585 CALLER\n586 PUSH20 0xffffffffffffffffffffffffffffffffffffffff\n(click to expand +)", "size": 150, "truncLabel": "580 JUMPDEST sendeth(address,uint256)\n581 DUP2\n582 PUSH1 0x00\n584 DUP1\n585 CALLER\n586 PUSH20 0xffffffffffffffffffffffffffffffffffffffff\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "499 JUMPDEST sendeth(address,uint256)\n500 PUSH1 0x00\n502 DUP1\n503 DUP3\n504 PUSH1 0x00\n506 DUP1\n507 CALLER\n508 PUSH20 0xffffffffffffffffffffffffffffffffffffffff\n529 AND\n530 PUSH20 0xffffffffffffffffffffffffffffffffffffffff\n551 AND\n552 DUP2\n553 MSTORE\n554 PUSH1 0x20\n556 ADD\n557 SWAP1\n558 DUP2\n559 MSTORE\n560 PUSH1 0x20\n562 ADD\n563 PUSH1 0x00\n565 SHA3\n566 SLOAD\n567 SUB\n568 LT\n569 ISZERO\n570 ISZERO\n571 ISZERO\n572 PUSH2 0x0244\n575 JUMPI", "id": "1220", "isExpanded": false, "label": "499 JUMPDEST sendeth(address,uint256)\n500 PUSH1 0x00\n502 DUP1\n503 DUP3\n504 PUSH1 0x00\n506 DUP1\n(click to expand +)", "size": 150, "truncLabel": "499 JUMPDEST sendeth(address,uint256)\n500 PUSH1 0x00\n502 DUP1\n503 DUP3\n504 PUSH1 0x00\n506 DUP1\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "267 JUMPDEST sendeth(address,uint256)\n268 PUSH2 0x0140\n271 PUSH1 0x04\n273 DUP1\n274 DUP1\n275 CALLDATALOAD\n276 PUSH20 0xffffffffffffffffffffffffffffffffffffffff\n297 AND\n298 SWAP1\n299 PUSH1 0x20\n301 ADD\n302 SWAP1\n303 SWAP2\n304 SWAP1\n305 DUP1\n306 CALLDATALOAD\n307 SWAP1\n308 PUSH1 0x20\n310 ADD\n311 SWAP1\n312 SWAP2\n313 SWAP1\n314 POP\n315 POP\n316 PUSH2 0x01f3\n319 JUMP", "id": "1219", "isExpanded": false, "label": "267 JUMPDEST sendeth(address,uint256)\n268 PUSH2 0x0140\n271 PUSH1 0x04\n273 DUP1\n274 DUP1\n275 CALLDATALOAD\n(click to expand +)", "size": 150, "truncLabel": "267 JUMPDEST sendeth(address,uint256)\n268 PUSH2 0x0140\n271 PUSH1 0x04\n273 DUP1\n274 DUP1\n275 CALLDATALOAD\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "263 PUSH1 0x00\n265 DUP1\n266 REVERT", "id": "1223", "isExpanded": false, "label": "263 PUSH1 0x00\n265 DUP1\n266 REVERT", "size": 150, "truncLabel": "263 PUSH1 0x00\n265 DUP1\n266 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "256 JUMPDEST sendeth(address,uint256)\n257 CALLVALUE\n258 ISZERO\n259 PUSH2 0x010b\n262 JUMPI", "id": "1218", "isExpanded": false, "label": "256 JUMPDEST sendeth(address,uint256)\n257 CALLVALUE\n258 ISZERO\n259 PUSH2 0x010b\n262 JUMPI", "size": 150, "truncLabel": "256 JUMPDEST sendeth(address,uint256)\n257 CALLVALUE\n258 ISZERO\n259 PUSH2 0x010b\n262 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "98 JUMPDEST sendeth(address,uint256)\n99 PUSH1 0x00\n101 DUP1\n102 REVERT", "id": "1224", "isExpanded": false, "label": "98 JUMPDEST sendeth(address,uint256)\n99 PUSH1 0x00\n101 DUP1\n102 REVERT", "size": 150, "truncLabel": "98 JUMPDEST sendeth(address,uint256)\n99 PUSH1 0x00\n101 DUP1\n102 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "87 DUP1\n88 PUSH4 0xa3210e87\n93 EQ\n94 PUSH2 0x0100\n97 JUMPI", "id": "1217", "isExpanded": false, "label": "87 DUP1\n88 PUSH4 0xa3210e87\n93 EQ\n94 PUSH2 0x0100\n97 JUMPI", "size": 150, "truncLabel": "87 DUP1\n88 PUSH4 0xa3210e87\n93 EQ\n94 PUSH2 0x0100\n97 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "76 DUP1\n77 PUSH4 0x70a08231\n82 EQ\n83 PUSH2 0x00b3\n86 JUMPI", "id": "1211", "isExpanded": false, "label": "76 DUP1\n77 PUSH4 0x70a08231\n82 EQ\n83 PUSH2 0x00b3\n86 JUMPI", "size": 150, "truncLabel": "76 DUP1\n77 PUSH4 0x70a08231\n82 EQ\n83 PUSH2 0x00b3\n86 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "65 DUP1\n66 PUSH4 0x6241bfd1\n71 EQ\n72 PUSH2 0x0090\n75 JUMPI", "id": "1205", "isExpanded": false, "label": "65 DUP1\n66 PUSH4 0x6241bfd1\n71 EQ\n72 PUSH2 0x0090\n75 JUMPI", "size": 150, "truncLabel": "65 DUP1\n66 PUSH4 0x6241bfd1\n71 EQ\n72 PUSH2 0x0090\n75 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "13 PUSH1 0x00\n15 CALLDATALOAD\n16 PUSH29 0x0100000000000000000000000000000000000000000000000000000000\n46 SWAP1\n47 DIV\n48 PUSH4 0xffffffff\n53 AND\n54 DUP1\n55 PUSH4 0x18160ddd\n60 EQ\n61 PUSH2 0x0067\n64 JUMPI", "id": "1199", "isExpanded": false, "label": "13 PUSH1 0x00\n15 CALLDATALOAD\n16 PUSH29 0x0100000000000000000000000000000000000000000000000000000000\n46 SWAP1\n47 DIV\n48 PUSH4 0xffffffff\n(click to expand +)", "size": 150, "truncLabel": "13 PUSH1 0x00\n15 CALLDATALOAD\n16 PUSH29 0x0100000000000000000000000000000000000000000000000000000000\n46 SWAP1\n47 DIV\n48 PUSH4 0xffffffff\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "0 PUSH1 0x60\n2 PUSH1 0x40\n4 MSTORE\n5 PUSH1 0x04\n7 CALLDATASIZE\n8 LT\n9 PUSH2 0x0062\n12 JUMPI", "id": "1197", "isExpanded": false, "label": "0 PUSH1 0x60\n2 PUSH1 0x40\n4 MSTORE\n5 PUSH1 0x04\n7 CALLDATASIZE\n8 LT\n(click to expand +)", "size": 150, "truncLabel": "0 PUSH1 0x60\n2 PUSH1 0x40\n4 MSTORE\n5 PUSH1 0x04\n7 CALLDATASIZE\n8 LT\n(click to expand +)"}];
var edges = [{"arrows": "to", "from": "1197", "label": "Not(ULE(4, calldatasize_Unknown))", "smooth": {"type": "cubicBezier"}, "to": "1198"}, {"arrows": "to", "from": "1202", "label": "", "smooth": {"type": "cubicBezier"}, "to": "1203"}, {"arrows": "to", "from": "1201", "label": "", "smooth": {"type": "cubicBezier"}, "to": "1202"}, {"arrows": "to", "from": "1200", "label": "callvalue == 0", "smooth": {"type": "cubicBezier"}, "to": "1201"}, {"arrows": "to", "from": "1200", "label": "Not(callvalue == 0)", "smooth": {"type": "cubicBezier"}, "to": "1204"}, {"arrows": "to", "from": "1199", "label": "Extract(0xff, 0xe0, calldata_Unknown_0) == 0x18160ddd", "smooth": {"type": "cubicBezier"}, "to": "1200"}, {"arrows": "to", "from": "1208", "label": "", "smooth": {"type": "cubicBezier"}, "to": "1209"}, {"arrows": "to", "from": "1207", "label": "", "smooth": {"type": "cubicBezier"}, "to": "1208"}, {"arrows": "to", "from": "1206", "label": "callvalue == 0", "smooth": {"type": "cubicBezier"}, "to": "1207"}, {"arrows": "to", "from": "1206", "label": "Not(callvalue == 0)", "smooth": {"type": "cubicBezier"}, "to": "1210"}, {"arrows": "to", "from": "1205", "label": "Extract(0xff, 0xe0, calldata_Unknown_0) == 0x6241bfd1", "smooth": {"type": "cubicBezier"}, "to": "1206"}, {"arrows": "to", "from": "1214", "label": "", "smooth": {"type": "cubicBezier"}, "to": "1215"}, {"arrows": "to", "from": "1213", "label": "", "smooth": {"type": "cubicBezier"}, "to": "1214"}, {"arrows": "to", "from": "1212", "label": "callvalue == 0", "smooth": {"type": "cubicBezier"}, "to": "1213"}, {"arrows": "to", "from": "1212", "label": "Not(callvalue == 0)", "smooth": {"type": "cubicBezier"}, "to": "1216"}, {"arrows": "to", "from": "1211", "label": "Extract(0xff, 0xe0, calldata_Unknown_0) == 0x70a08231", "smooth": {"type": "cubicBezier"}, "to": "1212"}, {"arrows": "to", "from": "1221", "label": "", "smooth": {"type": "cubicBezier"}, "to": "1222"}, {"arrows": "to", "from": "1220", "label": "True", "smooth": {"type": "cubicBezier"}, "to": "1221"}, {"arrows": "to", "from": "1219", "label": "", "smooth": {"type": "cubicBezier"}, "to": "1220"}, {"arrows": "to", "from": "1218", "label": "callvalue == 0", "smooth": {"type": "cubicBezier"}, "to": "1219"}, {"arrows": "to", "from": "1218", "label": "Not(callvalue == 0)", "smooth": {"type": "cubicBezier"}, "to": "1223"}, {"arrows": "to", "from": "1217", "label": "Extract(0xff, 0xe0, calldata_Unknown_0) == 0xa3210e87", "smooth": {"type": "cubicBezier"}, "to": "1218"}, {"arrows": "to", "from": "1217", "label": "Not(Extract(0xff, 0xe0, calldata_Unknown_0) == 0xa3210e87)", "smooth": {"type": "cubicBezier"}, "to": "1224"}, {"arrows": "to", "from": "1211", "label": "Not(Extract(0xff, 0xe0, calldata_Unknown_0) == 0x70a08231)", "smooth": {"type": "cubicBezier"}, "to": "1217"}, {"arrows": "to", "from": "1205", "label": "Not(Extract(0xff, 0xe0, calldata_Unknown_0) == 0x6241bfd1)", "smooth": {"type": "cubicBezier"}, "to": "1211"}, {"arrows": "to", "from": "1199", "label": "Not(Extract(0xff, 0xe0, calldata_Unknown_0) == 0x18160ddd)", "smooth": {"type": "cubicBezier"}, "to": "1205"}, {"arrows": "to", "from": "1197", "label": "ULE(4, calldatasize_Unknown)", "smooth": {"type": "cubicBezier"}, "to": "1199"}];
</script>
</head>
<body>
<p>Mythril / Ethereum LASER Symbolic VM</p>
<p><div id="mynetwork"></div><br/></p>
<script type="text/javascript">
var container = document.getElementById('mynetwork');
var nodesSet = new vis.DataSet(nodes);
var edgesSet = new vis.DataSet(edges);
var data = {'nodes': nodesSet, 'edges': edgesSet}
var gph = new vis.Network(container, data, options);
gph.on("click", function (params) {
// parse node id
var nodeID = params['nodes']['0'];
if (nodeID) {
var clickedNode = nodesSet.get(nodeID);
if(clickedNode.isExpanded) {
clickedNode.label = clickedNode.truncLabel;
}
else {
clickedNode.label = clickedNode.fullLabel;
}
clickedNode.isExpanded = !clickedNode.isExpanded;
nodesSet.update(clickedNode);
}
});
</script>
</body>
</html>