Dataset Viewer
file_name
stringlengths 17
81
| original_function_name
stringlengths 1
716
| stripped_function_name
stringlengths 3
48
| decompiled_code_original
stringlengths 38
263k
⌀ | decompiled_code_stripped
stringlengths 39
208k
⌀ | assembly_code
stringlengths 3
175k
⌀ | dataflowgraph_original
float64 | dataflowgraph_stripped
float64 | graphImage_original
float64 | graphImage_stripped
float64 | pcode_edges_original
stringlengths 11
8.39M
| pcode_edges_stripped
stringlengths 11
8.61M
| pcode_graph_original
float64 | pcode_graph_stripped
float64 | address
stringlengths 8
8
| arch
stringclasses 1
value | opt_level
stringclasses 1
value | S-Expression_of_decompiled_code_stripped
stringlengths 338
5.26M
⌀ | S-Expression_decompiled_code_original
stringlengths 351
5.47M
⌀ | S-Expression_decompiled_code_original_noisy
stringlengths 338
5.2M
⌀ | S-Expression_decompiled_code_original_clean
stringlengths 162
540k
⌀ | S-Expression_decompiled_code_original_root
stringlengths 353
5.26M
⌀ | Replace_function_name_and_variable_name
stringlengths 39
247k
⌀ | S-Expression_decompiled_code_stripped
float64 | Root Node
stringlengths 238
769k
⌀ | decompiled_code_original_masked
float64 | decompiled_code_stripped_masked
stringlengths 35
208k
⌀ |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
142_i686-gnu-as_and_i686-gnu-as_strip.c
|
initialize_cframe
|
FUN_00018760
|
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
void __regparm3 initialize_cframe(conditional_frame *cframe)
{
char *pcVar1;
int iVar2;
uint uVar3;
conditional_frame *pcVar4;
pcVar4 = cframe;
for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {
(pcVar4->if_file_line).file = (char *)0x0;
pcVar4 = (conditional_frame *)&(pcVar4->if_file_line).line;
}
pcVar1 = as_where(&(cframe->if_file_line).line);
uVar3 = 0;
(cframe->if_file_line).file = pcVar1;
pcVar4 = current_cframe;
cframe->previous_cframe = current_cframe;
if (pcVar4 != (conditional_frame *)0x0) {
uVar3 = (uint)(pcVar4->ignoring != 0);
}
cframe->dead_tree = uVar3;
cframe->macro_nest = macro_nest;
return;
}
|
/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
void __regparm3 FUN_00018760(undefined4 *param_1)
{
undefined4 uVar1;
int iVar2;
uint uVar3;
undefined4 *puVar4;
puVar4 = param_1;
for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {
*puVar4 = 0;
puVar4 = puVar4 + 1;
}
uVar1 = FUN_000251c0(param_1 + 1);
uVar3 = 0;
*param_1 = uVar1;
iVar2 = DAT_00083938;
param_1[4] = DAT_00083938;
if (iVar2 != 0) {
uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);
}
param_1[7] = uVar3;
param_1[8] = DAT_000848b4;
return;
}
|
PUSH EDI
MOV ECX,0x9
PUSH ESI
MOV ESI,EAX
XOR EAX,EAX
PUSH EBX
MOV EDI,ESI
STOSD.REP ES:EDI
LEA EAX,[ESI + 0x4]
CALL 0x00016020
ADD EBX,0x62888
SUB ESP,0xc
PUSH EAX
CALL 0x000251c0
ADD ESP,0x10
XOR EDX,EDX
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [EBX + 0x8938]
MOV dword ptr [ESI + 0x10],EAX
TEST EAX,EAX
JZ 0x000187a5
MOV EAX,dword ptr [EAX + 0x18]
XOR EDX,EDX
TEST EAX,EAX
SETNZ DL
LEA EAX,[EBX + 0x98b4]
POP EBX
MOV dword ptr [ESI + 0x1c],EDX
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESI + 0x20],EAX
POP ESI
POP EDI
RET
| null | null | null | null |
[(u'PTRSUB_-1205958484', u'PTRSUB_-1205958476'), (u'STORE_-1205958599', u'INDIRECT_-1205958467'), ('const-417', u'LOAD_-1205958657'), (u'INT_ZEXT_-1205958565', u'MULTIEQUAL_-1205958517'), (u'MULTIEQUAL_-1205958576', u'INT_NOTEQUAL_-1205958769'), ('const-417', u'STORE_-1205958675'), (u'LOAD_-1205958657', u'INT_NOTEQUAL_-1205958627'), ('tmp_394', u'PTRSUB_-1205958475'), ('tmp_257', u'CBRANCH_-1205958658'), (u'MULTIEQUAL_-1205958517', u'STORE_-1205958609'), ('tmp_57', u'CBRANCH_-1205958775'), (u'MULTIEQUAL_-1205958571', u'PTRSUB_-1205958517'), (u'PTRSUB_-1205958517', u'PTRSUB_-1205958509'), ('const-4', u'PTRSUB_-1205958508'), ('const-4', u'PTRSUB_-1205958505'), ('tmp_394', u'COPY_-1205958571'), ('const-0', u'PTRSUB_-1205958476'), (u'STORE_-1205958689', u'INDIRECT_-1205958507'), ('tmp_394', u'PTRSUB_-1205958484'), ('const-0', u'PTRSUB_-1205958484'), (u'CALL_-1205958715', u'INDIRECT_-1205958512'), (u'INDIRECT_-1205958538', u'MULTIEQUAL_-1205958534'), ('const-0', u'PTRSUB_-1205958509'), (u'STORE_-1205958689', u'INDIRECT_-1205958499'), ('tmp_394', u'PTRSUB_-1205958514'), (u'INT_NOTEQUAL_-1205958769', u'CBRANCH_-1205958775'), (u'INDIRECT_-1205958459', u'COPY_-1205958519'), (u'STORE_-1205958675', u'INDIRECT_-1205958490'), (u'INDIRECT_-1205958467', u'COPY_-1205958527'), ('const-0', u'STORE_-1205958769'), ('tmp_658', u'MULTIEQUAL_-1205958526'), (u'CAST_-1205958504', u'COPY_-1205958568'), ('const-0', u'RETURN_-1205958576'), (u'PTRSUB_-1205958475', u'STORE_-1205958675'), (u'INT_ADD_-1205958760', u'MULTIEQUAL_-1205958576'), (u'PTRSUB_-1205958514', u'PTRSUB_-1205958505'), ('const-0', u'PTRSUB_-1205958519'), ('const-0', u'PTRSUB_-1205958517'), (u'COPY_-1205958811', u'MULTIEQUAL_-1205958576'), (u'MULTIEQUAL_-1205958571', u'PTRSUB_-1205958519'), ('const-417', u'STORE_-1205958689'), ('const-9', u'COPY_-1205958811'), (u'COPY_-1205958571', u'MULTIEQUAL_-1205958571'), (u'STORE_-1205958599', u'INDIRECT_-1205958459'), (u'MULTIEQUAL_-1205958576', u'INT_ADD_-1205958760'), ('const-0', u'INT_NOTEQUAL_-1205958769'), ('tmp_394', u'PTRSUB_-1205958449'), ('tmp_80', u'BRANCH_-1205958767'), (u'PTRSUB_-1205958476', u'STORE_-1205958689'), (u'PTRSUB_-1205958519', u'PTRSUB_-1205958508'), ('const-0', u'INT_NOTEQUAL_-1205958627'), (u'CALL_-1205958715', u'STORE_-1205958689'), ('const-32', u'PTRSUB_-1205958443'), ('const-417', u'STORE_-1205958769'), (u'INDIRECT_-1205958530', u'MULTIEQUAL_-1205958526'), (u'COPY_-1205958540', u'INT_NOTEQUAL_-1205958658'), ('const-0', u'PTRSUB_-1205958514'), (u'PTRSUB_-1205958467', u'LOAD_-1205958657'), (u'PTRSUB_-1205958505', u'CALL_-1205958715'), (u'INT_NOTEQUAL_-1205958627', u'INT_ZEXT_-1205958565'), ('const-0', u'COPY_-1205958701'), (u'INDIRECT_-1205958507', u'COPY_-1205958540'), (u'STORE_-1205958609', u'INDIRECT_-1205958473'), (u'INT_NOTEQUAL_-1205958658', u'CBRANCH_-1205958658'), ('const-28', u'PTRSUB_-1205958449'), (u'PTRSUB_-1205958443', u'STORE_-1205958599'), (u'PTRSUB_-1205958508', u'CAST_-1205958504'), (u'COPY_-1205958701', u'MULTIEQUAL_-1205958517'), (u'STORE_-1205958769', u'INDIRECT_-1205958530'), (u'CALL_-1205958715', u'INDIRECT_-1205958520'), (u'COPY_-1205958540', u'PTRSUB_-1205958467'), ('const-24', u'PTRSUB_-1205958467'), (u'PTRSUB_-1205958449', u'STORE_-1205958609'), ('tmp_394', u'PTRSUB_-1205958443'), ('tmp_659', u'MULTIEQUAL_-1205958534'), ('const-417', u'STORE_-1205958609'), (u'INDIRECT_-1205958465', u'STORE_-1205958599'), (u'STORE_-1205958769', u'INDIRECT_-1205958538'), ('const-16', u'PTRSUB_-1205958475'), ('const-0', u'INT_NOTEQUAL_-1205958658'), (u'COPY_-1205958568', u'MULTIEQUAL_-1205958571'), (u'INDIRECT_-1205958507', u'STORE_-1205958675'), ('const-417', u'STORE_-1205958599'), (u'STORE_-1205958675', u'INDIRECT_-1205958498'), ('const-4294967295', u'INT_ADD_-1205958760'), (u'STORE_-1205958609', u'INDIRECT_-1205958465'), (u'PTRSUB_-1205958509', u'STORE_-1205958769')]
|
[('const-1', u'PTRADD_-1205958519'), (u'COPY_-1205958811', u'MULTIEQUAL_-1205958575'), (u'MULTIEQUAL_-1205958570', u'PTRADD_-1205958519'), (u'LOAD_-1205958657', u'INT_NOTEQUAL_-1205958627'), (u'COPY_-1205958579', u'MULTIEQUAL_-1205958570'), (u'PTRADD_-1205958519', u'COPY_-1205958576'), ('tmp_257', u'CBRANCH_-1205958658'), ('tmp_57', u'CBRANCH_-1205958775'), ('const-1', u'PTRADD_-1205958516'), (u'PTRADD_-1205958479', u'STORE_-1205958675'), (u'COPY_-1205958548', u'INT_NOTEQUAL_-1205958658'), (u'CALL_-1205958715', u'INDIRECT_-1205958511'), ('const-417', u'STORE_-1205958689'), ('tmp_504', u'COPY_-1205958579'), (u'STORE_-1205958599', u'INDIRECT_-1205958458'), (u'MULTIEQUAL_-1205958570', u'STORE_-1205958769'), (u'INT_ZEXT_-1205958564', u'MULTIEQUAL_-1205958516'), (u'INT_NOTEQUAL_-1205958769', u'CBRANCH_-1205958775'), (u'INDIRECT_-1205958506', u'STORE_-1205958675'), ('const-417', u'STORE_-1205958599'), ('const-0', u'RETURN_-1205958576'), ('tmp_504', u'PTRADD_-1205958479'), ('const-417', u'LOAD_-1205958657'), ('const-4', u'PTRADD_-1205958454'), (u'STORE_-1205958769', u'INDIRECT_-1205958529'), ('const-417', u'STORE_-1205958609'), (u'PTRADD_-1205958516', u'CALL_-1205958715'), (u'STORE_-1205958599', u'INDIRECT_-1205958466'), (u'COPY_-1205958701', u'MULTIEQUAL_-1205958516'), (u'STORE_-1205958689', u'INDIRECT_-1205958506'), ('const-0', u'COPY_-1205958701'), ('const-417', u'STORE_-1205958769'), ('const-4', u'PTRADD_-1205958479'), ('const-9', u'COPY_-1205958811'), ('const-4', u'PTRADD_-1205958519'), (u'INDIRECT_-1205958464', u'STORE_-1205958599'), (u'MULTIEQUAL_-1205958575', u'INT_NOTEQUAL_-1205958769'), ('const-0', u'INT_NOTEQUAL_-1205958769'), ('tmp_80', u'BRANCH_-1205958767'), ('const-8', u'PTRADD_-1205958448'), ('const-0', u'INT_NOTEQUAL_-1205958627'), ('tmp_669', u'MULTIEQUAL_-1205958533'), (u'MULTIEQUAL_-1205958516', u'STORE_-1205958609'), (u'CALL_-1205958715', u'STORE_-1205958689'), (u'INDIRECT_-1205958537', u'MULTIEQUAL_-1205958533'), ('const-7', u'PTRADD_-1205958454'), ('tmp_504', u'PTRADD_-1205958454'), (u'PTRADD_-1205958448', u'STORE_-1205958599'), (u'INDIRECT_-1205958458', u'COPY_-1205958518'), ('tmp_504', u'PTRADD_-1205958516'), (u'CAST_-1205958467', u'LOAD_-1205958657'), ('tmp_504', u'STORE_-1205958689'), (u'STORE_-1205958675', u'INDIRECT_-1205958497'), ('tmp_668', u'MULTIEQUAL_-1205958525'), (u'COPY_-1205958548', u'INT_ADD_-1205958641'), (u'STORE_-1205958609', u'INDIRECT_-1205958464'), ('const-417', u'STORE_-1205958675'), ('tmp_504', u'PTRADD_-1205958448'), (u'STORE_-1205958609', u'INDIRECT_-1205958472'), (u'INDIRECT_-1205958506', u'COPY_-1205958548'), ('const-4', u'PTRADD_-1205958479'), (u'INT_NOTEQUAL_-1205958658', u'CBRANCH_-1205958658'), (u'INDIRECT_-1205958529', u'MULTIEQUAL_-1205958525'), (u'INDIRECT_-1205958466', u'COPY_-1205958526'), (u'COPY_-1205958576', u'MULTIEQUAL_-1205958570'), (u'STORE_-1205958689', u'INDIRECT_-1205958498'), (u'INT_ADD_-1205958760', u'MULTIEQUAL_-1205958575'), ('const-0', u'STORE_-1205958769'), (u'INT_ADD_-1205958641', u'CAST_-1205958467'), (u'INT_NOTEQUAL_-1205958627', u'INT_ZEXT_-1205958564'), (u'MULTIEQUAL_-1205958575', u'INT_ADD_-1205958760'), (u'PTRADD_-1205958454', u'STORE_-1205958609'), ('const-4294967295', u'INT_ADD_-1205958760'), (u'STORE_-1205958769', u'INDIRECT_-1205958537'), ('const-24', u'INT_ADD_-1205958641'), (u'STORE_-1205958675', u'INDIRECT_-1205958489'), ('const-0', u'INT_NOTEQUAL_-1205958658'), ('const-4', u'PTRADD_-1205958448'), (u'CALL_-1205958715', u'INDIRECT_-1205958519'), ('const-4', u'PTRADD_-1205958516')]
| null | null |
00018760
|
x86
|
O3
|
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00018760(undefined4 *param_1)\n\n{\n undefined4 uVar1;\n int iVar2;\n uint uVar3;\n undefined4 *puVar4;\n \n puVar4 = param_1;\n for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n *puVar4 = 0;\n puVar4 = puVar4 + 1;\n }\n uVar1 = FUN_000251c0(param_1 + 1);\n uVar3 = 0;\n *param_1 = uVar1;\n iVar2 = DAT_00083938;\n param_1[4] = DAT_00083938;\n if (iVar2 != 0) {\n uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n }\n param_1[7] = uVar3;\n param_1[8] = DAT_000848b4;\n return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00018760(undefined4 *param_1)\n\n{\n undefined4 uVar1;\n int iVar2;\n uint uVar3;\n undefined4 *puVar4;\n \n puVar4 = param_1;\n for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n *puVar4 = 0;\n puVar4 = puVar4 + 1;\n }\n uVar1 = FUN_000251c0(param_1 + 1);\n uVar3 = 0;\n *param_1 = uVar1;\n iVar2 = DAT_00083938;\n param_1[4] = DAT_00083938;\n if (iVar2 != 0) {\n uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n }\n param_1[7] = uVar3;\n param_1[8] = DAT_000848b4;\n return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00018760(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n undefined4 uVar1;\n int iVar2;\n uint uVar3;\n undefined4 *puVar4;\n \n puVar4 = param_1;\n for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n *puVar4 = 0;\n puVar4 = puVar4 + 1;\n }\n uVar1 = FUN_000251c0(param_1 + 1);\n uVar3 = 0;\n *param_1 = uVar1;\n iVar2 = DAT_00083938;\n param_1[4] = DAT_00083938;\n if (iVar2 != 0) {\n uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n }\n param_1[7] = uVar3;\n param_1[8] = DAT_000848b4;\n return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "puVar4 = param_1;" (assignment_expression "puVar4 = param_1" identifier = identifier) ;) (for_statement "for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n *puVar4 = 0;\n puVar4 = puVar4 + 1;\n }" for ( (assignment_expression "iVar2 = 9" identifier = number_literal) ; (binary_expression "iVar2 != 0" identifier != number_literal) ; (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ) (compound_statement "{\n *puVar4 = 0;\n puVar4 = puVar4 + 1;\n }" { (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar1 = FUN_000251c0(param_1 + 1);" (assignment_expression "uVar1 = FUN_000251c0(param_1 + 1)" identifier = (call_expression "FUN_000251c0(param_1 + 1)" identifier (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "iVar2 = DAT_00083938;" (assignment_expression "iVar2 = DAT_00083938" identifier = identifier) ;) (expression_statement "param_1[4] = DAT_00083938;" (assignment_expression "param_1[4] = DAT_00083938" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar2 != 0) {\n uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n }" { (expression_statement "uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);" (assignment_expression "uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0)" identifier = (call_expression "(uint)(*(int *)(iVar2 + 0x18) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar2 + 0x18) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x18) != 0" (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) != number_literal) )))) ;) })) (expression_statement "param_1[7] = uVar3;" (assignment_expression "param_1[7] = uVar3" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[8] = DAT_000848b4;" (assignment_expression "param_1[8] = DAT_000848b4" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
|
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 initialize_cframe(conditional_frame *cframe)\n\n{\n char *pcVar1;\n int iVar2;\n uint uVar3;\n conditional_frame *pcVar4;\n \n pcVar4 = cframe;\n for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n (pcVar4->if_file_line).file = (char *)0x0;\n pcVar4 = (conditional_frame *)&(pcVar4->if_file_line).line;\n }\n pcVar1 = as_where(&(cframe->if_file_line).line);\n uVar3 = 0;\n (cframe->if_file_line).file = pcVar1;\n pcVar4 = current_cframe;\n cframe->previous_cframe = current_cframe;\n if (pcVar4 != (conditional_frame *)0x0) {\n uVar3 = (uint)(pcVar4->ignoring != 0);\n }\n cframe->dead_tree = uVar3;\n cframe->macro_nest = macro_nest;\n return;\n}\n\n" comment (function_definition "void __regparm3 initialize_cframe(conditional_frame *cframe)\n\n{\n char *pcVar1;\n int iVar2;\n uint uVar3;\n conditional_frame *pcVar4;\n \n pcVar4 = cframe;\n for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n (pcVar4->if_file_line).file = (char *)0x0;\n pcVar4 = (conditional_frame *)&(pcVar4->if_file_line).line;\n }\n pcVar1 = as_where(&(cframe->if_file_line).line);\n uVar3 = 0;\n (cframe->if_file_line).file = pcVar1;\n pcVar4 = current_cframe;\n cframe->previous_cframe = current_cframe;\n if (pcVar4 != (conditional_frame *)0x0) {\n uVar3 = (uint)(pcVar4->ignoring != 0);\n }\n cframe->dead_tree = uVar3;\n cframe->macro_nest = macro_nest;\n return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "initialize_cframe(conditional_frame *cframe)" identifier (parameter_list "(conditional_frame *cframe)" ( (parameter_declaration "conditional_frame *cframe" type_identifier (pointer_declarator "*cframe" * identifier)) ))) (compound_statement "{\n char *pcVar1;\n int iVar2;\n uint uVar3;\n conditional_frame *pcVar4;\n \n pcVar4 = cframe;\n for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n (pcVar4->if_file_line).file = (char *)0x0;\n pcVar4 = (conditional_frame *)&(pcVar4->if_file_line).line;\n }\n pcVar1 = as_where(&(cframe->if_file_line).line);\n uVar3 = 0;\n (cframe->if_file_line).file = pcVar1;\n pcVar4 = current_cframe;\n cframe->previous_cframe = current_cframe;\n if (pcVar4 != (conditional_frame *)0x0) {\n uVar3 = (uint)(pcVar4->ignoring != 0);\n }\n cframe->dead_tree = uVar3;\n cframe->macro_nest = macro_nest;\n return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "conditional_frame *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "pcVar4 = cframe;" (assignment_expression "pcVar4 = cframe" identifier = identifier) ;) (for_statement "for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n (pcVar4->if_file_line).file = (char *)0x0;\n pcVar4 = (conditional_frame *)&(pcVar4->if_file_line).line;\n }" for ( (assignment_expression "iVar2 = 9" identifier = number_literal) ; (binary_expression "iVar2 != 0" identifier != number_literal) ; (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ) (compound_statement "{\n (pcVar4->if_file_line).file = (char *)0x0;\n pcVar4 = (conditional_frame *)&(pcVar4->if_file_line).line;\n }" { (expression_statement "(pcVar4->if_file_line).file = (char *)0x0;" (assignment_expression "(pcVar4->if_file_line).file = (char *)0x0" (field_expression "(pcVar4->if_file_line).file" (parenthesized_expression "(pcVar4->if_file_line)" ( (field_expression "pcVar4->if_file_line" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar4 = (conditional_frame *)&(pcVar4->if_file_line).line;" (assignment_expression "pcVar4 = (conditional_frame *)&(pcVar4->if_file_line).line" identifier = (cast_expression "(conditional_frame *)&(pcVar4->if_file_line).line" ( (type_descriptor "conditional_frame *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(pcVar4->if_file_line).line" & (field_expression "(pcVar4->if_file_line).line" (parenthesized_expression "(pcVar4->if_file_line)" ( (field_expression "pcVar4->if_file_line" identifier -> field_identifier) )) . field_identifier)))) ;) })) (expression_statement "pcVar1 = as_where(&(cframe->if_file_line).line);" (assignment_expression "pcVar1 = as_where(&(cframe->if_file_line).line)" identifier = (call_expression "as_where(&(cframe->if_file_line).line)" identifier (argument_list "(&(cframe->if_file_line).line)" ( (pointer_expression "&(cframe->if_file_line).line" & (field_expression "(cframe->if_file_line).line" (parenthesized_expression "(cframe->if_file_line)" ( (field_expression "cframe->if_file_line" identifier -> field_identifier) )) . field_identifier)) )))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "(cframe->if_file_line).file = pcVar1;" (assignment_expression "(cframe->if_file_line).file = pcVar1" (field_expression "(cframe->if_file_line).file" (parenthesized_expression "(cframe->if_file_line)" ( (field_expression "cframe->if_file_line" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "pcVar4 = current_cframe;" (assignment_expression "pcVar4 = current_cframe" identifier = identifier) ;) (expression_statement "cframe->previous_cframe = current_cframe;" (assignment_expression "cframe->previous_cframe = current_cframe" (field_expression "cframe->previous_cframe" identifier -> field_identifier) = identifier) ;) (if_statement "if (pcVar4 != (conditional_frame *)0x0) {\n uVar3 = (uint)(pcVar4->ignoring != 0);\n }" if (parenthesized_expression "(pcVar4 != (conditional_frame *)0x0)" ( (binary_expression "pcVar4 != (conditional_frame *)0x0" identifier != (cast_expression "(conditional_frame *)0x0" ( (type_descriptor "conditional_frame *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n uVar3 = (uint)(pcVar4->ignoring != 0);\n }" { (expression_statement "uVar3 = (uint)(pcVar4->ignoring != 0);" (assignment_expression "uVar3 = (uint)(pcVar4->ignoring != 0)" identifier = (call_expression "(uint)(pcVar4->ignoring != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pcVar4->ignoring != 0)" ( (binary_expression "pcVar4->ignoring != 0" (field_expression "pcVar4->ignoring" identifier -> field_identifier) != number_literal) )))) ;) })) (expression_statement "cframe->dead_tree = uVar3;" (assignment_expression "cframe->dead_tree = uVar3" (field_expression "cframe->dead_tree" identifier -> field_identifier) = identifier) ;) (expression_statement "cframe->macro_nest = macro_nest;" (assignment_expression "cframe->macro_nest = macro_nest" (field_expression "cframe->macro_nest" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
|
(translation_unit "void __regparm3 FUN_00018760(undefined4 *param_1)\n\n{\n undefined4 uVar1;\n int iVar2;\n uint uVar3;\n undefined4 *puVar4;\n \n puVar4 = param_1;\n for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n *puVar4 = 0;\n puVar4 = puVar4 + 1;\n }\n uVar1 = FUN_000251c0(param_1 + 1);\n uVar3 = 0;\n *param_1 = uVar1;\n iVar2 = DAT_00083938;\n param_1[4] = DAT_00083938;\n if (iVar2 != 0) {\n uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n }\n param_1[7] = uVar3;\n param_1[8] = DAT_000848b4;\n return;\n}\n\n" (function_definition "void __regparm3 FUN_00018760(undefined4 *param_1)\n\n{\n undefined4 uVar1;\n int iVar2;\n uint uVar3;\n undefined4 *puVar4;\n \n puVar4 = param_1;\n for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n *puVar4 = 0;\n puVar4 = puVar4 + 1;\n }\n uVar1 = FUN_000251c0(param_1 + 1);\n uVar3 = 0;\n *param_1 = uVar1;\n iVar2 = DAT_00083938;\n param_1[4] = DAT_00083938;\n if (iVar2 != 0) {\n uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n }\n param_1[7] = uVar3;\n param_1[8] = DAT_000848b4;\n return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00018760(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n undefined4 uVar1;\n int iVar2;\n uint uVar3;\n undefined4 *puVar4;\n \n puVar4 = param_1;\n for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n *puVar4 = 0;\n puVar4 = puVar4 + 1;\n }\n uVar1 = FUN_000251c0(param_1 + 1);\n uVar3 = 0;\n *param_1 = uVar1;\n iVar2 = DAT_00083938;\n param_1[4] = DAT_00083938;\n if (iVar2 != 0) {\n uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n }\n param_1[7] = uVar3;\n param_1[8] = DAT_000848b4;\n return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "puVar4 = param_1;" (assignment_expression "puVar4 = param_1" identifier = identifier) ;) (for_statement "for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n *puVar4 = 0;\n puVar4 = puVar4 + 1;\n }" for ( (assignment_expression "iVar2 = 9" identifier = number_literal) ; (binary_expression "iVar2 != 0" identifier != number_literal) ; (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ) (compound_statement "{\n *puVar4 = 0;\n puVar4 = puVar4 + 1;\n }" { (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar1 = FUN_000251c0(param_1 + 1);" (assignment_expression "uVar1 = FUN_000251c0(param_1 + 1)" identifier = (call_expression "FUN_000251c0(param_1 + 1)" identifier (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "iVar2 = DAT_00083938;" (assignment_expression "iVar2 = DAT_00083938" identifier = identifier) ;) (expression_statement "param_1[4] = DAT_00083938;" (assignment_expression "param_1[4] = DAT_00083938" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar2 != 0) {\n uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n }" { (expression_statement "uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);" (assignment_expression "uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0)" identifier = (call_expression "(uint)(*(int *)(iVar2 + 0x18) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar2 + 0x18) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x18) != 0" (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) != number_literal) )))) ;) })) (expression_statement "param_1[7] = uVar3;" (assignment_expression "param_1[7] = uVar3" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[8] = DAT_000848b4;" (assignment_expression "param_1[8] = DAT_000848b4" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
|
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
|
(function_definition "void __regparm3 FUN_00018760(undefined4 *param_1)\n\n{\n undefined4 uVar1;\n int iVar2;\n uint uVar3;\n undefined4 *puVar4;\n \n puVar4 = param_1;\n for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n *puVar4 = 0;\n puVar4 = puVar4 + 1;\n }\n uVar1 = FUN_000251c0(param_1 + 1);\n uVar3 = 0;\n *param_1 = uVar1;\n iVar2 = DAT_00083938;\n param_1[4] = DAT_00083938;\n if (iVar2 != 0) {\n uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n }\n param_1[7] = uVar3;\n param_1[8] = DAT_000848b4;\n return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00018760(undefined4 *param_1)" (identifier "FUN_00018760") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n undefined4 uVar1;\n int iVar2;\n uint uVar3;\n undefined4 *puVar4;\n \n puVar4 = param_1;\n for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n *puVar4 = 0;\n puVar4 = puVar4 + 1;\n }\n uVar1 = FUN_000251c0(param_1 + 1);\n uVar3 = 0;\n *param_1 = uVar1;\n iVar2 = DAT_00083938;\n param_1[4] = DAT_00083938;\n if (iVar2 != 0) {\n uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n }\n param_1[7] = uVar3;\n param_1[8] = DAT_000848b4;\n return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (expression_statement "puVar4 = param_1;" (assignment_expression "puVar4 = param_1" (identifier "puVar4") (= "=") (identifier "param_1")) (; ";")) (for_statement "for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n *puVar4 = 0;\n puVar4 = puVar4 + 1;\n }" (for "for") (( "(") (assignment_expression "iVar2 = 9" (identifier "iVar2") (= "=") (number_literal "9")) (; ";") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar2 = iVar2 + -1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n *puVar4 = 0;\n puVar4 = puVar4 + 1;\n }" ({ "{") (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar1 = FUN_000251c0(param_1 + 1);" (assignment_expression "uVar1 = FUN_000251c0(param_1 + 1)" (identifier "uVar1") (= "=") (call_expression "FUN_000251c0(param_1 + 1)" (identifier "FUN_000251c0") (argument_list "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "iVar2 = DAT_00083938;" (assignment_expression "iVar2 = DAT_00083938" (identifier "iVar2") (= "=") (identifier "DAT_00083938")) (; ";")) (expression_statement "param_1[4] = DAT_00083938;" (assignment_expression "param_1[4] = DAT_00083938" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "DAT_00083938")) (; ";")) (if_statement "if (iVar2 != 0) {\n uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n }" ({ "{") (expression_statement "uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);" (assignment_expression "uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0)" (identifier "uVar3") (= "=") (call_expression "(uint)(*(int *)(iVar2 + 0x18) != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(iVar2 + 0x18) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x18) != 0" (pointer_expression "*(int *)(iVar2 + 0x18)" (* "*") (cast_expression "(int *)(iVar2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (number_literal "0")) () ")")))) (; ";")) (} "}"))) (expression_statement "param_1[7] = uVar3;" (assignment_expression "param_1[7] = uVar3" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "param_1[8] = DAT_000848b4;" (assignment_expression "param_1[8] = DAT_000848b4" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "DAT_000848b4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
|
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
void __regparm3 function_1(type_1 *cframe)
{
char *pcVar1;
int var_1;
type_2 uVar3;
type_1 *var_3;
var_3 = cframe;
for (var_1 = 9; var_1 != 0; var_1 = var_1 + -1) {
(var_3->if_file_line).file = (char *)0x0;
var_3 = (type_1 *)&(var_3->if_file_line).line;
}
pcVar1 = var_2(&(cframe->if_file_line).line);
uVar3 = 0;
(cframe->if_file_line).file = pcVar1;
var_3 = current_cframe;
cframe->previous_cframe = current_cframe;
if (var_3 != (type_1 *)0x0) {
uVar3 = (type_2)(var_3->ignoring != 0);
}
cframe->dead_tree = uVar3;
cframe->macro_nest = macro_nest;
return;
}
| null |
(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (for_statement initializer: (assignment_expression left: (identifier) right: (number_literal)) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))))
| null |
/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
void __regparm3 MASKED(undefined4 *param_1)
{
undefined4 uVar1;
int iVar2;
uint uVar3;
undefined4 *puVar4;
puVar4 = param_1;
for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {
*puVar4 = 0;
puVar4 = puVar4 + 1;
}
uVar1 = FUN_000251c0(param_1 + 1);
uVar3 = 0;
*param_1 = uVar1;
iVar2 = DAT_00083938;
param_1[4] = DAT_00083938;
if (iVar2 != 0) {
uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);
}
param_1[7] = uVar3;
param_1[8] = DAT_000848b4;
return;
}
|
8395_powerpc64le-linux-gnu-ld_and_powerpc64le-linux-gnu-ld_strip.c
|
append
|
FUN_0024e290
|
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wstring::append(wchar_t const*) */
void std::wstring::append(wchar_t *param_1)
{
}
|
/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
void FUN_0024e290(int param_1,wchar_t *param_2)
{
size_t sVar1;
sVar1 = wcslen(param_2);
if (sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4)) {
FUN_0024e0e0(param_1,param_2,sVar1);
return;
}
/* WARNING: Subroutine does not return */
FUN_0028dc10("basic_string::append");
}
|
PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x14]
CALL 0x0003a210
ADD EBX,0x1c5d64
MOV ESI,dword ptr [ESP + 0x10]
SUB ESP,0xc
PUSH EDI
CALL 0x0002c620
MOV EDX,0x1fffffff
SUB EDX,dword ptr [ESI + 0x4]
ADD ESP,0x10
CMP EAX,EDX
JA 0x0024e2d0
SUB ESP,0x4
PUSH EAX
PUSH EDI
PUSH ESI
CALL 0x0024e0e0
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0xc
LEA EAX,[EBX + 0xffee49c3]
PUSH EAX
CALL 0x0028dc10
| null | null | null | null |
[('const-1', u'RETURN_-1204034895')]
|
[('tmp_740', u'CALL_-1204034771'), (u'CALL_-1204034854', u'CALL_-1204034771'), (u'INT_LESSEQUAL_-1204034793', u'CBRANCH_-1204034802'), (u'COPY_-1204034625', u'CALL_-1204034708'), (u'INT_SUB_-1204034823', u'INT_LESSEQUAL_-1204034793'), (u'LOAD_-1204034842', u'INT_SUB_-1204034823'), ('const-536870911', u'INT_SUB_-1204034823'), ('tmp_215', u'CBRANCH_-1204034802'), ('const-3115459', u'COPY_-1204034625'), ('tmp_740', u'INT_ADD_-1204034830'), ('const-417', u'LOAD_-1204034842'), (u'INT_ADD_-1204034830', u'CAST_-1204034599'), ('const-0', u'RETURN_-1204034733'), (u'CALL_-1204034854', u'INT_LESSEQUAL_-1204034793'), ('const-4', u'INT_ADD_-1204034830'), (u'CAST_-1204034599', u'LOAD_-1204034842'), ('const-1', u'RETURN_-1204034703'), ('tmp_739', u'CALL_-1204034854'), ('tmp_739', u'CALL_-1204034771')]
| null | null |
0024e290
|
x86
|
O3
|
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0024e290(int param_1,wchar_t *param_2)\n\n{\n size_t sVar1;\n \n sVar1 = wcslen(param_2);\n if (sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4)) {\n FUN_0024e0e0(param_1,param_2,sVar1);\n return;\n }\n /* WARNING: Subroutine does not return */\n FUN_0028dc10("basic_string::append");\n}\n\n" comment (function_definition "void FUN_0024e290(int param_1,wchar_t *param_2)\n\n{\n size_t sVar1;\n \n sVar1 = wcslen(param_2);\n if (sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4)) {\n FUN_0024e0e0(param_1,param_2,sVar1);\n return;\n }\n /* WARNING: Subroutine does not return */\n FUN_0028dc10("basic_string::append");\n}" primitive_type (function_declarator "FUN_0024e290(int param_1,wchar_t *param_2)" identifier (parameter_list "(int param_1,wchar_t *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "wchar_t *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n size_t sVar1;\n \n sVar1 = wcslen(param_2);\n if (sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4)) {\n FUN_0024e0e0(param_1,param_2,sVar1);\n return;\n }\n /* WARNING: Subroutine does not return */\n FUN_0028dc10("basic_string::append");\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (expression_statement "sVar1 = wcslen(param_2);" (assignment_expression "sVar1 = wcslen(param_2)" identifier = (call_expression "wcslen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4)) {\n FUN_0024e0e0(param_1,param_2,sVar1);\n return;\n }" if (parenthesized_expression "(sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4))" ( (binary_expression "sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4)" identifier <= (binary_expression "0x1fffffffU - *(int *)(param_1 + 4)" number_literal - (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))))) )) (compound_statement "{\n FUN_0024e0e0(param_1,param_2,sVar1);\n return;\n }" { (expression_statement "FUN_0024e0e0(param_1,param_2,sVar1);" (call_expression "FUN_0024e0e0(param_1,param_2,sVar1)" identifier (argument_list "(param_1,param_2,sVar1)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0028dc10("basic_string::append");" (call_expression "FUN_0028dc10("basic_string::append")" identifier (argument_list "("basic_string::append")" ( (string_literal ""basic_string::append"" " string_content ") ))) ;) })))
|
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::wstring::append(wchar_t const*) */\n\nvoid std::wstring::append(wchar_t *param_1)\n\n{\n}\n\n" comment comment (function_definition "void std::wstring::append(wchar_t *param_1)\n\n{\n}" primitive_type (ERROR "std::wstring::" identifier : : identifier : :) (function_declarator "append(wchar_t *param_1)" identifier (parameter_list "(wchar_t *param_1)" ( (parameter_declaration "wchar_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n}" { })))
|
(translation_unit "void FUN_0024e290(int param_1,wchar_t *param_2)\n\n{\n size_t sVar1;\n \n sVar1 = wcslen(param_2);\n if (sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4)) {\n FUN_0024e0e0(param_1,param_2,sVar1);\n return;\n }\n \n FUN_0028dc10("basic_string::append");\n}\n\n" (function_definition "void FUN_0024e290(int param_1,wchar_t *param_2)\n\n{\n size_t sVar1;\n \n sVar1 = wcslen(param_2);\n if (sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4)) {\n FUN_0024e0e0(param_1,param_2,sVar1);\n return;\n }\n \n FUN_0028dc10("basic_string::append");\n}" primitive_type (function_declarator "FUN_0024e290(int param_1,wchar_t *param_2)" identifier (parameter_list "(int param_1,wchar_t *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "wchar_t *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n size_t sVar1;\n \n sVar1 = wcslen(param_2);\n if (sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4)) {\n FUN_0024e0e0(param_1,param_2,sVar1);\n return;\n }\n \n FUN_0028dc10("basic_string::append");\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (expression_statement "sVar1 = wcslen(param_2);" (assignment_expression "sVar1 = wcslen(param_2)" identifier = (call_expression "wcslen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4)) {\n FUN_0024e0e0(param_1,param_2,sVar1);\n return;\n }" if (parenthesized_expression "(sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4))" ( (binary_expression "sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4)" identifier <= (binary_expression "0x1fffffffU - *(int *)(param_1 + 4)" number_literal - (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))))) )) (compound_statement "{\n FUN_0024e0e0(param_1,param_2,sVar1);\n return;\n }" { (expression_statement "FUN_0024e0e0(param_1,param_2,sVar1);" (call_expression "FUN_0024e0e0(param_1,param_2,sVar1)" identifier (argument_list "(param_1,param_2,sVar1)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0028dc10("basic_string::append");" (call_expression "FUN_0028dc10("basic_string::append")" identifier (argument_list "("basic_string::append")" ( (string_literal ""basic_string::append"" " string_content ") ))) ;) })))
|
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (binary_expression LIT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })))
|
(function_definition "void FUN_0024e290(int param_1,wchar_t *param_2)\n\n{\n size_t sVar1;\n \n sVar1 = wcslen(param_2);\n if (sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4)) {\n FUN_0024e0e0(param_1,param_2,sVar1);\n return;\n }\n \n FUN_0028dc10("basic_string::append");\n}" (primitive_type "void") (function_declarator "FUN_0024e290(int param_1,wchar_t *param_2)" (identifier "FUN_0024e290") (parameter_list "(int param_1,wchar_t *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "wchar_t *param_2" (type_identifier "wchar_t") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n size_t sVar1;\n \n sVar1 = wcslen(param_2);\n if (sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4)) {\n FUN_0024e0e0(param_1,param_2,sVar1);\n return;\n }\n \n FUN_0028dc10("basic_string::append");\n}" ({ "{") (declaration "size_t sVar1;" (primitive_type "size_t") (identifier "sVar1") (; ";")) (expression_statement "sVar1 = wcslen(param_2);" (assignment_expression "sVar1 = wcslen(param_2)" (identifier "sVar1") (= "=") (call_expression "wcslen(param_2)" (identifier "wcslen") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4)) {\n FUN_0024e0e0(param_1,param_2,sVar1);\n return;\n }" (if "if") (parenthesized_expression "(sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4))" (( "(") (binary_expression "sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4)" (identifier "sVar1") (<= "<=") (binary_expression "0x1fffffffU - *(int *)(param_1 + 4)" (number_literal "0x1fffffffU") (- "-") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))))) () ")")) (compound_statement "{\n FUN_0024e0e0(param_1,param_2,sVar1);\n return;\n }" ({ "{") (expression_statement "FUN_0024e0e0(param_1,param_2,sVar1);" (call_expression "FUN_0024e0e0(param_1,param_2,sVar1)" (identifier "FUN_0024e0e0") (argument_list "(param_1,param_2,sVar1)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "sVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0028dc10("basic_string::append");" (call_expression "FUN_0028dc10("basic_string::append")" (identifier "FUN_0028dc10") (argument_list "("basic_string::append")" (( "(") (string_literal ""basic_string::append"" (" """) (string_content "basic_string::append") (" """)) () ")"))) (; ";")) (} "}")))
|
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wstring::append(wchar_t const*) */
void std::wstring::function_1(type_1 *param_1)
{
}
| null |
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (number_literal) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))))))
| null |
/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
void MASKED(int param_1,wchar_t *param_2)
{
size_t sVar1;
sVar1 = wcslen(param_2);
if (sVar1 <= 0x1fffffffU - *(int *)(param_1 + 4)) {
FUN_0024e0e0(param_1,param_2,sVar1);
return;
}
/* WARNING: Subroutine does not return */
FUN_0028dc10("basic_string::append");
}
|
1404_busybox_and_busybox_strip.c
|
dot_skip_over_ws
|
FUN_000a4bd0
|
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void dot_skip_over_ws(void)
{
byte bVar1;
globals *pgVar2;
char *pcVar3;
pgVar2 = ptr_to_globals;
pcVar3 = ptr_to_globals->fakehost;
while( true ) {
bVar1 = *pcVar3 - 9;
if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) || (pgVar2->login + -1 <= pcVar3))
break;
pcVar3 = pcVar3 + 1;
pgVar2->fakehost = pcVar3;
}
return;
}
|
/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
void FUN_000a4bd0(void)
{
byte bVar1;
int iVar2;
char *pcVar3;
iVar2 = DAT_000dc700;
pcVar3 = *(char **)(DAT_000dc700 + 8);
while( true ) {
bVar1 = *pcVar3 - 9;
if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||
((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;
pcVar3 = pcVar3 + 1;
*(char **)(iVar2 + 8) = pcVar3;
}
return;
}
|
PUSH EBX
CALL 0x0001ae1a
ADD EAX,0x36e4a
MOV EDX,dword ptr [EAX + 0xce0]
MOV EAX,dword ptr [EDX + 0x8]
MOV CL,byte ptr [EAX]
LEA EBX,[ECX + -0x9]
CMP BL,0x17
JNZ 0x000a4bfe
MOV EBX,dword ptr [EDX + 0x4]
LEA ECX,[EBX + -0x1]
CMP EAX,ECX
JNC 0x000a4c08
INC EAX
MOV dword ptr [EDX + 0x8],EAX
JMP 0x000a4be4
CMP BL,0x4
JA 0x000a4c08
CMP CL,0xa
JNZ 0x000a4bee
POP EBX
RET
| null | null | null | null |
[('const-4294967295', u'PTRADD_-1206563750'), (u'MULTIEQUAL_-1206563662', u'INT_LESSEQUAL_-1206563793'), ('const-9', u'INT_SUB_-1206563672'), (u'PTRSUB_-1206563620', u'LOAD_-1206563850'), (u'INDIRECT_-1206563603', u'MULTIEQUAL_-1206563624'), (u'LOAD_-1206563818', u'PTRADD_-1206563750'), ('tmp_550', u'MULTIEQUAL_-1206563624'), ('tmp_98', u'CBRANCH_-1206563819'), (u'INT_LESS_-1206563740', u'CBRANCH_-1206563749'), ('tmp_550', u'PTRSUB_-1206563620'), ('const-1', u'PTRADD_-1206563728'), (u'INT_LESSEQUAL_-1206563793', u'CBRANCH_-1206563792'), (u'INT_SUB_-1206563672', u'INT_LESS_-1206563740'), ('const-1', u'PTRADD_-1206563728'), ('tmp_550', u'COPY_-1206563699'), ('const-8', u'PTRSUB_-1206563620'), ('const-4', u'INT_LESS_-1206563740'), ('const-10', u'INT_EQUAL_-1206563735'), (u'MULTIEQUAL_-1206563662', u'PTRADD_-1206563728'), (u'PTRADD_-1206563728', u'MULTIEQUAL_-1206563662'), ('const-417', u'STORE_-1206563780'), ('tmp_259', u'CBRANCH_-1206563732'), ('const-417', u'LOAD_-1206563818'), (u'STORE_-1206563780', u'INDIRECT_-1206563603'), (u'LOAD_-1206563845', u'INT_SUB_-1206563672'), (u'INT_NOTEQUAL_-1206563821', u'CBRANCH_-1206563819'), ('const-23', u'INT_NOTEQUAL_-1206563821'), (u'INT_EQUAL_-1206563735', u'CBRANCH_-1206563732'), ('const-8', u'PTRSUB_-1206563594'), (u'MULTIEQUAL_-1206563662', u'LOAD_-1206563845'), (u'PTRSUB_-1206563594', u'STORE_-1206563780'), ('const-4', u'PTRSUB_-1206563606'), ('tmp_176', u'BRANCH_-1206563775'), (u'COPY_-1206563699', u'PTRSUB_-1206563594'), ('tmp_227', u'CBRANCH_-1206563749'), ('const-417', u'LOAD_-1206563845'), (u'INT_SUB_-1206563672', u'INT_NOTEQUAL_-1206563821'), (u'LOAD_-1206563845', u'INT_EQUAL_-1206563735'), ('const-0', u'RETURN_-1206563749'), ('const-417', u'LOAD_-1206563850'), (u'PTRADD_-1206563728', u'STORE_-1206563780'), (u'PTRSUB_-1206563606', u'LOAD_-1206563818'), (u'LOAD_-1206563850', u'MULTIEQUAL_-1206563662'), (u'MULTIEQUAL_-1206563624', u'COPY_-1206563648'), (u'COPY_-1206563699', u'PTRSUB_-1206563606'), ('const-1', u'PTRADD_-1206563750'), (u'PTRADD_-1206563750', u'INT_LESSEQUAL_-1206563793'), ('tmp_143', u'CBRANCH_-1206563792')]
|
[(u'MULTIEQUAL_-1206563662', u'INT_LESSEQUAL_-1206563793'), (u'COPY_-1206563702', u'INT_ADD_-1206563766'), ('tmp_552', u'INT_ADD_-1206563834'), (u'INDIRECT_-1206563603', u'MULTIEQUAL_-1206563624'), ('tmp_98', u'CBRANCH_-1206563819'), ('const-1', u'PTRADD_-1206563728'), (u'INT_LESS_-1206563740', u'CBRANCH_-1206563749'), ('const-23', u'INT_NOTEQUAL_-1206563821'), (u'COPY_-1206563702', u'INT_ADD_-1206563802'), (u'INT_LESSEQUAL_-1206563793', u'CBRANCH_-1206563792'), (u'INT_SUB_-1206563672', u'INT_LESS_-1206563740'), ('const-1', u'PTRADD_-1206563728'), ('tmp_552', u'MULTIEQUAL_-1206563624'), (u'MULTIEQUAL_-1206563662', u'PTRADD_-1206563728'), (u'PTRADD_-1206563728', u'MULTIEQUAL_-1206563662'), ('const-417', u'STORE_-1206563780'), ('tmp_259', u'CBRANCH_-1206563732'), ('const-417', u'LOAD_-1206563818'), (u'STORE_-1206563780', u'INDIRECT_-1206563603'), (u'LOAD_-1206563845', u'INT_SUB_-1206563672'), (u'INT_NOTEQUAL_-1206563821', u'CBRANCH_-1206563819'), ('const-8', u'INT_ADD_-1206563834'), (u'INT_EQUAL_-1206563735', u'CBRANCH_-1206563732'), (u'MULTIEQUAL_-1206563662', u'LOAD_-1206563845'), (u'CAST_-1206563594', u'STORE_-1206563780'), (u'CAST_-1206563621', u'LOAD_-1206563850'), (u'INT_ADD_-1206563766', u'CAST_-1206563594'), ('const-9', u'INT_SUB_-1206563672'), ('const-8', u'INT_ADD_-1206563766'), ('tmp_176', u'BRANCH_-1206563775'), (u'LOAD_-1206563818', u'INT_SUB_-1206563795'), (u'INT_ADD_-1206563834', u'CAST_-1206563621'), ('const-1', u'INT_SUB_-1206563795'), ('tmp_227', u'CBRANCH_-1206563749'), ('const-417', u'LOAD_-1206563845'), (u'INT_ADD_-1206563802', u'CAST_-1206563607'), (u'CAST_-1206563607', u'LOAD_-1206563818'), (u'INT_SUB_-1206563672', u'INT_NOTEQUAL_-1206563821'), ('tmp_552', u'COPY_-1206563702'), (u'LOAD_-1206563845', u'INT_EQUAL_-1206563735'), ('const-4', u'INT_LESS_-1206563740'), (u'CAST_-1206563603', u'INT_LESSEQUAL_-1206563793'), ('const-0', u'RETURN_-1206563749'), (u'INT_SUB_-1206563795', u'CAST_-1206563603'), ('const-417', u'LOAD_-1206563850'), (u'PTRADD_-1206563728', u'STORE_-1206563780'), ('const-10', u'INT_EQUAL_-1206563735'), (u'LOAD_-1206563850', u'MULTIEQUAL_-1206563662'), (u'MULTIEQUAL_-1206563624', u'COPY_-1206563648'), ('tmp_143', u'CBRANCH_-1206563792'), ('const-4', u'INT_ADD_-1206563802')]
| null | null |
000a4bd0
|
x86
|
O3
|
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_000a4bd0(void)\n\n{\n byte bVar1;\n int iVar2;\n char *pcVar3;\n \n iVar2 = DAT_000dc700;\n pcVar3 = *(char **)(DAT_000dc700 + 8);\n while( true ) {\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;\n pcVar3 = pcVar3 + 1;\n *(char **)(iVar2 + 8) = pcVar3;\n }\n return;\n}\n\n" comment (function_definition "void FUN_000a4bd0(void)\n\n{\n byte bVar1;\n int iVar2;\n char *pcVar3;\n \n iVar2 = DAT_000dc700;\n pcVar3 = *(char **)(DAT_000dc700 + 8);\n while( true ) {\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;\n pcVar3 = pcVar3 + 1;\n *(char **)(iVar2 + 8) = pcVar3;\n }\n return;\n}" primitive_type (function_declarator "FUN_000a4bd0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n byte bVar1;\n int iVar2;\n char *pcVar3;\n \n iVar2 = DAT_000dc700;\n pcVar3 = *(char **)(DAT_000dc700 + 8);\n while( true ) {\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;\n pcVar3 = pcVar3 + 1;\n *(char **)(iVar2 + 8) = pcVar3;\n }\n return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (expression_statement "iVar2 = DAT_000dc700;" (assignment_expression "iVar2 = DAT_000dc700" identifier = identifier) ;) (expression_statement "pcVar3 = *(char **)(DAT_000dc700 + 8);" (assignment_expression "pcVar3 = *(char **)(DAT_000dc700 + 8)" identifier = (pointer_expression "*(char **)(DAT_000dc700 + 8)" * (cast_expression "(char **)(DAT_000dc700 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_000dc700 + 8)" ( (binary_expression "DAT_000dc700 + 8" identifier + number_literal) ))))) ;) (while_statement "while( true ) {\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;\n pcVar3 = pcVar3 + 1;\n *(char **)(iVar2 + 8) = pcVar3;\n }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;\n pcVar3 = pcVar3 + 1;\n *(char **)(iVar2 + 8) = pcVar3;\n }" { (expression_statement "bVar1 = *pcVar3 - 9;" (assignment_expression "bVar1 = *pcVar3 - 9" identifier = (binary_expression "*pcVar3 - 9" (pointer_expression "*pcVar3" * identifier) - number_literal)) ;) (if_statement "if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;" if (parenthesized_expression "(((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3))" ( (binary_expression "((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)" (parenthesized_expression "((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n'))))" ( (binary_expression "(bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))" (parenthesized_expression "(bVar1 != 0x17)" ( (binary_expression "bVar1 != 0x17" identifier != number_literal) )) && (parenthesized_expression "((4 < bVar1 || (*pcVar3 == '\n')))" ( (parenthesized_expression "(4 < bVar1 || (*pcVar3 == '\n'))" ( (binary_expression "4 < bVar1 || (*pcVar3 == '\n')" (binary_expression "4 < bVar1" number_literal < identifier) || (parenthesized_expression "(*pcVar3 == '\n')" ( (binary_expression "*pcVar3 == '\n'" (pointer_expression "*pcVar3" * identifier) == (char_literal "'\n'" ' escape_sequence ')) ))) )) ))) )) || (parenthesized_expression "((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)" ( (binary_expression "(char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3" (cast_expression "(char *)(*(int *)(iVar2 + 4) - 1U)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 4) - 1U)" ( (binary_expression "*(int *)(iVar2 + 4) - 1U" (pointer_expression "*(int *)(iVar2 + 4)" * (cast_expression "(int *)(iVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) - number_literal) ))) <= identifier) ))) )) (break_statement "break;" break ;)) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(char **)(iVar2 + 8) = pcVar3;" (assignment_expression "*(char **)(iVar2 + 8) = pcVar3" (pointer_expression "*(char **)(iVar2 + 8)" * (cast_expression "(char **)(iVar2 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
|
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid dot_skip_over_ws(void)\n\n{\n byte bVar1;\n globals *pgVar2;\n char *pcVar3;\n \n pgVar2 = ptr_to_globals;\n pcVar3 = ptr_to_globals->fakehost;\n while( true ) {\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) || (pgVar2->login + -1 <= pcVar3))\n break;\n pcVar3 = pcVar3 + 1;\n pgVar2->fakehost = pcVar3;\n }\n return;\n}\n\n" comment comment (function_definition "void dot_skip_over_ws(void)\n\n{\n byte bVar1;\n globals *pgVar2;\n char *pcVar3;\n \n pgVar2 = ptr_to_globals;\n pcVar3 = ptr_to_globals->fakehost;\n while( true ) {\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) || (pgVar2->login + -1 <= pcVar3))\n break;\n pcVar3 = pcVar3 + 1;\n pgVar2->fakehost = pcVar3;\n }\n return;\n}" primitive_type (function_declarator "dot_skip_over_ws(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n byte bVar1;\n globals *pgVar2;\n char *pcVar3;\n \n pgVar2 = ptr_to_globals;\n pcVar3 = ptr_to_globals->fakehost;\n while( true ) {\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) || (pgVar2->login + -1 <= pcVar3))\n break;\n pcVar3 = pcVar3 + 1;\n pgVar2->fakehost = pcVar3;\n }\n return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "globals *pgVar2;" type_identifier (pointer_declarator "*pgVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (expression_statement "pgVar2 = ptr_to_globals;" (assignment_expression "pgVar2 = ptr_to_globals" identifier = identifier) ;) (expression_statement "pcVar3 = ptr_to_globals->fakehost;" (assignment_expression "pcVar3 = ptr_to_globals->fakehost" identifier = (field_expression "ptr_to_globals->fakehost" identifier -> field_identifier)) ;) (while_statement "while( true ) {\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) || (pgVar2->login + -1 <= pcVar3))\n break;\n pcVar3 = pcVar3 + 1;\n pgVar2->fakehost = pcVar3;\n }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) || (pgVar2->login + -1 <= pcVar3))\n break;\n pcVar3 = pcVar3 + 1;\n pgVar2->fakehost = pcVar3;\n }" { (expression_statement "bVar1 = *pcVar3 - 9;" (assignment_expression "bVar1 = *pcVar3 - 9" identifier = (binary_expression "*pcVar3 - 9" (pointer_expression "*pcVar3" * identifier) - number_literal)) ;) (if_statement "if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) || (pgVar2->login + -1 <= pcVar3))\n break;" if (parenthesized_expression "(((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) || (pgVar2->login + -1 <= pcVar3))" ( (binary_expression "((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) || (pgVar2->login + -1 <= pcVar3)" (parenthesized_expression "((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n'))))" ( (binary_expression "(bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))" (parenthesized_expression "(bVar1 != 0x17)" ( (binary_expression "bVar1 != 0x17" identifier != number_literal) )) && (parenthesized_expression "((4 < bVar1 || (*pcVar3 == '\n')))" ( (parenthesized_expression "(4 < bVar1 || (*pcVar3 == '\n'))" ( (binary_expression "4 < bVar1 || (*pcVar3 == '\n')" (binary_expression "4 < bVar1" number_literal < identifier) || (parenthesized_expression "(*pcVar3 == '\n')" ( (binary_expression "*pcVar3 == '\n'" (pointer_expression "*pcVar3" * identifier) == (char_literal "'\n'" ' escape_sequence ')) ))) )) ))) )) || (parenthesized_expression "(pgVar2->login + -1 <= pcVar3)" ( (binary_expression "pgVar2->login + -1 <= pcVar3" (binary_expression "pgVar2->login + -1" (field_expression "pgVar2->login" identifier -> field_identifier) + number_literal) <= identifier) ))) )) (break_statement "break;" break ;)) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "pgVar2->fakehost = pcVar3;" (assignment_expression "pgVar2->fakehost = pcVar3" (field_expression "pgVar2->fakehost" identifier -> field_identifier) = identifier) ;) })) (return_statement "return;" return ;) })))
|
(translation_unit "void FUN_000a4bd0(void)\n\n{\n byte bVar1;\n int iVar2;\n char *pcVar3;\n \n iVar2 = DAT_000dc700;\n pcVar3 = *(char **)(DAT_000dc700 + 8);\n while( true ) {\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;\n pcVar3 = pcVar3 + 1;\n *(char **)(iVar2 + 8) = pcVar3;\n }\n return;\n}\n\n" (function_definition "void FUN_000a4bd0(void)\n\n{\n byte bVar1;\n int iVar2;\n char *pcVar3;\n \n iVar2 = DAT_000dc700;\n pcVar3 = *(char **)(DAT_000dc700 + 8);\n while( true ) {\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;\n pcVar3 = pcVar3 + 1;\n *(char **)(iVar2 + 8) = pcVar3;\n }\n return;\n}" primitive_type (function_declarator "FUN_000a4bd0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n byte bVar1;\n int iVar2;\n char *pcVar3;\n \n iVar2 = DAT_000dc700;\n pcVar3 = *(char **)(DAT_000dc700 + 8);\n while( true ) {\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;\n pcVar3 = pcVar3 + 1;\n *(char **)(iVar2 + 8) = pcVar3;\n }\n return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (expression_statement "iVar2 = DAT_000dc700;" (assignment_expression "iVar2 = DAT_000dc700" identifier = identifier) ;) (expression_statement "pcVar3 = *(char **)(DAT_000dc700 + 8);" (assignment_expression "pcVar3 = *(char **)(DAT_000dc700 + 8)" identifier = (pointer_expression "*(char **)(DAT_000dc700 + 8)" * (cast_expression "(char **)(DAT_000dc700 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_000dc700 + 8)" ( (binary_expression "DAT_000dc700 + 8" identifier + number_literal) ))))) ;) (while_statement "while( true ) {\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;\n pcVar3 = pcVar3 + 1;\n *(char **)(iVar2 + 8) = pcVar3;\n }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;\n pcVar3 = pcVar3 + 1;\n *(char **)(iVar2 + 8) = pcVar3;\n }" { (expression_statement "bVar1 = *pcVar3 - 9;" (assignment_expression "bVar1 = *pcVar3 - 9" identifier = (binary_expression "*pcVar3 - 9" (pointer_expression "*pcVar3" * identifier) - number_literal)) ;) (if_statement "if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;" if (parenthesized_expression "(((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3))" ( (binary_expression "((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)" (parenthesized_expression "((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n'))))" ( (binary_expression "(bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))" (parenthesized_expression "(bVar1 != 0x17)" ( (binary_expression "bVar1 != 0x17" identifier != number_literal) )) && (parenthesized_expression "((4 < bVar1 || (*pcVar3 == '\n')))" ( (parenthesized_expression "(4 < bVar1 || (*pcVar3 == '\n'))" ( (binary_expression "4 < bVar1 || (*pcVar3 == '\n')" (binary_expression "4 < bVar1" number_literal < identifier) || (parenthesized_expression "(*pcVar3 == '\n')" ( (binary_expression "*pcVar3 == '\n'" (pointer_expression "*pcVar3" * identifier) == (char_literal "'\n'" ' escape_sequence ')) ))) )) ))) )) || (parenthesized_expression "((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)" ( (binary_expression "(char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3" (cast_expression "(char *)(*(int *)(iVar2 + 4) - 1U)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 4) - 1U)" ( (binary_expression "*(int *)(iVar2 + 4) - 1U" (pointer_expression "*(int *)(iVar2 + 4)" * (cast_expression "(int *)(iVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) - number_literal) ))) <= identifier) ))) )) (break_statement "break;" break ;)) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(char **)(iVar2 + 8) = pcVar3;" (assignment_expression "*(char **)(iVar2 + 8) = pcVar3" (pointer_expression "*(char **)(iVar2 + 8)" * (cast_expression "(char **)(iVar2 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
|
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression LIT < IDENT) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) ))) )) ))) )) || (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - LIT) ))) <= IDENT) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (return_statement return ;) })))
|
(function_definition "void FUN_000a4bd0(void)\n\n{\n byte bVar1;\n int iVar2;\n char *pcVar3;\n \n iVar2 = DAT_000dc700;\n pcVar3 = *(char **)(DAT_000dc700 + 8);\n while( true ) {\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;\n pcVar3 = pcVar3 + 1;\n *(char **)(iVar2 + 8) = pcVar3;\n }\n return;\n}" (primitive_type "void") (function_declarator "FUN_000a4bd0(void)" (identifier "FUN_000a4bd0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n byte bVar1;\n int iVar2;\n char *pcVar3;\n \n iVar2 = DAT_000dc700;\n pcVar3 = *(char **)(DAT_000dc700 + 8);\n while( true ) {\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;\n pcVar3 = pcVar3 + 1;\n *(char **)(iVar2 + 8) = pcVar3;\n }\n return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (expression_statement "iVar2 = DAT_000dc700;" (assignment_expression "iVar2 = DAT_000dc700" (identifier "iVar2") (= "=") (identifier "DAT_000dc700")) (; ";")) (expression_statement "pcVar3 = *(char **)(DAT_000dc700 + 8);" (assignment_expression "pcVar3 = *(char **)(DAT_000dc700 + 8)" (identifier "pcVar3") (= "=") (pointer_expression "*(char **)(DAT_000dc700 + 8)" (* "*") (cast_expression "(char **)(DAT_000dc700 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_000dc700 + 8)" (( "(") (binary_expression "DAT_000dc700 + 8" (identifier "DAT_000dc700") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (while_statement "while( true ) {\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;\n pcVar3 = pcVar3 + 1;\n *(char **)(iVar2 + 8) = pcVar3;\n }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n bVar1 = *pcVar3 - 9;\n if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;\n pcVar3 = pcVar3 + 1;\n *(char **)(iVar2 + 8) = pcVar3;\n }" ({ "{") (expression_statement "bVar1 = *pcVar3 - 9;" (assignment_expression "bVar1 = *pcVar3 - 9" (identifier "bVar1") (= "=") (binary_expression "*pcVar3 - 9" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (- "-") (number_literal "9"))) (; ";")) (if_statement "if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;" (if "if") (parenthesized_expression "(((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3))" (( "(") (binary_expression "((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||\n ((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)" (parenthesized_expression "((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n'))))" (( "(") (binary_expression "(bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))" (parenthesized_expression "(bVar1 != 0x17)" (( "(") (binary_expression "bVar1 != 0x17" (identifier "bVar1") (!= "!=") (number_literal "0x17")) () ")")) (&& "&&") (parenthesized_expression "((4 < bVar1 || (*pcVar3 == '\n')))" (( "(") (parenthesized_expression "(4 < bVar1 || (*pcVar3 == '\n'))" (( "(") (binary_expression "4 < bVar1 || (*pcVar3 == '\n')" (binary_expression "4 < bVar1" (number_literal "4") (< "<") (identifier "bVar1")) (|| "||") (parenthesized_expression "(*pcVar3 == '\n')" (( "(") (binary_expression "*pcVar3 == '\n'" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (== "==") (char_literal "'\n'" (' "'") (escape_sequence "\n") (' "'"))) () ")"))) () ")")) () ")"))) () ")")) (|| "||") (parenthesized_expression "((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)" (( "(") (binary_expression "(char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3" (cast_expression "(char *)(*(int *)(iVar2 + 4) - 1U)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar2 + 4) - 1U)" (( "(") (binary_expression "*(int *)(iVar2 + 4) - 1U" (pointer_expression "*(int *)(iVar2 + 4)" (* "*") (cast_expression "(int *)(iVar2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (- "-") (number_literal "1U")) () ")"))) (<= "<=") (identifier "pcVar3")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" (identifier "pcVar3") (= "=") (binary_expression "pcVar3 + 1" (identifier "pcVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(char **)(iVar2 + 8) = pcVar3;" (assignment_expression "*(char **)(iVar2 + 8) = pcVar3" (pointer_expression "*(char **)(iVar2 + 8)" (* "*") (cast_expression "(char **)(iVar2 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "pcVar3")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
|
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
type_1 var_1;
type_2 *pgVar2;
char *var_2;
pgVar2 = ptr_to_globals;
var_2 = ptr_to_globals->fakehost;
while( true ) {
var_1 = *var_2 - 9;
if (((var_1 != 0x17) && ((4 < var_1 || (*var_2 == '\n')))) || (pgVar2->login + -1 <= var_2))
break;
var_2 = var_2 + 1;
pgVar2->fakehost = var_2;
}
return;
}
| null |
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (identifier)) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence))))))))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) right: (identifier))))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))))) (return_statement))))
| null |
/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
void MASKED(void)
{
byte bVar1;
int iVar2;
char *pcVar3;
iVar2 = DAT_000dc700;
pcVar3 = *(char **)(DAT_000dc700 + 8);
while( true ) {
bVar1 = *pcVar3 - 9;
if (((bVar1 != 0x17) && ((4 < bVar1 || (*pcVar3 == '\n')))) ||
((char *)(*(int *)(iVar2 + 4) - 1U) <= pcVar3)) break;
pcVar3 = pcVar3 + 1;
*(char **)(iVar2 + 8) = pcVar3;
}
return;
}
|
278_rm_and_rm_strip.c
|
__fxstat64
|
__fxstat64
|
/* WARNING: Control flow encountered bad instruction data */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
int __fxstat64(int __ver,int __fildes,stat64 *__stat_buf)
{
/* WARNING: Bad instruction - Truncating control flow here */
/* __fxstat64@@GLIBC_2.2 */
halt_baddata();
}
|
/* WARNING: Control flow encountered bad instruction data */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
int __fxstat64(int __ver,int __fildes,stat64 *__stat_buf)
{
/* WARNING: Bad instruction - Truncating control flow here */
halt_baddata();
}
| null | null | null | null | null |
[('const-1', u'RETURN_-1206030218')]
|
[('const-1', u'RETURN_-1206030218')]
| null | null |
0002706c
|
x86
|
O3
|
(translation_unit "/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nint __fxstat64(int __ver,int __fildes,stat64 *__stat_buf)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n" comment comment (function_definition "int __fxstat64(int __ver,int __fildes,stat64 *__stat_buf)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}" primitive_type (function_declarator "__fxstat64(int __ver,int __fildes,stat64 *__stat_buf)" identifier (parameter_list "(int __ver,int __fildes,stat64 *__stat_buf)" ( (parameter_declaration "int __ver" primitive_type identifier) , (parameter_declaration "int __fildes" primitive_type identifier) , (parameter_declaration "stat64 *__stat_buf" type_identifier (pointer_declarator "*__stat_buf" * identifier)) ))) (compound_statement "{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}" { comment (expression_statement "halt_baddata();" (call_expression "halt_baddata()" identifier (argument_list "()" ( ))) ;) })))
|
(translation_unit "/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nint __fxstat64(int __ver,int __fildes,stat64 *__stat_buf)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n /* __fxstat64@@GLIBC_2.2 */\n halt_baddata();\n}\n\n" comment comment (function_definition "int __fxstat64(int __ver,int __fildes,stat64 *__stat_buf)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n /* __fxstat64@@GLIBC_2.2 */\n halt_baddata();\n}" primitive_type (function_declarator "__fxstat64(int __ver,int __fildes,stat64 *__stat_buf)" identifier (parameter_list "(int __ver,int __fildes,stat64 *__stat_buf)" ( (parameter_declaration "int __ver" primitive_type identifier) , (parameter_declaration "int __fildes" primitive_type identifier) , (parameter_declaration "stat64 *__stat_buf" type_identifier (pointer_declarator "*__stat_buf" * identifier)) ))) (compound_statement "{\n /* WARNING: Bad instruction - Truncating control flow here */\n /* __fxstat64@@GLIBC_2.2 */\n halt_baddata();\n}" { comment comment (expression_statement "halt_baddata();" (call_expression "halt_baddata()" identifier (argument_list "()" ( ))) ;) })))
|
(translation_unit "int __fxstat64(int __ver,int __fildes,stat64 *__stat_buf)\n\n{\n \n halt_baddata();\n}\n\n" (function_definition "int __fxstat64(int __ver,int __fildes,stat64 *__stat_buf)\n\n{\n \n halt_baddata();\n}" primitive_type (function_declarator "__fxstat64(int __ver,int __fildes,stat64 *__stat_buf)" identifier (parameter_list "(int __ver,int __fildes,stat64 *__stat_buf)" ( (parameter_declaration "int __ver" primitive_type identifier) , (parameter_declaration "int __fildes" primitive_type identifier) , (parameter_declaration "stat64 *__stat_buf" type_identifier (pointer_declarator "*__stat_buf" * identifier)) ))) (compound_statement "{\n \n halt_baddata();\n}" { (expression_statement "halt_baddata();" (call_expression "halt_baddata()" identifier (argument_list "()" ( ))) ;) })))
|
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
|
(function_definition "int __fxstat64(int __ver,int __fildes,stat64 *__stat_buf)\n\n{\n \n halt_baddata();\n}" (primitive_type "int") (function_declarator "__fxstat64(int __ver,int __fildes,stat64 *__stat_buf)" (identifier "__fxstat64") (parameter_list "(int __ver,int __fildes,stat64 *__stat_buf)" (( "(") (parameter_declaration "int __ver" (primitive_type "int") (identifier "__ver")) (, ",") (parameter_declaration "int __fildes" (primitive_type "int") (identifier "__fildes")) (, ",") (parameter_declaration "stat64 *__stat_buf" (type_identifier "stat64") (pointer_declarator "*__stat_buf" (* "*") (identifier "__stat_buf"))) () ")"))) (compound_statement "{\n \n halt_baddata();\n}" ({ "{") (expression_statement "halt_baddata();" (call_expression "halt_baddata()" (identifier "halt_baddata") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))
|
/* WARNING: Control flow encountered bad instruction data */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
int function_1(int __ver,int __fildes,type_1 *__stat_buf)
{
/* WARNING: Bad instruction - Truncating control flow here */
/* __fxstat64@@GLIBC_2.2 */
var_1();
}
| null |
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))
| null |
/* WARNING: Control flow encountered bad instruction data */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
int MASKED(int __ver,int __fildes,stat64 *__stat_buf)
{
/* WARNING: Bad instruction - Truncating control flow here */
halt_baddata();
}
|
4706_x86_64-kfreebsd-gnu-ld_and_x86_64-kfreebsd-gnu-ld_strip.c
|
count_got_entry
|
FUN_00175480
|
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void count_got_entry(Mips_got_info<64,_true> * this,
Mips_got_entry<64,_true> * entry) */
void __thiscall
anon_unknown.dwarf_d7d43e::Mips_got_info<64,_true>::count_got_entry
(Mips_got_info<64,_true> *this,Mips_got_entry<64,_true> *entry)
{
}
|
/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
void __regparm3 FUN_00175480(int *param_1,int param_2)
{
byte bVar1;
int iVar2;
bVar1 = *(byte *)(param_2 + 0x10);
if (bVar1 != 0) {
if (bVar1 < 3) {
iVar2 = 2;
}
else {
if (bVar1 != 4) {
/* WARNING: Subroutine does not return */
FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);
}
iVar2 = 1;
}
param_1[4] = param_1[4] + iVar2;
return;
}
if ((*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)) {
param_1[2] = param_1[2] + 1;
return;
}
*param_1 = *param_1 + 1;
return;
}
|
PUSH EBX
CALL 0x00050b50
ADD EBX,0x474b7a
SUB ESP,0x8
MOVZX ECX,byte ptr [EDX + 0x10]
TEST CL,CL
JNZ 0x001754c0
CMP dword ptr [EDX + 0x8],-0x1
JZ 0x001754a8
ADD dword ptr [EAX],0x1
ADD ESP,0x8
POP EBX
RET
MOV EDX,dword ptr [EDX + 0xc]
CMP dword ptr [EDX + 0x54],0x2
JZ 0x0017549d
ADD dword ptr [EAX + 0x8],0x1
ADD ESP,0x8
POP EBX
RET
CMP CL,0x2
JBE 0x001754e0
CMP CL,0x4
JNZ 0x001754e7
MOV EDX,0x1
ADD dword ptr [EAX + 0x10],EDX
ADD ESP,0x8
POP EBX
RET
MOV EDX,0x2
JMP 0x001754cf
PUSH EAX
LEA EAX,[EBX + 0xffe8fa20]
PUSH EAX
LEA EAX,[EBX + 0xffe871ea]
PUSH 0x38c
PUSH EAX
CALL 0x002446e0
| null | null | null | null |
[('const-1', u'RETURN_-1207413614')]
|
[('const-417', u'STORE_-1207413543'), ('const-417', u'LOAD_-1207413568'), ('tmp_430', u'CBRANCH_-1207413400'), ('tmp_743', u'INT_ADD_-1207413574'), (u'COPY_-1207413218', u'CALL_-1207413294'), (u'LOAD_-1207413590', u'INT_NOTEQUAL_-1207413402'), ('tmp_272', u'CBRANCH_-1207413482'), (u'LOAD_-1207413568', u'INT_EQUAL_-1207413553'), (u'CAST_-1207413229', u'LOAD_-1207413500'), ('const-0', u'INT_NOTEQUAL_-1207413570'), (u'LOAD_-1207413590', u'INT_LESS_-1207413408'), ('const-4', u'PTRADD_-1207413196'), (u'INT_NOTEQUAL_-1207413570', u'CBRANCH_-1207413569'), ('const-908', u'CALL_-1207413294'), ('const-4657642', u'COPY_-1207413219'), (u'COPY_-1207413324', u'MULTIEQUAL_-1207413244'), ('tmp_743', u'INT_ADD_-1207413552'), ('const-2', u'PTRADD_-1207413227'), (u'PTRADD_-1207413227', u'STORE_-1207413474'), ('const-1', u'INT_ADD_-1207413459'), (u'PTRADD_-1207413196', u'STORE_-1207413386'), ('const-2', u'COPY_-1207413324'), ('const-1', u'RETURN_-1207413289'), ('const-0', u'RETURN_-1207413504'), ('tmp_743', u'INT_ADD_-1207413490'), (u'MULTIEQUAL_-1207413244', u'INT_ADD_-1207413371'), ('const-417', u'LOAD_-1207413506'), ('const-16', u'INT_ADD_-1207413574'), (u'COPY_-1207413219', u'CALL_-1207413294'), (u'CAST_-1207413251', u'LOAD_-1207413568'), ('const-417', u'STORE_-1207413474'), ('tmp_581', u'BRANCH_-1207413315'), ('const-8', u'INT_ADD_-1207413552'), ('const-4692512', u'COPY_-1207413218'), (u'INT_ADD_-1207413459', u'STORE_-1207413474'), (u'PTRADD_-1207413227', u'LOAD_-1207413477'), ('const-1', u'COPY_-1207413401'), (u'INT_ADD_-1207413490', u'CAST_-1207413233'), ('tmp_138', u'CBRANCH_-1207413550'), (u'LOAD_-1207413506', u'INT_ADD_-1207413484'), (u'LOAD_-1207413590', u'INT_NOTEQUAL_-1207413570'), ('const-417', u'LOAD_-1207413477'), (u'COPY_-1207413401', u'MULTIEQUAL_-1207413244'), (u'LOAD_-1207413546', u'INT_ADD_-1207413528'), (u'INT_LESS_-1207413408', u'CBRANCH_-1207413417'), ('const-0', u'RETURN_-1207413434'), ('const-0', u'RETURN_-1207413347'), (u'LOAD_-1207413500', u'INT_NOTEQUAL_-1207413484'), (u'INT_ADD_-1207413574', u'CAST_-1207413260'), (u'INT_NOTEQUAL_-1207413402', u'CBRANCH_-1207413400'), (u'INT_ADD_-1207413371', u'STORE_-1207413386'), ('tmp_744', u'PTRADD_-1207413196'), (u'CAST_-1207413233', u'LOAD_-1207413506'), (u'LOAD_-1207413389', u'INT_ADD_-1207413371'), ('const-417', u'STORE_-1207413386'), ('const-84', u'INT_ADD_-1207413484'), ('const-417', u'LOAD_-1207413546'), ('const-2', u'INT_NOTEQUAL_-1207413484'), ('const-3', u'INT_LESS_-1207413408'), ('const-4', u'INT_NOTEQUAL_-1207413402'), ('const-4294967295', u'INT_EQUAL_-1207413553'), ('const-1', u'INT_ADD_-1207413528'), (u'INT_ADD_-1207413552', u'CAST_-1207413251'), ('tmp_744', u'STORE_-1207413543'), ('const-4', u'PTRADD_-1207413196'), ('const-12', u'INT_ADD_-1207413490'), ('const-417', u'LOAD_-1207413500'), ('const-4', u'PTRADD_-1207413227'), (u'PTRADD_-1207413196', u'LOAD_-1207413389'), ('tmp_744', u'LOAD_-1207413546'), (u'INT_NOTEQUAL_-1207413484', u'CBRANCH_-1207413482'), ('const-417', u'LOAD_-1207413389'), (u'INT_ADD_-1207413484', u'CAST_-1207413229'), ('tmp_744', u'PTRADD_-1207413227'), ('tmp_398', u'CBRANCH_-1207413417'), ('tmp_102', u'CBRANCH_-1207413569'), (u'LOAD_-1207413477', u'INT_ADD_-1207413459'), (u'INT_EQUAL_-1207413553', u'CBRANCH_-1207413550'), ('tmp_744', u'CALL_-1207413294'), (u'CAST_-1207413260', u'LOAD_-1207413590'), (u'INT_ADD_-1207413528', u'STORE_-1207413543'), ('const-417', u'LOAD_-1207413590')]
| null | null |
00175480
|
x86
|
O3
|
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00175480(int *param_1,int param_2)\n\n{\n byte bVar1;\n int iVar2;\n \n bVar1 = *(byte *)(param_2 + 0x10);\n if (bVar1 != 0) {\n if (bVar1 < 3) {\n iVar2 = 2;\n }\n else {\n if (bVar1 != 4) {\n /* WARNING: Subroutine does not return */\n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }\n param_1[4] = param_1[4] + iVar2;\n return;\n }\n if ((*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)) {\n param_1[2] = param_1[2] + 1;\n return;\n }\n *param_1 = *param_1 + 1;\n return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00175480(int *param_1,int param_2)\n\n{\n byte bVar1;\n int iVar2;\n \n bVar1 = *(byte *)(param_2 + 0x10);\n if (bVar1 != 0) {\n if (bVar1 < 3) {\n iVar2 = 2;\n }\n else {\n if (bVar1 != 4) {\n /* WARNING: Subroutine does not return */\n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }\n param_1[4] = param_1[4] + iVar2;\n return;\n }\n if ((*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)) {\n param_1[2] = param_1[2] + 1;\n return;\n }\n *param_1 = *param_1 + 1;\n return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00175480(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n byte bVar1;\n int iVar2;\n \n bVar1 = *(byte *)(param_2 + 0x10);\n if (bVar1 != 0) {\n if (bVar1 < 3) {\n iVar2 = 2;\n }\n else {\n if (bVar1 != 4) {\n /* WARNING: Subroutine does not return */\n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }\n param_1[4] = param_1[4] + iVar2;\n return;\n }\n if ((*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)) {\n param_1[2] = param_1[2] + 1;\n return;\n }\n *param_1 = *param_1 + 1;\n return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "bVar1 = *(byte *)(param_2 + 0x10);" (assignment_expression "bVar1 = *(byte *)(param_2 + 0x10)" identifier = (pointer_expression "*(byte *)(param_2 + 0x10)" * (cast_expression "(byte *)(param_2 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (bVar1 != 0) {\n if (bVar1 < 3) {\n iVar2 = 2;\n }\n else {\n if (bVar1 != 4) {\n /* WARNING: Subroutine does not return */\n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }\n param_1[4] = param_1[4] + iVar2;\n return;\n }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n if (bVar1 < 3) {\n iVar2 = 2;\n }\n else {\n if (bVar1 != 4) {\n /* WARNING: Subroutine does not return */\n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }\n param_1[4] = param_1[4] + iVar2;\n return;\n }" { (if_statement "if (bVar1 < 3) {\n iVar2 = 2;\n }\n else {\n if (bVar1 != 4) {\n /* WARNING: Subroutine does not return */\n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }" if (parenthesized_expression "(bVar1 < 3)" ( (binary_expression "bVar1 < 3" identifier < number_literal) )) (compound_statement "{\n iVar2 = 2;\n }" { (expression_statement "iVar2 = 2;" (assignment_expression "iVar2 = 2" identifier = number_literal) ;) }) (else_clause "else {\n if (bVar1 != 4) {\n /* WARNING: Subroutine does not return */\n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }" else (compound_statement "{\n if (bVar1 != 4) {\n /* WARNING: Subroutine does not return */\n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }" { (if_statement "if (bVar1 != 4) {\n /* WARNING: Subroutine does not return */\n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }" if (parenthesized_expression "(bVar1 != 4)" ( (binary_expression "bVar1 != 4" identifier != number_literal) )) (compound_statement "{\n /* WARNING: Subroutine does not return */\n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }" { comment (expression_statement "FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);" (call_expression "FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1)" identifier (argument_list "("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1)" ( (string_literal ""../../gold/mips.cc"" " string_content ") , number_literal , (string_literal ""mips_tls_got_entries"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) }))) (expression_statement "param_1[4] = param_1[4] + iVar2;" (assignment_expression "param_1[4] = param_1[4] + iVar2" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (binary_expression "param_1[4] + iVar2" (subscript_expression "param_1[4]" identifier [ number_literal ]) + identifier)) ;) (return_statement "return;" return ;) })) (if_statement "if ((*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)) {\n param_1[2] = param_1[2] + 1;\n return;\n }" if (parenthesized_expression "((*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2))" ( (binary_expression "(*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)" (parenthesized_expression "(*(int *)(param_2 + 8) == -1)" ( (binary_expression "*(int *)(param_2 + 8) == -1" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)" ( (binary_expression "*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2" (pointer_expression "*(int *)(*(int *)(param_2 + 0xc) + 0x54)" * (cast_expression "(int *)(*(int *)(param_2 + 0xc) + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0xc) + 0x54)" ( (binary_expression "*(int *)(param_2 + 0xc) + 0x54" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n param_1[2] = param_1[2] + 1;\n return;\n }" { (expression_statement "param_1[2] = param_1[2] + 1;" (assignment_expression "param_1[2] = param_1[2] + 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "param_1[2] + 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "*param_1 = *param_1 + 1;" (assignment_expression "*param_1 = *param_1 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 + 1" (pointer_expression "*param_1" * identifier) + number_literal)) ;) (return_statement "return;" return ;) })))
|
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void count_got_entry(Mips_got_info<64,_true> * this,\n Mips_got_entry<64,_true> * entry) */\n\nvoid __thiscall\nanon_unknown.dwarf_d7d43e::Mips_got_info<64,_true>::count_got_entry\n (Mips_got_info<64,_true> *this,Mips_got_entry<64,_true> *entry)\n\n{\n}\n\n" comment comment (ERROR "void __thiscall\nanon_unknown.dwarf_d7d43e::Mips_got_info<64,_true>::count_got_entry\n (Mips_got_info<64,_true> *this,Mips_got_entry<64,_true> *entry)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_d7d43e::" identifier . identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_true>::" identifier > : :) (function_declarator "count_got_entry\n (Mips_got_info<64,_true> *this,Mips_got_entry<64,_true> *entry)" identifier (parameter_list "(Mips_got_info<64,_true> *this,Mips_got_entry<64,_true> *entry)" ( (parameter_declaration "Mips_got_info" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Mips_got_entry" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_true> *entry" type_identifier (ERROR ">" >) (pointer_declarator "*entry" * identifier)) )))) (compound_statement "{\n}" { }))
|
(translation_unit "void __regparm3 FUN_00175480(int *param_1,int param_2)\n\n{\n byte bVar1;\n int iVar2;\n \n bVar1 = *(byte *)(param_2 + 0x10);\n if (bVar1 != 0) {\n if (bVar1 < 3) {\n iVar2 = 2;\n }\n else {\n if (bVar1 != 4) {\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }\n param_1[4] = param_1[4] + iVar2;\n return;\n }\n if ((*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)) {\n param_1[2] = param_1[2] + 1;\n return;\n }\n *param_1 = *param_1 + 1;\n return;\n}\n\n" (function_definition "void __regparm3 FUN_00175480(int *param_1,int param_2)\n\n{\n byte bVar1;\n int iVar2;\n \n bVar1 = *(byte *)(param_2 + 0x10);\n if (bVar1 != 0) {\n if (bVar1 < 3) {\n iVar2 = 2;\n }\n else {\n if (bVar1 != 4) {\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }\n param_1[4] = param_1[4] + iVar2;\n return;\n }\n if ((*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)) {\n param_1[2] = param_1[2] + 1;\n return;\n }\n *param_1 = *param_1 + 1;\n return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00175480(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n byte bVar1;\n int iVar2;\n \n bVar1 = *(byte *)(param_2 + 0x10);\n if (bVar1 != 0) {\n if (bVar1 < 3) {\n iVar2 = 2;\n }\n else {\n if (bVar1 != 4) {\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }\n param_1[4] = param_1[4] + iVar2;\n return;\n }\n if ((*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)) {\n param_1[2] = param_1[2] + 1;\n return;\n }\n *param_1 = *param_1 + 1;\n return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "bVar1 = *(byte *)(param_2 + 0x10);" (assignment_expression "bVar1 = *(byte *)(param_2 + 0x10)" identifier = (pointer_expression "*(byte *)(param_2 + 0x10)" * (cast_expression "(byte *)(param_2 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (bVar1 != 0) {\n if (bVar1 < 3) {\n iVar2 = 2;\n }\n else {\n if (bVar1 != 4) {\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }\n param_1[4] = param_1[4] + iVar2;\n return;\n }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n if (bVar1 < 3) {\n iVar2 = 2;\n }\n else {\n if (bVar1 != 4) {\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }\n param_1[4] = param_1[4] + iVar2;\n return;\n }" { (if_statement "if (bVar1 < 3) {\n iVar2 = 2;\n }\n else {\n if (bVar1 != 4) {\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }" if (parenthesized_expression "(bVar1 < 3)" ( (binary_expression "bVar1 < 3" identifier < number_literal) )) (compound_statement "{\n iVar2 = 2;\n }" { (expression_statement "iVar2 = 2;" (assignment_expression "iVar2 = 2" identifier = number_literal) ;) }) (else_clause "else {\n if (bVar1 != 4) {\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }" else (compound_statement "{\n if (bVar1 != 4) {\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }" { (if_statement "if (bVar1 != 4) {\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }" if (parenthesized_expression "(bVar1 != 4)" ( (binary_expression "bVar1 != 4" identifier != number_literal) )) (compound_statement "{\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }" { (expression_statement "FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);" (call_expression "FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1)" identifier (argument_list "("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1)" ( (string_literal ""../../gold/mips.cc"" " string_content ") , number_literal , (string_literal ""mips_tls_got_entries"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) }))) (expression_statement "param_1[4] = param_1[4] + iVar2;" (assignment_expression "param_1[4] = param_1[4] + iVar2" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (binary_expression "param_1[4] + iVar2" (subscript_expression "param_1[4]" identifier [ number_literal ]) + identifier)) ;) (return_statement "return;" return ;) })) (if_statement "if ((*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)) {\n param_1[2] = param_1[2] + 1;\n return;\n }" if (parenthesized_expression "((*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2))" ( (binary_expression "(*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)" (parenthesized_expression "(*(int *)(param_2 + 8) == -1)" ( (binary_expression "*(int *)(param_2 + 8) == -1" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)" ( (binary_expression "*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2" (pointer_expression "*(int *)(*(int *)(param_2 + 0xc) + 0x54)" * (cast_expression "(int *)(*(int *)(param_2 + 0xc) + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0xc) + 0x54)" ( (binary_expression "*(int *)(param_2 + 0xc) + 0x54" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n param_1[2] = param_1[2] + 1;\n return;\n }" { (expression_statement "param_1[2] = param_1[2] + 1;" (assignment_expression "param_1[2] = param_1[2] + 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "param_1[2] + 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "*param_1 = *param_1 + 1;" (assignment_expression "*param_1 = *param_1 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 + 1" (pointer_expression "*param_1" * identifier) + number_literal)) ;) (return_statement "return;" return ;) })))
|
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT)) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (return_statement return ;) })))
|
(function_definition "void __regparm3 FUN_00175480(int *param_1,int param_2)\n\n{\n byte bVar1;\n int iVar2;\n \n bVar1 = *(byte *)(param_2 + 0x10);\n if (bVar1 != 0) {\n if (bVar1 < 3) {\n iVar2 = 2;\n }\n else {\n if (bVar1 != 4) {\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }\n param_1[4] = param_1[4] + iVar2;\n return;\n }\n if ((*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)) {\n param_1[2] = param_1[2] + 1;\n return;\n }\n *param_1 = *param_1 + 1;\n return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00175480(int *param_1,int param_2)" (identifier "FUN_00175480") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n byte bVar1;\n int iVar2;\n \n bVar1 = *(byte *)(param_2 + 0x10);\n if (bVar1 != 0) {\n if (bVar1 < 3) {\n iVar2 = 2;\n }\n else {\n if (bVar1 != 4) {\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }\n param_1[4] = param_1[4] + iVar2;\n return;\n }\n if ((*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)) {\n param_1[2] = param_1[2] + 1;\n return;\n }\n *param_1 = *param_1 + 1;\n return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "bVar1 = *(byte *)(param_2 + 0x10);" (assignment_expression "bVar1 = *(byte *)(param_2 + 0x10)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(param_2 + 0x10)" (* "*") (cast_expression "(byte *)(param_2 + 0x10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (bVar1 != 0) {\n if (bVar1 < 3) {\n iVar2 = 2;\n }\n else {\n if (bVar1 != 4) {\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }\n param_1[4] = param_1[4] + iVar2;\n return;\n }" (if "if") (parenthesized_expression "(bVar1 != 0)" (( "(") (binary_expression "bVar1 != 0" (identifier "bVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n if (bVar1 < 3) {\n iVar2 = 2;\n }\n else {\n if (bVar1 != 4) {\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }\n param_1[4] = param_1[4] + iVar2;\n return;\n }" ({ "{") (if_statement "if (bVar1 < 3) {\n iVar2 = 2;\n }\n else {\n if (bVar1 != 4) {\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }" (if "if") (parenthesized_expression "(bVar1 < 3)" (( "(") (binary_expression "bVar1 < 3" (identifier "bVar1") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n iVar2 = 2;\n }" ({ "{") (expression_statement "iVar2 = 2;" (assignment_expression "iVar2 = 2" (identifier "iVar2") (= "=") (number_literal "2")) (; ";")) (} "}")) (else_clause "else {\n if (bVar1 != 4) {\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }" (else "else") (compound_statement "{\n if (bVar1 != 4) {\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }\n iVar2 = 1;\n }" ({ "{") (if_statement "if (bVar1 != 4) {\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }" (if "if") (parenthesized_expression "(bVar1 != 4)" (( "(") (binary_expression "bVar1 != 4" (identifier "bVar1") (!= "!=") (number_literal "4")) () ")")) (compound_statement "{\n \n FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);\n }" ({ "{") (expression_statement "FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);" (call_expression "FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1)" (identifier "FUN_002446e0") (argument_list "("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1)" (( "(") (string_literal ""../../gold/mips.cc"" (" """) (string_content "../../gold/mips.cc") (" """)) (, ",") (number_literal "0x38c") (, ",") (string_literal ""mips_tls_got_entries"" (" """) (string_content "mips_tls_got_entries") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" (identifier "iVar2") (= "=") (number_literal "1")) (; ";")) (} "}")))) (expression_statement "param_1[4] = param_1[4] + iVar2;" (assignment_expression "param_1[4] = param_1[4] + iVar2" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (binary_expression "param_1[4] + iVar2" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (+ "+") (identifier "iVar2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)) {\n param_1[2] = param_1[2] + 1;\n return;\n }" (if "if") (parenthesized_expression "((*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2))" (( "(") (binary_expression "(*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)" (parenthesized_expression "(*(int *)(param_2 + 8) == -1)" (( "(") (binary_expression "*(int *)(param_2 + 8) == -1" (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "-1")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)" (( "(") (binary_expression "*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2" (pointer_expression "*(int *)(*(int *)(param_2 + 0xc) + 0x54)" (* "*") (cast_expression "(int *)(*(int *)(param_2 + 0xc) + 0x54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 0xc) + 0x54)" (( "(") (binary_expression "*(int *)(param_2 + 0xc) + 0x54" (pointer_expression "*(int *)(param_2 + 0xc)" (* "*") (cast_expression "(int *)(param_2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "0x54")) () ")")))) (!= "!=") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n param_1[2] = param_1[2] + 1;\n return;\n }" ({ "{") (expression_statement "param_1[2] = param_1[2] + 1;" (assignment_expression "param_1[2] = param_1[2] + 1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "param_1[2] + 1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*param_1 = *param_1 + 1;" (assignment_expression "*param_1 = *param_1 + 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "*param_1 + 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
|
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void count_got_entry(Mips_got_info<64,_true> * this,
Mips_got_entry<64,_true> * entry) */
void __thiscall
anon_unknown.dwarf_d7d43e::Mips_got_info<64,_true>::count_got_entry
(Mips_got_info<64,_true> *this,Mips_got_entry<64,_true> *entry)
{
}
| null |
(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (return_statement))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (return_statement))))
| null |
/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
void __regparm3 MASKED(int *param_1,int param_2)
{
byte bVar1;
int iVar2;
bVar1 = *(byte *)(param_2 + 0x10);
if (bVar1 != 0) {
if (bVar1 < 3) {
iVar2 = 2;
}
else {
if (bVar1 != 4) {
/* WARNING: Subroutine does not return */
FUN_002446e0("../../gold/mips.cc",0x38c,"mips_tls_got_entries",param_1);
}
iVar2 = 1;
}
param_1[4] = param_1[4] + iVar2;
return;
}
if ((*(int *)(param_2 + 8) == -1) && (*(int *)(*(int *)(param_2 + 0xc) + 0x54) != 2)) {
param_1[2] = param_1[2] + 1;
return;
}
*param_1 = *param_1 + 1;
return;
}
|
1367_powerpc-linux-gnuspe-dwp_and_powerpc-linux-gnuspe-dwp_strip.c
|
~Struct_target1_rel
|
FUN_0003fac0
|
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void ~Struct_target1_rel(Struct_target1_rel * this, int __in_chrg) */
void __thiscall
gold::General_options::Struct_target1_rel::~Struct_target1_rel
(Struct_target1_rel *this,int __in_chrg)
{
pointer pcVar1;
(this->super_Struct_var)._vptr_Struct_var = (_func_int_varargs **)&PTR_parse_to_value_00382424;
pcVar1 = (this->option).longname._M_dataplus._M_p;
if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
*)pcVar1 != &(this->option).longname.field_2) {
operator_delete(pcVar1);
}
return;
}
|
/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
void FUN_0003fac0(undefined4 *param_1)
{
*param_1 = &PTR_FUN_00382424;
if ((undefined4 *)param_1[1] != param_1 + 3) {
FUN_001e6db0((undefined4 *)param_1[1]);
}
return;
}
|
PUSH EBX
CALL 0x00035840
ADD EBX,0x34f53a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
ADD EAX,0xc
LEA EDX,[EBX + 0xffff3424]
MOV dword ptr [EAX + -0xc],EDX
MOV EDX,dword ptr [EAX + -0x8]
CMP EDX,EAX
JZ 0x0003faf2
SUB ESP,0xc
PUSH EDX
CALL 0x001e6db0
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
| null | null | null | null |
[(u'INT_NOTEQUAL_-1206060257', u'CBRANCH_-1206060257'), ('tmp_276', u'PTRSUB_-1206060111'), ('const-417', u'LOAD_-1206060277'), (u'LOAD_-1206060277', u'CAST_-1206060097'), (u'PTRSUB_-1206060100', u'LOAD_-1206060277'), ('const-4', u'PTRSUB_-1206060122'), (u'CAST_-1206060104', u'STORE_-1206060281'), (u'LOAD_-1206060277', u'CALL_-1206060234'), ('tmp_276', u'PTRSUB_-1206060122'), ('const-0', u'PTRSUB_-1206060117'), ('const-0', u'PTRSUB_-1206060111'), (u'PTRSUB_-1206060111', u'PTRSUB_-1206060106'), (u'PTRSUB_-1206060114', u'CAST_-1206060104'), (u'PTRSUB_-1206060106', u'STORE_-1206060281'), ('const-0', u'PTRSUB_-1206060100'), (u'PTRSUB_-1206060122', u'PTRSUB_-1206060117'), ('tmp_276', u'PTRSUB_-1206060107'), ('const-3679268', u'PTRSUB_-1206060114'), (u'PTRSUB_-1206060117', u'PTRSUB_-1206060113'), ('const-4', u'PTRSUB_-1206060107'), ('const-0', u'RETURN_-1206060194'), (u'PTRSUB_-1206060102', u'PTRSUB_-1206060100'), ('const-0', u'PTRSUB_-1206060106'), (u'PTRSUB_-1206060113', u'INT_NOTEQUAL_-1206060257'), ('const-8', u'PTRSUB_-1206060113'), ('const-0', u'PTRSUB_-1206060102'), ('const-417', u'STORE_-1206060281'), (u'PTRSUB_-1206060107', u'PTRSUB_-1206060106'), (u'PTRSUB_-1206060106', u'PTRSUB_-1206060102'), ('tmp_151', u'CBRANCH_-1206060257'), ('const-0', u'PTRSUB_-1206060114'), (u'CAST_-1206060097', u'INT_NOTEQUAL_-1206060257'), ('const-0', u'PTRSUB_-1206060106')]
|
[(u'CAST_-1206060112', u'CALL_-1206060234'), ('tmp_439', u'PTRADD_-1206060125'), ('const-4', u'PTRADD_-1206060112'), (u'INT_NOTEQUAL_-1206060257', u'CBRANCH_-1206060257'), ('const-3', u'PTRADD_-1206060125'), ('const-417', u'STORE_-1206060281'), (u'LOAD_-1206060277', u'CAST_-1206060112'), (u'PTRADD_-1206060125', u'INT_NOTEQUAL_-1206060257'), ('tmp_151', u'CBRANCH_-1206060257'), (u'PTRADD_-1206060112', u'LOAD_-1206060277'), ('const-0', u'PTRSUB_-1206060116'), ('const-417', u'LOAD_-1206060277'), ('const-1', u'PTRADD_-1206060112'), ('tmp_439', u'STORE_-1206060281'), ('tmp_439', u'PTRADD_-1206060112'), ('const-4', u'PTRADD_-1206060125'), (u'PTRSUB_-1206060116', u'STORE_-1206060281'), ('const-0', u'RETURN_-1206060194'), (u'CAST_-1206060112', u'INT_NOTEQUAL_-1206060257'), ('const-3679268', u'PTRSUB_-1206060116')]
| null | null |
0003fac0
|
x86
|
O3
|
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0003fac0(undefined4 *param_1)\n\n{\n *param_1 = &PTR_FUN_00382424;\n if ((undefined4 *)param_1[1] != param_1 + 3) {\n FUN_001e6db0((undefined4 *)param_1[1]);\n }\n return;\n}\n\n" comment (function_definition "void FUN_0003fac0(undefined4 *param_1)\n\n{\n *param_1 = &PTR_FUN_00382424;\n if ((undefined4 *)param_1[1] != param_1 + 3) {\n FUN_001e6db0((undefined4 *)param_1[1]);\n }\n return;\n}" primitive_type (function_declarator "FUN_0003fac0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n *param_1 = &PTR_FUN_00382424;\n if ((undefined4 *)param_1[1] != param_1 + 3) {\n FUN_001e6db0((undefined4 *)param_1[1]);\n }\n return;\n}" { (expression_statement "*param_1 = &PTR_FUN_00382424;" (assignment_expression "*param_1 = &PTR_FUN_00382424" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00382424" & identifier)) ;) (if_statement "if ((undefined4 *)param_1[1] != param_1 + 3) {\n FUN_001e6db0((undefined4 *)param_1[1]);\n }" if (parenthesized_expression "((undefined4 *)param_1[1] != param_1 + 3)" ( (binary_expression "(undefined4 *)param_1[1] != param_1 + 3" (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) != (binary_expression "param_1 + 3" identifier + number_literal)) )) (compound_statement "{\n FUN_001e6db0((undefined4 *)param_1[1]);\n }" { (expression_statement "FUN_001e6db0((undefined4 *)param_1[1]);" (call_expression "FUN_001e6db0((undefined4 *)param_1[1])" identifier (argument_list "((undefined4 *)param_1[1])" ( (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) ))) ;) })) (return_statement "return;" return ;) })))
|
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void ~Struct_target1_rel(Struct_target1_rel * this, int __in_chrg) */\n\nvoid __thiscall\ngold::General_options::Struct_target1_rel::~Struct_target1_rel\n (Struct_target1_rel *this,int __in_chrg)\n\n{\n pointer pcVar1;\n \n (this->super_Struct_var)._vptr_Struct_var = (_func_int_varargs **)&PTR_parse_to_value_00382424;\n pcVar1 = (this->option).longname._M_dataplus._M_p;\n if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n *)pcVar1 != &(this->option).longname.field_2) {\n operator_delete(pcVar1);\n }\n return;\n}\n\n" comment comment (function_definition "void __thiscall\ngold::General_options::Struct_target1_rel::~Struct_target1_rel\n (Struct_target1_rel *this,int __in_chrg)\n\n{\n pointer pcVar1;\n \n (this->super_Struct_var)._vptr_Struct_var = (_func_int_varargs **)&PTR_parse_to_value_00382424;\n pcVar1 = (this->option).longname._M_dataplus._M_p;\n if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n *)pcVar1 != &(this->option).longname.field_2) {\n operator_delete(pcVar1);\n }\n return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::General_options::Struct_target1_rel::~" identifier : : identifier : : identifier : : ~) (function_declarator "Struct_target1_rel\n (Struct_target1_rel *this,int __in_chrg)" identifier (parameter_list "(Struct_target1_rel *this,int __in_chrg)" ( (parameter_declaration "Struct_target1_rel *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int __in_chrg" primitive_type identifier) ))) (compound_statement "{\n pointer pcVar1;\n \n (this->super_Struct_var)._vptr_Struct_var = (_func_int_varargs **)&PTR_parse_to_value_00382424;\n pcVar1 = (this->option).longname._M_dataplus._M_p;\n if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n *)pcVar1 != &(this->option).longname.field_2) {\n operator_delete(pcVar1);\n }\n return;\n}" { (declaration "pointer pcVar1;" type_identifier identifier ;) (expression_statement "(this->super_Struct_var)._vptr_Struct_var = (_func_int_varargs **)&PTR_parse_to_value_00382424;" (assignment_expression "(this->super_Struct_var)._vptr_Struct_var = (_func_int_varargs **)&PTR_parse_to_value_00382424" (field_expression "(this->super_Struct_var)._vptr_Struct_var" (parenthesized_expression "(this->super_Struct_var)" ( (field_expression "this->super_Struct_var" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(_func_int_varargs **)&PTR_parse_to_value_00382424" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR_parse_to_value_00382424" & identifier))) ;) (expression_statement "pcVar1 = (this->option).longname._M_dataplus._M_p;" (assignment_expression "pcVar1 = (this->option).longname._M_dataplus._M_p" identifier = (field_expression "(this->option).longname._M_dataplus._M_p" (field_expression "(this->option).longname._M_dataplus" (field_expression "(this->option).longname" (parenthesized_expression "(this->option)" ( (field_expression "this->option" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier)) ;) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n *)pcVar1 != &(this->option).longname.field_2) {\n operator_delete(pcVar1);\n }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n *)pcVar1 != &(this->option).longname.field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n *)pcVar1 != &(this->option).longname.field_2)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n *)pcVar1 != &(this->option).longname.field_2" (binary_expression "allocator<char>_>_9\n *)pcVar1" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n *)pcVar1" identifier * (ERROR ")" )) identifier)) != (pointer_expression "&(this->option).longname.field_2" & (field_expression "(this->option).longname.field_2" (field_expression "(this->option).longname" (parenthesized_expression "(this->option)" ( (field_expression "this->option" identifier -> field_identifier) )) . field_identifier) . field_identifier))) )) )) (compound_statement "{\n operator_delete(pcVar1);\n }" { (expression_statement "operator_delete(pcVar1);" (call_expression "operator_delete(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
|
(translation_unit "void FUN_0003fac0(undefined4 *param_1)\n\n{\n *param_1 = &PTR_FUN_00382424;\n if ((undefined4 *)param_1[1] != param_1 + 3) {\n FUN_001e6db0((undefined4 *)param_1[1]);\n }\n return;\n}\n\n" (function_definition "void FUN_0003fac0(undefined4 *param_1)\n\n{\n *param_1 = &PTR_FUN_00382424;\n if ((undefined4 *)param_1[1] != param_1 + 3) {\n FUN_001e6db0((undefined4 *)param_1[1]);\n }\n return;\n}" primitive_type (function_declarator "FUN_0003fac0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n *param_1 = &PTR_FUN_00382424;\n if ((undefined4 *)param_1[1] != param_1 + 3) {\n FUN_001e6db0((undefined4 *)param_1[1]);\n }\n return;\n}" { (expression_statement "*param_1 = &PTR_FUN_00382424;" (assignment_expression "*param_1 = &PTR_FUN_00382424" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00382424" & identifier)) ;) (if_statement "if ((undefined4 *)param_1[1] != param_1 + 3) {\n FUN_001e6db0((undefined4 *)param_1[1]);\n }" if (parenthesized_expression "((undefined4 *)param_1[1] != param_1 + 3)" ( (binary_expression "(undefined4 *)param_1[1] != param_1 + 3" (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) != (binary_expression "param_1 + 3" identifier + number_literal)) )) (compound_statement "{\n FUN_001e6db0((undefined4 *)param_1[1]);\n }" { (expression_statement "FUN_001e6db0((undefined4 *)param_1[1]);" (call_expression "FUN_001e6db0((undefined4 *)param_1[1])" identifier (argument_list "((undefined4 *)param_1[1])" ( (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) ))) ;) })) (return_statement "return;" return ;) })))
|
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) })) (return_statement return ;) })))
|
(function_definition "void FUN_0003fac0(undefined4 *param_1)\n\n{\n *param_1 = &PTR_FUN_00382424;\n if ((undefined4 *)param_1[1] != param_1 + 3) {\n FUN_001e6db0((undefined4 *)param_1[1]);\n }\n return;\n}" (primitive_type "void") (function_declarator "FUN_0003fac0(undefined4 *param_1)" (identifier "FUN_0003fac0") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n *param_1 = &PTR_FUN_00382424;\n if ((undefined4 *)param_1[1] != param_1 + 3) {\n FUN_001e6db0((undefined4 *)param_1[1]);\n }\n return;\n}" ({ "{") (expression_statement "*param_1 = &PTR_FUN_00382424;" (assignment_expression "*param_1 = &PTR_FUN_00382424" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_00382424" (& "&") (identifier "PTR_FUN_00382424"))) (; ";")) (if_statement "if ((undefined4 *)param_1[1] != param_1 + 3) {\n FUN_001e6db0((undefined4 *)param_1[1]);\n }" (if "if") (parenthesized_expression "((undefined4 *)param_1[1] != param_1 + 3)" (( "(") (binary_expression "(undefined4 *)param_1[1] != param_1 + 3" (cast_expression "(undefined4 *)param_1[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3"))) () ")")) (compound_statement "{\n FUN_001e6db0((undefined4 *)param_1[1]);\n }" ({ "{") (expression_statement "FUN_001e6db0((undefined4 *)param_1[1]);" (call_expression "FUN_001e6db0((undefined4 *)param_1[1])" (identifier "FUN_001e6db0") (argument_list "((undefined4 *)param_1[1])" (( "(") (cast_expression "(undefined4 *)param_1[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
|
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void ~Struct_target1_rel(Struct_target1_rel * this, int __in_chrg) */
void __thiscall
gold::General_options::function_1::~function_1
(function_1 *this,int __in_chrg)
{
type_1 var_5;
(this->super_Struct_var)._vptr_Struct_var = (type_2 **)&PTR_parse_to_value_00382424;
var_5 = (this->option).longname._M_dataplus._M_p;
if ((anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
*)var_5 != &(this->option).longname.field_2) {
var_6(var_5);
}
return;
}
| null |
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))))) (return_statement))))
| null |
/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
void MASKED(undefined4 *param_1)
{
*param_1 = &PTR_FUN_00382424;
if ((undefined4 *)param_1[1] != param_1 + 3) {
FUN_001e6db0((undefined4 *)param_1[1]);
}
return;
}
|
2849_powerpc64le-linux-gnu-ld_and_powerpc64le-linux-gnu-ld_strip.c
|
include_all_members
|
FUN_000b7b60
| "\n/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* WARNI(...TRUNCATED) | "\n/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nuint (...TRUNCATED) | "PUSH EBP\nMOV EBP,ESP\nPUSH EDI\nPUSH ESI\nCALL 0x0004d336\nADD ESI,0x35c496\nPUSH EBX\nSUB ESP,0xa(...TRUNCATED) | null | null | null | null | "[(u'PTRSUB_-1206614708', u'LOAD_-1206617057'), (u'CALL_-1206616801', u'INDIRECT_-1206615121'), (u'P(...TRUNCATED) | "[(u'CALL_-1206616801', u'INDIRECT_-1206615105'), (u'INDIRECT_-1206614649', u'COPY_-1206614540'), (u(...TRUNCATED) | null | null |
000b7b60
|
x86
|
O3
| "(translation_unit \"/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_th(...TRUNCATED) | "(translation_unit \"/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thu(...TRUNCATED) | "(translation_unit \"uint FUN_000b7b60(int param_1,undefined4 param_2,undefined4 param_3,undefined4 (...TRUNCATED) | "(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter(...TRUNCATED) | "(function_definition \"uint FUN_000b7b60(int param_1,undefined4 param_2,undefined4 param_3,undefine(...TRUNCATED) | "\n/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* WARNI(...TRUNCATED) | null | "(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator dec(...TRUNCATED) | null | "\n/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nuint (...TRUNCATED) |
354_x86_64-linux-gnux32-strip_and_x86_64-linux-gnux32-strip_strip.c
|
stab_typedef_type
|
FUN_0002b810
| "\n/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNI(...TRUNCATED) | "\n/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid (...TRUNCATED) | "PUSH ESI\nPUSH EBX\nCALL 0x000166c0\nADD EBX,0x147e9\nSUB ESP,0x4\nMOV ESI,dword ptr [ESP + 0x10]\n(...TRUNCATED) | null | null | null | null | "[(u'LOAD_-1206011770', u'INT_SLESS_-1206011742'), (u'CALL_-1206011798', u'INT_ADD_-1206011732'), (u(...TRUNCATED) | "[(u'LOAD_-1206011770', u'INT_SLESS_-1206011742'), (u'INT_NOTEQUAL_-1206011771', u'CBRANCH_-12060117(...TRUNCATED) | null | null |
0002b810
|
x86
|
O3
| "(translation_unit \"/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_th(...TRUNCATED) | "(translation_unit \"/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thu(...TRUNCATED) | "(translation_unit \"void FUN_0002b810(int param_1,undefined4 param_2)\\n\\n{\\n int iVar1;\\n \\n(...TRUNCATED) | "(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter(...TRUNCATED) | "(function_definition \"void FUN_0002b810(int param_1,undefined4 param_2)\\n\\n{\\n int iVar1;\\n (...TRUNCATED) | "\n/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNI(...TRUNCATED) | null | "(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator decl(...TRUNCATED) | null | "\n/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid (...TRUNCATED) |
698_x86_64-linux-gnux32-ld_and_x86_64-linux-gnux32-ld_strip.c
|
gldelf_l1om_after_allocation
|
FUN_0004c4d0
| "\n/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNI(...TRUNCATED) | "\n/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid (...TRUNCATED) | "PUSH EBP\nPUSH EDI\nPUSH ESI\nPUSH EBX\nCALL 0x00017b80\nADD EBX,0x182b27\nSUB ESP,0x34\nLEA ESI,[E(...TRUNCATED) | null | null | null | null | "[(u'LOAD_-1206139282', u'PTRSUB_-1206138408'), ('tmp_1325', u'BRANCH_-1206138824'), (u'PTRSUB_-1206(...TRUNCATED) | "[('const-1905632', u'PTRSUB_-1206138590'), ('tmp_1325', u'BRANCH_-1206138824'), (u'COPY_-1206139068(...TRUNCATED) | null | null |
0004c4d0
|
x86
|
O3
| "(translation_unit \"/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_th(...TRUNCATED) | "(translation_unit \"/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thu(...TRUNCATED) | "(translation_unit \"void FUN_0004c4d0(void)\\n\\n{\\n undefined4 *puVar1;\\n uint uVar2;\\n uint(...TRUNCATED) | "(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter(...TRUNCATED) | "(function_definition \"void FUN_0004c4d0(void)\\n\\n{\\n undefined4 *puVar1;\\n uint uVar2;\\n u(...TRUNCATED) | "\n/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNI(...TRUNCATED) | null | "(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator decl(...TRUNCATED) | null | "\n/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid (...TRUNCATED) |
123_sparc64-linux-gnu-strings_and_sparc64-linux-gnu-strings_strip.c
|
printf
|
printf
| "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convent(...TRUNCATED) | "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convent(...TRUNCATED) | null | null | null | null | null |
[('const-1', u'RETURN_-1205952494')]
|
[('const-1', u'RETURN_-1205952494')]
| null | null |
0001a008
|
x86
|
O3
| "(translation_unit \"/* WARNING: Control flow encountered bad instruction data */\\n/* WARNING: Unkn(...TRUNCATED) | "(translation_unit \"/* WARNING: Control flow encountered bad instruction data */\\n/* WARNING: Unkn(...TRUNCATED) | "(translation_unit \"int printf(char *__format,...)\\n\\n{\\n \\n halt_baddata()(...TRUNCATED) | "(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter(...TRUNCATED) | "(function_definition \"int printf(char *__format,...)\\n\\n{\\n \\n halt_baddat(...TRUNCATED) | "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convent(...TRUNCATED) | null | "(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator decl(...TRUNCATED) | null | "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convent(...TRUNCATED) |
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 67