Dataset Viewer
file_name
stringlengths 17
79
| original_function_name
stringlengths 2
741
| stripped_function_name
stringlengths 3
44
| decompiled_code_original
stringlengths 34
206k
⌀ | decompiled_code_stripped
stringlengths 34
205k
⌀ | assembly_code
stringlengths 3
245k
⌀ | dataflowgraph_original
float64 | dataflowgraph_stripped
float64 | graphImage_original
float64 | graphImage_stripped
float64 | pcode_edges_original
stringlengths 11
6.77M
| pcode_edges_stripped
stringlengths 11
6.88M
| 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 339
7.59M
⌀ | S-Expression_decompiled_code_original
stringlengths 339
7.59M
⌀ | S-Expression_decompiled_code_original_noisy
stringlengths 338
7.59M
⌀ | S-Expression_decompiled_code_original_clean
stringlengths 162
567k
⌀ | S-Expression_decompiled_code_original_root
stringlengths 347
7.64M
⌀ | Replace_function_name_and_variable_name
stringlengths 39
199k
⌀ | S-Expression_decompiled_code_stripped
float64 | Root Node
stringlengths 238
841k
⌀ | decompiled_code_original_masked
float64 | decompiled_code_stripped_masked
stringlengths 35
205k
⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
284_i686-gnu-ar_and_i686-gnu-ar_strip.c
|
mkdtemp
|
mkdtemp
|
/* WARNING: Control flow encountered bad instruction data */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
char * mkdtemp(char *__template)
{
/* WARNING: Bad instruction - Truncating control flow here */
/* mkdtemp@@GLIBC_2.2.5 */
halt_baddata();
}
|
/* WARNING: Control flow encountered bad instruction data */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
char * mkdtemp(char *__template)
{
/* WARNING: Bad instruction - Truncating control flow here */
halt_baddata();
}
| null | null | null | null | null |
[('const-1', u'RETURN_-1207037358')]
|
[('const-1', u'RETURN_-1207037358')]
| null | null |
00111248
|
x64
|
O3
|
(translation_unit "/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nchar * mkdtemp(char *__template)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n" comment comment (function_definition "char * mkdtemp(char *__template)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}" primitive_type (pointer_declarator "* mkdtemp(char *__template)" * (function_declarator "mkdtemp(char *__template)" identifier (parameter_list "(char *__template)" ( (parameter_declaration "char *__template" primitive_type (pointer_declarator "*__template" * 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\nchar * mkdtemp(char *__template)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n /* mkdtemp@@GLIBC_2.2.5 */\n halt_baddata();\n}\n\n" comment comment (function_definition "char * mkdtemp(char *__template)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n /* mkdtemp@@GLIBC_2.2.5 */\n halt_baddata();\n}" primitive_type (pointer_declarator "* mkdtemp(char *__template)" * (function_declarator "mkdtemp(char *__template)" identifier (parameter_list "(char *__template)" ( (parameter_declaration "char *__template" primitive_type (pointer_declarator "*__template" * identifier)) )))) (compound_statement "{\n /* WARNING: Bad instruction - Truncating control flow here */\n /* mkdtemp@@GLIBC_2.2.5 */\n halt_baddata();\n}" { comment comment (expression_statement "halt_baddata();" (call_expression "halt_baddata()" identifier (argument_list "()" ( ))) ;) })))
|
(translation_unit "char * mkdtemp(char *__template)\n\n{\n \n halt_baddata();\n}\n\n" (function_definition "char * mkdtemp(char *__template)\n\n{\n \n halt_baddata();\n}" primitive_type (pointer_declarator "* mkdtemp(char *__template)" * (function_declarator "mkdtemp(char *__template)" identifier (parameter_list "(char *__template)" ( (parameter_declaration "char *__template" primitive_type (pointer_declarator "*__template" * identifier)) )))) (compound_statement "{\n \n halt_baddata();\n}" { (expression_statement "halt_baddata();" (call_expression "halt_baddata()" identifier (argument_list "()" ( ))) ;) })))
|
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
|
(function_definition "char * mkdtemp(char *__template)\n\n{\n \n halt_baddata();\n}" (primitive_type "char") (pointer_declarator "* mkdtemp(char *__template)" (* "*") (function_declarator "mkdtemp(char *__template)" (identifier "mkdtemp") (parameter_list "(char *__template)" (( "(") (parameter_declaration "char *__template" (primitive_type "char") (pointer_declarator "*__template" (* "*") (identifier "__template"))) () ")")))) (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 */
char * function_1(char *__template)
{
/* WARNING: Bad instruction - Truncating control flow here */
/* mkdtemp@@GLIBC_2.2.5 */
var_1();
}
| null |
(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) 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 */
char * MASKED(char *__template)
{
/* WARNING: Bad instruction - Truncating control flow here */
halt_baddata();
}
|
489_libMagickCore-7.Q16HDRI.so.8.0_and_libMagickCore-7.Q16HDRI.so.8.0_strip.c
|
ftello
|
ftello
|
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
__off_t ftello(FILE *__stream)
{
__off_t _Var1;
_Var1 = (*(code *)PTR_ftello_00753f48)();
return _Var1;
}
|
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
__off_t ftello(FILE *__stream)
{
__off_t _Var1;
_Var1 = (*(code *)PTR_ftello_00753f48)();
return _Var1;
}
|
JMP qword ptr [0x00753f48]
| null | null | null | null |
[(u'CAST_-1207190933', u'CALLIND_-1207191000'), ('const-0', u'RETURN_-1207190997'), (u'CALLIND_-1207191000', u'RETURN_-1207190997'), (u'CALLIND_-1207191000', u'INDIRECT_-1207190938'), ('tmp_32', u'CAST_-1207190933'), (u'INDIRECT_-1207190938', u'COPY_-1207190997')]
|
[(u'CAST_-1207190933', u'CALLIND_-1207191000'), ('const-0', u'RETURN_-1207190997'), (u'CALLIND_-1207191000', u'RETURN_-1207190997'), (u'CALLIND_-1207191000', u'INDIRECT_-1207190938'), ('tmp_32', u'CAST_-1207190933'), (u'INDIRECT_-1207190938', u'COPY_-1207190997')]
| null | null |
0014ba20
|
x64
|
O3
|
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\n__off_t ftello(FILE *__stream)\n\n{\n __off_t _Var1;\n \n _Var1 = (*(code *)PTR_ftello_00753f48)();\n return _Var1;\n}\n\n" comment (function_definition "__off_t ftello(FILE *__stream)\n\n{\n __off_t _Var1;\n \n _Var1 = (*(code *)PTR_ftello_00753f48)();\n return _Var1;\n}" type_identifier (function_declarator "ftello(FILE *__stream)" identifier (parameter_list "(FILE *__stream)" ( (parameter_declaration "FILE *__stream" type_identifier (pointer_declarator "*__stream" * identifier)) ))) (compound_statement "{\n __off_t _Var1;\n \n _Var1 = (*(code *)PTR_ftello_00753f48)();\n return _Var1;\n}" { (declaration "__off_t _Var1;" type_identifier identifier ;) (expression_statement "_Var1 = (*(code *)PTR_ftello_00753f48)();" (assignment_expression "_Var1 = (*(code *)PTR_ftello_00753f48)()" identifier = (call_expression "(*(code *)PTR_ftello_00753f48)()" (parenthesized_expression "(*(code *)PTR_ftello_00753f48)" ( (pointer_expression "*(code *)PTR_ftello_00753f48" * (cast_expression "(code *)PTR_ftello_00753f48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return _Var1;" return identifier ;) })))
|
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\n__off_t ftello(FILE *__stream)\n\n{\n __off_t _Var1;\n \n _Var1 = (*(code *)PTR_ftello_00753f48)();\n return _Var1;\n}\n\n" comment (function_definition "__off_t ftello(FILE *__stream)\n\n{\n __off_t _Var1;\n \n _Var1 = (*(code *)PTR_ftello_00753f48)();\n return _Var1;\n}" type_identifier (function_declarator "ftello(FILE *__stream)" identifier (parameter_list "(FILE *__stream)" ( (parameter_declaration "FILE *__stream" type_identifier (pointer_declarator "*__stream" * identifier)) ))) (compound_statement "{\n __off_t _Var1;\n \n _Var1 = (*(code *)PTR_ftello_00753f48)();\n return _Var1;\n}" { (declaration "__off_t _Var1;" type_identifier identifier ;) (expression_statement "_Var1 = (*(code *)PTR_ftello_00753f48)();" (assignment_expression "_Var1 = (*(code *)PTR_ftello_00753f48)()" identifier = (call_expression "(*(code *)PTR_ftello_00753f48)()" (parenthesized_expression "(*(code *)PTR_ftello_00753f48)" ( (pointer_expression "*(code *)PTR_ftello_00753f48" * (cast_expression "(code *)PTR_ftello_00753f48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return _Var1;" return identifier ;) })))
|
(translation_unit "__off_t ftello(FILE *__stream)\n\n{\n __off_t _Var1;\n \n _Var1 = (*(code *)PTR_ftello_00753f48)();\n return _Var1;\n}\n\n" (function_definition "__off_t ftello(FILE *__stream)\n\n{\n __off_t _Var1;\n \n _Var1 = (*(code *)PTR_ftello_00753f48)();\n return _Var1;\n}" type_identifier (function_declarator "ftello(FILE *__stream)" identifier (parameter_list "(FILE *__stream)" ( (parameter_declaration "FILE *__stream" type_identifier (pointer_declarator "*__stream" * identifier)) ))) (compound_statement "{\n __off_t _Var1;\n \n _Var1 = (*(code *)PTR_ftello_00753f48)();\n return _Var1;\n}" { (declaration "__off_t _Var1;" type_identifier identifier ;) (expression_statement "_Var1 = (*(code *)PTR_ftello_00753f48)();" (assignment_expression "_Var1 = (*(code *)PTR_ftello_00753f48)()" identifier = (call_expression "(*(code *)PTR_ftello_00753f48)()" (parenthesized_expression "(*(code *)PTR_ftello_00753f48)" ( (pointer_expression "*(code *)PTR_ftello_00753f48" * (cast_expression "(code *)PTR_ftello_00753f48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return _Var1;" return identifier ;) })))
|
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })))
|
(function_definition "__off_t ftello(FILE *__stream)\n\n{\n __off_t _Var1;\n \n _Var1 = (*(code *)PTR_ftello_00753f48)();\n return _Var1;\n}" (type_identifier "__off_t") (function_declarator "ftello(FILE *__stream)" (identifier "ftello") (parameter_list "(FILE *__stream)" (( "(") (parameter_declaration "FILE *__stream" (type_identifier "FILE") (pointer_declarator "*__stream" (* "*") (identifier "__stream"))) () ")"))) (compound_statement "{\n __off_t _Var1;\n \n _Var1 = (*(code *)PTR_ftello_00753f48)();\n return _Var1;\n}" ({ "{") (declaration "__off_t _Var1;" (type_identifier "__off_t") (identifier "_Var1") (; ";")) (expression_statement "_Var1 = (*(code *)PTR_ftello_00753f48)();" (assignment_expression "_Var1 = (*(code *)PTR_ftello_00753f48)()" (identifier "_Var1") (= "=") (call_expression "(*(code *)PTR_ftello_00753f48)()" (parenthesized_expression "(*(code *)PTR_ftello_00753f48)" (( "(") (pointer_expression "*(code *)PTR_ftello_00753f48" (* "*") (cast_expression "(code *)PTR_ftello_00753f48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ftello_00753f48"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return _Var1;" (return "return") (identifier "_Var1") (; ";")) (} "}")))
|
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
type_1 function_1(type_2 *__stream)
{
type_1 _Var1;
_Var1 = (*(type_3 *)PTR_ftello_00753f48)();
return _Var1;
}
| null |
(translation_unit (function_definition type: (type_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)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (return_statement (identifier)))))
| null |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
__off_t MASKED(FILE *__stream)
{
__off_t _Var1;
_Var1 = (*(code *)PTR_MASKED_00753f48)();
return _Var1;
}
|
9368_i686-linux-gnu-ld_and_i686-linux-gnu-ld_strip.c
|
find
|
FUN_0031cd40
|
/* std::wstring::find(wchar_t const*, unsigned long, unsigned long) const */
ulong __thiscall std::wstring::find(wstring *this,wchar_t *param_1,ulong param_2,ulong param_3)
{
wchar_t __c;
long lVar1;
ulong uVar2;
int iVar3;
wchar_t *pwVar4;
ulong uVar5;
size_t __n;
lVar1 = *(long *)this;
uVar2 = *(ulong *)(lVar1 + -0x18);
if (param_3 == 0) {
uVar5 = 0xffffffffffffffff;
if (param_2 <= uVar2) {
uVar5 = param_2;
}
return uVar5;
}
if ((param_2 < uVar2) && (param_3 <= uVar2 - param_2)) {
__n = (uVar2 - param_2) + (1 - param_3);
if (__n != 0) {
__c = *param_1;
pwVar4 = (wchar_t *)(lVar1 + param_2 * 4);
while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {
iVar3 = wmemcmp(pwVar4,param_1,param_3);
if (iVar3 == 0) {
return (long)pwVar4 - lVar1 >> 2;
}
pwVar4 = pwVar4 + 1;
uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;
if (uVar5 < param_3) {
return 0xffffffffffffffff;
}
__n = uVar5 + (1 - param_3);
if (__n == 0) {
return 0xffffffffffffffff;
}
}
}
}
return 0xffffffffffffffff;
}
|
ulong FUN_0031cd40(long *param_1,wchar_t *param_2,ulong param_3,ulong param_4)
{
wchar_t __c;
long lVar1;
ulong uVar2;
int iVar3;
wchar_t *pwVar4;
ulong uVar5;
size_t __n;
lVar1 = *param_1;
uVar2 = *(ulong *)(lVar1 + -0x18);
if (param_4 == 0) {
uVar5 = 0xffffffffffffffff;
if (param_3 <= uVar2) {
uVar5 = param_3;
}
return uVar5;
}
if ((param_3 < uVar2) && (param_4 <= uVar2 - param_3)) {
__n = (uVar2 - param_3) + (1 - param_4);
if (__n != 0) {
__c = *param_2;
pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);
while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {
iVar3 = wmemcmp(pwVar4,param_2,param_4);
if (iVar3 == 0) {
return (long)pwVar4 - lVar1 >> 2;
}
pwVar4 = pwVar4 + 1;
uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;
if (uVar5 < param_4) {
return 0xffffffffffffffff;
}
__n = uVar5 + (1 - param_4);
if (__n == 0) {
return 0xffffffffffffffff;
}
}
}
}
return 0xffffffffffffffff;
}
|
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x18
MOV R13,qword ptr [RDI]
MOV R9,qword ptr [R13 + -0x18]
TEST RCX,RCX
JZ 0x0031cdf8
MOV RAX,-0x1
CMP R9,RDX
JBE 0x0031cde3
MOV R8,R9
SUB R8,RDX
CMP RCX,R8
JA 0x0031cde3
MOV EBP,0x1
SUB RBP,RCX
ADD R8,RBP
JZ 0x0031cde3
LEA RAX,[R13 + R9*0x4]
MOV R14D,dword ptr [RSI]
MOV RBX,RCX
MOV R12,RSI
MOV qword ptr [RSP + 0x8],RAX
LEA RDI,[R13 + RDX*0x4]
MOV RDX,R8
MOV ESI,R14D
CALL 0x001444d0
MOV R15,RAX
TEST RAX,RAX
JZ 0x0031cddc
MOV RDX,RBX
MOV RSI,R12
MOV RDI,RAX
CALL 0x00144260
TEST EAX,EAX
JZ 0x0031ce18
MOV RDX,qword ptr [RSP + 0x8]
LEA RDI,[R15 + 0x4]
SUB RDX,RDI
SAR RDX,0x2
CMP RBX,RDX
JA 0x0031cddc
ADD RDX,RBP
MOV R8,RDX
JNZ 0x0031cd9a
MOV RAX,-0x1
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
CMP R9,RDX
MOV RAX,-0x1
CMOVNC RAX,RDX
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RAX,R15
SUB RAX,R13
SAR RAX,0x2
JMP 0x0031cde3
| null | null | null | null |
[(u'MULTIEQUAL_-1204891674', u'CALL_-1204892132'), (u'LOAD_-1204892303', u'INT_MULT_-1204892156'), (u'INT_EQUAL_-1204892284', u'CBRANCH_-1204892282'), ('const-433', u'LOAD_-1204892303'), (u'INT_SUB_-1204891855', u'INT_SRIGHT_-1204891832'), ('const-0', u'INT_EQUAL_-1204891983'), (u'INT_SRIGHT_-1204892021', u'INT_LESS_-1204891988'), ('const-0', u'RETURN_-1204891519'), ('const-0', u'RETURN_-1204891513'), ('tmp_948', u'LOAD_-1204892178'), (u'CALL_-1204892132', u'PTRADD_-1204891508'), (u'CAST_-1204891619', u'LOAD_-1204892309'), ('tmp_551', u'CBRANCH_-1204891996'), ('tmp_840', u'CBRANCH_-1204891839'), (u'INT_LESS_-1204891988', u'CBRANCH_-1204891996'), ('tmp_949', u'INT_LESSEQUAL_-1204891851'), ('const--1', u'COPY_-1204891537'), (u'INT_SUB_-1204892193', u'INT_ADD_-1204892182'), (u'COPY_-1204891537', u'RETURN_-1204891513'), (u'CAST_-1204891493', u'INT_SUB_-1204892044'), ('const-2', u'INT_SRIGHT_-1204892021'), (u'CAST_-1204891546', u'MULTIEQUAL_-1204891678'), (u'INT_LESS_-1204892244', u'CBRANCH_-1204892253'), (u'PTRADD_-1204891508', u'MULTIEQUAL_-1204891678'), ('const--1', u'COPY_-1204891539'), (u'MULTIEQUAL_-1204891598', u'RETURN_-1204891779'), ('const-0', u'RETURN_-1204891515'), (u'MULTIEQUAL_-1204891678', u'CALL_-1204892132'), ('const-0', u'INT_NOTEQUAL_-1204892187'), ('const-4', u'PTRADD_-1204891508'), ('const-4', u'INT_MULT_-1204892156'), (u'INT_MULT_-1204892156', u'INT_ADD_-1204892168'), (u'LOAD_-1204892309', u'INT_ADD_-1204892138'), ('tmp_342', u'CBRANCH_-1204892112'), (u'COPY_-1204891503', u'MULTIEQUAL_-1204891598'), ('tmp_950', u'INT_EQUAL_-1204892284'), ('tmp_949', u'INT_MULT_-1204892126'), (u'COPY_-1204891695', u'RETURN_-1204891911'), ('const-1', u'PTRADD_-1204891508'), ('tmp_950', u'CALL_-1204892093'), ('tmp_950', u'INT_SUB_-1204892193'), (u'INT_SUB_-1204892193', u'INT_ADD_-1204891977'), (u'COPY_-1204891543', u'RETURN_-1204891519'), (u'INT_ADD_-1204892182', u'MULTIEQUAL_-1204891674'), (u'INT_SRIGHT_-1204892021', u'INT_ADD_-1204891977'), ('const--1', u'COPY_-1204891854'), ('const-1', u'INT_SUB_-1204892193'), (u'CAST_-1204891489', u'INT_SRIGHT_-1204892021'), (u'INT_NOTEQUAL_-1204892187', u'CBRANCH_-1204892186'), (u'INT_LESSEQUAL_-1204892210', u'CBRANCH_-1204892219'), (u'INT_SRIGHT_-1204891832', u'COPY_-1204891543'), (u'PTRADD_-1204891508', u'CAST_-1204891493'), ('tmp_950', u'INT_LESS_-1204891988'), (u'CALL_-1204892132', u'CAST_-1204891411'), ('tmp_949', u'INT_LESS_-1204892244'), ('tmp_583', u'CBRANCH_-1204891976'), ('tmp_947', u'CAST_-1204891619'), (u'LOAD_-1204892303', u'INT_LESS_-1204892244'), (u'INT_EQUAL_-1204891983', u'CBRANCH_-1204891976'), (u'COPY_-1204891539', u'RETURN_-1204891515'), ('const-433', u'LOAD_-1204892178'), (u'INT_ADD_-1204892287', u'CAST_-1204891615'), (u'COPY_-1204891854', u'COPY_-1204891504'), (u'INT_SUB_-1204892229', u'INT_ADD_-1204892182'), ('const-0', u'INT_NOTEQUAL_-1204892113'), (u'CALL_-1204892093', u'INT_EQUAL_-1204892079'), (u'INT_ADD_-1204892168', u'INT_SUB_-1204892044'), (u'LOAD_-1204892178', u'CALL_-1204892132'), (u'INT_ADD_-1204891977', u'INT_EQUAL_-1204891983'), ('tmp_146', u'CBRANCH_-1204892253'), ('const--1', u'COPY_-1204891695'), (u'INT_ADD_-1204891977', u'MULTIEQUAL_-1204891674'), ('const-0', u'INT_EQUAL_-1204892284'), ('const-0', u'INT_EQUAL_-1204892079'), ('const-4', u'INT_MULT_-1204892126'), ('tmp_209', u'CBRANCH_-1204892219'), (u'INT_SUB_-1204892229', u'INT_LESSEQUAL_-1204892210'), (u'LOAD_-1204892303', u'INT_LESSEQUAL_-1204891851'), ('const-0', u'RETURN_-1204891911'), (u'INT_MULT_-1204892126', u'INT_ADD_-1204892138'), (u'LOAD_-1204892303', u'INT_SUB_-1204892229'), (u'INT_LESSEQUAL_-1204891851', u'CBRANCH_-1204891839'), ('tmp_265', u'CBRANCH_-1204892186'), ('tmp_111', u'CBRANCH_-1204892282'), (u'LOAD_-1204892309', u'INT_SUB_-1204891855'), ('const-2', u'INT_SRIGHT_-1204891832'), (u'CALL_-1204892132', u'CALL_-1204892093'), (u'CALL_-1204892132', u'INT_NOTEQUAL_-1204892113'), (u'INT_EQUAL_-1204892079', u'CBRANCH_-1204892078'), (u'CAST_-1204891411', u'INT_SUB_-1204891855'), (u'INT_SUB_-1204892044', u'CAST_-1204891489'), ('tmp_949', u'COPY_-1204891503'), ('const-0', u'RETURN_-1204891779'), (u'CAST_-1204891615', u'LOAD_-1204892303'), ('const--24', u'INT_ADD_-1204892287'), ('tmp_949', u'INT_SUB_-1204892229'), ('tmp_382', u'CBRANCH_-1204892078'), (u'LOAD_-1204892309', u'INT_ADD_-1204892168'), ('tmp_948', u'CALL_-1204892093'), (u'COPY_-1204891504', u'MULTIEQUAL_-1204891598'), (u'INT_ADD_-1204892138', u'CAST_-1204891546'), (u'LOAD_-1204892309', u'INT_ADD_-1204892287'), (u'INT_NOTEQUAL_-1204892113', u'CBRANCH_-1204892112'), (u'INT_ADD_-1204892182', u'INT_NOTEQUAL_-1204892187'), ('tmp_950', u'INT_LESSEQUAL_-1204892210'), ('const-433', u'LOAD_-1204892309')]
|
[(u'MULTIEQUAL_-1204891674', u'CALL_-1204892132'), (u'LOAD_-1204892303', u'INT_MULT_-1204892156'), (u'INT_EQUAL_-1204892284', u'CBRANCH_-1204892282'), ('const-2', u'INT_SRIGHT_-1204891832'), ('tmp_1871', u'LOAD_-1204892309'), ('tmp_1873', u'COPY_-1204891503'), (u'INT_SUB_-1204891855', u'INT_SRIGHT_-1204891832'), ('const-0', u'INT_EQUAL_-1204891983'), (u'INT_SRIGHT_-1204892021', u'INT_LESS_-1204891988'), ('const-4', u'PTRADD_-1204891508'), ('tmp_1872', u'INT_EQUAL_-1204892284'), (u'CALL_-1204892132', u'PTRADD_-1204891508'), ('const-433', u'LOAD_-1204892309'), ('tmp_551', u'CBRANCH_-1204891996'), ('tmp_840', u'CBRANCH_-1204891839'), (u'INT_LESS_-1204891988', u'CBRANCH_-1204891996'), (u'INT_SUB_-1204892193', u'INT_ADD_-1204892182'), ('tmp_1872', u'INT_SUB_-1204892193'), (u'COPY_-1204891537', u'RETURN_-1204891513'), (u'INT_LESS_-1204892244', u'CBRANCH_-1204892253'), ('tmp_1876', u'LOAD_-1204892178'), (u'PTRADD_-1204891508', u'MULTIEQUAL_-1204891678'), (u'MULTIEQUAL_-1204891598', u'RETURN_-1204891779'), (u'MULTIEQUAL_-1204891678', u'CALL_-1204892132'), ('const-0', u'INT_NOTEQUAL_-1204892187'), ('const-4', u'INT_MULT_-1204892156'), ('const-2', u'INT_SRIGHT_-1204892021'), ('const-0', u'RETURN_-1204891513'), (u'INT_MULT_-1204892156', u'INT_ADD_-1204892168'), (u'LOAD_-1204892309', u'INT_ADD_-1204892138'), ('tmp_342', u'CBRANCH_-1204892112'), (u'COPY_-1204891503', u'MULTIEQUAL_-1204891598'), (u'COPY_-1204891695', u'RETURN_-1204891911'), (u'CAST_-1204891616', u'LOAD_-1204892303'), (u'INT_SUB_-1204892193', u'INT_ADD_-1204891977'), ('tmp_1872', u'INT_LESSEQUAL_-1204892210'), ('const-0', u'RETURN_-1204891519'), ('const-1', u'INT_SUB_-1204892193'), (u'COPY_-1204891543', u'RETURN_-1204891519'), (u'INT_ADD_-1204892182', u'MULTIEQUAL_-1204891674'), (u'INT_SRIGHT_-1204892021', u'INT_ADD_-1204891977'), ('const--1', u'COPY_-1204891854'), (u'CAST_-1204891412', u'INT_SUB_-1204891855'), (u'INT_NOTEQUAL_-1204892187', u'CBRANCH_-1204892186'), (u'INT_LESSEQUAL_-1204892210', u'CBRANCH_-1204892219'), ('tmp_1876', u'CALL_-1204892093'), (u'INT_SRIGHT_-1204891832', u'COPY_-1204891543'), ('tmp_583', u'CBRANCH_-1204891976'), ('const-1', u'PTRADD_-1204891508'), ('const--1', u'COPY_-1204891539'), (u'COPY_-1204891539', u'RETURN_-1204891515'), (u'INT_EQUAL_-1204891983', u'CBRANCH_-1204891976'), (u'LOAD_-1204892303', u'INT_LESS_-1204892244'), (u'COPY_-1204891854', u'COPY_-1204891504'), (u'INT_SUB_-1204892229', u'INT_ADD_-1204892182'), ('const-0', u'INT_NOTEQUAL_-1204892113'), (u'CALL_-1204892093', u'INT_EQUAL_-1204892079'), (u'INT_ADD_-1204892287', u'CAST_-1204891616'), ('tmp_1872', u'INT_LESS_-1204891988'), (u'INT_ADD_-1204892168', u'INT_SUB_-1204892044'), (u'LOAD_-1204892178', u'CALL_-1204892132'), (u'CAST_-1204891494', u'INT_SUB_-1204892044'), ('const--1', u'COPY_-1204891537'), (u'INT_ADD_-1204891977', u'INT_EQUAL_-1204891983'), ('tmp_146', u'CBRANCH_-1204892253'), ('tmp_1873', u'INT_LESSEQUAL_-1204891851'), (u'INT_ADD_-1204891977', u'MULTIEQUAL_-1204891674'), ('const-0', u'INT_EQUAL_-1204892284'), ('tmp_1873', u'INT_MULT_-1204892126'), ('const-0', u'INT_EQUAL_-1204892079'), ('const-4', u'INT_MULT_-1204892126'), ('tmp_209', u'CBRANCH_-1204892219'), ('tmp_1872', u'CALL_-1204892093'), (u'INT_SUB_-1204892229', u'INT_LESSEQUAL_-1204892210'), (u'CAST_-1204891547', u'MULTIEQUAL_-1204891678'), (u'CAST_-1204891490', u'INT_SRIGHT_-1204892021'), ('tmp_1873', u'INT_SUB_-1204892229'), (u'LOAD_-1204892303', u'INT_LESSEQUAL_-1204891851'), ('const-0', u'RETURN_-1204891911'), (u'INT_MULT_-1204892126', u'INT_ADD_-1204892138'), (u'LOAD_-1204892303', u'INT_SUB_-1204892229'), (u'INT_LESSEQUAL_-1204891851', u'CBRANCH_-1204891839'), ('tmp_265', u'CBRANCH_-1204892186'), ('tmp_111', u'CBRANCH_-1204892282'), (u'PTRADD_-1204891508', u'CAST_-1204891494'), ('const-433', u'LOAD_-1204892303'), ('const-433', u'LOAD_-1204892178'), (u'LOAD_-1204892309', u'INT_SUB_-1204891855'), (u'INT_ADD_-1204892138', u'CAST_-1204891547'), ('tmp_1873', u'INT_LESS_-1204892244'), ('const--1', u'COPY_-1204891695'), (u'CALL_-1204892132', u'CALL_-1204892093'), (u'CALL_-1204892132', u'INT_NOTEQUAL_-1204892113'), (u'INT_SUB_-1204892044', u'CAST_-1204891490'), (u'INT_EQUAL_-1204892079', u'CBRANCH_-1204892078'), ('const-0', u'RETURN_-1204891779'), ('const--24', u'INT_ADD_-1204892287'), ('tmp_382', u'CBRANCH_-1204892078'), (u'CALL_-1204892132', u'CAST_-1204891412'), (u'LOAD_-1204892309', u'INT_ADD_-1204892168'), (u'COPY_-1204891504', u'MULTIEQUAL_-1204891598'), (u'LOAD_-1204892309', u'INT_ADD_-1204892287'), (u'INT_NOTEQUAL_-1204892113', u'CBRANCH_-1204892112'), ('const-0', u'RETURN_-1204891515'), (u'INT_ADD_-1204892182', u'INT_NOTEQUAL_-1204892187')]
| null | null |
0031cd40
|
x64
|
O3
|
(translation_unit "ulong FUN_0031cd40(long *param_1,wchar_t *param_2,ulong param_3,ulong param_4)\n\n{\n wchar_t __c;\n long lVar1;\n ulong uVar2;\n int iVar3;\n wchar_t *pwVar4;\n ulong uVar5;\n size_t __n;\n \n lVar1 = *param_1;\n uVar2 = *(ulong *)(lVar1 + -0x18);\n if (param_4 == 0) {\n uVar5 = 0xffffffffffffffff;\n if (param_3 <= uVar2) {\n uVar5 = param_3;\n }\n return uVar5;\n }\n if ((param_3 < uVar2) && (param_4 <= uVar2 - param_3)) {\n __n = (uVar2 - param_3) + (1 - param_4);\n if (__n != 0) {\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }\n return 0xffffffffffffffff;\n}\n\n" (function_definition "ulong FUN_0031cd40(long *param_1,wchar_t *param_2,ulong param_3,ulong param_4)\n\n{\n wchar_t __c;\n long lVar1;\n ulong uVar2;\n int iVar3;\n wchar_t *pwVar4;\n ulong uVar5;\n size_t __n;\n \n lVar1 = *param_1;\n uVar2 = *(ulong *)(lVar1 + -0x18);\n if (param_4 == 0) {\n uVar5 = 0xffffffffffffffff;\n if (param_3 <= uVar2) {\n uVar5 = param_3;\n }\n return uVar5;\n }\n if ((param_3 < uVar2) && (param_4 <= uVar2 - param_3)) {\n __n = (uVar2 - param_3) + (1 - param_4);\n if (__n != 0) {\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }\n return 0xffffffffffffffff;\n}" type_identifier (function_declarator "FUN_0031cd40(long *param_1,wchar_t *param_2,ulong param_3,ulong param_4)" identifier (parameter_list "(long *param_1,wchar_t *param_2,ulong param_3,ulong param_4)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "wchar_t *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "ulong param_3" type_identifier identifier) , (parameter_declaration "ulong param_4" type_identifier identifier) ))) (compound_statement "{\n wchar_t __c;\n long lVar1;\n ulong uVar2;\n int iVar3;\n wchar_t *pwVar4;\n ulong uVar5;\n size_t __n;\n \n lVar1 = *param_1;\n uVar2 = *(ulong *)(lVar1 + -0x18);\n if (param_4 == 0) {\n uVar5 = 0xffffffffffffffff;\n if (param_3 <= uVar2) {\n uVar5 = param_3;\n }\n return uVar5;\n }\n if ((param_3 < uVar2) && (param_4 <= uVar2 - param_3)) {\n __n = (uVar2 - param_3) + (1 - param_4);\n if (__n != 0) {\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }\n return 0xffffffffffffffff;\n}" { (declaration "wchar_t __c;" type_identifier identifier ;) (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "wchar_t *pwVar4;" type_identifier (pointer_declarator "*pwVar4" * identifier) ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (expression_statement "lVar1 = *param_1;" (assignment_expression "lVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar2 = *(ulong *)(lVar1 + -0x18);" (assignment_expression "uVar2 = *(ulong *)(lVar1 + -0x18)" identifier = (pointer_expression "*(ulong *)(lVar1 + -0x18)" * (cast_expression "(ulong *)(lVar1 + -0x18)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) ;) (if_statement "if (param_4 == 0) {\n uVar5 = 0xffffffffffffffff;\n if (param_3 <= uVar2) {\n uVar5 = param_3;\n }\n return uVar5;\n }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n uVar5 = 0xffffffffffffffff;\n if (param_3 <= uVar2) {\n uVar5 = param_3;\n }\n return uVar5;\n }" { (expression_statement "uVar5 = 0xffffffffffffffff;" (assignment_expression "uVar5 = 0xffffffffffffffff" identifier = number_literal) ;) (if_statement "if (param_3 <= uVar2) {\n uVar5 = param_3;\n }" if (parenthesized_expression "(param_3 <= uVar2)" ( (binary_expression "param_3 <= uVar2" identifier <= identifier) )) (compound_statement "{\n uVar5 = param_3;\n }" { (expression_statement "uVar5 = param_3;" (assignment_expression "uVar5 = param_3" identifier = identifier) ;) })) (return_statement "return uVar5;" return identifier ;) })) (if_statement "if ((param_3 < uVar2) && (param_4 <= uVar2 - param_3)) {\n __n = (uVar2 - param_3) + (1 - param_4);\n if (__n != 0) {\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }" if (parenthesized_expression "((param_3 < uVar2) && (param_4 <= uVar2 - param_3))" ( (binary_expression "(param_3 < uVar2) && (param_4 <= uVar2 - param_3)" (parenthesized_expression "(param_3 < uVar2)" ( (binary_expression "param_3 < uVar2" identifier < identifier) )) && (parenthesized_expression "(param_4 <= uVar2 - param_3)" ( (binary_expression "param_4 <= uVar2 - param_3" identifier <= (binary_expression "uVar2 - param_3" identifier - identifier)) ))) )) (compound_statement "{\n __n = (uVar2 - param_3) + (1 - param_4);\n if (__n != 0) {\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }" { (expression_statement "__n = (uVar2 - param_3) + (1 - param_4);" (assignment_expression "__n = (uVar2 - param_3) + (1 - param_4)" identifier = (binary_expression "(uVar2 - param_3) + (1 - param_4)" (parenthesized_expression "(uVar2 - param_3)" ( (binary_expression "uVar2 - param_3" identifier - identifier) )) + (parenthesized_expression "(1 - param_4)" ( (binary_expression "1 - param_4" number_literal - identifier) )))) ;) (if_statement "if (__n != 0) {\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (compound_statement "{\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }" { (expression_statement "__c = *param_2;" (assignment_expression "__c = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);" (assignment_expression "pwVar4 = (wchar_t *)(lVar1 + param_3 * 4)" identifier = (cast_expression "(wchar_t *)(lVar1 + param_3 * 4)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + param_3 * 4)" ( (binary_expression "lVar1 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal)) )))) ;) (while_statement "while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }" while (parenthesized_expression "(pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0)" ( (comma_expression "pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0" (assignment_expression "pwVar4 = wmemchr(pwVar4,__c,__n)" identifier = (call_expression "wmemchr(pwVar4,__c,__n)" identifier (argument_list "(pwVar4,__c,__n)" ( identifier , identifier , identifier )))) , (binary_expression "pwVar4 != (wchar_t *)0x0" identifier != (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }" { (expression_statement "iVar3 = wmemcmp(pwVar4,param_2,param_4);" (assignment_expression "iVar3 = wmemcmp(pwVar4,param_2,param_4)" identifier = (call_expression "wmemcmp(pwVar4,param_2,param_4)" identifier (argument_list "(pwVar4,param_2,param_4)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n return (long)pwVar4 - lVar1 >> 2;\n }" { (return_statement "return (long)pwVar4 - lVar1 >> 2;" return (binary_expression "(long)pwVar4 - lVar1 >> 2" (binary_expression "(long)pwVar4 - lVar1" (cast_expression "(long)pwVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - identifier) >> number_literal) ;) })) (expression_statement "pwVar4 = pwVar4 + 1;" (assignment_expression "pwVar4 = pwVar4 + 1" identifier = (binary_expression "pwVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;" (assignment_expression "uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2" identifier = (binary_expression "(long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2" (cast_expression "(long)((lVar1 + uVar2 * 4) - (long)pwVar4)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "((lVar1 + uVar2 * 4) - (long)pwVar4)" ( (binary_expression "(lVar1 + uVar2 * 4) - (long)pwVar4" (parenthesized_expression "(lVar1 + uVar2 * 4)" ( (binary_expression "lVar1 + uVar2 * 4" identifier + (binary_expression "uVar2 * 4" identifier * number_literal)) )) - (cast_expression "(long)pwVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) >> number_literal)) ;) (if_statement "if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }" if (parenthesized_expression "(uVar5 < param_4)" ( (binary_expression "uVar5 < param_4" identifier < identifier) )) (compound_statement "{\n return 0xffffffffffffffff;\n }" { (return_statement "return 0xffffffffffffffff;" return number_literal ;) })) (expression_statement "__n = uVar5 + (1 - param_4);" (assignment_expression "__n = uVar5 + (1 - param_4)" identifier = (binary_expression "uVar5 + (1 - param_4)" identifier + (parenthesized_expression "(1 - param_4)" ( (binary_expression "1 - param_4" number_literal - identifier) )))) ;) (if_statement "if (__n == 0) {\n return 0xffffffffffffffff;\n }" if (parenthesized_expression "(__n == 0)" ( (binary_expression "__n == 0" identifier == number_literal) )) (compound_statement "{\n return 0xffffffffffffffff;\n }" { (return_statement "return 0xffffffffffffffff;" return number_literal ;) })) })) })) })) (return_statement "return 0xffffffffffffffff;" return number_literal ;) })))
|
(translation_unit "/* std::wstring::find(wchar_t const*, unsigned long, unsigned long) const */\n\nulong __thiscall std::wstring::find(wstring *this,wchar_t *param_1,ulong param_2,ulong param_3)\n\n{\n wchar_t __c;\n long lVar1;\n ulong uVar2;\n int iVar3;\n wchar_t *pwVar4;\n ulong uVar5;\n size_t __n;\n \n lVar1 = *(long *)this;\n uVar2 = *(ulong *)(lVar1 + -0x18);\n if (param_3 == 0) {\n uVar5 = 0xffffffffffffffff;\n if (param_2 <= uVar2) {\n uVar5 = param_2;\n }\n return uVar5;\n }\n if ((param_2 < uVar2) && (param_3 <= uVar2 - param_2)) {\n __n = (uVar2 - param_2) + (1 - param_3);\n if (__n != 0) {\n __c = *param_1;\n pwVar4 = (wchar_t *)(lVar1 + param_2 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_1,param_3);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_3) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_3);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }\n return 0xffffffffffffffff;\n}\n\n" comment (function_definition "ulong __thiscall std::wstring::find(wstring *this,wchar_t *param_1,ulong param_2,ulong param_3)\n\n{\n wchar_t __c;\n long lVar1;\n ulong uVar2;\n int iVar3;\n wchar_t *pwVar4;\n ulong uVar5;\n size_t __n;\n \n lVar1 = *(long *)this;\n uVar2 = *(ulong *)(lVar1 + -0x18);\n if (param_3 == 0) {\n uVar5 = 0xffffffffffffffff;\n if (param_2 <= uVar2) {\n uVar5 = param_2;\n }\n return uVar5;\n }\n if ((param_2 < uVar2) && (param_3 <= uVar2 - param_2)) {\n __n = (uVar2 - param_2) + (1 - param_3);\n if (__n != 0) {\n __c = *param_1;\n pwVar4 = (wchar_t *)(lVar1 + param_2 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_1,param_3);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_3) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_3);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }\n return 0xffffffffffffffff;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wstring::" identifier : : identifier : :) (function_declarator "find(wstring *this,wchar_t *param_1,ulong param_2,ulong param_3)" identifier (parameter_list "(wstring *this,wchar_t *param_1,ulong param_2,ulong param_3)" ( (parameter_declaration "wstring *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wchar_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ulong param_2" type_identifier identifier) , (parameter_declaration "ulong param_3" type_identifier identifier) ))) (compound_statement "{\n wchar_t __c;\n long lVar1;\n ulong uVar2;\n int iVar3;\n wchar_t *pwVar4;\n ulong uVar5;\n size_t __n;\n \n lVar1 = *(long *)this;\n uVar2 = *(ulong *)(lVar1 + -0x18);\n if (param_3 == 0) {\n uVar5 = 0xffffffffffffffff;\n if (param_2 <= uVar2) {\n uVar5 = param_2;\n }\n return uVar5;\n }\n if ((param_2 < uVar2) && (param_3 <= uVar2 - param_2)) {\n __n = (uVar2 - param_2) + (1 - param_3);\n if (__n != 0) {\n __c = *param_1;\n pwVar4 = (wchar_t *)(lVar1 + param_2 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_1,param_3);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_3) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_3);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }\n return 0xffffffffffffffff;\n}" { (declaration "wchar_t __c;" type_identifier identifier ;) (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "wchar_t *pwVar4;" type_identifier (pointer_declarator "*pwVar4" * identifier) ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (expression_statement "lVar1 = *(long *)this;" (assignment_expression "lVar1 = *(long *)this" identifier = (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar2 = *(ulong *)(lVar1 + -0x18);" (assignment_expression "uVar2 = *(ulong *)(lVar1 + -0x18)" identifier = (pointer_expression "*(ulong *)(lVar1 + -0x18)" * (cast_expression "(ulong *)(lVar1 + -0x18)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) ;) (if_statement "if (param_3 == 0) {\n uVar5 = 0xffffffffffffffff;\n if (param_2 <= uVar2) {\n uVar5 = param_2;\n }\n return uVar5;\n }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n uVar5 = 0xffffffffffffffff;\n if (param_2 <= uVar2) {\n uVar5 = param_2;\n }\n return uVar5;\n }" { (expression_statement "uVar5 = 0xffffffffffffffff;" (assignment_expression "uVar5 = 0xffffffffffffffff" identifier = number_literal) ;) (if_statement "if (param_2 <= uVar2) {\n uVar5 = param_2;\n }" if (parenthesized_expression "(param_2 <= uVar2)" ( (binary_expression "param_2 <= uVar2" identifier <= identifier) )) (compound_statement "{\n uVar5 = param_2;\n }" { (expression_statement "uVar5 = param_2;" (assignment_expression "uVar5 = param_2" identifier = identifier) ;) })) (return_statement "return uVar5;" return identifier ;) })) (if_statement "if ((param_2 < uVar2) && (param_3 <= uVar2 - param_2)) {\n __n = (uVar2 - param_2) + (1 - param_3);\n if (__n != 0) {\n __c = *param_1;\n pwVar4 = (wchar_t *)(lVar1 + param_2 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_1,param_3);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_3) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_3);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }" if (parenthesized_expression "((param_2 < uVar2) && (param_3 <= uVar2 - param_2))" ( (binary_expression "(param_2 < uVar2) && (param_3 <= uVar2 - param_2)" (parenthesized_expression "(param_2 < uVar2)" ( (binary_expression "param_2 < uVar2" identifier < identifier) )) && (parenthesized_expression "(param_3 <= uVar2 - param_2)" ( (binary_expression "param_3 <= uVar2 - param_2" identifier <= (binary_expression "uVar2 - param_2" identifier - identifier)) ))) )) (compound_statement "{\n __n = (uVar2 - param_2) + (1 - param_3);\n if (__n != 0) {\n __c = *param_1;\n pwVar4 = (wchar_t *)(lVar1 + param_2 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_1,param_3);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_3) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_3);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }" { (expression_statement "__n = (uVar2 - param_2) + (1 - param_3);" (assignment_expression "__n = (uVar2 - param_2) + (1 - param_3)" identifier = (binary_expression "(uVar2 - param_2) + (1 - param_3)" (parenthesized_expression "(uVar2 - param_2)" ( (binary_expression "uVar2 - param_2" identifier - identifier) )) + (parenthesized_expression "(1 - param_3)" ( (binary_expression "1 - param_3" number_literal - identifier) )))) ;) (if_statement "if (__n != 0) {\n __c = *param_1;\n pwVar4 = (wchar_t *)(lVar1 + param_2 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_1,param_3);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_3) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_3);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (compound_statement "{\n __c = *param_1;\n pwVar4 = (wchar_t *)(lVar1 + param_2 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_1,param_3);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_3) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_3);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }" { (expression_statement "__c = *param_1;" (assignment_expression "__c = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pwVar4 = (wchar_t *)(lVar1 + param_2 * 4);" (assignment_expression "pwVar4 = (wchar_t *)(lVar1 + param_2 * 4)" identifier = (cast_expression "(wchar_t *)(lVar1 + param_2 * 4)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + param_2 * 4)" ( (binary_expression "lVar1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) )))) ;) (while_statement "while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_1,param_3);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_3) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_3);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }" while (parenthesized_expression "(pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0)" ( (comma_expression "pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0" (assignment_expression "pwVar4 = wmemchr(pwVar4,__c,__n)" identifier = (call_expression "wmemchr(pwVar4,__c,__n)" identifier (argument_list "(pwVar4,__c,__n)" ( identifier , identifier , identifier )))) , (binary_expression "pwVar4 != (wchar_t *)0x0" identifier != (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n iVar3 = wmemcmp(pwVar4,param_1,param_3);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_3) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_3);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }" { (expression_statement "iVar3 = wmemcmp(pwVar4,param_1,param_3);" (assignment_expression "iVar3 = wmemcmp(pwVar4,param_1,param_3)" identifier = (call_expression "wmemcmp(pwVar4,param_1,param_3)" identifier (argument_list "(pwVar4,param_1,param_3)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n return (long)pwVar4 - lVar1 >> 2;\n }" { (return_statement "return (long)pwVar4 - lVar1 >> 2;" return (binary_expression "(long)pwVar4 - lVar1 >> 2" (binary_expression "(long)pwVar4 - lVar1" (cast_expression "(long)pwVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - identifier) >> number_literal) ;) })) (expression_statement "pwVar4 = pwVar4 + 1;" (assignment_expression "pwVar4 = pwVar4 + 1" identifier = (binary_expression "pwVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;" (assignment_expression "uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2" identifier = (binary_expression "(long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2" (cast_expression "(long)((lVar1 + uVar2 * 4) - (long)pwVar4)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "((lVar1 + uVar2 * 4) - (long)pwVar4)" ( (binary_expression "(lVar1 + uVar2 * 4) - (long)pwVar4" (parenthesized_expression "(lVar1 + uVar2 * 4)" ( (binary_expression "lVar1 + uVar2 * 4" identifier + (binary_expression "uVar2 * 4" identifier * number_literal)) )) - (cast_expression "(long)pwVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) >> number_literal)) ;) (if_statement "if (uVar5 < param_3) {\n return 0xffffffffffffffff;\n }" if (parenthesized_expression "(uVar5 < param_3)" ( (binary_expression "uVar5 < param_3" identifier < identifier) )) (compound_statement "{\n return 0xffffffffffffffff;\n }" { (return_statement "return 0xffffffffffffffff;" return number_literal ;) })) (expression_statement "__n = uVar5 + (1 - param_3);" (assignment_expression "__n = uVar5 + (1 - param_3)" identifier = (binary_expression "uVar5 + (1 - param_3)" identifier + (parenthesized_expression "(1 - param_3)" ( (binary_expression "1 - param_3" number_literal - identifier) )))) ;) (if_statement "if (__n == 0) {\n return 0xffffffffffffffff;\n }" if (parenthesized_expression "(__n == 0)" ( (binary_expression "__n == 0" identifier == number_literal) )) (compound_statement "{\n return 0xffffffffffffffff;\n }" { (return_statement "return 0xffffffffffffffff;" return number_literal ;) })) })) })) })) (return_statement "return 0xffffffffffffffff;" return number_literal ;) })))
|
(translation_unit "ulong FUN_0031cd40(long *param_1,wchar_t *param_2,ulong param_3,ulong param_4)\n\n{\n wchar_t __c;\n long lVar1;\n ulong uVar2;\n int iVar3;\n wchar_t *pwVar4;\n ulong uVar5;\n size_t __n;\n \n lVar1 = *param_1;\n uVar2 = *(ulong *)(lVar1 + -0x18);\n if (param_4 == 0) {\n uVar5 = 0xffffffffffffffff;\n if (param_3 <= uVar2) {\n uVar5 = param_3;\n }\n return uVar5;\n }\n if ((param_3 < uVar2) && (param_4 <= uVar2 - param_3)) {\n __n = (uVar2 - param_3) + (1 - param_4);\n if (__n != 0) {\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }\n return 0xffffffffffffffff;\n}\n\n" (function_definition "ulong FUN_0031cd40(long *param_1,wchar_t *param_2,ulong param_3,ulong param_4)\n\n{\n wchar_t __c;\n long lVar1;\n ulong uVar2;\n int iVar3;\n wchar_t *pwVar4;\n ulong uVar5;\n size_t __n;\n \n lVar1 = *param_1;\n uVar2 = *(ulong *)(lVar1 + -0x18);\n if (param_4 == 0) {\n uVar5 = 0xffffffffffffffff;\n if (param_3 <= uVar2) {\n uVar5 = param_3;\n }\n return uVar5;\n }\n if ((param_3 < uVar2) && (param_4 <= uVar2 - param_3)) {\n __n = (uVar2 - param_3) + (1 - param_4);\n if (__n != 0) {\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }\n return 0xffffffffffffffff;\n}" type_identifier (function_declarator "FUN_0031cd40(long *param_1,wchar_t *param_2,ulong param_3,ulong param_4)" identifier (parameter_list "(long *param_1,wchar_t *param_2,ulong param_3,ulong param_4)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "wchar_t *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "ulong param_3" type_identifier identifier) , (parameter_declaration "ulong param_4" type_identifier identifier) ))) (compound_statement "{\n wchar_t __c;\n long lVar1;\n ulong uVar2;\n int iVar3;\n wchar_t *pwVar4;\n ulong uVar5;\n size_t __n;\n \n lVar1 = *param_1;\n uVar2 = *(ulong *)(lVar1 + -0x18);\n if (param_4 == 0) {\n uVar5 = 0xffffffffffffffff;\n if (param_3 <= uVar2) {\n uVar5 = param_3;\n }\n return uVar5;\n }\n if ((param_3 < uVar2) && (param_4 <= uVar2 - param_3)) {\n __n = (uVar2 - param_3) + (1 - param_4);\n if (__n != 0) {\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }\n return 0xffffffffffffffff;\n}" { (declaration "wchar_t __c;" type_identifier identifier ;) (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "wchar_t *pwVar4;" type_identifier (pointer_declarator "*pwVar4" * identifier) ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (expression_statement "lVar1 = *param_1;" (assignment_expression "lVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar2 = *(ulong *)(lVar1 + -0x18);" (assignment_expression "uVar2 = *(ulong *)(lVar1 + -0x18)" identifier = (pointer_expression "*(ulong *)(lVar1 + -0x18)" * (cast_expression "(ulong *)(lVar1 + -0x18)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) ;) (if_statement "if (param_4 == 0) {\n uVar5 = 0xffffffffffffffff;\n if (param_3 <= uVar2) {\n uVar5 = param_3;\n }\n return uVar5;\n }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n uVar5 = 0xffffffffffffffff;\n if (param_3 <= uVar2) {\n uVar5 = param_3;\n }\n return uVar5;\n }" { (expression_statement "uVar5 = 0xffffffffffffffff;" (assignment_expression "uVar5 = 0xffffffffffffffff" identifier = number_literal) ;) (if_statement "if (param_3 <= uVar2) {\n uVar5 = param_3;\n }" if (parenthesized_expression "(param_3 <= uVar2)" ( (binary_expression "param_3 <= uVar2" identifier <= identifier) )) (compound_statement "{\n uVar5 = param_3;\n }" { (expression_statement "uVar5 = param_3;" (assignment_expression "uVar5 = param_3" identifier = identifier) ;) })) (return_statement "return uVar5;" return identifier ;) })) (if_statement "if ((param_3 < uVar2) && (param_4 <= uVar2 - param_3)) {\n __n = (uVar2 - param_3) + (1 - param_4);\n if (__n != 0) {\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }" if (parenthesized_expression "((param_3 < uVar2) && (param_4 <= uVar2 - param_3))" ( (binary_expression "(param_3 < uVar2) && (param_4 <= uVar2 - param_3)" (parenthesized_expression "(param_3 < uVar2)" ( (binary_expression "param_3 < uVar2" identifier < identifier) )) && (parenthesized_expression "(param_4 <= uVar2 - param_3)" ( (binary_expression "param_4 <= uVar2 - param_3" identifier <= (binary_expression "uVar2 - param_3" identifier - identifier)) ))) )) (compound_statement "{\n __n = (uVar2 - param_3) + (1 - param_4);\n if (__n != 0) {\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }" { (expression_statement "__n = (uVar2 - param_3) + (1 - param_4);" (assignment_expression "__n = (uVar2 - param_3) + (1 - param_4)" identifier = (binary_expression "(uVar2 - param_3) + (1 - param_4)" (parenthesized_expression "(uVar2 - param_3)" ( (binary_expression "uVar2 - param_3" identifier - identifier) )) + (parenthesized_expression "(1 - param_4)" ( (binary_expression "1 - param_4" number_literal - identifier) )))) ;) (if_statement "if (__n != 0) {\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (compound_statement "{\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }" { (expression_statement "__c = *param_2;" (assignment_expression "__c = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);" (assignment_expression "pwVar4 = (wchar_t *)(lVar1 + param_3 * 4)" identifier = (cast_expression "(wchar_t *)(lVar1 + param_3 * 4)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + param_3 * 4)" ( (binary_expression "lVar1 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal)) )))) ;) (while_statement "while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }" while (parenthesized_expression "(pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0)" ( (comma_expression "pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0" (assignment_expression "pwVar4 = wmemchr(pwVar4,__c,__n)" identifier = (call_expression "wmemchr(pwVar4,__c,__n)" identifier (argument_list "(pwVar4,__c,__n)" ( identifier , identifier , identifier )))) , (binary_expression "pwVar4 != (wchar_t *)0x0" identifier != (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }" { (expression_statement "iVar3 = wmemcmp(pwVar4,param_2,param_4);" (assignment_expression "iVar3 = wmemcmp(pwVar4,param_2,param_4)" identifier = (call_expression "wmemcmp(pwVar4,param_2,param_4)" identifier (argument_list "(pwVar4,param_2,param_4)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n return (long)pwVar4 - lVar1 >> 2;\n }" { (return_statement "return (long)pwVar4 - lVar1 >> 2;" return (binary_expression "(long)pwVar4 - lVar1 >> 2" (binary_expression "(long)pwVar4 - lVar1" (cast_expression "(long)pwVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - identifier) >> number_literal) ;) })) (expression_statement "pwVar4 = pwVar4 + 1;" (assignment_expression "pwVar4 = pwVar4 + 1" identifier = (binary_expression "pwVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;" (assignment_expression "uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2" identifier = (binary_expression "(long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2" (cast_expression "(long)((lVar1 + uVar2 * 4) - (long)pwVar4)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "((lVar1 + uVar2 * 4) - (long)pwVar4)" ( (binary_expression "(lVar1 + uVar2 * 4) - (long)pwVar4" (parenthesized_expression "(lVar1 + uVar2 * 4)" ( (binary_expression "lVar1 + uVar2 * 4" identifier + (binary_expression "uVar2 * 4" identifier * number_literal)) )) - (cast_expression "(long)pwVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) >> number_literal)) ;) (if_statement "if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }" if (parenthesized_expression "(uVar5 < param_4)" ( (binary_expression "uVar5 < param_4" identifier < identifier) )) (compound_statement "{\n return 0xffffffffffffffff;\n }" { (return_statement "return 0xffffffffffffffff;" return number_literal ;) })) (expression_statement "__n = uVar5 + (1 - param_4);" (assignment_expression "__n = uVar5 + (1 - param_4)" identifier = (binary_expression "uVar5 + (1 - param_4)" identifier + (parenthesized_expression "(1 - param_4)" ( (binary_expression "1 - param_4" number_literal - identifier) )))) ;) (if_statement "if (__n == 0) {\n return 0xffffffffffffffff;\n }" if (parenthesized_expression "(__n == 0)" ( (binary_expression "__n == 0" identifier == number_literal) )) (compound_statement "{\n return 0xffffffffffffffff;\n }" { (return_statement "return 0xffffffffffffffff;" return number_literal ;) })) })) })) })) (return_statement "return 0xffffffffffffffff;" return number_literal ;) })))
|
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * 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 { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (binary_expression IDENT <= (binary_expression IDENT - IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + (parenthesized_expression ( (binary_expression LIT - IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - IDENT) >> LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ))) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT - IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) })) })) })) (return_statement return LIT ;) })))
|
(function_definition "ulong FUN_0031cd40(long *param_1,wchar_t *param_2,ulong param_3,ulong param_4)\n\n{\n wchar_t __c;\n long lVar1;\n ulong uVar2;\n int iVar3;\n wchar_t *pwVar4;\n ulong uVar5;\n size_t __n;\n \n lVar1 = *param_1;\n uVar2 = *(ulong *)(lVar1 + -0x18);\n if (param_4 == 0) {\n uVar5 = 0xffffffffffffffff;\n if (param_3 <= uVar2) {\n uVar5 = param_3;\n }\n return uVar5;\n }\n if ((param_3 < uVar2) && (param_4 <= uVar2 - param_3)) {\n __n = (uVar2 - param_3) + (1 - param_4);\n if (__n != 0) {\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }\n return 0xffffffffffffffff;\n}" (type_identifier "ulong") (function_declarator "FUN_0031cd40(long *param_1,wchar_t *param_2,ulong param_3,ulong param_4)" (identifier "FUN_0031cd40") (parameter_list "(long *param_1,wchar_t *param_2,ulong param_3,ulong param_4)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "wchar_t *param_2" (type_identifier "wchar_t") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "ulong param_3" (type_identifier "ulong") (identifier "param_3")) (, ",") (parameter_declaration "ulong param_4" (type_identifier "ulong") (identifier "param_4")) () ")"))) (compound_statement "{\n wchar_t __c;\n long lVar1;\n ulong uVar2;\n int iVar3;\n wchar_t *pwVar4;\n ulong uVar5;\n size_t __n;\n \n lVar1 = *param_1;\n uVar2 = *(ulong *)(lVar1 + -0x18);\n if (param_4 == 0) {\n uVar5 = 0xffffffffffffffff;\n if (param_3 <= uVar2) {\n uVar5 = param_3;\n }\n return uVar5;\n }\n if ((param_3 < uVar2) && (param_4 <= uVar2 - param_3)) {\n __n = (uVar2 - param_3) + (1 - param_4);\n if (__n != 0) {\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }\n return 0xffffffffffffffff;\n}" ({ "{") (declaration "wchar_t __c;" (type_identifier "wchar_t") (identifier "__c") (; ";")) (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "wchar_t *pwVar4;" (type_identifier "wchar_t") (pointer_declarator "*pwVar4" (* "*") (identifier "pwVar4")) (; ";")) (declaration "ulong uVar5;" (type_identifier "ulong") (identifier "uVar5") (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (expression_statement "lVar1 = *param_1;" (assignment_expression "lVar1 = *param_1" (identifier "lVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar2 = *(ulong *)(lVar1 + -0x18);" (assignment_expression "uVar2 = *(ulong *)(lVar1 + -0x18)" (identifier "uVar2") (= "=") (pointer_expression "*(ulong *)(lVar1 + -0x18)" (* "*") (cast_expression "(ulong *)(lVar1 + -0x18)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + -0x18)" (( "(") (binary_expression "lVar1 + -0x18" (identifier "lVar1") (+ "+") (number_literal "-0x18")) () ")"))))) (; ";")) (if_statement "if (param_4 == 0) {\n uVar5 = 0xffffffffffffffff;\n if (param_3 <= uVar2) {\n uVar5 = param_3;\n }\n return uVar5;\n }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n uVar5 = 0xffffffffffffffff;\n if (param_3 <= uVar2) {\n uVar5 = param_3;\n }\n return uVar5;\n }" ({ "{") (expression_statement "uVar5 = 0xffffffffffffffff;" (assignment_expression "uVar5 = 0xffffffffffffffff" (identifier "uVar5") (= "=") (number_literal "0xffffffffffffffff")) (; ";")) (if_statement "if (param_3 <= uVar2) {\n uVar5 = param_3;\n }" (if "if") (parenthesized_expression "(param_3 <= uVar2)" (( "(") (binary_expression "param_3 <= uVar2" (identifier "param_3") (<= "<=") (identifier "uVar2")) () ")")) (compound_statement "{\n uVar5 = param_3;\n }" ({ "{") (expression_statement "uVar5 = param_3;" (assignment_expression "uVar5 = param_3" (identifier "uVar5") (= "=") (identifier "param_3")) (; ";")) (} "}"))) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}"))) (if_statement "if ((param_3 < uVar2) && (param_4 <= uVar2 - param_3)) {\n __n = (uVar2 - param_3) + (1 - param_4);\n if (__n != 0) {\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }" (if "if") (parenthesized_expression "((param_3 < uVar2) && (param_4 <= uVar2 - param_3))" (( "(") (binary_expression "(param_3 < uVar2) && (param_4 <= uVar2 - param_3)" (parenthesized_expression "(param_3 < uVar2)" (( "(") (binary_expression "param_3 < uVar2" (identifier "param_3") (< "<") (identifier "uVar2")) () ")")) (&& "&&") (parenthesized_expression "(param_4 <= uVar2 - param_3)" (( "(") (binary_expression "param_4 <= uVar2 - param_3" (identifier "param_4") (<= "<=") (binary_expression "uVar2 - param_3" (identifier "uVar2") (- "-") (identifier "param_3"))) () ")"))) () ")")) (compound_statement "{\n __n = (uVar2 - param_3) + (1 - param_4);\n if (__n != 0) {\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }\n }" ({ "{") (expression_statement "__n = (uVar2 - param_3) + (1 - param_4);" (assignment_expression "__n = (uVar2 - param_3) + (1 - param_4)" (identifier "__n") (= "=") (binary_expression "(uVar2 - param_3) + (1 - param_4)" (parenthesized_expression "(uVar2 - param_3)" (( "(") (binary_expression "uVar2 - param_3" (identifier "uVar2") (- "-") (identifier "param_3")) () ")")) (+ "+") (parenthesized_expression "(1 - param_4)" (( "(") (binary_expression "1 - param_4" (number_literal "1") (- "-") (identifier "param_4")) () ")")))) (; ";")) (if_statement "if (__n != 0) {\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }" (if "if") (parenthesized_expression "(__n != 0)" (( "(") (binary_expression "__n != 0" (identifier "__n") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n __c = *param_2;\n pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);\n while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }\n }" ({ "{") (expression_statement "__c = *param_2;" (assignment_expression "__c = *param_2" (identifier "__c") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);" (assignment_expression "pwVar4 = (wchar_t *)(lVar1 + param_3 * 4)" (identifier "pwVar4") (= "=") (cast_expression "(wchar_t *)(lVar1 + param_3 * 4)" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + param_3 * 4)" (( "(") (binary_expression "lVar1 + param_3 * 4" (identifier "lVar1") (+ "+") (binary_expression "param_3 * 4" (identifier "param_3") (* "*") (number_literal "4"))) () ")")))) (; ";")) (while_statement "while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }" (while "while") (parenthesized_expression "(pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0)" (( "(") (comma_expression "pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0" (assignment_expression "pwVar4 = wmemchr(pwVar4,__c,__n)" (identifier "pwVar4") (= "=") (call_expression "wmemchr(pwVar4,__c,__n)" (identifier "wmemchr") (argument_list "(pwVar4,__c,__n)" (( "(") (identifier "pwVar4") (, ",") (identifier "__c") (, ",") (identifier "__n") () ")")))) (, ",") (binary_expression "pwVar4 != (wchar_t *)0x0" (identifier "pwVar4") (!= "!=") (cast_expression "(wchar_t *)0x0" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")")) (compound_statement "{\n iVar3 = wmemcmp(pwVar4,param_2,param_4);\n if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }\n pwVar4 = pwVar4 + 1;\n uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;\n if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }\n __n = uVar5 + (1 - param_4);\n if (__n == 0) {\n return 0xffffffffffffffff;\n }\n }" ({ "{") (expression_statement "iVar3 = wmemcmp(pwVar4,param_2,param_4);" (assignment_expression "iVar3 = wmemcmp(pwVar4,param_2,param_4)" (identifier "iVar3") (= "=") (call_expression "wmemcmp(pwVar4,param_2,param_4)" (identifier "wmemcmp") (argument_list "(pwVar4,param_2,param_4)" (( "(") (identifier "pwVar4") (, ",") (identifier "param_2") (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n return (long)pwVar4 - lVar1 >> 2;\n }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n return (long)pwVar4 - lVar1 >> 2;\n }" ({ "{") (return_statement "return (long)pwVar4 - lVar1 >> 2;" (return "return") (binary_expression "(long)pwVar4 - lVar1 >> 2" (binary_expression "(long)pwVar4 - lVar1" (cast_expression "(long)pwVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pwVar4")) (- "-") (identifier "lVar1")) (>> ">>") (number_literal "2")) (; ";")) (} "}"))) (expression_statement "pwVar4 = pwVar4 + 1;" (assignment_expression "pwVar4 = pwVar4 + 1" (identifier "pwVar4") (= "=") (binary_expression "pwVar4 + 1" (identifier "pwVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;" (assignment_expression "uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2" (identifier "uVar5") (= "=") (binary_expression "(long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2" (cast_expression "(long)((lVar1 + uVar2 * 4) - (long)pwVar4)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "((lVar1 + uVar2 * 4) - (long)pwVar4)" (( "(") (binary_expression "(lVar1 + uVar2 * 4) - (long)pwVar4" (parenthesized_expression "(lVar1 + uVar2 * 4)" (( "(") (binary_expression "lVar1 + uVar2 * 4" (identifier "lVar1") (+ "+") (binary_expression "uVar2 * 4" (identifier "uVar2") (* "*") (number_literal "4"))) () ")")) (- "-") (cast_expression "(long)pwVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pwVar4"))) () ")"))) (>> ">>") (number_literal "2"))) (; ";")) (if_statement "if (uVar5 < param_4) {\n return 0xffffffffffffffff;\n }" (if "if") (parenthesized_expression "(uVar5 < param_4)" (( "(") (binary_expression "uVar5 < param_4" (identifier "uVar5") (< "<") (identifier "param_4")) () ")")) (compound_statement "{\n return 0xffffffffffffffff;\n }" ({ "{") (return_statement "return 0xffffffffffffffff;" (return "return") (number_literal "0xffffffffffffffff") (; ";")) (} "}"))) (expression_statement "__n = uVar5 + (1 - param_4);" (assignment_expression "__n = uVar5 + (1 - param_4)" (identifier "__n") (= "=") (binary_expression "uVar5 + (1 - param_4)" (identifier "uVar5") (+ "+") (parenthesized_expression "(1 - param_4)" (( "(") (binary_expression "1 - param_4" (number_literal "1") (- "-") (identifier "param_4")) () ")")))) (; ";")) (if_statement "if (__n == 0) {\n return 0xffffffffffffffff;\n }" (if "if") (parenthesized_expression "(__n == 0)" (( "(") (binary_expression "__n == 0" (identifier "__n") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n return 0xffffffffffffffff;\n }" ({ "{") (return_statement "return 0xffffffffffffffff;" (return "return") (number_literal "0xffffffffffffffff") (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (return_statement "return 0xffffffffffffffff;" (return "return") (number_literal "0xffffffffffffffff") (; ";")) (} "}")))
|
/* std::wstring::find(wchar_t const*, unsigned long, unsigned long) const */
type_1 __thiscall std::type_2::function_1(type_2 *this,type_3 *param_1,type_1 var_3,type_1 var_2)
{
type_3 __c;
long var_1;
type_1 var_4;
int var_9;
type_3 *var_7;
type_1 var_10;
size_t var_5;
var_1 = *(long *)this;
var_4 = *(type_1 *)(var_1 + -0x18);
if (var_2 == 0) {
var_10 = 0xffffffffffffffff;
if (var_3 <= var_4) {
var_10 = var_3;
}
return var_10;
}
if ((var_3 < var_4) && (var_2 <= var_4 - var_3)) {
var_5 = (var_4 - var_3) + (1 - var_2);
if (var_5 != 0) {
__c = *param_1;
var_7 = (type_3 *)(var_1 + var_3 * 4);
while (var_7 = var_6(var_7,__c,var_5), var_7 != (type_3 *)0x0) {
var_9 = var_8(var_7,param_1,var_2);
if (var_9 == 0) {
return (long)var_7 - var_1 >> 2;
}
var_7 = var_7 + 1;
var_10 = (long)((var_1 + var_4 * 4) - (long)var_7) >> 2;
if (var_10 < var_2) {
return 0xffffffffffffffff;
}
var_5 = var_10 + (1 - var_2);
if (var_5 == 0) {
return 0xffffffffffffffff;
}
}
}
}
return 0xffffffffffffffff;
}
| null |
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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 (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (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: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (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: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier))))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))))))))) (return_statement (number_literal)))))
| null |
ulong MASKED(long *param_1,wchar_t *param_2,ulong param_3,ulong param_4)
{
wchar_t __c;
long lVar1;
ulong uVar2;
int iVar3;
wchar_t *pwVar4;
ulong uVar5;
size_t __n;
lVar1 = *param_1;
uVar2 = *(ulong *)(lVar1 + -0x18);
if (param_4 == 0) {
uVar5 = 0xffffffffffffffff;
if (param_3 <= uVar2) {
uVar5 = param_3;
}
return uVar5;
}
if ((param_3 < uVar2) && (param_4 <= uVar2 - param_3)) {
__n = (uVar2 - param_3) + (1 - param_4);
if (__n != 0) {
__c = *param_2;
pwVar4 = (wchar_t *)(lVar1 + param_3 * 4);
while (pwVar4 = wmemchr(pwVar4,__c,__n), pwVar4 != (wchar_t *)0x0) {
iVar3 = wmemcmp(pwVar4,param_2,param_4);
if (iVar3 == 0) {
return (long)pwVar4 - lVar1 >> 2;
}
pwVar4 = pwVar4 + 1;
uVar5 = (long)((lVar1 + uVar2 * 4) - (long)pwVar4) >> 2;
if (uVar5 < param_4) {
return 0xffffffffffffffff;
}
__n = uVar5 + (1 - param_4);
if (__n == 0) {
return 0xffffffffffffffff;
}
}
}
}
return 0xffffffffffffffff;
}
|
6472_s390x-linux-gnu-dwp_and_s390x-linux-gnu-dwp_strip.c
|
define_default_version<32,_false>
|
FUN_0027a710
| "\n/* WARNING: Enum \"DT\": Some values do not have unique names */\n/* DWARF original name: define_(...TRUNCATED)
| "\nvoid FUN_0027a710(undefined8 param_1,long param_2,char param_3,long param_4)\n\n{\n char cVar1;\(...TRUNCATED)
| "TEST DL,DL\nJZ 0x0027a720\nMOV qword ptr [RCX + 0x18],RSI\nOR byte ptr [RSI + 0x3a],0x8\nRET\nMOV R(...TRUNCATED)
| null | null | null | null | "[('const-433', u'LOAD_-1204246742'), (u'LOAD_-1204245966', u'INT_OR_-1204245939'), (u'LOAD_-1204245(...TRUNCATED)
| "[(u'LOAD_-1204245966', u'INT_OR_-1204245939'), (u'LOAD_-1204245921', u'INT_NOTEQUAL_-1204245901'), (...TRUNCATED)
| null | null |
0027a710
|
x64
|
O3
| "(translation_unit \"void FUN_0027a710(undefined8 param_1,long param_2,char param_3,long param_4)\\n(...TRUNCATED)
| "(translation_unit \"/* WARNING: Enum \"DT\": Some values do not have unique names */\\n/* DWARF ori(...TRUNCATED)
| "(translation_unit \"void FUN_0027a710(undefined8 param_1,long param_2,char param_3,long param_4)\\n(...TRUNCATED)
| "(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter(...TRUNCATED)
| "(function_definition \"void FUN_0027a710(undefined8 param_1,long param_2,char param_3,long param_4)(...TRUNCATED)
| "\n/* WARNING: Enum \"DT\": Some values do not have unique names */\n/* DWARF original name: define_(...TRUNCATED)
| null | "(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator decl(...TRUNCATED)
| null | "\nvoid MASKED(undefined8 param_1,long param_2,char param_3,long param_4)\n\n{\n char cVar1;\n lon(...TRUNCATED)
|
4103_sparc64-linux-gnu-dwp_and_sparc64-linux-gnu-dwp_strip.c
|
do_is_string
|
FUN_001fd3b0
| "\n/* DWARF original prototype: bool do_is_string(Output_merge_string<char> * this) */\n\nbool __thi(...TRUNCATED)
|
undefined8 FUN_001fd3b0(void)
{
return 1;
}
|
MOV EAX,0x1
RET
| null | null | null | null | "[('const-0', u'RETURN_-1207905342'), (u'COPY_-1207905349', u'RETURN_-1207905342'), ('const-1', u'CO(...TRUNCATED)
| "[('const-0', u'RETURN_-1207905342'), (u'COPY_-1207905359', u'RETURN_-1207905342'), ('const-1', u'CO(...TRUNCATED)
| null | null |
001fd3b0
|
x64
|
O3
| "(translation_unit \"undefined8 FUN_001fd3b0(void)\\n\\n{\\n return 1;\\n}\\n\\n\" (function_defini(...TRUNCATED)
| "(translation_unit \"/* DWARF original prototype: bool do_is_string(Output_merge_string<char> * this(...TRUNCATED)
| "(translation_unit \"undefined8 FUN_001fd3b0(void)\\n\\n{\\n return 1;\\n}\\n\\n\" (function_defini(...TRUNCATED)
| "(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter(...TRUNCATED)
| "(function_definition \"undefined8 FUN_001fd3b0(void)\\n\\n{\\n return 1;\\n}\" (type_identifier \"(...TRUNCATED)
| "\n/* DWARF original prototype: bool do_is_string(Output_merge_string<char> * this) */\n\nbool __thi(...TRUNCATED)
| null | "(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator dec(...TRUNCATED)
| null |
undefined8 MASKED(void)
{
return 1;
}
|
5648_powerpc64-linux-gnu-dwp_and_powerpc64-linux-gnu-dwp_strip.c
|
~Read_script
|
FUN_0023f4e0
| "\n/* WARNING: Enum \"DT\": Some values do not have unique names */\n/* DWARF original prototype: vo(...TRUNCATED)
| "\nvoid FUN_0023f4e0(undefined8 *param_1)\n\n{\n long lVar1;\n \n *param_1 = &PTR_FUN_0042ac80;\n(...TRUNCATED)
| "LEA RAX,[0x42ac80]\nPUSH RBX\nMOV RBX,RDI\nMOV qword ptr [RDI],RAX\nMOV RDI,qword ptr [RDI + 0x80]\(...TRUNCATED)
| null | null | null | null | "[(u'COPY_-1203964245', u'CALL_-1203964390'), (u'LOAD_-1203964680', u'PTRSUB_-1203964289'), ('tmp_20(...TRUNCATED)
| "[('const-0', u'PTRSUB_-1203964268'), (u'INT_NOTEQUAL_-1203964635', u'CBRANCH_-1203964634'), (u'LOAD(...TRUNCATED)
| null | null |
0023f4e0
|
x64
|
O3
| "(translation_unit \"void FUN_0023f4e0(undefined8 *param_1)\\n\\n{\\n long lVar1;\\n \\n *param_1(...TRUNCATED)
| "(translation_unit \"/* WARNING: Enum \"DT\": Some values do not have unique names */\\n/* DWARF ori(...TRUNCATED)
| "(translation_unit \"void FUN_0023f4e0(undefined8 *param_1)\\n\\n{\\n long lVar1;\\n \\n *param_1(...TRUNCATED)
| "(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter(...TRUNCATED)
| "(function_definition \"void FUN_0023f4e0(undefined8 *param_1)\\n\\n{\\n long lVar1;\\n \\n *para(...TRUNCATED)
| "\n/* WARNING: Enum \"DT\": Some values do not have unique names */\n/* DWARF original prototype: vo(...TRUNCATED)
| null | "(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator decl(...TRUNCATED)
| null | "\nvoid MASKED(undefined8 *param_1)\n\n{\n long lVar1;\n \n *param_1 = &PTR_FUN_0042ac80;\n lVar(...TRUNCATED)
|
468_i686-linux-gnu-objcopy_and_i686-linux-gnu-objcopy_strip.c
|
bfd_set_symtab
|
bfd_set_symtab
| "\n/* WARNING: Control flow encountered bad instruction data */\n\nvoid bfd_set_symtab(void)\n\n{\n (...TRUNCATED)
| "\n/* WARNING: Control flow encountered bad instruction data */\n\nvoid bfd_set_symtab(void)\n\n{\n (...TRUNCATED)
| null | null | null | null | null |
[('const-1', u'RETURN_-1207053782')]
|
[('const-1', u'RETURN_-1207053782')]
| null | null |
0012d220
|
x64
|
O3
| "(translation_unit \"/* WARNING: Control flow encountered bad instruction data */\\n\\nvoid bfd_set_(...TRUNCATED)
| "(translation_unit \"/* WARNING: Control flow encountered bad instruction data */\\n\\nvoid bfd_set_(...TRUNCATED)
| "(translation_unit \"void bfd_set_symtab(void)\\n\\n{\\n \\n halt_baddata();\\n}(...TRUNCATED)
| "(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter(...TRUNCATED)
| "(function_definition \"void bfd_set_symtab(void)\\n\\n{\\n \\n halt_baddata();\(...TRUNCATED)
| "\n/* WARNING: Control flow encountered bad instruction data */\n\nvoid function_1(void)\n\n{\n (...TRUNCATED)
| null | "(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator decl(...TRUNCATED)
| null | "\n/* WARNING: Control flow encountered bad instruction data */\n\nvoid MASKED(void)\n\n{\n (...TRUNCATED)
|
8495_x86_64-linux-gnu-dwp_and_x86_64-linux-gnu-dwp_strip.c
|
has_facet<std::ctype<wchar_t>>
|
FUN_002c5070
| "\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* bool std::has_fa(...TRUNCATED)
| "\nbool FUN_002c5070(long *param_1)\n\n{\n ulong uVar1;\n long lVar2;\n bool bVar3;\n \n uVar1 (...TRUNCATED)
| "PUSH RBX\nMOV RBX,RDI\nLEA RDI,[0x3ca570]\nCALL 0x00279460\nMOV RCX,qword ptr [RBX]\nMOV RDX,RAX\nX(...TRUNCATED)
| null | null | null | null | "[('const-0', u'COPY_-1204596430'), ('const-16', u'INT_ADD_-1204596560'), (u'INT_NOTEQUAL_-120459652(...TRUNCATED)
| "[('tmp_459', u'LOAD_-1204596598'), ('const-16', u'INT_ADD_-1204596560'), (u'INT_NOTEQUAL_-120459652(...TRUNCATED)
| null | null |
002c5070
|
x64
|
O3
| "(translation_unit \"bool FUN_002c5070(long *param_1)\\n\\n{\\n ulong uVar1;\\n long lVar2;\\n bo(...TRUNCATED)
| "(translation_unit \"/* WARNING: Unknown calling convention -- yet parameter storage is locked */\\n(...TRUNCATED)
| "(translation_unit \"bool FUN_002c5070(long *param_1)\\n\\n{\\n ulong uVar1;\\n long lVar2;\\n bo(...TRUNCATED)
| "(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter(...TRUNCATED)
| "(function_definition \"bool FUN_002c5070(long *param_1)\\n\\n{\\n ulong uVar1;\\n long lVar2;\\n (...TRUNCATED)
| "\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* bool std::has_fa(...TRUNCATED)
| null | "(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator decl(...TRUNCATED)
| null | "\nbool MASKED(long *param_1)\n\n{\n ulong uVar1;\n long lVar2;\n bool bVar3;\n \n uVar1 = FUN_(...TRUNCATED)
|
173_tail_and_tail_strip.c
|
quotearg_n_style_colon
|
FUN_0010b0f0
| "\nchar * quotearg_n_style_colon(wchar_t n,quoting_style s,char *arg)\n\n{\n long lVar1;\n char *p(...TRUNCATED)
| "\nvoid FUN_0010b0f0(undefined4 param_1,int param_2,undefined8 param_3)\n\n{\n long in_FS_OFFSET;\n(...TRUNCATED)
| "PUSH R12\nPUSH RBP\nPUSH RBX\nSUB RSP,0x40\nMOV RAX,qword ptr FS:[0x28]\nMOV qword ptr [RSP + 0x38](...TRUNCATED)
| null | null | null | null | "[('const-0', u'RETURN_-1206930951'), ('const-40', u'INT_ADD_-1206930997'), ('const-0', u'COPY_-1206(...TRUNCATED)
| "[('const-0', u'RETURN_-1206930951'), ('const-40', u'INT_ADD_-1206930997'), (u'CALL_-1206931023', u'(...TRUNCATED)
| null | null |
0010b0f0
|
x64
|
O3
| "(translation_unit \"void FUN_0010b0f0(undefined4 param_1,int param_2,undefined8 param_3)\\n\\n{\\n (...TRUNCATED)
| "(translation_unit \"char * quotearg_n_style_colon(wchar_t n,quoting_style s,char *arg)\\n\\n{\\n l(...TRUNCATED)
| "(translation_unit \"void FUN_0010b0f0(undefined4 param_1,int param_2,undefined8 param_3)\\n\\n{\\n (...TRUNCATED)
| "(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter(...TRUNCATED)
| "(function_definition \"void FUN_0010b0f0(undefined4 param_1,int param_2,undefined8 param_3)\\n\\n{\(...TRUNCATED)
| "\nchar * function_1(type_1 n,type_2 var_2,char *arg)\n\n{\n long var_7;\n char *pcVar2;\n long v(...TRUNCATED)
| null | "(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator decl(...TRUNCATED)
| null | "\nvoid MASKED(undefined4 param_1,int param_2,undefined8 param_3)\n\n{\n long in_FS_OFFSET;\n int (...TRUNCATED)
|
8391_powerpc-linux-gnuspe-ld_and_powerpc-linux-gnuspe-ld_strip.c
|
add_constant
|
FUN_003e4ee0
| "\n/* DWARF original prototype: uint add_constant(Output_data_got<64,_false> * this, Valtype constan(...TRUNCATED)
|
void FUN_003e4ee0(void)
{
FUN_003e4520();
return;
}
| "SUB RSP,0x30\nMOV dword ptr [RSP + 0x10],0x7ffffffe\nPUSH qword ptr [RSP + 0x18]\nPUSH qword ptr [R(...TRUNCATED)
| null | null | null | null | "[('tmp_228', u'COPY_-1205776586'), (u'CALL_-1205776617', u'RETURN_-1205776593'), (u'COPY_-120577657(...TRUNCATED)
|
[('const-0', u'RETURN_-1205776593')]
| null | null |
003e4ee0
|
x64
|
O3
| "(translation_unit \"void FUN_003e4ee0(void)\\n\\n{\\n FUN_003e4520();\\n return;\\n}\\n\\n\" (fun(...TRUNCATED)
| "(translation_unit \"/* DWARF original prototype: uint add_constant(Output_data_got<64,_false> * thi(...TRUNCATED)
| "(translation_unit \"void FUN_003e4ee0(void)\\n\\n{\\n FUN_003e4520();\\n return;\\n}\\n\\n\" (fun(...TRUNCATED)
| "(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter(...TRUNCATED)
| "(function_definition \"void FUN_003e4ee0(void)\\n\\n{\\n FUN_003e4520();\\n return;\\n}\" (primit(...TRUNCATED)
| "\n/* DWARF original prototype: uint add_constant(Output_data_got<64,_false> * this, Valtype constan(...TRUNCATED)
| null | "(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator decl(...TRUNCATED)
| null |
void MASKED(void)
{
FUN_003e4520();
return;
}
|
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 27