<!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 0x60\n2 PUSH1 0x40\n4 MSTORE\n5 PUSH1 0x04\n7 CALLDATASIZE\n8 LT\n9 PUSH2 0x008e\n12 JUMPI", "id": "336", "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 +)"}, {"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 0x01d4277c\n60 EQ\n61 PUSH2 0x0093\n64 JUMPI", "id": "337", "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": "142 JUMPDEST\n143 PUSH1 0x00\n145 DUP1\n146 REVERT", "id": "338", "isExpanded": false, "label": "142 JUMPDEST\n143 PUSH1 0x00\n145 DUP1\n146 REVERT", "size": 150, "truncLabel": "142 JUMPDEST\n143 PUSH1 0x00\n145 DUP1\n146 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "65 DUP1\n66 PUSH4 0x546455b5\n71 EQ\n72 PUSH2 0x00b6\n75 JUMPI", "id": "339", "isExpanded": false, "label": "65 DUP1\n66 PUSH4 0x546455b5\n71 EQ\n72 PUSH2 0x00b6\n75 JUMPI", "size": 150, "truncLabel": "65 DUP1\n66 PUSH4 0x546455b5\n71 EQ\n72 PUSH2 0x00b6\n75 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "147 JUMPDEST\n148 CALLVALUE\n149 ISZERO\n150 PUSH2 0x009e\n153 JUMPI", "id": "340", "isExpanded": false, "label": "147 JUMPDEST\n148 CALLVALUE\n149 ISZERO\n150 PUSH2 0x009e\n153 JUMPI", "size": 150, "truncLabel": "147 JUMPDEST\n148 CALLVALUE\n149 ISZERO\n150 PUSH2 0x009e\n153 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "154 PUSH1 0x00\n156 DUP1\n157 REVERT", "id": "341", "isExpanded": false, "label": "154 PUSH1 0x00\n156 DUP1\n157 REVERT", "size": 150, "truncLabel": "154 PUSH1 0x00\n156 DUP1\n157 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "158 JUMPDEST\n159 PUSH2 0x00b4\n162 PUSH1 0x04\n164 DUP1\n165 DUP1\n166 CALLDATALOAD\n167 SWAP1\n168 PUSH1 0x20\n170 ADD\n171 SWAP1\n172 SWAP2\n173 SWAP1\n174 POP\n175 POP\n176 PUSH2 0x018f\n179 JUMP", "id": "342", "isExpanded": false, "label": "158 JUMPDEST\n159 PUSH2 0x00b4\n162 PUSH1 0x04\n164 DUP1\n165 DUP1\n166 CALLDATALOAD\n(click to expand +)", "size": 150, "truncLabel": "158 JUMPDEST\n159 PUSH2 0x00b4\n162 PUSH1 0x04\n164 DUP1\n165 DUP1\n166 CALLDATALOAD\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "399 JUMPDEST\n400 PUSH1 0x00\n402 PUSH1 0x08\n404 DUP3\n405 LT\n406 ISZERO\n407 PUSH2 0x01ae\n410 JUMPI", "id": "343", "isExpanded": false, "label": "399 JUMPDEST\n400 PUSH1 0x00\n402 PUSH1 0x08\n404 DUP3\n405 LT\n406 ISZERO\n(click to expand +)", "size": 150, "truncLabel": "399 JUMPDEST\n400 PUSH1 0x00\n402 PUSH1 0x08\n404 DUP3\n405 LT\n406 ISZERO\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "411 PUSH1 0x00\n413 DUP3\n414 PUSH1 0x08\n416 DUP2\n417 LT\n418 ISZERO\n419 ISZERO\n420 PUSH2 0x01a9\n423 JUMPI", "id": "344", "isExpanded": false, "label": "411 PUSH1 0x00\n413 DUP3\n4
var edges = [{"arrows": "to", "from": "336", "label": "ULE(4, 10_calldatasize)", "smooth": {"type": "cubicBezier"}, "to": "337"}, {"arrows": "to", "from": "336", "label": "Not(ULE(4, 10_calldatasize))", "smooth": {"type": "cubicBezier"}, "to": "338"}, {"arrows": "to", "from": "337", "label": "Not(And(10_calldata[3] == 0x7c, 10_calldata[2] == 39, 10_calldata[1] == 0xd4, 10_calldata[0] == 1))", "smooth": {"type": "cubicBezier"}, "to": "339"}, {"arrows": "to", "from": "337", "label": "And(10_calldata[3] == 0x7c, 10_calldata[2] == 39, 10_calldata[1] == 0xd4, 10_calldata[0] == 1)", "smooth": {"type": "cubicBezier"}, "to": "340"}, {"arrows": "to", "from": "340", "label": "Not(call_value10 == 0)", "smooth": {"type": "cubicBezier"}, "to": "341"}, {"arrows": "to", "from": "340", "label": "call_value10 == 0", "smooth": {"type": "cubicBezier"}, "to": "342"}, {"arrows": "to", "from": "342", "label": "", "smooth": {"type": "cubicBezier"}, "to": "343"}, {"arrows": "to", "from": "343", "label": "Not(ULE(8, Concat(10_calldata[4], 10_calldata[5], 10_calldata[6], 10_calldata[7], 10_calldata[8], 10_calldata[9], 10_calldata[10], 10_calldata[11], 10_calldata[12], 10_calldata[13], 10_calldata[14], 10_calldata[15], 10_calldata[16], 10_calldata[17], 10_calldata[18], 10_calldata[19], 10_calldata[20], 10_calldata[21], 10_calldata[22], 10_calldata[23], 10_calldata[24], 10_calldata[25], 10_calldata[26], 10_calldata[27], 10_calldata[28], 10_calldata[29], 10_calldata[30], 10_calldata[31], 10_calldata[32], 10_calldata[33], 10_calldata[34], 10_calldata[35])))", "smooth": {"type": "cubicBezier"}, "to": "344"}, {"arrows": "to", "from": "343", "label": "ULE(8, Concat(10_calldata[4], 10_calldata[5], 10_calldata[6], 10_calldata[7], 10_calldata[8], 10_calldata[9], 10_calldata[10], 10_calldata[11], 10_calldata[12], 10_calldata[13], 10_calldata[14], 10_calldata[15], 10_calldata[16], 10_calldata[17], 10_calldata[18], 10_calldata[19], 10_calldata[20], 10_calldata[21], 10_calldata[22], 10_calldata[23], 10_calldata[24], 10_calldata[25], 10_calldata[26], 10_calldata[27], 10_calldata[28], 10_calldata[29], 10_calldata[30], 10_calldata[31], 10_calldata[32], 10_calldata[33], 10_calldata[34], 10_calldata[35]))", "smooth": {"type": "cubicBezier"}, "to": "345"}, {"arrows": "to", "from": "345", "label": "", "smooth": {"type": "cubicBezier"}, "to": "346"}, {"arrows": "to", "from": "344", "label": "ULE(8, Concat(10_calldata[4], 10_calldata[5], 10_calldata[6], 10_calldata[7], 10_calldata[8], 10_calldata[9], 10_calldata[10], 10_calldata[11], 10_calldata[12], 10_calldata[13], 10_calldata[14], 10_calldata[15], 10_calldata[16], 10_calldata[17], 10_calldata[18], 10_calldata[19], 10_calldata[20], 10_calldata[21], 10_calldata[22], 10_calldata[23], 10_calldata[24], 10_calldata[25], 10_calldata[26], 10_calldata[27], 10_calldata[28], 10_calldata[29], 10_calldata[30], 10_calldata[31], 10_calldata[32], 10_calldata[33], 10_calldata[34], 10_calldata[35]))", "smooth": {"type": "cubicBezier"}, "to": "347"},
< / 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 >