<!DOCTYPE html>
< html >
< head >
< title > Call Graph< / title >
< 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 {
height: 100%;
background-color: #232625;
}
body {
background-color: #232625;
color: #ffffff;
font-size: 10px;
}
html, body {
height: 95%;
}
< / 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": "0 PUSH1 0x80\n2 PUSH1 0x40\n4 MSTORE\n5 PUSH1 0x04\n7 CALLDATASIZE\n8 LT\n9 PUSH2 0x0078\n12 JUMPI", "id": "77", "isExpanded": false, "label": "0 PUSH1 0x80\n2 PUSH1 0x40\n4 MSTORE\n5 PUSH1 0x04\n7 CALLDATASIZE\n8 LT\n(click to expand +)", "size": 150, "truncLabel": "0 PUSH1 0x80\n2 PUSH1 0x40\n4 MSTORE\n5 PUSH1 0x04\n7 CALLDATASIZE\n8 LT\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "13 PUSH1 0x00\n15 CALLDATALOAD\n16 PUSH29 0x01000000(...)\n46 SWAP1\n47 DIV\n48 PUSH4 0xffffffff\n53 AND\n54 DUP1\n55 PUSH4 0x12065fe0\n60 EQ\n61 PUSH2 0x007d\n64 JUMPI", "id": "78", "isExpanded": false, "label": "13 PUSH1 0x00\n15 CALLDATALOAD\n16 PUSH29 0x01000000(...)\n46 SWAP1\n47 DIV\n48 PUSH4 0xffffffff\n(click to expand +)", "size": 150, "truncLabel": "13 PUSH1 0x00\n15 CALLDATALOAD\n16 PUSH29 0x01000000(...)\n46 SWAP1\n47 DIV\n48 PUSH4 0xffffffff\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "120 JUMPDEST\n121 PUSH1 0x00\n123 DUP1\n124 REVERT", "id": "79", "isExpanded": false, "label": "120 JUMPDEST\n121 PUSH1 0x00\n123 DUP1\n124 REVERT", "size": 150, "truncLabel": "120 JUMPDEST\n121 PUSH1 0x00\n123 DUP1\n124 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "65 DUP1\n66 PUSH4 0x27e235e3\n71 EQ\n72 PUSH2 0x00a8\n75 JUMPI", "id": "80", "isExpanded": false, "label": "65 DUP1\n66 PUSH4 0x27e235e3\n71 EQ\n72 PUSH2 0x00a8\n75 JUMPI", "size": 150, "truncLabel": "65 DUP1\n66 PUSH4 0x27e235e3\n71 EQ\n72 PUSH2 0x00a8\n75 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "125 JUMPDEST\n126 CALLVALUE\n127 DUP1\n128 ISZERO\n129 PUSH2 0x0089\n132 JUMPI", "id": "81", "isExpanded": false, "label": "125 JUMPDEST\n126 CALLVALUE\n127 DUP1\n128 ISZERO\n129 PUSH2 0x0089\n132 JUMPI", "size": 150, "truncLabel": "125 JUMPDEST\n126 CALLVALUE\n127 DUP1\n128 ISZERO\n129 PUSH2 0x0089\n132 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "133 PUSH1 0x00\n135 DUP1\n136 REVERT", "id": "82", "isExpanded": false, "label": "133 PUSH1 0x00\n135 DUP1\n136 REVERT", "size": 150, "truncLabel": "133 PUSH1 0x00\n135 DUP1\n136 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "137 JUMPDEST\n138 POP\n139 PUSH2 0x0092\n142 PUSH2 0x018e\n145 JUMP", "id": "83", "isExpanded": false, "label": "137 JUMPDEST\n138 POP\n139 PUSH2 0x0092\n142 PUSH2 0x018e\n145 JUMP", "size": 150, "truncLabel": "137 JUMPDEST\n138 POP\n139 PUSH2 0x0092\n142 PUSH2 0x018e\n145 JUMP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "398 JUMPDEST\n399 PUSH1 0x00\n401 DUP1\n402 PUSH1 0x00\n404 CALLER\n405 PUSH20 0xffffffff(...)\n426 AND\n427 PUSH20 0xffffffff(...)\n448 AND\n449 DUP2\n450 MSTORE\n451 PUSH1 0x20\n453 ADD\n454 SWAP1\n455 DUP2\n456 MSTORE\n457 PUSH1 0x20\n459 ADD\n460 PUSH1 0x00\n462 SHA3\n463 SLOAD\n464 SWAP1\n465 POP\n466 SWAP1\n467 JUMP", "id": "84", "isExpanded": false, "label": "398 JUMPDEST\n399 PUSH1 0x00\n401 DUP1\n402 PUSH1 0x00\n404 CALLER\n405 PUSH20 0xffffffff(...)\n(click to expand +)", "size": 150, "truncLabel": "398 JUMPDEST\n399 PUSH1 0x00\n401 DUP1\n402 PUSH1 0x00\n404 CALLER\n405 PUSH20 0xffffffff(...)\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "146 JUMPDEST\n147 PUSH1 0x40\n149 MLOAD\n150 DUP1\n151 DUP3\n152 DUP2\n153 MSTORE\n154 PUSH1 0x20\n156 ADD\n157
var edges = [{"arrows": "to", "from": "77", "label": "ULE(4, 6_calldatasize)", "smooth": {"type": "cubicBezier"}, "to": "78"}, {"arrows": "to", "from": "77", "label": "Not(ULE(4, 6_calldatasize))", "smooth": {"type": "cubicBezier"}, "to": "79"}, {"arrows": "to", "from": "78", "label": "Not(And(If(6_calldatasize \u003c= 3, 0, 6_calldata[3]) == 0xe0, If(6_calldatasize \u003c= 2, 0, 6_calldata[2]) == 95, If(6_calldatasize \u003c= 1, 0, 6_calldata[1]) == 6, If(6_calldatasize \u003c= 0, 0, 6_calldata[0]) == 18))", "smooth": {"type": "cubicBezier"}, "to": "80"}, {"arrows": "to", "from": "78", "label": "And(If(6_calldatasize \u003c= 3, 0, 6_calldata[3]) == 0xe0, If(6_calldatasize \u003c= 2, 0, 6_calldata[2]) == 95, If(6_calldatasize \u003c= 1, 0, 6_calldata[1]) == 6, If(6_calldatasize \u003c= 0, 0, 6_calldata[0]) == 18)", "smooth": {"type": "cubicBezier"}, "to": "81"}, {"arrows": "to", "from": "81", "label": "If(call_value6 == 0, 1, 0) == 0", "smooth": {"type": "cubicBezier"}, "to": "82"}, {"arrows": "to", "from": "81", "label": "Not(If(call_value6 == 0, 1, 0) == 0)", "smooth": {"type": "cubicBezier"}, "to": "83"}, {"arrows": "to", "from": "83", "label": "", "smooth": {"type": "cubicBezier"}, "to": "84"}, {"arrows": "to", "from": "84", "label": "", "smooth": {"type": "cubicBezier"}, "to": "85"}, {"arrows": "to", "from": "80", "label": "Not(And(If(6_calldatasize \u003c= 3, 0, 6_calldata[3]) == 0xe3, If(6_calldatasize \u003c= 2, 0, 6_calldata[2]) == 53, If(6_calldatasize \u003c= 1, 0, 6_calldata[1]) == 0xe2, If(6_calldatasize \u003c= 0, 0, 6_calldata[0]) == 39))", "smooth": {"type": "cubicBezier"}, "to": "86"}, {"arrows": "to", "from": "80", "label": "And(If(6_calldatasize \u003c= 3, 0, 6_calldata[3]) == 0xe3, If(6_calldatasize \u003c= 2, 0, 6_calldata[2]) == 53, If(6_calldatasize \u003c= 1, 0, 6_calldata[1]) == 0xe2, If(6_calldatasize \u003c= 0, 0, 6_calldata[0]) == 39)", "smooth": {"type": "cubicBezier"}, "to": "87"}, {"arrows": "to", "from": "87", "label": "If(call_value6 == 0, 1, 0) == 0", "smooth": {"type": "cubicBezier"}, "to": "88"}, {"arrows": "to", "from": "87", "label": "Not(If(call_value6 == 0, 1, 0) == 0)", "smooth": {"type": "cubicBezier"}, "to": "89"}, {"arrows": "to", "from": "89", "label": "", "smooth": {"type": "cubicBezier"}, "to": "90"}, {"arrows": "to", "from": "90", "label": "", "smooth": {"type": "cubicBezier"}, "to": "91"}, {"arrows": "to", "from": "86", "label": "Not(And(If(6_calldatasize \u003c= 3, 0, 6_calldata[3]) == 0xd8, If(6_calldatasize \u003c= 2, 0, 6_calldata[2]) == 92, If(6_calldatasize \u003c= 1, 0, 6_calldata[1]) == 0x88, If(6_calldatasize \u003c= 0, 0, 6_calldata[0]) == 86))", "smooth": {"type": "cubicBezier"}, "to": "92"}, {"arrows": "to", "from": "86", "label": "And(If(6_calldatasize \u003c= 3, 0, 6_calldata[3]) == 0xd8, If(6_calldatasize \u003c= 2, 0, 6_calldata[2]) == 92, If(6_calldatasize \u003c= 1, 0, 6_calldata[1]) == 0x88, If(6_calldatasize \u003c= 0, 0, 6_calldata[0]) == 86)", "smooth": {"type": "cubicBezier"}, "to": "93"}, {"arrows": "to", "from": "93", "label": "If(call_value6 == 0, 1, 0) == 0", "smooth": {"type": "cubicBezier"}, "to": "94"}, {"arrows": "to", "from": "93", "label": "Not(If(call_value6 == 0, 1, 0) == 0)", "smooth": {"type": "cubicBezier"}, "to": "95"}, {"arrows": "to", "from": "95", "label": "", "smooth": {"type": "cubicBezier"}, "to": "96"}, {"arrows": "to", "from": "96", "label": "", "smooth": {"type": "cubicBezier"}, "to": "97"}, {"arrows": "to", "from": "92", "label": "Not(And(If(6_calldatasize \u003c= 3, 0, 6_calldata[3]) == 0xfe, If(6_calldatasize \u003c= 2, 0, 6_calldata[2]) == 63, If(6_calldatasize \u003c= 1, 0, 6_calldata[1]) == 52, If(6_calldatasize \u003c= 0, 0, 6_calldata[0]) == 0x6c))", "smooth": {"type": "cubicBezier"}, "to": "98"}, {"arrows": "to", "from": "92", "label": "And(If(6_calldatasize \u003c= 3, 0, 6_calldata[3]) == 0xfe, If(6_calldatasize \u003c= 2, 0, 6_calldata[2]) == 63, If(6_calldatasize \u003c= 1, 0, 6_calldata[1]
< / script >
< / head >
< body >
< p > Mythril / Ethereum LASER Symbolic VM< / p >
< div id = "mynetwork" > < / div >
< 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 >