solidity/test/cmdlineTests/asm_json/output

1592 lines
30 KiB
Plaintext

======= asm_json/input.sol:C =======
EVM assembly:
{
".code":
[
{
"begin": 60,
"end": 160,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 60,
"end": 160,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 60,
"end": 160,
"name": "MSTORE",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "DUP1",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "ISZERO",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 60,
"end": 160,
"name": "JUMPI",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 60,
"end": 160,
"name": "DUP1",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "REVERT",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 60,
"end": 160,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "POP",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "PUSH #[$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 60,
"end": 160,
"name": "DUP1",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "PUSH [$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 60,
"end": 160,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 60,
"end": 160,
"name": "CODECOPY",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 60,
"end": 160,
"name": "RETURN",
"source": 0
}
],
".data":
{
"0":
{
".auxdata": "<BYTECODE REMOVED>",
".code":
[
{
"begin": 60,
"end": 160,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 60,
"end": 160,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 60,
"end": 160,
"name": "MSTORE",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "DUP1",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "ISZERO",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 60,
"end": 160,
"name": "JUMPI",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 60,
"end": 160,
"name": "DUP1",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "REVERT",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 60,
"end": 160,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "POP",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 60,
"end": 160,
"name": "CALLDATASIZE",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "LT",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "PUSH [tag]",
"source": 0,
"value": "2"
},
{
"begin": 60,
"end": 160,
"name": "JUMPI",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 60,
"end": 160,
"name": "CALLDATALOAD",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "PUSH",
"source": 0,
"value": "E0"
},
{
"begin": 60,
"end": 160,
"name": "SHR",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "DUP1",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "PUSH",
"source": 0,
"value": "B3DE648B"
},
{
"begin": 60,
"end": 160,
"name": "EQ",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "PUSH [tag]",
"source": 0,
"value": "3"
},
{
"begin": 60,
"end": 160,
"name": "JUMPI",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "tag",
"source": 0,
"value": "2"
},
{
"begin": 60,
"end": 160,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 60,
"end": 160,
"name": "DUP1",
"source": 0
},
{
"begin": 60,
"end": 160,
"name": "REVERT",
"source": 0
},
{
"begin": 77,
"end": 158,
"name": "tag",
"source": 0,
"value": "3"
},
{
"begin": 77,
"end": 158,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 77,
"end": 158,
"name": "PUSH [tag]",
"source": 0,
"value": "4"
},
{
"begin": 77,
"end": 158,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 77,
"end": 158,
"name": "DUP1",
"source": 0
},
{
"begin": 77,
"end": 158,
"name": "CALLDATASIZE",
"source": 0
},
{
"begin": 77,
"end": 158,
"name": "SUB",
"source": 0
},
{
"begin": 77,
"end": 158,
"name": "DUP2",
"source": 0
},
{
"begin": 77,
"end": 158,
"name": "ADD",
"source": 0
},
{
"begin": 77,
"end": 158,
"name": "SWAP1",
"source": 0
},
{
"begin": 77,
"end": 158,
"name": "PUSH [tag]",
"source": 0,
"value": "5"
},
{
"begin": 77,
"end": 158,
"name": "SWAP2",
"source": 0
},
{
"begin": 77,
"end": 158,
"name": "SWAP1",
"source": 0
},
{
"begin": 77,
"end": 158,
"name": "PUSH [tag]",
"source": 0,
"value": "6"
},
{
"begin": 77,
"end": 158,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 77,
"end": 158,
"name": "tag",
"source": 0,
"value": "5"
},
{
"begin": 77,
"end": 158,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 77,
"end": 158,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 77,
"end": 158,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 77,
"end": 158,
"name": "tag",
"source": 0,
"value": "4"
},
{
"begin": 77,
"end": 158,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 77,
"end": 158,
"name": "STOP",
"source": 0
},
{
"begin": 77,
"end": 158,
"name": "tag",
"source": 0,
"value": "7"
},
{
"begin": 77,
"end": 158,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 123,
"end": 125,
"name": "PUSH",
"source": 0,
"value": "2A"
},
{
"begin": 118,
"end": 125,
"name": "DUP2",
"source": 0
},
{
"begin": 118,
"end": 125,
"name": "PUSH [tag]",
"source": 0,
"value": "9"
},
{
"begin": 118,
"end": 125,
"name": "SWAP2",
"source": 0
},
{
"begin": 118,
"end": 125,
"name": "SWAP1",
"source": 0
},
{
"begin": 118,
"end": 125,
"name": "PUSH [tag]",
"source": 0,
"value": "10"
},
{
"begin": 118,
"end": 125,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 118,
"end": 125,
"name": "tag",
"source": 0,
"value": "9"
},
{
"begin": 118,
"end": 125,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 118,
"end": 125,
"name": "SWAP1",
"source": 0
},
{
"begin": 118,
"end": 125,
"name": "POP",
"source": 0
},
{
"begin": 147,
"end": 150,
"name": "PUSH",
"source": 0,
"value": "64"
},
{
"begin": 143,
"end": 144,
"name": "DUP2",
"source": 0
},
{
"begin": 143,
"end": 150,
"name": "GT",
"source": 0
},
{
"begin": 135,
"end": 151,
"name": "PUSH [tag]",
"source": 0,
"value": "11"
},
{
"begin": 135,
"end": 151,
"name": "JUMPI",
"source": 0
},
{
"begin": 135,
"end": 151,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 135,
"end": 151,
"name": "DUP1",
"source": 0
},
{
"begin": 135,
"end": 151,
"name": "REVERT",
"source": 0
},
{
"begin": 135,
"end": 151,
"name": "tag",
"source": 0,
"value": "11"
},
{
"begin": 135,
"end": 151,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 77,
"end": 158,
"name": "POP",
"source": 0
},
{
"begin": 77,
"end": 158,
"jumpType": "[out]",
"name": "JUMP",
"source": 0
},
{
"begin": 88,
"end": 205,
"name": "tag",
"source": 1,
"value": "13"
},
{
"begin": 88,
"end": 205,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 197,
"end": 198,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 194,
"end": 195,
"name": "DUP1",
"source": 1
},
{
"begin": 187,
"end": 199,
"name": "REVERT",
"source": 1
},
{
"begin": 334,
"end": 411,
"name": "tag",
"source": 1,
"value": "15"
},
{
"begin": 334,
"end": 411,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 371,
"end": 378,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 400,
"end": 405,
"name": "DUP2",
"source": 1
},
{
"begin": 389,
"end": 405,
"name": "SWAP1",
"source": 1
},
{
"begin": 389,
"end": 405,
"name": "POP",
"source": 1
},
{
"begin": 334,
"end": 411,
"name": "SWAP2",
"source": 1
},
{
"begin": 334,
"end": 411,
"name": "SWAP1",
"source": 1
},
{
"begin": 334,
"end": 411,
"name": "POP",
"source": 1
},
{
"begin": 334,
"end": 411,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 417,
"end": 539,
"name": "tag",
"source": 1,
"value": "16"
},
{
"begin": 417,
"end": 539,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 490,
"end": 514,
"name": "PUSH [tag]",
"source": 1,
"value": "25"
},
{
"begin": 508,
"end": 513,
"name": "DUP2",
"source": 1
},
{
"begin": 490,
"end": 514,
"name": "PUSH [tag]",
"source": 1,
"value": "15"
},
{
"begin": 490,
"end": 514,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 490,
"end": 514,
"name": "tag",
"source": 1,
"value": "25"
},
{
"begin": 490,
"end": 514,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 483,
"end": 488,
"name": "DUP2",
"source": 1
},
{
"begin": 480,
"end": 515,
"name": "EQ",
"source": 1
},
{
"begin": 470,
"end": 533,
"name": "PUSH [tag]",
"source": 1,
"value": "26"
},
{
"begin": 470,
"end": 533,
"name": "JUMPI",
"source": 1
},
{
"begin": 529,
"end": 530,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 526,
"end": 527,
"name": "DUP1",
"source": 1
},
{
"begin": 519,
"end": 531,
"name": "REVERT",
"source": 1
},
{
"begin": 470,
"end": 533,
"name": "tag",
"source": 1,
"value": "26"
},
{
"begin": 470,
"end": 533,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 417,
"end": 539,
"name": "POP",
"source": 1
},
{
"begin": 417,
"end": 539,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 545,
"end": 684,
"name": "tag",
"source": 1,
"value": "17"
},
{
"begin": 545,
"end": 684,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 591,
"end": 596,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 629,
"end": 635,
"name": "DUP2",
"source": 1
},
{
"begin": 616,
"end": 636,
"name": "CALLDATALOAD",
"source": 1
},
{
"begin": 607,
"end": 636,
"name": "SWAP1",
"source": 1
},
{
"begin": 607,
"end": 636,
"name": "POP",
"source": 1
},
{
"begin": 645,
"end": 678,
"name": "PUSH [tag]",
"source": 1,
"value": "28"
},
{
"begin": 672,
"end": 677,
"name": "DUP2",
"source": 1
},
{
"begin": 645,
"end": 678,
"name": "PUSH [tag]",
"source": 1,
"value": "16"
},
{
"begin": 645,
"end": 678,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 645,
"end": 678,
"name": "tag",
"source": 1,
"value": "28"
},
{
"begin": 645,
"end": 678,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 545,
"end": 684,
"name": "SWAP3",
"source": 1
},
{
"begin": 545,
"end": 684,
"name": "SWAP2",
"source": 1
},
{
"begin": 545,
"end": 684,
"name": "POP",
"source": 1
},
{
"begin": 545,
"end": 684,
"name": "POP",
"source": 1
},
{
"begin": 545,
"end": 684,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 690,
"end": 1019,
"name": "tag",
"source": 1,
"value": "6"
},
{
"begin": 690,
"end": 1019,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 749,
"end": 755,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 798,
"end": 800,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 786,
"end": 795,
"name": "DUP3",
"source": 1
},
{
"begin": 777,
"end": 784,
"name": "DUP5",
"source": 1
},
{
"begin": 773,
"end": 796,
"name": "SUB",
"source": 1
},
{
"begin": 769,
"end": 801,
"name": "SLT",
"source": 1
},
{
"begin": 766,
"end": 885,
"name": "ISZERO",
"source": 1
},
{
"begin": 766,
"end": 885,
"name": "PUSH [tag]",
"source": 1,
"value": "30"
},
{
"begin": 766,
"end": 885,
"name": "JUMPI",
"source": 1
},
{
"begin": 804,
"end": 883,
"name": "PUSH [tag]",
"source": 1,
"value": "31"
},
{
"begin": 804,
"end": 883,
"name": "PUSH [tag]",
"source": 1,
"value": "13"
},
{
"begin": 804,
"end": 883,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 804,
"end": 883,
"name": "tag",
"source": 1,
"value": "31"
},
{
"begin": 804,
"end": 883,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 766,
"end": 885,
"name": "tag",
"source": 1,
"value": "30"
},
{
"begin": 766,
"end": 885,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 924,
"end": 925,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 949,
"end": 1002,
"name": "PUSH [tag]",
"source": 1,
"value": "32"
},
{
"begin": 994,
"end": 1001,
"name": "DUP5",
"source": 1
},
{
"begin": 985,
"end": 991,
"name": "DUP3",
"source": 1
},
{
"begin": 974,
"end": 983,
"name": "DUP6",
"source": 1
},
{
"begin": 970,
"end": 992,
"name": "ADD",
"source": 1
},
{
"begin": 949,
"end": 1002,
"name": "PUSH [tag]",
"source": 1,
"value": "17"
},
{
"begin": 949,
"end": 1002,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 949,
"end": 1002,
"name": "tag",
"source": 1,
"value": "32"
},
{
"begin": 949,
"end": 1002,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 939,
"end": 1002,
"name": "SWAP2",
"source": 1
},
{
"begin": 939,
"end": 1002,
"name": "POP",
"source": 1
},
{
"begin": 895,
"end": 1012,
"name": "POP",
"source": 1
},
{
"begin": 690,
"end": 1019,
"name": "SWAP3",
"source": 1
},
{
"begin": 690,
"end": 1019,
"name": "SWAP2",
"source": 1
},
{
"begin": 690,
"end": 1019,
"name": "POP",
"source": 1
},
{
"begin": 690,
"end": 1019,
"name": "POP",
"source": 1
},
{
"begin": 690,
"end": 1019,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 1025,
"end": 1205,
"name": "tag",
"source": 1,
"value": "18"
},
{
"begin": 1025,
"end": 1205,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1073,
"end": 1150,
"name": "PUSH",
"source": 1,
"value": "4E487B7100000000000000000000000000000000000000000000000000000000"
},
{
"begin": 1070,
"end": 1071,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1063,
"end": 1151,
"name": "MSTORE",
"source": 1
},
{
"begin": 1170,
"end": 1174,
"name": "PUSH",
"source": 1,
"value": "11"
},
{
"begin": 1167,
"end": 1168,
"name": "PUSH",
"source": 1,
"value": "4"
},
{
"begin": 1160,
"end": 1175,
"name": "MSTORE",
"source": 1
},
{
"begin": 1194,
"end": 1198,
"name": "PUSH",
"source": 1,
"value": "24"
},
{
"begin": 1191,
"end": 1192,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1184,
"end": 1199,
"name": "REVERT",
"source": 1
},
{
"begin": 1211,
"end": 1516,
"name": "tag",
"source": 1,
"value": "10"
},
{
"begin": 1211,
"end": 1516,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1251,
"end": 1254,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1270,
"end": 1290,
"name": "PUSH [tag]",
"source": 1,
"value": "35"
},
{
"begin": 1288,
"end": 1289,
"name": "DUP3",
"source": 1
},
{
"begin": 1270,
"end": 1290,
"name": "PUSH [tag]",
"source": 1,
"value": "15"
},
{
"begin": 1270,
"end": 1290,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 1270,
"end": 1290,
"name": "tag",
"source": 1,
"value": "35"
},
{
"begin": 1270,
"end": 1290,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1265,
"end": 1290,
"name": "SWAP2",
"source": 1
},
{
"begin": 1265,
"end": 1290,
"name": "POP",
"source": 1
},
{
"begin": 1304,
"end": 1324,
"name": "PUSH [tag]",
"source": 1,
"value": "36"
},
{
"begin": 1322,
"end": 1323,
"name": "DUP4",
"source": 1
},
{
"begin": 1304,
"end": 1324,
"name": "PUSH [tag]",
"source": 1,
"value": "15"
},
{
"begin": 1304,
"end": 1324,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 1304,
"end": 1324,
"name": "tag",
"source": 1,
"value": "36"
},
{
"begin": 1304,
"end": 1324,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1299,
"end": 1324,
"name": "SWAP3",
"source": 1
},
{
"begin": 1299,
"end": 1324,
"name": "POP",
"source": 1
},
{
"begin": 1458,
"end": 1459,
"name": "DUP3",
"source": 1
},
{
"begin": 1390,
"end": 1456,
"name": "PUSH",
"source": 1,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 1386,
"end": 1460,
"name": "SUB",
"source": 1
},
{
"begin": 1383,
"end": 1384,
"name": "DUP3",
"source": 1
},
{
"begin": 1380,
"end": 1461,
"name": "GT",
"source": 1
},
{
"begin": 1377,
"end": 1484,
"name": "ISZERO",
"source": 1
},
{
"begin": 1377,
"end": 1484,
"name": "PUSH [tag]",
"source": 1,
"value": "37"
},
{
"begin": 1377,
"end": 1484,
"name": "JUMPI",
"source": 1
},
{
"begin": 1464,
"end": 1482,
"name": "PUSH [tag]",
"source": 1,
"value": "38"
},
{
"begin": 1464,
"end": 1482,
"name": "PUSH [tag]",
"source": 1,
"value": "18"
},
{
"begin": 1464,
"end": 1482,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 1464,
"end": 1482,
"name": "tag",
"source": 1,
"value": "38"
},
{
"begin": 1464,
"end": 1482,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1377,
"end": 1484,
"name": "tag",
"source": 1,
"value": "37"
},
{
"begin": 1377,
"end": 1484,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1508,
"end": 1509,
"name": "DUP3",
"source": 1
},
{
"begin": 1505,
"end": 1506,
"name": "DUP3",
"source": 1
},
{
"begin": 1501,
"end": 1510,
"name": "ADD",
"source": 1
},
{
"begin": 1494,
"end": 1510,
"name": "SWAP1",
"source": 1
},
{
"begin": 1494,
"end": 1510,
"name": "POP",
"source": 1
},
{
"begin": 1211,
"end": 1516,
"name": "SWAP3",
"source": 1
},
{
"begin": 1211,
"end": 1516,
"name": "SWAP2",
"source": 1
},
{
"begin": 1211,
"end": 1516,
"name": "POP",
"source": 1
},
{
"begin": 1211,
"end": 1516,
"name": "POP",
"source": 1
},
{
"begin": 1211,
"end": 1516,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
}
]
}
},
"sourceList":
[
"asm_json/input.sol",
"#utility.yul"
]
}