r2dec has crashed - pddi provided
Cloufish opened this issue · 2 comments
Cloufish commented
Describe the bug
Before opening a bug report run r2pm install r2dec
and verify it crashes also on the latest version.
A clear and concise description of what the bug is (if known).
I... don't know. But the important information might be that:
- I'm running it in a Docker container
Component
- core
- arm
- avr
- m68k
- mips
- ppc
- sparc
- v850
- wasm
- x86-64
Reproduce via JSON (pddi)
{
"name": "issue_1629737104822",
"arch": "x86",
"archbits": 32,
"agj": [
{
"name": "main",
"offset": 134513636,
"ninstr": 37,
"nargs": 0,
"nlocals": 4,
"size": 144,
"stack": 28,
"type": "sym",
"blocks": [
{
"offset": 134513636,
"size": 111,
"jump": 134513761,
"fail": 134513747,
"ops": [
{
"offset": 134513636,
"esil": "ebp,4,esp,-,=[4],4,esp,-=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513779,
"size": 1,
"opcode": "push ebp",
"disasm": "push ebp",
"bytes": "55",
"family": "cpu",
"type": "rpush",
"reloc": false,
"type_num": 268435468,
"type2_num": 0,
"flags": [
"main",
"sym.main"
],
"xrefs": [
{
"addr": 134513479,
"type": "DATA"
}
]
},
{
"offset": 134513637,
"esil": "esp,ebp,=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513778,
"size": 2,
"opcode": "mov ebp, esp",
"disasm": "mov ebp, esp",
"bytes": "89e5",
"family": "cpu",
"type": "mov",
"reloc": false,
"type_num": 9,
"type2_num": 0
},
{
"offset": 134513639,
"val": 24,
"esil": "24,esp,-=,24,0x80000000,-,!,31,$o,^,of,:=,31,$s,sf,:=,$z,zf,:=,$p,pf,:=,32,$b,cf,:=,3,$b,af,:=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513777,
"size": 3,
"opcode": "sub esp, 0x18",
"disasm": "sub esp, 0x18",
"bytes": "83ec18",
"family": "cpu",
"type": "sub",
"reloc": false,
"type_num": 18,
"type2_num": 0
},
{
"offset": 134513642,
"val": 4294967280,
"esil": "4294967280,esp,&=,$z,zf,:=,$p,pf,:=,31,$s,sf,:=,0,cf,:=,0,of,:=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513777,
"size": 3,
"opcode": "and esp, 0xfffffff0",
"disasm": "and esp, 0xfffffff0",
"bytes": "83e4f0",
"family": "cpu",
"type": "and",
"reloc": false,
"type_num": 27,
"type2_num": 0
},
{
"offset": 134513645,
"val": 0,
"esil": "0,eax,=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513775,
"size": 5,
"opcode": "mov eax, 0",
"disasm": "mov eax, 0",
"bytes": "b800000000",
"family": "cpu",
"type": "mov",
"reloc": false,
"type_num": 9,
"type2_num": 0
},
{
"offset": 134513650,
"ptr": 15,
"val": 15,
"esil": "15,eax,+=,31,$o,of,:=,31,$s,sf,:=,$z,zf,:=,31,$c,cf,:=,$p,pf,:=,3,$c,af,:=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513777,
"size": 3,
"opcode": "add eax, 0xf",
"disasm": "add eax, 0xf",
"bytes": "83c00f",
"family": "cpu",
"type": "add",
"reloc": false,
"type_num": 17,
"type2_num": 0
},
{
"offset": 134513653,
"ptr": 15,
"val": 15,
"esil": "15,eax,+=,31,$o,of,:=,31,$s,sf,:=,$z,zf,:=,31,$c,cf,:=,$p,pf,:=,3,$c,af,:=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513777,
"size": 3,
"opcode": "add eax, 0xf",
"disasm": "add eax, 0xf",
"bytes": "83c00f",
"family": "cpu",
"type": "add",
"reloc": false,
"type_num": 17,
"type2_num": 0
},
{
"offset": 134513656,
"val": 4,
"esil": "0,cf,:=,1,4,-,1,<<,eax,&,?{,1,cf,:=,},4,eax,>>,eax,=,$z,zf,:=,$p,pf,:=,31,$s,sf,:=",
"refptr": false,
"fcn_addr": 134513637,
"fcn_last": 134513777,
"size": 3,
"opcode": "shr eax, 4",
"disasm": "shr eax, 4",
"bytes": "c1e804",
"family": "cpu",
"type": "shr",
"reloc": false,
"type_num": 23,
"type2_num": 0
},
{
"offset": 134513659,
"esil": "0,4,!,!,?{,1,4,-,eax,<<,0x80000000,&,!,!,^,},4,eax,<<=,$z,zf,:=,$p,pf,:=,31,$s,sf,:=,cf,=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513777,
"size": 3,
"opcode": "shl eax, 4",
"disasm": "shl eax, 4",
"bytes": "c1e004",
"family": "cpu",
"type": "shl",
"reloc": false,
"type_num": 23,
"type2_num": 0
},
{
"offset": 134513662,
"esil": "eax,esp,-=,eax,0x80000000,-,!,31,$o,^,of,:=,31,$s,sf,:=,$z,zf,:=,$p,pf,:=,32,$b,cf,:=,3,$b,af,:=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513778,
"size": 2,
"opcode": "sub esp, eax",
"disasm": "sub esp, eax",
"bytes": "29c4",
"family": "cpu",
"type": "sub",
"reloc": false,
"type_num": 18,
"type2_num": 0
},
{
"offset": 134513664,
"ptr": 134513992,
"val": 134513992,
"esil": "134513992,esp,=[4]",
"refptr": true,
"fcn_addr": 134513636,
"fcn_last": 134513773,
"size": 7,
"opcode": "mov dword [esp], 0x8048548",
"disasm": "mov dword [esp], str.IOLI_Crackme_Level_0x02_n",
"bytes": "c7042448850408",
"family": "cpu",
"type": "mov",
"reloc": false,
"type_num": 9,
"type2_num": 0,
"refs": [
{
"addr": 134513992,
"type": "DATA"
}
]
},
{
"offset": 134513671,
"esil": "134513436,eip,4,esp,-=,esp,=[],eip,=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513775,
"size": 5,
"opcode": "call 0x804831c",
"disasm": "call sym.imp.printf",
"bytes": "e810ffffff",
"family": "cpu",
"type": "call",
"reloc": false,
"type_num": 3,
"type2_num": 0,
"jump": 134513436,
"fail": 134513676,
"refs": [
{
"addr": 134513436,
"type": "CALL"
}
]
},
{
"offset": 134513676,
"ptr": 134514017,
"val": 134514017,
"esil": "134514017,esp,=[4]",
"refptr": true,
"fcn_addr": 134513636,
"fcn_last": 134513773,
"size": 7,
"opcode": "mov dword [esp], 0x8048561",
"disasm": "mov dword [esp], str.Password:_",
"bytes": "c7042461850408",
"family": "cpu",
"type": "mov",
"reloc": false,
"type_num": 9,
"type2_num": 0,
"refs": [
{
"addr": 134514017,
"type": "DATA"
}
]
},
{
"offset": 134513683,
"esil": "134513436,eip,4,esp,-=,esp,=[],eip,=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513775,
"size": 5,
"opcode": "call 0x804831c",
"disasm": "call sym.imp.printf",
"bytes": "e804ffffff",
"family": "cpu",
"type": "call",
"reloc": false,
"type_num": 3,
"type2_num": 0,
"jump": 134513436,
"fail": 134513688,
"refs": [
{
"addr": 134513436,
"type": "CALL"
}
]
},
{
"offset": 134513688,
"esil": "0x4,ebp,-,eax,=",
"refptr": true,
"fcn_addr": 134513636,
"fcn_last": 134513777,
"size": 3,
"opcode": "lea eax, [ebp - 4]",
"disasm": "lea eax, [ebp - 4]",
"bytes": "8d45fc",
"family": "cpu",
"type": "lea",
"reloc": false,
"type_num": 33,
"type2_num": 0
},
{
"offset": 134513691,
"esil": "eax,0x4,esp,+,=[4]",
"refptr": true,
"fcn_addr": 134513636,
"fcn_last": 134513776,
"size": 4,
"opcode": "mov dword [esp + 4], eax",
"disasm": "mov dword [esp + 4], eax",
"bytes": "89442404",
"family": "cpu",
"type": "mov",
"reloc": false,
"type_num": 9,
"type2_num": 0
},
{
"offset": 134513695,
"ptr": 134514028,
"val": 134514028,
"esil": "134514028,esp,=[4]",
"refptr": true,
"fcn_addr": 134513636,
"fcn_last": 134513773,
"size": 7,
"opcode": "mov dword [esp], 0x804856c",
"disasm": "mov dword [esp], 0x804856c",
"bytes": "c704246c850408",
"family": "cpu",
"type": "mov",
"reloc": false,
"type_num": 9,
"type2_num": 0,
"refs": [
{
"addr": 134514028,
"type": "DATA"
}
]
},
{
"offset": 134513702,
"esil": "134513420,eip,4,esp,-=,esp,=[],eip,=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513775,
"size": 5,
"opcode": "call 0x804830c",
"disasm": "call sym.imp.scanf",
"bytes": "e8e1feffff",
"family": "cpu",
"type": "call",
"reloc": false,
"type_num": 3,
"type2_num": 0,
"jump": 134513420,
"fail": 134513707,
"refs": [
{
"addr": 134513420,
"type": "CALL"
}
]
},
{
"offset": 134513707,
"ptr": 90,
"val": 90,
"esil": "90,0x8,ebp,-,=[4]",
"refptr": true,
"fcn_addr": 134513636,
"fcn_last": 134513773,
"size": 7,
"opcode": "mov dword [ebp - 8], 0x5a",
"disasm": "mov dword [ebp - 8], 0x5a",
"bytes": "c745f85a000000",
"family": "cpu",
"type": "mov",
"reloc": false,
"type_num": 268435465,
"type2_num": 0
},
{
"offset": 134513714,
"ptr": 492,
"val": 492,
"esil": "492,0xc,ebp,-,=[4]",
"refptr": true,
"fcn_addr": 134513636,
"fcn_last": 134513773,
"size": 7,
"opcode": "mov dword [ebp - 0xc], 0x1ec",
"disasm": "mov dword [ebp - 0xc], 0x1ec",
"bytes": "c745f4ec010000",
"family": "cpu",
"type": "mov",
"reloc": false,
"type_num": 268435465,
"type2_num": 0
},
{
"offset": 134513721,
"esil": "0xc,ebp,-,[4],edx,=",
"refptr": true,
"fcn_addr": 134513636,
"fcn_last": 134513777,
"size": 3,
"opcode": "mov edx, dword [ebp - 0xc]",
"disasm": "mov edx, dword [ebp - 0xc]",
"bytes": "8b55f4",
"family": "cpu",
"type": "mov",
"reloc": false,
"type_num": 9,
"type2_num": 0
},
{
"offset": 134513724,
"esil": "0x8,ebp,-,eax,=",
"refptr": true,
"fcn_addr": 134513636,
"fcn_last": 134513777,
"size": 3,
"opcode": "lea eax, [ebp - 8]",
"disasm": "lea eax, [ebp - 8]",
"bytes": "8d45f8",
"family": "cpu",
"type": "lea",
"reloc": false,
"type_num": 33,
"type2_num": 0
},
{
"offset": 134513727,
"esil": "edx,eax,+=[4],31,$o,of,:=,31,$s,sf,:=,$z,zf,:=,31,$c,cf,:=,$p,pf,:=,3,$c,af,:=",
"refptr": true,
"fcn_addr": 134513636,
"fcn_last": 134513778,
"size": 2,
"opcode": "add dword [eax], edx",
"disasm": "add dword [eax], edx",
"bytes": "0110",
"family": "cpu",
"type": "add",
"reloc": false,
"type_num": 17,
"type2_num": 0
},
{
"offset": 134513729,
"esil": "0x8,ebp,-,[4],eax,=",
"refptr": true,
"fcn_addr": 134513636,
"fcn_last": 134513777,
"size": 3,
"opcode": "mov eax, dword [ebp - 8]",
"disasm": "mov eax, dword [ebp - 8]",
"bytes": "8b45f8",
"family": "cpu",
"type": "mov",
"reloc": false,
"type_num": 9,
"type2_num": 0
},
{
"offset": 134513732,
"esil": "32,eax,~,32,0x8,ebp,-,[4],~,*,DUP,eax,=,eax,-,?{,1,1,}{,0,0,},cf,:=,of,:=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513776,
"size": 4,
"opcode": "imul eax, dword [ebp - 8]",
"disasm": "imul eax, dword [ebp - 8]",
"bytes": "0faf45f8",
"family": "cpu",
"type": "mul",
"reloc": false,
"type_num": 20,
"type2_num": 0
},
{
"offset": 134513736,
"esil": "eax,0xc,ebp,-,=[4]",
"refptr": true,
"fcn_addr": 134513636,
"fcn_last": 134513777,
"size": 3,
"opcode": "mov dword [ebp - 0xc], eax",
"disasm": "mov dword [ebp - 0xc], eax",
"bytes": "8945f4",
"family": "cpu",
"type": "mov",
"reloc": false,
"type_num": 268435465,
"type2_num": 0
},
{
"offset": 134513739,
"esil": "0x4,ebp,-,[4],eax,=",
"refptr": true,
"fcn_addr": 134513636,
"fcn_last": 134513777,
"size": 3,
"opcode": "mov eax, dword [ebp - 4]",
"disasm": "mov eax, dword [ebp - 4]",
"bytes": "8b45fc",
"family": "cpu",
"type": "mov",
"reloc": false,
"type_num": 9,
"type2_num": 0
},
{
"offset": 134513742,
"esil": "0xc,ebp,-,[4],eax,==,$z,zf,:=,32,$b,cf,:=,$p,pf,:=,31,$s,sf,:=,0xc,ebp,-,[4],0x80000000,-,!,31,$o,^,of,:=,3,$b,af,:=",
"refptr": true,
"fcn_addr": 134513636,
"fcn_last": 134513777,
"size": 3,
"opcode": "cmp eax, dword [ebp - 0xc]",
"disasm": "cmp eax, dword [ebp - 0xc]",
"bytes": "3b45f4",
"family": "cpu",
"type": "cmp",
"reloc": false,
"type_num": 268435471,
"type2_num": 0
},
{
"offset": 134513745,
"esil": "zf,!,?{,134513761,eip,=,}",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513778,
"size": 2,
"opcode": "jne 0x8048461",
"disasm": "jne 0x8048461",
"bytes": "750e",
"family": "cpu",
"type": "cjmp",
"reloc": false,
"type_num": 2147483649,
"type2_num": 0,
"jump": 134513761,
"fail": 134513747,
"refs": [
{
"addr": 134513761,
"type": "CODE"
}
]
}
]
},
{
"offset": 134513747,
"size": 14,
"jump": 134513773,
"ops": [
{
"offset": 134513747,
"ptr": 134514031,
"val": 134514031,
"esil": "134514031,esp,=[4]",
"refptr": true,
"fcn_addr": 134513636,
"fcn_last": 134513773,
"size": 7,
"opcode": "mov dword [esp], 0x804856f",
"disasm": "mov dword [esp], str.Password_OK_:__n",
"bytes": "c704246f850408",
"family": "cpu",
"type": "mov",
"reloc": false,
"type_num": 9,
"type2_num": 0,
"refs": [
{
"addr": 134514031,
"type": "DATA"
}
]
},
{
"offset": 134513754,
"esil": "134513436,eip,4,esp,-=,esp,=[],eip,=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513775,
"size": 5,
"opcode": "call 0x804831c",
"disasm": "call sym.imp.printf",
"bytes": "e8bdfeffff",
"family": "cpu",
"type": "call",
"reloc": false,
"type_num": 3,
"type2_num": 0,
"jump": 134513436,
"fail": 134513759,
"refs": [
{
"addr": 134513436,
"type": "CALL"
}
]
},
{
"offset": 134513759,
"esil": "0x804846d,eip,=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513778,
"size": 2,
"opcode": "jmp 0x804846d",
"disasm": "jmp 0x804846d",
"bytes": "eb0c",
"family": "cpu",
"type": "jmp",
"reloc": false,
"type_num": 1,
"type2_num": 0,
"jump": 134513773,
"refs": [
{
"addr": 134513773,
"type": "CODE"
}
]
}
]
},
{
"offset": 134513761,
"size": 12,
"jump": 134513773,
"ops": [
{
"offset": 134513761,
"ptr": 134514047,
"val": 134514047,
"esil": "134514047,esp,=[4]",
"refptr": true,
"fcn_addr": 134513636,
"fcn_last": 134513773,
"size": 7,
"opcode": "mov dword [esp], 0x804857f",
"disasm": "mov dword [esp], str.Invalid_Password__n",
"bytes": "c704247f850408",
"family": "cpu",
"type": "mov",
"reloc": false,
"type_num": 9,
"type2_num": 0,
"refs": [
{
"addr": 134514047,
"type": "DATA"
}
],
"xrefs": [
{
"addr": 134513745,
"type": "CODE"
}
]
},
{
"offset": 134513768,
"esil": "134513436,eip,4,esp,-=,esp,=[],eip,=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513775,
"size": 5,
"opcode": "call 0x804831c",
"disasm": "call sym.imp.printf",
"bytes": "e8affeffff",
"family": "cpu",
"type": "call",
"reloc": false,
"type_num": 3,
"type2_num": 0,
"jump": 134513436,
"fail": 134513773,
"refs": [
{
"addr": 134513436,
"type": "CALL"
}
]
}
]
},
{
"offset": 134513773,
"size": 7,
"ops": [
{
"offset": 134513773,
"val": 0,
"esil": "0,eax,=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513775,
"size": 5,
"opcode": "mov eax, 0",
"disasm": "mov eax, 0",
"bytes": "b800000000",
"family": "cpu",
"type": "mov",
"reloc": false,
"type_num": 9,
"type2_num": 0,
"xrefs": [
{
"addr": 134513759,
"type": "CODE"
}
]
},
{
"offset": 134513778,
"esil": "ebp,esp,=,esp,[4],ebp,=,4,esp,+=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513779,
"size": 1,
"opcode": "leave",
"disasm": "leave",
"bytes": "c9",
"family": "cpu",
"type": "pop",
"reloc": false,
"type_num": 14,
"type2_num": 0
},
{
"offset": 134513779,
"esil": "esp,[4],eip,=,4,esp,+=",
"refptr": false,
"fcn_addr": 134513636,
"fcn_last": 134513779,
"size": 1,
"opcode": "ret",
"disasm": "ret",
"bytes": "c3",
"family": "cpu",
"type": "ret",
"reloc": false,
"type_num": 5,
"type2_num": 0
}
]
}
]
}
],
"isj": [
{
"name": "_IO_stdin_used",
"flagname": "obj._IO_stdin_used",
"realname": "_IO_stdin_used",
"ordinal": 5,
"bind": "GLOBAL",
"size": 4,
"type": "OBJ",
"vaddr": 134513988,
"paddr": 1348,
"is_imported": false
},
{
"name": ".interp",
"flagname": "sym..interp",
"realname": ".interp",
"ordinal": 1,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134512980,
"paddr": 340,
"is_imported": false
},
{
"name": ".note.ABI-tag",
"flagname": "sym..note.ABI_tag",
"realname": ".note.ABI-tag",
"ordinal": 2,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134513000,
"paddr": 360,
"is_imported": false
},
{
"name": ".hash",
"flagname": "sym..hash",
"realname": ".hash",
"ordinal": 3,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134513032,
"paddr": 392,
"is_imported": false
},
{
"name": ".gnu.hash",
"flagname": "sym..gnu.hash",
"realname": ".gnu.hash",
"ordinal": 4,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134513076,
"paddr": 436,
"is_imported": false
},
{
"name": ".dynsym",
"flagname": "sym..dynsym",
"realname": ".dynsym",
"ordinal": 5,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134513108,
"paddr": 468,
"is_imported": false
},
{
"name": ".dynstr",
"flagname": "sym..dynstr",
"realname": ".dynstr",
"ordinal": 6,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134513204,
"paddr": 564,
"is_imported": false
},
{
"name": ".gnu.version",
"flagname": "sym..gnu.version",
"realname": ".gnu.version",
"ordinal": 7,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134513286,
"paddr": 646,
"is_imported": false
},
{
"name": ".gnu.version_r",
"flagname": "sym..gnu.version_r",
"realname": ".gnu.version_r",
"ordinal": 8,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134513300,
"paddr": 660,
"is_imported": false
},
{
"name": ".rel.dyn",
"flagname": "sym..rel.dyn",
"realname": ".rel.dyn",
"ordinal": 9,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134513332,
"paddr": 692,
"is_imported": false
},
{
"name": ".rel.plt",
"flagname": "sym..rel.plt",
"realname": ".rel.plt",
"ordinal": 10,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134513340,
"paddr": 700,
"is_imported": false
},
{
"name": ".init",
"flagname": "sym..init",
"realname": ".init",
"ordinal": 11,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134513364,
"paddr": 724,
"is_imported": false
},
{
"name": ".plt",
"flagname": "sym..plt",
"realname": ".plt",
"ordinal": 12,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134513388,
"paddr": 748,
"is_imported": false
},
{
"name": ".text",
"flagname": "sym..text",
"realname": ".text",
"ordinal": 13,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134513456,
"paddr": 816,
"is_imported": false
},
{
"name": ".fini",
"flagname": "sym..fini",
"realname": ".fini",
"ordinal": 14,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134513956,
"paddr": 1316,
"is_imported": false
},
{
"name": ".rodata",
"flagname": "sym..rodata",
"realname": ".rodata",
"ordinal": 15,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134513984,
"paddr": 1344,
"is_imported": false
},
{
"name": ".eh_frame",
"flagname": "sym..eh_frame",
"realname": ".eh_frame",
"ordinal": 16,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134514068,
"paddr": 1428,
"is_imported": false
},
{
"name": ".ctors",
"flagname": "sym..ctors",
"realname": ".ctors",
"ordinal": 17,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134520588,
"paddr": 3852,
"is_imported": false
},
{
"name": ".dtors",
"flagname": "sym..dtors",
"realname": ".dtors",
"ordinal": 18,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134520596,
"paddr": 3860,
"is_imported": false
},
{
"name": ".jcr",
"flagname": "sym..jcr",
"realname": ".jcr",
"ordinal": 19,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134520604,
"paddr": 3868,
"is_imported": false
},
{
"name": ".dynamic",
"flagname": "sym..dynamic",
"realname": ".dynamic",
"ordinal": 20,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134520608,
"paddr": 3872,
"is_imported": false
},
{
"name": ".got",
"flagname": "sym..got",
"realname": ".got",
"ordinal": 21,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134520816,
"paddr": 4080,
"is_imported": false
},
{
"name": ".got.plt",
"flagname": "sym..got.plt",
"realname": ".got.plt",
"ordinal": 22,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134520820,
"paddr": 4084,
"is_imported": false
},
{
"name": ".data",
"flagname": "sym..data",
"realname": ".data",
"ordinal": 23,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134520844,
"paddr": 4108,
"is_imported": false
},
{
"name": ".bss",
"flagname": "sym..bss",
"realname": ".bss",
"ordinal": 24,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 134520856,
"paddr": 18446744073709552000,
"is_imported": false
},
{
"name": ".comment",
"flagname": "sym..comment",
"realname": ".comment",
"ordinal": 25,
"bind": "LOCAL",
"size": 0,
"type": "SECT",
"vaddr": 0,
"paddr": 18446744073709552000,
"is_imported": false
},
{
"name": "crtstuff.c",
"flagname": "sym.crtstuff.c",
"realname": "crtstuff.c",
"ordinal": 26,
"bind": "LOCAL",
"size": 0,
"type": "FILE",
"vaddr": 0,
"paddr": 18446744073709552000,
"is_imported": false
},
{
"name": "__CTOR_LIST__",
"flagname": "obj.__CTOR_LIST__",
"realname": "__CTOR_LIST__",
"ordinal": 27,
"bind": "LOCAL",
"size": 0,
"type": "OBJ",
"vaddr": 134520588,
"paddr": 3852,
"is_imported": false
},
{
"name": "__DTOR_LIST__",
"flagname": "obj.__DTOR_LIST__",
"realname": "__DTOR_LIST__",
"ordinal": 28,
"bind": "LOCAL",
"size": 0,
"type": "OBJ",
"vaddr": 134520596,
"paddr": 3860,
"is_imported": false
},
{
"name": "__JCR_LIST__",
"flagname": "obj.__JCR_LIST__",
"realname": "__JCR_LIST__",
"ordinal": 29,
"bind": "LOCAL",
"size": 0,
"type": "OBJ",
"vaddr": 134520604,
"paddr": 3868,
"is_imported": false
},
{
"name": "p.0",
"flagname": "obj.p.0",
"realname": "p.0",
"ordinal": 30,
"bind": "LOCAL",
"size": 0,
"type": "OBJ",
"vaddr": 134520852,
"paddr": 4116,
"is_imported": false
},
{
"name": "completed.1",
"flagname": "obj.completed.1",
"realname": "completed.1",
"ordinal": 31,
"bind": "LOCAL",
"size": 1,
"type": "OBJ",
"vaddr": 134520856,
"paddr": 18446744073709552000,
"is_imported": false
},
{
"name": "__do_global_dtors_aux",
"flagname": "sym.__do_global_dtors_aux",
"realname": "__do_global_dtors_aux",
"ordinal": 32,
"bind": "LOCAL",
"size": 0,
"type": "FUNC",
"vaddr": 134513536,
"paddr": 896,
"is_imported": false
},
{
"name": "frame_dummy",
"flagname": "sym.frame_dummy",
"realname": "frame_dummy",
"ordinal": 33,
"bind": "LOCAL",
"size": 0,
"type": "FUNC",
"vaddr": 134513584,
"paddr": 944,
"is_imported": false
},
{
"name": "crtstuff.c",
"flagname": "sym.crtstuff.c",
"realname": "crtstuff.c",
"ordinal": 34,
"bind": "LOCAL",
"size": 0,
"type": "FILE",
"vaddr": 0,
"paddr": 18446744073709552000,
"is_imported": false
},
{
"name": "__CTOR_END__",
"flagname": "obj.__CTOR_END__",
"realname": "__CTOR_END__",
"ordinal": 35,
"bind": "LOCAL",
"size": 0,
"type": "OBJ",
"vaddr": 134520592,
"paddr": 3856,
"is_imported": false
},
{
"name": "__DTOR_END__",
"flagname": "obj.__DTOR_END__",
"realname": "__DTOR_END__",
"ordinal": 36,
"bind": "LOCAL",
"size": 0,
"type": "OBJ",
"vaddr": 134520600,
"paddr": 3864,
"is_imported": false
},
{
"name": "__FRAME_END__",
"flagname": "obj.__FRAME_END__",
"realname": "__FRAME_END__",
"ordinal": 37,
"bind": "LOCAL",
"size": 0,
"type": "OBJ",
"vaddr": 134514068,
"paddr": 1428,
"is_imported": false
},
{
"name": "__JCR_END__",
"flagname": "obj.__JCR_END__",
"realname": "__JCR_END__",
"ordinal": 38,
"bind": "LOCAL",
"size": 0,
"type": "OBJ",
"vaddr": 134520604,
"paddr": 3868,
"is_imported": false
},
{
"name": "__do_global_ctors_aux",
"flagname": "sym.__do_global_ctors_aux",
"realname": "__do_global_ctors_aux",
"ordinal": 39,
"bind": "LOCAL",
"size": 0,
"type": "FUNC",
"vaddr": 134513920,
"paddr": 1280,
"is_imported": false
},
{
"name": "crackme0x02.c",
"flagname": "sym.crackme0x02.c",
"realname": "crackme0x02.c",
"ordinal": 40,
"bind": "LOCAL",
"size": 0,
"type": "FILE",
"vaddr": 0,
"paddr": 18446744073709552000,
"is_imported": false
},
{
"name": "_GLOBAL_OFFSET_TABLE_",
"flagname": "obj._GLOBAL_OFFSET_TABLE_",
"realname": "_GLOBAL_OFFSET_TABLE_",
"ordinal": 41,
"bind": "LOCAL",
"size": 0,
"type": "OBJ",
"vaddr": 134520820,
"paddr": 4084,
"is_imported": false
},
{
"name": "__init_array_end",
"flagname": "loc.__init_array_end",
"realname": "__init_array_end",
"ordinal": 42,
"bind": "LOCAL",
"size": 0,
"type": "NOTYPE",
"vaddr": 134520588,
"paddr": 3852,
"is_imported": false
},
{
"name": "__init_array_start",
"flagname": "loc.__init_array_start",
"realname": "__init_array_start",
"ordinal": 43,
"bind": "LOCAL",
"size": 0,
"type": "NOTYPE",
"vaddr": 134520588,
"paddr": 3852,
"is_imported": false
},
{
"name": "_DYNAMIC",
"flagname": "obj._DYNAMIC",
"realname": "_DYNAMIC",
"ordinal": 44,
"bind": "LOCAL",
"size": 0,
"type": "OBJ",
"vaddr": 134520608,
"paddr": 3872,
"is_imported": false
},
{
"name": "data_start",
"flagname": "loc.data_start",
"realname": "data_start",
"ordinal": 45,
"bind": "WEAK",
"size": 0,
"type": "NOTYPE",
"vaddr": 134520844,
"paddr": 4108,
"is_imported": false
},
{
"name": "__libc_csu_fini",
"flagname": "sym.__libc_csu_fini",
"realname": "__libc_csu_fini",
"ordinal": 46,
"bind": "GLOBAL",
"size": 5,
"type": "FUNC",
"vaddr": 134513904,
"paddr": 1264,
"is_imported": false
},
{
"name": "_start",
"flagname": "sym._start",
"realname": "_start",
"ordinal": 47,
"bind": "GLOBAL",
"size": 0,
"type": "FUNC",
"vaddr": 134513456,
"paddr": 816,
"is_imported": false
},
{
"name": "_fp_hw",
"flagname": "obj._fp_hw",
"realname": "_fp_hw",
"ordinal": 50,
"bind": "GLOBAL",
"size": 4,
"type": "OBJ",
"vaddr": 134513984,
"paddr": 1344,
"is_imported": false
},
{
"name": "_fini",
"flagname": "sym._fini",
"realname": "_fini",
"ordinal": 51,
"bind": "GLOBAL",
"size": 0,
"type": "FUNC",
"vaddr": 134513956,
"paddr": 1316,
"is_imported": false
},
{
"name": "__data_start",
"flagname": "loc.__data_start",
"realname": "__data_start",
"ordinal": 55,
"bind": "GLOBAL",
"size": 0,
"type": "NOTYPE",
"vaddr": 134520844,
"paddr": 4108,
"is_imported": false
},
{
"name": "__dso_handle",
"flagname": "obj.__dso_handle",
"realname": "__dso_handle",
"ordinal": 56,
"bind": "GLOBAL",
"size": 0,
"type": "OBJ",
"vaddr": 134520848,
"paddr": 4112,
"is_imported": false
},
{
"name": "__libc_csu_init",
"flagname": "sym.__libc_csu_init",
"realname": "__libc_csu_init",
"ordinal": 57,
"bind": "GLOBAL",
"size": 99,
"type": "FUNC",
"vaddr": 134513792,
"paddr": 1152,
"is_imported": false
},
{
"name": "__bss_start",
"flagname": "loc.__bss_start",
"realname": "__bss_start",
"ordinal": 59,
"bind": "GLOBAL",
"size": 0,
"type": "NOTYPE",
"vaddr": 134520856,
"paddr": 18446744073709552000,
"is_imported": false
},
{
"name": "_end",
"flagname": "loc._end",
"realname": "_end",
"ordinal": 60,
"bind": "GLOBAL",
"size": 0,
"type": "NOTYPE",
"vaddr": 134520860,
"paddr": 18446744073709552000,
"is_imported": false
},
{
"name": "_edata",
"flagname": "loc._edata",
"realname": "_edata",
"ordinal": 61,
"bind": "GLOBAL",
"size": 0,
"type": "NOTYPE",
"vaddr": 134520856,
"paddr": 18446744073709552000,
"is_imported": false
},
{
"name": "__i686.get_pc_thunk.bx",
"flagname": "sym.__i686.get_pc_thunk.bx",
"realname": "__i686.get_pc_thunk.bx",
"ordinal": 62,
"bind": "GLOBAL",
"size": 0,
"type": "FUNC",
"vaddr": 134513909,
"paddr": 1269,
"is_imported": false
},
{
"name": "main",
"flagname": "sym.main",
"realname": "main",
"ordinal": 63,
"bind": "GLOBAL",
"size": 144,
"type": "FUNC",
"vaddr": 134513636,
"paddr": 996,
"is_imported": false
},
{
"name": "_init",
"flagname": "sym._init",
"realname": "_init",
"ordinal": 64,
"bind": "GLOBAL",
"size": 0,
"type": "FUNC",
"vaddr": 134513364,
"paddr": 724,
"is_imported": false
},
{
"name": "imp.__gmon_start__",
"flagname": "loc.imp.__gmon_start__",
"realname": "__gmon_start__",
"ordinal": 1,
"bind": "WEAK",
"size": 16,
"type": "NOTYPE",
"vaddr": 0,
"paddr": 18446744073709552000,
"is_imported": true
},
{
"name": "imp.__libc_start_main",
"flagname": "sym.imp.__libc_start_main",
"realname": "__libc_start_main",
"ordinal": 2,
"bind": "GLOBAL",
"size": 16,
"type": "FUNC",
"vaddr": 134513404,
"paddr": 764,
"is_imported": true
},
{
"name": "imp.scanf",
"flagname": "sym.imp.scanf",
"realname": "scanf",
"ordinal": 3,
"bind": "GLOBAL",
"size": 16,
"type": "FUNC",
"vaddr": 134513420,
"paddr": 780,
"is_imported": true
},
{
"name": "imp.printf",
"flagname": "sym.imp.printf",
"realname": "printf",
"ordinal": 4,
"bind": "GLOBAL",
"size": 16,
"type": "FUNC",
"vaddr": 134513436,
"paddr": 796,
"is_imported": true
}
],
"Csj": [
{
"offset": 134513992,
"type": "Cs",
"name": "SU9MSSBDcmFja21lIExldmVsIDB4MDJcbg==",
"enc": "iz",
"ascii": true
},
{
"offset": 134514017,
"type": "Cs",
"name": "UGFzc3dvcmQ6IA==",
"enc": "iz",
"ascii": true
},
{
"offset": 134514031,
"type": "Cs",
"name": "UGFzc3dvcmQgT0sgOilcbg==",
"enc": "iz",
"ascii": true
},
{
"offset": 134514047,
"type": "Cs",
"name": "SW52YWxpZCBQYXNzd29yZCFcbg==",
"enc": "iz",
"ascii": true
}
],
"icj": [],
"afvj": {
"sp": [
{
"name": "var_sp_4h",
"kind": "var",
"type": "int32_t",
"ref": {
"base": "esp",
"offset": 4
}
}
],
"bp": [
{
"name": "var_ch",
"kind": "var",
"type": "uint32_t",
"ref": {
"base": "ebp",
"offset": -12
}
},
{
"name": "var_8h",
"kind": "var",
"type": "signed int",
"ref": {
"base": "ebp",
"offset": -8
}
},
{
"name": "var_4h",
"kind": "var",
"type": "int32_t",
"ref": {
"base": "ebp",
"offset": -4
}
}
],
"reg": []
},
"afcfj": [
{
"name": "sym.imp.__libc_start_main",
"args": [],
"count": 0
},
{
"name": "sym.imp.scanf",
"args": [],
"count": 0
},
{
"name": "sym.imp.printf",
"args": [],
"count": 0
}
],
"aflj": [
{
"offset": 134513456,
"name": "entry0",
"size": 34,
"is-pure": "false",
"realsz": 34,
"noreturn": false,
"stackframe": 28,
"calltype": "reg",
"cost": 16,
"cc": 1,
"bits": 32,
"type": "fcn",
"nbbs": 1,
"edges": 0,
"ebbs": 1,
"signature": "entry0 (int32_t arg1, int32_t arg4);",
"minbound": 134513456,
"maxbound": 134513490,
"callrefs": [
{
"addr": 134513404,
"type": "CALL",
"at": 134513484
}
],
"datarefs": [
134513904,
134513792,
134513636
],
"indegree": 0,
"outdegree": 1,
"nlocals": 0,
"nargs": 2,
"bpvars": [],
"spvars": [],
"regvars": [
{
"name": "arg4",
"kind": "reg",
"type": "int32_t",
"ref": "edx"
},
{
"name": "arg1",
"kind": "reg",
"type": "int32_t",
"ref": "eax"
}
],
"difftype": "new"
},
{
"offset": 134513404,
"name": "sym.imp.__libc_start_main",
"size": 6,
"is-pure": "true",
"realsz": 6,
"noreturn": false,
"stackframe": 0,
"calltype": "reg",
"cost": 3,
"cc": 1,
"bits": 32,
"type": "sym",
"nbbs": 1,
"edges": 0,
"ebbs": 1,
"signature": "sym.imp.__libc_start_main ();",
"minbound": 134513404,
"maxbound": 134513410,
"callrefs": [
{
"addr": 134520832,
"type": "CODE",
"at": 134513404
}
],
"datarefs": [],
"codexrefs": [
{
"addr": 134513484,
"type": "CALL",
"at": 134513404
}
],
"dataxrefs": [],
"indegree": 1,
"outdegree": 0,
"nlocals": 0,
"nargs": 0,
"bpvars": [],
"spvars": [],
"regvars": [],
"difftype": "new"
},
{
"offset": 134513536,
"name": "sym.__do_global_dtors_aux",
"size": 47,
"is-pure": "false",
"realsz": 47,
"noreturn": false,
"stackframe": 12,
"calltype": "reg",
"cost": 23,
"cc": 3,
"bits": 32,
"type": "sym",
"nbbs": 6,
"edges": 7,
"ebbs": 1,
"signature": "sym.__do_global_dtors_aux ();",
"minbound": 134513536,
"maxbound": 134513583,
"callrefs": [
{
"addr": 134513563,
"type": "CODE",
"at": 134513549
},
{
"addr": 134513581,
"type": "CODE",
"at": 134513551
},
{
"addr": 134513553,
"type": "CODE",
"at": 134513572
}
],
"datarefs": [
134520856,
134520852,
134520852,
134520856
],
"codexrefs": [
{
"addr": 134513973,
"type": "CALL",
"at": 134513536
},
{
"addr": 134513572,
"type": "CODE",
"at": 134513553
},
{
"addr": 134513549,
"type": "CODE",
"at": 134513563
},
{
"addr": 134513551,
"type": "CODE",
"at": 134513581
}
],
"dataxrefs": [],
"indegree": 4,
"outdegree": 0,
"nlocals": 0,
"nargs": 0,
"bpvars": [],
"spvars": [],
"regvars": [],
"difftype": "new"
},
{
"offset": 134513584,
"name": "sym.frame_dummy",
"size": 50,
"is-pure": "false",
"realsz": 50,
"noreturn": false,
"stackframe": 12,
"calltype": "reg",
"cost": 21,
"cc": 3,
"bits": 32,
"type": "sym",
"nbbs": 4,
"edges": 5,
"ebbs": 1,
"signature": "sym.frame_dummy ();",
"minbound": 134513584,
"maxbound": 134513634,
"callrefs": [
{
"addr": 134513632,
"type": "CODE",
"at": 134513597
},
{
"addr": 134513632,
"type": "CODE",
"at": 134513606
}
],
"datarefs": [
134520604,
134520604
],
"codexrefs": [
{
"addr": 134513375,
"type": "CALL",
"at": 134513584
},
{
"addr": 134513597,
"type": "CODE",
"at": 134513632
},
{
"addr": 134513606,
"type": "CODE",
"at": 134513632
}
],
"dataxrefs": [],
"indegree": 3,
"outdegree": 0,
"nlocals": 0,
"nargs": 0,
"bpvars": [],
"spvars": [],
"regvars": [],
"difftype": "new"
},
{
"offset": 134513920,
"name": "sym.__do_global_ctors_aux",
"size": 35,
"is-pure": "false",
"realsz": 35,
"noreturn": false,
"stackframe": 12,
"calltype": "reg",
"cost": 22,
"cc": 2,
"bits": 32,
"type": "sym",
"nbbs": 4,
"edges": 4,
"ebbs": 1,
"signature": "sym.__do_global_ctors_aux (int32_t arg2);",
"minbound": 134513920,
"maxbound": 134513955,
"callrefs": [
{
"addr": 134513946,
"type": "CODE",
"at": 134513937
},
{
"addr": 134513939,
"type": "CODE",
"at": 134513949
}
],
"datarefs": [
134520588,
134520588
],
"codexrefs": [
{
"addr": 134513380,
"type": "CALL",
"at": 134513920
},
{
"addr": 134513949,
"type": "CODE",
"at": 134513939
},
{
"addr": 134513937,
"type": "CODE",
"at": 134513946
}
],
"dataxrefs": [],
"indegree": 3,
"outdegree": 0,
"nlocals": 0,
"nargs": 1,
"bpvars": [],
"spvars": [],
"regvars": [
{
"name": "arg2",
"kind": "reg",
"type": "int32_t",
"ref": "ebx"
}
],
"difftype": "new"
},
{
"offset": 134513904,
"name": "sym.__libc_csu_fini",
"size": 5,
"is-pure": "true",
"realsz": 5,
"noreturn": false,
"stackframe": 4,
"calltype": "reg",
"cost": 6,
"cc": 1,
"bits": 32,
"type": "sym",
"nbbs": 1,
"edges": 0,
"ebbs": 1,
"signature": "sym.__libc_csu_fini ();",
"minbound": 134513904,
"maxbound": 134513909,
"codexrefs": [],
"dataxrefs": [
134513467
],
"indegree": 0,
"outdegree": 0,
"nlocals": 0,
"nargs": 0,
"bpvars": [],
"spvars": [],
"regvars": [],
"difftype": "new"
},
{
"offset": 134513956,
"name": "sym._fini",
"size": 26,
"is-pure": "false",
"realsz": 26,
"noreturn": false,
"stackframe": 8,
"calltype": "reg",
"cost": 18,
"cc": 1,
"bits": 32,
"type": "sym",
"nbbs": 1,
"edges": 0,
"ebbs": 1,
"signature": "sym._fini (int32_t arg2);",
"minbound": 134513956,
"maxbound": 134513982,
"callrefs": [
{
"addr": 134513965,
"type": "CALL",
"at": 134513960
},
{
"addr": 134513536,
"type": "CALL",
"at": 134513973
}
],
"datarefs": [],
"codexrefs": [
{
"addr": 134513960,
"type": "CALL",
"at": 134513965
}
],
"dataxrefs": [],
"indegree": 1,
"outdegree": 2,
"nlocals": 0,
"nargs": 1,
"bpvars": [],
"spvars": [],
"regvars": [
{
"name": "arg2",
"kind": "reg",
"type": "int32_t",
"ref": "ebx"
}
],
"difftype": "new"
},
{
"offset": 134513792,
"name": "sym.__libc_csu_init",
"size": 99,
"is-pure": "false",
"realsz": 99,
"noreturn": false,
"stackframe": 44,
"calltype": "reg",
"cost": 49,
"cc": 3,
"bits": 32,
"type": "sym",
"nbbs": 4,
"edges": 5,
"ebbs": 1,
"signature": "sym.__libc_csu_init (int32_t arg2, int32_t arg_8h, int32_t arg_ch, int32_t arg_10h);",
"minbound": 134513792,
"maxbound": 134513891,
"callrefs": [
{
"addr": 134513909,
"type": "CALL",
"at": 134513800
},
{
"addr": 134513364,
"type": "CALL",
"at": 134513814
},
{
"addr": 134513883,
"type": "CODE",
"at": 134513841
},
{
"addr": 134513845,
"type": "CODE",
"at": 134513881
}
],
"datarefs": [],
"codexrefs": [
{
"addr": 134513881,
"type": "CODE",
"at": 134513845
},
{
"addr": 134513841,
"type": "CODE",
"at": 134513883
}
],
"dataxrefs": [
134513472
],
"indegree": 2,
"outdegree": 2,
"nlocals": 3,
"nargs": 4,
"bpvars": [
{
"name": "var_10h",
"kind": "var",
"type": "int32_t",
"ref": {
"base": "ebp",
"offset": -16
}
},
{
"name": "arg_8h",
"kind": "arg",
"type": "int32_t",
"ref": {
"base": "ebp",
"offset": 8
}
},
{
"name": "arg_ch",
"kind": "arg",
"type": "int32_t",
"ref": {
"base": "ebp",
"offset": 12
}
},
{
"name": "arg_10h",
"kind": "arg",
"type": "int32_t",
"ref": {
"base": "ebp",
"offset": 16
}
}
],
"spvars": [
{
"name": "var_4h",
"kind": "var",
"type": "int32_t",
"ref": {
"base": "esp",
"offset": 4
}
},
{
"name": "var_8h",
"kind": "var",
"type": "int32_t",
"ref": {
"base": "esp",
"offset": 8
}
}
],
"regvars": [
{
"name": "arg2",
"kind": "reg",
"type": "int32_t",
"ref": "ebx"
}
],
"difftype": "new"
},
{
"offset": 134513909,
"name": "sym.__i686.get_pc_thunk.bx",
"size": 4,
"is-pure": "true",
"realsz": 4,
"noreturn": false,
"stackframe": 0,
"calltype": "reg",
"cost": 4,
"cc": 1,
"bits": 32,
"type": "sym",
"nbbs": 1,
"edges": 0,
"ebbs": 1,
"signature": "sym.__i686.get_pc_thunk.bx ();",
"minbound": 134513909,
"maxbound": 134513913,
"codexrefs": [
{
"addr": 134513800,
"type": "CALL",
"at": 134513909
}
],
"dataxrefs": [],
"indegree": 1,
"outdegree": 0,
"nlocals": 0,
"nargs": 0,
"bpvars": [],
"spvars": [],
"regvars": [],
"difftype": "new"
},
{
"offset": 134513636,
"name": "main",
"size": 144,
"is-pure": "false",
"realsz": 144,
"noreturn": false,
"stackframe": 28,
"calltype": "reg",
"cost": 51,
"cc": 2,
"bits": 32,
"type": "sym",
"nbbs": 4,
"edges": 4,
"ebbs": 1,
"signature": "main ();",
"minbound": 134513636,
"maxbound": 134513780,
"callrefs": [
{
"addr": 134513436,
"type": "CALL",
"at": 134513671
},
{
"addr": 134513436,
"type": "CALL",
"at": 134513683
},
{
"addr": 134513420,
"type": "CALL",
"at": 134513702
},
{
"addr": 134513761,
"type": "CODE",
"at": 134513745
},
{
"addr": 134513436,
"type": "CALL",
"at": 134513754
},
{
"addr": 134513773,
"type": "CODE",
"at": 134513759
},
{
"addr": 134513436,
"type": "CALL",
"at": 134513768
}
],
"datarefs": [
134513992,
134514017,
134514028,
134514031,
134514047
],
"codexrefs": [
{
"addr": 134513745,
"type": "CODE",
"at": 134513761
},
{
"addr": 134513759,
"type": "CODE",
"at": 134513773
}
],
"dataxrefs": [
134513479
],
"indegree": 2,
"outdegree": 5,
"nlocals": 4,
"nargs": 0,
"bpvars": [
{
"name": "var_ch",
"kind": "var",
"type": "uint32_t",
"ref": {
"base": "ebp",
"offset": -12
}
},
{
"name": "var_8h",
"kind": "var",
"type": "signed int",
"ref": {
"base": "ebp",
"offset": -8
}
},
{
"name": "var_4h",
"kind": "var",
"type": "int32_t",
"ref": {
"base": "ebp",
"offset": -4
}
}
],
"spvars": [
{
"name": "var_sp_4h",
"kind": "var",
"type": "int32_t",
"ref": {
"base": "esp",
"offset": 4
}
}
],
"regvars": [],
"difftype": "new"
},
{
"offset": 134513364,
"name": "sym._init",
"size": 23,
"is-pure": "false",
"realsz": 23,
"noreturn": false,
"stackframe": 12,
"calltype": "reg",
"cost": 16,
"cc": 1,
"bits": 32,
"type": "sym",
"nbbs": 1,
"edges": 0,
"ebbs": 1,
"signature": "sym._init (int32_t arg1);",
"minbound": 134513364,
"maxbound": 134513387,
"callrefs": [
{
"addr": 134513492,
"type": "CALL",
"at": 134513370
},
{
"addr": 134513584,
"type": "CALL",
"at": 134513375
},
{
"addr": 134513920,
"type": "CALL",
"at": 134513380
}
],
"datarefs": [],
"codexrefs": [
{
"addr": 134513814,
"type": "CALL",
"at": 134513364
},
{
"addr": 134513247,
"type": "CODE",
"at": 134513365
},
{
"addr": 134513268,
"type": "CODE",
"at": 134513386
}
],
"dataxrefs": [],
"indegree": 3,
"outdegree": 3,
"nlocals": 0,
"nargs": 1,
"bpvars": [],
"spvars": [],
"regvars": [
{
"name": "arg1",
"kind": "reg",
"type": "int32_t",
"ref": "eax"
}
],
"difftype": "new"
},
{
"offset": 134513492,
"name": "fcn.08048354",
"size": 33,
"is-pure": "true",
"realsz": 33,
"noreturn": false,
"stackframe": 8,
"calltype": "reg",
"cost": 22,
"cc": 2,
"bits": 32,
"type": "fcn",
"nbbs": 3,
"edges": 3,
"ebbs": 1,
"signature": "fcn.08048354 (int32_t arg2);",
"minbound": 134513492,
"maxbound": 134513525,
"callrefs": [
{
"addr": 134513501,
"type": "CALL",
"at": 134513496
},
{
"addr": 134513521,
"type": "CODE",
"at": 134513517
}
],
"datarefs": [],
"codexrefs": [
{
"addr": 134513370,
"type": "CALL",
"at": 134513492
},
{
"addr": 134513496,
"type": "CALL",
"at": 134513501
},
{
"addr": 134513517,
"type": "CODE",
"at": 134513521
}
],
"dataxrefs": [],
"indegree": 3,
"outdegree": 1,
"nlocals": 0,
"nargs": 1,
"bpvars": [],
"spvars": [],
"regvars": [
{
"name": "arg2",
"kind": "reg",
"type": "int32_t",
"ref": "ebx"
}
],
"difftype": "new"
},
{
"offset": 134513420,
"name": "sym.imp.scanf",
"size": 6,
"is-pure": "true",
"realsz": 6,
"noreturn": false,
"stackframe": 0,
"calltype": "reg",
"cost": 3,
"cc": 1,
"bits": 32,
"type": "sym",
"nbbs": 1,
"edges": 0,
"ebbs": 1,
"signature": "sym.imp.scanf ();",
"minbound": 134513420,
"maxbound": 134513426,
"callrefs": [
{
"addr": 134520836,
"type": "CODE",
"at": 134513420
}
],
"datarefs": [],
"codexrefs": [
{
"addr": 134513702,
"type": "CALL",
"at": 134513420
}
],
"dataxrefs": [],
"indegree": 1,
"outdegree": 0,
"nlocals": 0,
"nargs": 0,
"bpvars": [],
"spvars": [],
"regvars": [],
"difftype": "new"
},
{
"offset": 134513436,
"name": "sym.imp.printf",
"size": 6,
"is-pure": "true",
"realsz": 6,
"noreturn": false,
"stackframe": 0,
"calltype": "reg",
"cost": 3,
"cc": 1,
"bits": 32,
"type": "sym",
"nbbs": 1,
"edges": 0,
"ebbs": 1,
"signature": "sym.imp.printf ();",
"minbound": 134513436,
"maxbound": 134513442,
"callrefs": [
{
"addr": 134520840,
"type": "CODE",
"at": 134513436
}
],
"datarefs": [],
"codexrefs": [
{
"addr": 134513671,
"type": "CALL",
"at": 134513436
},
{
"addr": 134513683,
"type": "CALL",
"at": 134513436
},
{
"addr": 134513754,
"type": "CALL",
"at": 134513436
},
{
"addr": 134513768,
"type": "CALL",
"at": 134513436
}
],
"dataxrefs": [],
"indegree": 4,
"outdegree": 0,
"nlocals": 0,
"nargs": 0,
"bpvars": [],
"spvars": [],
"regvars": [],
"difftype": "new"
}
]
}
wargio commented
Looks like the calltype is invalid. something has changed on r2 side. anyway i'll patch it.
Cloufish commented
You're so amazing wargio! :o