
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: bool match_file_name(Output_section_element_input * this, char *
   file_name) */

bool __thiscall
gold::Output_section_element_input::match_file_name
          (Output_section_element_input *this,char *file_name)

{
  char *pcVar1;
  int iVar2;
  pointer ppVar3;
  
  if ((this->filename_pattern_)._M_string_length == 0) {
    if (file_name == (char *)0x0) {
      return true;
    }
    ppVar3 = (this->filename_exclusions_).
             super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>
             ._M_impl._M_start;
    if ((this->filename_exclusions_).
        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>
        ._M_impl._M_finish == ppVar3) {
      return true;
    }
  }
  else {
    if (file_name == (char *)0x0) {
      return false;
    }
    pcVar1 = (this->filename_pattern_)._M_dataplus._M_p;
    if (this->filename_is_wildcard_ == false) {
      iVar2 = strcmp(file_name,pcVar1);
    }
    else {
      iVar2 = fnmatch(pcVar1,file_name,0);
    }
    if (iVar2 != 0) {
      return false;
    }
    ppVar3 = (this->filename_exclusions_).
             super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>
             ._M_impl._M_start;
    if ((this->filename_exclusions_).
        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>
        ._M_impl._M_finish == ppVar3) {
      return true;
    }
  }
  while( true ) {
    pcVar1 = (ppVar3->first)._M_dataplus._M_p;
    if (ppVar3->second == false) {
      iVar2 = strcmp(file_name,pcVar1);
    }
    else {
      iVar2 = fnmatch(pcVar1,file_name,0);
    }
    if (iVar2 == 0) break;
    ppVar3 = ppVar3 + 1;
    if ((this->filename_exclusions_).
        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>
        ._M_impl._M_finish == ppVar3) {
      return true;
    }
  }
  return false;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 FUN_00106e40(int param_1,char *param_2)

{
  int iVar1;
  undefined4 *puVar2;
  
  if (*(int *)(param_1 + 8) == 0) {
    if (param_2 == (char *)0x0) {
      return 1;
    }
    puVar2 = *(undefined4 **)(param_1 + 0x24);
    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {
      return 1;
    }
  }
  else {
    if (param_2 == (char *)0x0) {
      return 0;
    }
    if (*(char *)(param_1 + 0x1c) == '\0') {
      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));
    }
    else {
      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);
    }
    if (iVar1 != 0) {
      return 0;
    }
    puVar2 = *(undefined4 **)(param_1 + 0x24);
    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {
      return 1;
    }
  }
  while( true ) {
    if (*(char *)(puVar2 + 6) == '\0') {
      iVar1 = strcmp(param_2,(char *)*puVar2);
    }
    else {
      iVar1 = fnmatch((char *)*puVar2,param_2,0);
    }
    if (iVar1 == 0) break;
    puVar2 = puVar2 + 7;
    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {
      return 1;
    }
  }
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x1fb1b7
SUB ESP,0xc
MOV EDI,dword ptr [ESP + 0x20]
MOV EBP,dword ptr [ESP + 0x24]
MOV EAX,dword ptr [EDI + 0x8]
TEST EAX,EAX
JZ 0x00106eb0
TEST EBP,EBP
JZ 0x00106ea0
CMP byte ptr [EDI + 0x1c],0x0
MOV EAX,dword ptr [EDI + 0x4]
JNZ 0x00106f00
SUB ESP,0x8
PUSH EAX
PUSH EBP
CALL 0x00026b10
ADD ESP,0x10
TEST EAX,EAX
SETZ AL
TEST AL,AL
JZ 0x00106ea0
MOV ESI,dword ptr [EDI + 0x24]
CMP dword ptr [EDI + 0x28],ESI
JNZ 0x00106ede
ADD ESP,0xc
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0xc
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
TEST EBP,EBP
JZ 0x00106e90
MOV ESI,dword ptr [EDI + 0x24]
CMP dword ptr [EDI + 0x28],ESI
JNZ 0x00106ede
JMP 0x00106e90
SUB ESP,0x8
PUSH EAX
PUSH EBP
CALL 0x00026b10
ADD ESP,0x10
TEST EAX,EAX
SETZ AL
TEST AL,AL
JNZ 0x00106ea0
ADD ESI,0x1c
CMP dword ptr [EDI + 0x28],ESI
JZ 0x00106e90
CMP byte ptr [ESI + 0x18],0x0
MOV EAX,dword ptr [ESI]
JZ 0x00106ec0
SUB ESP,0x4
PUSH 0x0
PUSH EBP
PUSH EAX
CALL 0x00026980
ADD ESP,0x10
TEST EAX,EAX
SETZ AL
JMP 0x00106ed2
SUB ESP,0x4
PUSH 0x0
PUSH EBP
PUSH EAX
CALL 0x00026980
ADD ESP,0x10
TEST EAX,EAX
SETZ AL
JMP 0x00106e84
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00106e40(int param_1,char *param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n    if (param_2 == (char *)0x0) {\n      return 1;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  else {\n    if (param_2 == (char *)0x0) {\n      return 0;\n    }\n    if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }\n    if (iVar1 != 0) {\n      return 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  while( true ) {\n    if (*(char *)(puVar2 + 6) == '\0') {\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }\n    else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }\n    if (iVar1 == 0) break;\n    puVar2 = puVar2 + 7;\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_00106e40(int param_1,char *param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n    if (param_2 == (char *)0x0) {\n      return 1;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  else {\n    if (param_2 == (char *)0x0) {\n      return 0;\n    }\n    if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }\n    if (iVar1 != 0) {\n      return 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  while( true ) {\n    if (*(char *)(puVar2 + 6) == '\0') {\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }\n    else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }\n    if (iVar1 == 0) break;\n    puVar2 = puVar2 + 7;\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00106e40(int param_1,char *param_2)" identifier (parameter_list "(int param_1,char *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n    if (param_2 == (char *)0x0) {\n      return 1;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  else {\n    if (param_2 == (char *)0x0) {\n      return 0;\n    }\n    if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }\n    if (iVar1 != 0) {\n      return 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  while( true ) {\n    if (*(char *)(puVar2 + 6) == '\0') {\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }\n    else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }\n    if (iVar1 == 0) break;\n    puVar2 = puVar2 + 7;\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (if_statement "if (*(int *)(param_1 + 8) == 0) {\n    if (param_2 == (char *)0x0) {\n      return 1;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  else {\n    if (param_2 == (char *)0x0) {\n      return 0;\n    }\n    if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }\n    if (iVar1 != 0) {\n      return 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }" if (parenthesized_expression "(*(int *)(param_1 + 8) == 0)" ( (binary_expression "*(int *)(param_1 + 8) == 0" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (param_2 == (char *)0x0) {\n      return 1;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }" { (if_statement "if (param_2 == (char *)0x0) {\n      return 1;\n    }" if (parenthesized_expression "(param_2 == (char *)0x0)" ( (binary_expression "param_2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x24);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x24)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x24)" * (cast_expression "(undefined4 **)(param_1 + 0x24)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }" if (parenthesized_expression "(*(undefined4 **)(param_1 + 0x28) == puVar2)" ( (binary_expression "*(undefined4 **)(param_1 + 0x28) == puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" * (cast_expression "(undefined4 **)(param_1 + 0x28)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n    if (param_2 == (char *)0x0) {\n      return 0;\n    }\n    if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }\n    if (iVar1 != 0) {\n      return 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }" else (compound_statement "{\n    if (param_2 == (char *)0x0) {\n      return 0;\n    }\n    if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }\n    if (iVar1 != 0) {\n      return 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }" { (if_statement "if (param_2 == (char *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(param_2 == (char *)0x0)" ( (binary_expression "param_2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }" if (parenthesized_expression "(*(char *)(param_1 + 0x1c) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x1c) == '\0'" (pointer_expression "*(char *)(param_1 + 0x1c)" * (cast_expression "(char *)(param_1 + 0x1c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }" { (expression_statement "iVar1 = strcmp(param_2,*(char **)(param_1 + 4));" (assignment_expression "iVar1 = strcmp(param_2,*(char **)(param_1 + 4))" identifier = (call_expression "strcmp(param_2,*(char **)(param_1 + 4))" identifier (argument_list "(param_2,*(char **)(param_1 + 4))" ( identifier , (pointer_expression "*(char **)(param_1 + 4)" * (cast_expression "(char **)(param_1 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) )))) ;) }) (else_clause "else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }" else (compound_statement "{\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }" { (expression_statement "iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);" (assignment_expression "iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0)" identifier = (call_expression "fnmatch(*(char **)(param_1 + 4),param_2,0)" identifier (argument_list "(*(char **)(param_1 + 4),param_2,0)" ( (pointer_expression "*(char **)(param_1 + 4)" * (cast_expression "(char **)(param_1 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , identifier , number_literal )))) ;) }))) (if_statement "if (iVar1 != 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x24);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x24)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x24)" * (cast_expression "(undefined4 **)(param_1 + 0x24)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }" if (parenthesized_expression "(*(undefined4 **)(param_1 + 0x28) == puVar2)" ( (binary_expression "*(undefined4 **)(param_1 + 0x28) == puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" * (cast_expression "(undefined4 **)(param_1 + 0x28)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) }))) (while_statement "while( true ) {\n    if (*(char *)(puVar2 + 6) == '\0') {\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }\n    else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }\n    if (iVar1 == 0) break;\n    puVar2 = puVar2 + 7;\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (*(char *)(puVar2 + 6) == '\0') {\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }\n    else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }\n    if (iVar1 == 0) break;\n    puVar2 = puVar2 + 7;\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }" { (if_statement "if (*(char *)(puVar2 + 6) == '\0') {\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }\n    else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }" if (parenthesized_expression "(*(char *)(puVar2 + 6) == '\0')" ( (binary_expression "*(char *)(puVar2 + 6) == '\0'" (pointer_expression "*(char *)(puVar2 + 6)" * (cast_expression "(char *)(puVar2 + 6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 6)" ( (binary_expression "puVar2 + 6" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }" { (expression_statement "iVar1 = strcmp(param_2,(char *)*puVar2);" (assignment_expression "iVar1 = strcmp(param_2,(char *)*puVar2)" identifier = (call_expression "strcmp(param_2,(char *)*puVar2)" identifier (argument_list "(param_2,(char *)*puVar2)" ( identifier , (cast_expression "(char *)*puVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier)) )))) ;) }) (else_clause "else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }" else (compound_statement "{\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }" { (expression_statement "iVar1 = fnmatch((char *)*puVar2,param_2,0);" (assignment_expression "iVar1 = fnmatch((char *)*puVar2,param_2,0)" identifier = (call_expression "fnmatch((char *)*puVar2,param_2,0)" identifier (argument_list "((char *)*puVar2,param_2,0)" ( (cast_expression "(char *)*puVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier)) , identifier , number_literal )))) ;) }))) (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar2 = puVar2 + 7;" (assignment_expression "puVar2 = puVar2 + 7" identifier = (binary_expression "puVar2 + 7" identifier + number_literal)) ;) (if_statement "if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }" if (parenthesized_expression "(*(undefined4 **)(param_1 + 0x28) == puVar2)" ( (binary_expression "*(undefined4 **)(param_1 + 0x28) == puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" * (cast_expression "(undefined4 **)(param_1 + 0x28)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: bool match_file_name(Output_section_element_input * this, char *\n   file_name) */\n\nbool __thiscall\ngold::Output_section_element_input::match_file_name\n          (Output_section_element_input *this,char *file_name)\n\n{\n  char *pcVar1;\n  int iVar2;\n  pointer ppVar3;\n  \n  if ((this->filename_pattern_)._M_string_length == 0) {\n    if (file_name == (char *)0x0) {\n      return true;\n    }\n    ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n             ._M_impl._M_start;\n    if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }\n  }\n  else {\n    if (file_name == (char *)0x0) {\n      return false;\n    }\n    pcVar1 = (this->filename_pattern_)._M_dataplus._M_p;\n    if (this->filename_is_wildcard_ == false) {\n      iVar2 = strcmp(file_name,pcVar1);\n    }\n    else {\n      iVar2 = fnmatch(pcVar1,file_name,0);\n    }\n    if (iVar2 != 0) {\n      return false;\n    }\n    ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n             ._M_impl._M_start;\n    if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }\n  }\n  while( true ) {\n    pcVar1 = (ppVar3->first)._M_dataplus._M_p;\n    if (ppVar3->second == false) {\n      iVar2 = strcmp(file_name,pcVar1);\n    }\n    else {\n      iVar2 = fnmatch(pcVar1,file_name,0);\n    }\n    if (iVar2 == 0) break;\n    ppVar3 = ppVar3 + 1;\n    if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }\n  }\n  return false;\n}\n\n" comment comment (function_definition "bool __thiscall\ngold::Output_section_element_input::match_file_name\n          (Output_section_element_input *this,char *file_name)\n\n{\n  char *pcVar1;\n  int iVar2;\n  pointer ppVar3;\n  \n  if ((this->filename_pattern_)._M_string_length == 0) {\n    if (file_name == (char *)0x0) {\n      return true;\n    }\n    ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n             ._M_impl._M_start;\n    if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }\n  }\n  else {\n    if (file_name == (char *)0x0) {\n      return false;\n    }\n    pcVar1 = (this->filename_pattern_)._M_dataplus._M_p;\n    if (this->filename_is_wildcard_ == false) {\n      iVar2 = strcmp(file_name,pcVar1);\n    }\n    else {\n      iVar2 = fnmatch(pcVar1,file_name,0);\n    }\n    if (iVar2 != 0) {\n      return false;\n    }\n    ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n             ._M_impl._M_start;\n    if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }\n  }\n  while( true ) {\n    pcVar1 = (ppVar3->first)._M_dataplus._M_p;\n    if (ppVar3->second == false) {\n      iVar2 = strcmp(file_name,pcVar1);\n    }\n    else {\n      iVar2 = fnmatch(pcVar1,file_name,0);\n    }\n    if (iVar2 == 0) break;\n    ppVar3 = ppVar3 + 1;\n    if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }\n  }\n  return false;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section_element_input::" identifier : : identifier : :) (function_declarator "match_file_name\n          (Output_section_element_input *this,char *file_name)" identifier (parameter_list "(Output_section_element_input *this,char *file_name)" ( (parameter_declaration "Output_section_element_input *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *file_name" primitive_type (pointer_declarator "*file_name" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  pointer ppVar3;\n  \n  if ((this->filename_pattern_)._M_string_length == 0) {\n    if (file_name == (char *)0x0) {\n      return true;\n    }\n    ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n             ._M_impl._M_start;\n    if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }\n  }\n  else {\n    if (file_name == (char *)0x0) {\n      return false;\n    }\n    pcVar1 = (this->filename_pattern_)._M_dataplus._M_p;\n    if (this->filename_is_wildcard_ == false) {\n      iVar2 = strcmp(file_name,pcVar1);\n    }\n    else {\n      iVar2 = fnmatch(pcVar1,file_name,0);\n    }\n    if (iVar2 != 0) {\n      return false;\n    }\n    ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n             ._M_impl._M_start;\n    if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }\n  }\n  while( true ) {\n    pcVar1 = (ppVar3->first)._M_dataplus._M_p;\n    if (ppVar3->second == false) {\n      iVar2 = strcmp(file_name,pcVar1);\n    }\n    else {\n      iVar2 = fnmatch(pcVar1,file_name,0);\n    }\n    if (iVar2 == 0) break;\n    ppVar3 = ppVar3 + 1;\n    if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }\n  }\n  return false;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "pointer ppVar3;" type_identifier identifier ;) (if_statement "if ((this->filename_pattern_)._M_string_length == 0) {\n    if (file_name == (char *)0x0) {\n      return true;\n    }\n    ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n             ._M_impl._M_start;\n    if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }\n  }\n  else {\n    if (file_name == (char *)0x0) {\n      return false;\n    }\n    pcVar1 = (this->filename_pattern_)._M_dataplus._M_p;\n    if (this->filename_is_wildcard_ == false) {\n      iVar2 = strcmp(file_name,pcVar1);\n    }\n    else {\n      iVar2 = fnmatch(pcVar1,file_name,0);\n    }\n    if (iVar2 != 0) {\n      return false;\n    }\n    ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n             ._M_impl._M_start;\n    if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }\n  }" if (parenthesized_expression "((this->filename_pattern_)._M_string_length == 0)" ( (binary_expression "(this->filename_pattern_)._M_string_length == 0" (field_expression "(this->filename_pattern_)._M_string_length" (parenthesized_expression "(this->filename_pattern_)" ( (field_expression "this->filename_pattern_" identifier -> field_identifier) )) . field_identifier) == number_literal) )) (compound_statement "{\n    if (file_name == (char *)0x0) {\n      return true;\n    }\n    ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n             ._M_impl._M_start;\n    if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }\n  }" { (if_statement "if (file_name == (char *)0x0) {\n      return true;\n    }" if (parenthesized_expression "(file_name == (char *)0x0)" ( (binary_expression "file_name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) (ERROR "ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::" (comma_expression "ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std" (binary_expression "ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std::__cxx11::basic_string<char" (binary_expression "ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std" (assignment_expression "ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std" identifier = (binary_expression "(this->filename_exclusions_).\n             super__Vector_base<std" (field_expression "(this->filename_exclusions_).\n             super__Vector_base" (parenthesized_expression "(this->filename_exclusions_)" ( (field_expression "this->filename_exclusions_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::pair" : : identifier) < identifier) (ERROR "::__cxx11::basic_string" : : identifier : : identifier) < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<char>_>,_bool>,_std" (binary_expression "allocator<char>_>,_bool" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (ERROR "," ,) identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (binary_expression "pair<std" identifier < identifier) : : (comma_expression "__cxx11::basic_string<char,_std::char_traits<char>,_std" identifier (ERROR "::basic_string<char,_std::char_traits<char>" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char" identifier < identifier) >) , identifier) : :) (expression_statement "allocator<char>_>,_bool>_>_>\n             ._M_impl._M_start;" (field_expression "allocator<char>_>,_bool>_>_>\n             ._M_impl._M_start" (field_expression "allocator<char>_>,_bool>_>_>\n             ._M_impl" (binary_expression "allocator<char>_>,_bool>_>_" (binary_expression "allocator<char>_>,_bool>_" (binary_expression "allocator<char>_>,_bool" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (ERROR "," ,) identifier) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }" if (parenthesized_expression "((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3)" ( (ERROR "(this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::" (comma_expression "(this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std" (binary_expression "(this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char" (binary_expression "(this->filename_exclusions_).\n        super__Vector_base<std::pair<std" (binary_expression "(this->filename_exclusions_).\n        super__Vector_base<std" (field_expression "(this->filename_exclusions_).\n        super__Vector_base" (parenthesized_expression "(this->filename_exclusions_)" ( (field_expression "this->filename_exclusions_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::__cxx11::basic_string" : : identifier : : identifier) < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<char>_>,_bool>,_std" (binary_expression "allocator<char>_>,_bool" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (ERROR "," ,) identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (binary_expression "pair<std" identifier < identifier) : : identifier : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3" (field_expression "allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish" (field_expression "allocator<char>_>,_bool>_>_>\n        ._M_impl" (binary_expression "allocator<char>_>,_bool>_>_" (binary_expression "allocator<char>_>,_bool>_" (binary_expression "allocator<char>_>,_bool" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (ERROR "," ,) identifier) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) == identifier) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) }) (else_clause "else {\n    if (file_name == (char *)0x0) {\n      return false;\n    }\n    pcVar1 = (this->filename_pattern_)._M_dataplus._M_p;\n    if (this->filename_is_wildcard_ == false) {\n      iVar2 = strcmp(file_name,pcVar1);\n    }\n    else {\n      iVar2 = fnmatch(pcVar1,file_name,0);\n    }\n    if (iVar2 != 0) {\n      return false;\n    }\n    ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n             ._M_impl._M_start;\n    if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }\n  }" else (compound_statement "{\n    if (file_name == (char *)0x0) {\n      return false;\n    }\n    pcVar1 = (this->filename_pattern_)._M_dataplus._M_p;\n    if (this->filename_is_wildcard_ == false) {\n      iVar2 = strcmp(file_name,pcVar1);\n    }\n    else {\n      iVar2 = fnmatch(pcVar1,file_name,0);\n    }\n    if (iVar2 != 0) {\n      return false;\n    }\n    ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n             ._M_impl._M_start;\n    if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }\n  }" { (if_statement "if (file_name == (char *)0x0) {\n      return false;\n    }" if (parenthesized_expression "(file_name == (char *)0x0)" ( (binary_expression "file_name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return false;\n    }" { (return_statement "return false;" return false ;) })) (expression_statement "pcVar1 = (this->filename_pattern_)._M_dataplus._M_p;" (assignment_expression "pcVar1 = (this->filename_pattern_)._M_dataplus._M_p" identifier = (field_expression "(this->filename_pattern_)._M_dataplus._M_p" (field_expression "(this->filename_pattern_)._M_dataplus" (parenthesized_expression "(this->filename_pattern_)" ( (field_expression "this->filename_pattern_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (this->filename_is_wildcard_ == false) {\n      iVar2 = strcmp(file_name,pcVar1);\n    }\n    else {\n      iVar2 = fnmatch(pcVar1,file_name,0);\n    }" if (parenthesized_expression "(this->filename_is_wildcard_ == false)" ( (binary_expression "this->filename_is_wildcard_ == false" (field_expression "this->filename_is_wildcard_" identifier -> field_identifier) == false) )) (compound_statement "{\n      iVar2 = strcmp(file_name,pcVar1);\n    }" { (expression_statement "iVar2 = strcmp(file_name,pcVar1);" (assignment_expression "iVar2 = strcmp(file_name,pcVar1)" identifier = (call_expression "strcmp(file_name,pcVar1)" identifier (argument_list "(file_name,pcVar1)" ( identifier , identifier )))) ;) }) (else_clause "else {\n      iVar2 = fnmatch(pcVar1,file_name,0);\n    }" else (compound_statement "{\n      iVar2 = fnmatch(pcVar1,file_name,0);\n    }" { (expression_statement "iVar2 = fnmatch(pcVar1,file_name,0);" (assignment_expression "iVar2 = fnmatch(pcVar1,file_name,0)" identifier = (call_expression "fnmatch(pcVar1,file_name,0)" identifier (argument_list "(pcVar1,file_name,0)" ( identifier , identifier , number_literal )))) ;) }))) (if_statement "if (iVar2 != 0) {\n      return false;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      return false;\n    }" { (return_statement "return false;" return false ;) })) (ERROR "ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::" (comma_expression "ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std" (binary_expression "ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std::__cxx11::basic_string<char" (binary_expression "ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std::pair<std" (assignment_expression "ppVar3 = (this->filename_exclusions_).\n             super__Vector_base<std" identifier = (binary_expression "(this->filename_exclusions_).\n             super__Vector_base<std" (field_expression "(this->filename_exclusions_).\n             super__Vector_base" (parenthesized_expression "(this->filename_exclusions_)" ( (field_expression "this->filename_exclusions_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::pair" : : identifier) < identifier) (ERROR "::__cxx11::basic_string" : : identifier : : identifier) < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<char>_>,_bool>,_std" (binary_expression "allocator<char>_>,_bool" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (ERROR "," ,) identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (binary_expression "pair<std" identifier < identifier) : : (comma_expression "__cxx11::basic_string<char,_std::char_traits<char>,_std" identifier (ERROR "::basic_string<char,_std::char_traits<char>" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char" identifier < identifier) >) , identifier) : :) (expression_statement "allocator<char>_>,_bool>_>_>\n             ._M_impl._M_start;" (field_expression "allocator<char>_>,_bool>_>_>\n             ._M_impl._M_start" (field_expression "allocator<char>_>,_bool>_>_>\n             ._M_impl" (binary_expression "allocator<char>_>,_bool>_>_" (binary_expression "allocator<char>_>,_bool>_" (binary_expression "allocator<char>_>,_bool" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (ERROR "," ,) identifier) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }" if (parenthesized_expression "((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3)" ( (ERROR "(this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::" (comma_expression "(this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std" (binary_expression "(this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char" (binary_expression "(this->filename_exclusions_).\n        super__Vector_base<std::pair<std" (binary_expression "(this->filename_exclusions_).\n        super__Vector_base<std" (field_expression "(this->filename_exclusions_).\n        super__Vector_base" (parenthesized_expression "(this->filename_exclusions_)" ( (field_expression "this->filename_exclusions_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::__cxx11::basic_string" : : identifier : : identifier) < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<char>_>,_bool>,_std" (binary_expression "allocator<char>_>,_bool" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (ERROR "," ,) identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (binary_expression "pair<std" identifier < identifier) : : identifier : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3" (field_expression "allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish" (field_expression "allocator<char>_>,_bool>_>_>\n        ._M_impl" (binary_expression "allocator<char>_>,_bool>_>_" (binary_expression "allocator<char>_>,_bool>_" (binary_expression "allocator<char>_>,_bool" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (ERROR "," ,) identifier) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) == identifier) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) }))) (while_statement "while( true ) {\n    pcVar1 = (ppVar3->first)._M_dataplus._M_p;\n    if (ppVar3->second == false) {\n      iVar2 = strcmp(file_name,pcVar1);\n    }\n    else {\n      iVar2 = fnmatch(pcVar1,file_name,0);\n    }\n    if (iVar2 == 0) break;\n    ppVar3 = ppVar3 + 1;\n    if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    pcVar1 = (ppVar3->first)._M_dataplus._M_p;\n    if (ppVar3->second == false) {\n      iVar2 = strcmp(file_name,pcVar1);\n    }\n    else {\n      iVar2 = fnmatch(pcVar1,file_name,0);\n    }\n    if (iVar2 == 0) break;\n    ppVar3 = ppVar3 + 1;\n    if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }\n  }" { (expression_statement "pcVar1 = (ppVar3->first)._M_dataplus._M_p;" (assignment_expression "pcVar1 = (ppVar3->first)._M_dataplus._M_p" identifier = (field_expression "(ppVar3->first)._M_dataplus._M_p" (field_expression "(ppVar3->first)._M_dataplus" (parenthesized_expression "(ppVar3->first)" ( (field_expression "ppVar3->first" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (ppVar3->second == false) {\n      iVar2 = strcmp(file_name,pcVar1);\n    }\n    else {\n      iVar2 = fnmatch(pcVar1,file_name,0);\n    }" if (parenthesized_expression "(ppVar3->second == false)" ( (binary_expression "ppVar3->second == false" (field_expression "ppVar3->second" identifier -> field_identifier) == false) )) (compound_statement "{\n      iVar2 = strcmp(file_name,pcVar1);\n    }" { (expression_statement "iVar2 = strcmp(file_name,pcVar1);" (assignment_expression "iVar2 = strcmp(file_name,pcVar1)" identifier = (call_expression "strcmp(file_name,pcVar1)" identifier (argument_list "(file_name,pcVar1)" ( identifier , identifier )))) ;) }) (else_clause "else {\n      iVar2 = fnmatch(pcVar1,file_name,0);\n    }" else (compound_statement "{\n      iVar2 = fnmatch(pcVar1,file_name,0);\n    }" { (expression_statement "iVar2 = fnmatch(pcVar1,file_name,0);" (assignment_expression "iVar2 = fnmatch(pcVar1,file_name,0)" identifier = (call_expression "fnmatch(pcVar1,file_name,0)" identifier (argument_list "(pcVar1,file_name,0)" ( identifier , identifier , number_literal )))) ;) }))) (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "ppVar3 = ppVar3 + 1;" (assignment_expression "ppVar3 = ppVar3 + 1" identifier = (binary_expression "ppVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3) {\n      return true;\n    }" if (parenthesized_expression "((this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3)" ( (ERROR "(this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_bool>,_std::allocator<std::pair<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::" (comma_expression "(this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char,_std" (binary_expression "(this->filename_exclusions_).\n        super__Vector_base<std::pair<std::__cxx11::basic_string<char" (binary_expression "(this->filename_exclusions_).\n        super__Vector_base<std::pair<std" (binary_expression "(this->filename_exclusions_).\n        super__Vector_base<std" (field_expression "(this->filename_exclusions_).\n        super__Vector_base" (parenthesized_expression "(this->filename_exclusions_)" ( (field_expression "this->filename_exclusions_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::__cxx11::basic_string" : : identifier : : identifier) < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<char>_>,_bool>,_std" (binary_expression "allocator<char>_>,_bool" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (ERROR "," ,) identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (binary_expression "pair<std" identifier < identifier) : : identifier : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish == ppVar3" (field_expression "allocator<char>_>,_bool>_>_>\n        ._M_impl._M_finish" (field_expression "allocator<char>_>,_bool>_>_>\n        ._M_impl" (binary_expression "allocator<char>_>,_bool>_>_" (binary_expression "allocator<char>_>,_bool>_" (binary_expression "allocator<char>_>,_bool" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (ERROR "," ,) identifier) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) == identifier) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) })) (return_statement "return false;" return false ;) })))
(translation_unit "undefined4 FUN_00106e40(int param_1,char *param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n    if (param_2 == (char *)0x0) {\n      return 1;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  else {\n    if (param_2 == (char *)0x0) {\n      return 0;\n    }\n    if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }\n    if (iVar1 != 0) {\n      return 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  while( true ) {\n    if (*(char *)(puVar2 + 6) == '\0') {\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }\n    else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }\n    if (iVar1 == 0) break;\n    puVar2 = puVar2 + 7;\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00106e40(int param_1,char *param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n    if (param_2 == (char *)0x0) {\n      return 1;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  else {\n    if (param_2 == (char *)0x0) {\n      return 0;\n    }\n    if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }\n    if (iVar1 != 0) {\n      return 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  while( true ) {\n    if (*(char *)(puVar2 + 6) == '\0') {\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }\n    else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }\n    if (iVar1 == 0) break;\n    puVar2 = puVar2 + 7;\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00106e40(int param_1,char *param_2)" identifier (parameter_list "(int param_1,char *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n    if (param_2 == (char *)0x0) {\n      return 1;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  else {\n    if (param_2 == (char *)0x0) {\n      return 0;\n    }\n    if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }\n    if (iVar1 != 0) {\n      return 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  while( true ) {\n    if (*(char *)(puVar2 + 6) == '\0') {\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }\n    else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }\n    if (iVar1 == 0) break;\n    puVar2 = puVar2 + 7;\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (if_statement "if (*(int *)(param_1 + 8) == 0) {\n    if (param_2 == (char *)0x0) {\n      return 1;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  else {\n    if (param_2 == (char *)0x0) {\n      return 0;\n    }\n    if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }\n    if (iVar1 != 0) {\n      return 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }" if (parenthesized_expression "(*(int *)(param_1 + 8) == 0)" ( (binary_expression "*(int *)(param_1 + 8) == 0" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (param_2 == (char *)0x0) {\n      return 1;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }" { (if_statement "if (param_2 == (char *)0x0) {\n      return 1;\n    }" if (parenthesized_expression "(param_2 == (char *)0x0)" ( (binary_expression "param_2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x24);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x24)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x24)" * (cast_expression "(undefined4 **)(param_1 + 0x24)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }" if (parenthesized_expression "(*(undefined4 **)(param_1 + 0x28) == puVar2)" ( (binary_expression "*(undefined4 **)(param_1 + 0x28) == puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" * (cast_expression "(undefined4 **)(param_1 + 0x28)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n    if (param_2 == (char *)0x0) {\n      return 0;\n    }\n    if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }\n    if (iVar1 != 0) {\n      return 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }" else (compound_statement "{\n    if (param_2 == (char *)0x0) {\n      return 0;\n    }\n    if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }\n    if (iVar1 != 0) {\n      return 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }" { (if_statement "if (param_2 == (char *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(param_2 == (char *)0x0)" ( (binary_expression "param_2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }" if (parenthesized_expression "(*(char *)(param_1 + 0x1c) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x1c) == '\0'" (pointer_expression "*(char *)(param_1 + 0x1c)" * (cast_expression "(char *)(param_1 + 0x1c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }" { (expression_statement "iVar1 = strcmp(param_2,*(char **)(param_1 + 4));" (assignment_expression "iVar1 = strcmp(param_2,*(char **)(param_1 + 4))" identifier = (call_expression "strcmp(param_2,*(char **)(param_1 + 4))" identifier (argument_list "(param_2,*(char **)(param_1 + 4))" ( identifier , (pointer_expression "*(char **)(param_1 + 4)" * (cast_expression "(char **)(param_1 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) )))) ;) }) (else_clause "else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }" else (compound_statement "{\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }" { (expression_statement "iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);" (assignment_expression "iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0)" identifier = (call_expression "fnmatch(*(char **)(param_1 + 4),param_2,0)" identifier (argument_list "(*(char **)(param_1 + 4),param_2,0)" ( (pointer_expression "*(char **)(param_1 + 4)" * (cast_expression "(char **)(param_1 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , identifier , number_literal )))) ;) }))) (if_statement "if (iVar1 != 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x24);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x24)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x24)" * (cast_expression "(undefined4 **)(param_1 + 0x24)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }" if (parenthesized_expression "(*(undefined4 **)(param_1 + 0x28) == puVar2)" ( (binary_expression "*(undefined4 **)(param_1 + 0x28) == puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" * (cast_expression "(undefined4 **)(param_1 + 0x28)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) }))) (while_statement "while( true ) {\n    if (*(char *)(puVar2 + 6) == '\0') {\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }\n    else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }\n    if (iVar1 == 0) break;\n    puVar2 = puVar2 + 7;\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (*(char *)(puVar2 + 6) == '\0') {\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }\n    else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }\n    if (iVar1 == 0) break;\n    puVar2 = puVar2 + 7;\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }" { (if_statement "if (*(char *)(puVar2 + 6) == '\0') {\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }\n    else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }" if (parenthesized_expression "(*(char *)(puVar2 + 6) == '\0')" ( (binary_expression "*(char *)(puVar2 + 6) == '\0'" (pointer_expression "*(char *)(puVar2 + 6)" * (cast_expression "(char *)(puVar2 + 6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 6)" ( (binary_expression "puVar2 + 6" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }" { (expression_statement "iVar1 = strcmp(param_2,(char *)*puVar2);" (assignment_expression "iVar1 = strcmp(param_2,(char *)*puVar2)" identifier = (call_expression "strcmp(param_2,(char *)*puVar2)" identifier (argument_list "(param_2,(char *)*puVar2)" ( identifier , (cast_expression "(char *)*puVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier)) )))) ;) }) (else_clause "else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }" else (compound_statement "{\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }" { (expression_statement "iVar1 = fnmatch((char *)*puVar2,param_2,0);" (assignment_expression "iVar1 = fnmatch((char *)*puVar2,param_2,0)" identifier = (call_expression "fnmatch((char *)*puVar2,param_2,0)" identifier (argument_list "((char *)*puVar2,param_2,0)" ( (cast_expression "(char *)*puVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier)) , identifier , number_literal )))) ;) }))) (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar2 = puVar2 + 7;" (assignment_expression "puVar2 = puVar2 + 7" identifier = (binary_expression "puVar2 + 7" identifier + number_literal)) ;) (if_statement "if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }" if (parenthesized_expression "(*(undefined4 **)(param_1 + 0x28) == puVar2)" ( (binary_expression "*(undefined4 **)(param_1 + 0x28) == puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" * (cast_expression "(undefined4 **)(param_1 + 0x28)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , LIT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (return_statement return LIT ;) })) }))) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , IDENT , LIT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (return_statement return LIT ;) })) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00106e40(int param_1,char *param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n    if (param_2 == (char *)0x0) {\n      return 1;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  else {\n    if (param_2 == (char *)0x0) {\n      return 0;\n    }\n    if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }\n    if (iVar1 != 0) {\n      return 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  while( true ) {\n    if (*(char *)(puVar2 + 6) == '\0') {\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }\n    else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }\n    if (iVar1 == 0) break;\n    puVar2 = puVar2 + 7;\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00106e40(int param_1,char *param_2)" (identifier "FUN_00106e40") (parameter_list "(int param_1,char *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n    if (param_2 == (char *)0x0) {\n      return 1;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  else {\n    if (param_2 == (char *)0x0) {\n      return 0;\n    }\n    if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }\n    if (iVar1 != 0) {\n      return 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  while( true ) {\n    if (*(char *)(puVar2 + 6) == '\0') {\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }\n    else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }\n    if (iVar1 == 0) break;\n    puVar2 = puVar2 + 7;\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (if_statement "if (*(int *)(param_1 + 8) == 0) {\n    if (param_2 == (char *)0x0) {\n      return 1;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }\n  else {\n    if (param_2 == (char *)0x0) {\n      return 0;\n    }\n    if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }\n    if (iVar1 != 0) {\n      return 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 8) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 8) == 0" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_2 == (char *)0x0) {\n      return 1;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }" ({ "{") (if_statement "if (param_2 == (char *)0x0) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(param_2 == (char *)0x0)" (( "(") (binary_expression "param_2 == (char *)0x0" (identifier "param_2") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x24);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x24)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x24)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x24)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (if_statement "if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(*(undefined4 **)(param_1 + 0x28) == puVar2)" (( "(") (binary_expression "*(undefined4 **)(param_1 + 0x28) == puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x28)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (== "==") (identifier "puVar2")) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (param_2 == (char *)0x0) {\n      return 0;\n    }\n    if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }\n    if (iVar1 != 0) {\n      return 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }" (else "else") (compound_statement "{\n    if (param_2 == (char *)0x0) {\n      return 0;\n    }\n    if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }\n    if (iVar1 != 0) {\n      return 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x24);\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }" ({ "{") (if_statement "if (param_2 == (char *)0x0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(param_2 == (char *)0x0)" (( "(") (binary_expression "param_2 == (char *)0x0" (identifier "param_2") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (*(char *)(param_1 + 0x1c) == '\0') {\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }\n    else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x1c) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x1c) == '\0'" (pointer_expression "*(char *)(param_1 + 0x1c)" (* "*") (cast_expression "(char *)(param_1 + 0x1c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));\n    }" ({ "{") (expression_statement "iVar1 = strcmp(param_2,*(char **)(param_1 + 4));" (assignment_expression "iVar1 = strcmp(param_2,*(char **)(param_1 + 4))" (identifier "iVar1") (= "=") (call_expression "strcmp(param_2,*(char **)(param_1 + 4))" (identifier "strcmp") (argument_list "(param_2,*(char **)(param_1 + 4))" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(char **)(param_1 + 4)" (* "*") (cast_expression "(char **)(param_1 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }" (else "else") (compound_statement "{\n      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);\n    }" ({ "{") (expression_statement "iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);" (assignment_expression "iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0)" (identifier "iVar1") (= "=") (call_expression "fnmatch(*(char **)(param_1 + 4),param_2,0)" (identifier "fnmatch") (argument_list "(*(char **)(param_1 + 4),param_2,0)" (( "(") (pointer_expression "*(char **)(param_1 + 4)" (* "*") (cast_expression "(char **)(param_1 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "param_2") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar1 != 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x24);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x24)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x24)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x24)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (if_statement "if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(*(undefined4 **)(param_1 + 0x28) == puVar2)" (( "(") (binary_expression "*(undefined4 **)(param_1 + 0x28) == puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x28)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (== "==") (identifier "puVar2")) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}")))) (while_statement "while( true ) {\n    if (*(char *)(puVar2 + 6) == '\0') {\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }\n    else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }\n    if (iVar1 == 0) break;\n    puVar2 = puVar2 + 7;\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    if (*(char *)(puVar2 + 6) == '\0') {\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }\n    else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }\n    if (iVar1 == 0) break;\n    puVar2 = puVar2 + 7;\n    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }\n  }" ({ "{") (if_statement "if (*(char *)(puVar2 + 6) == '\0') {\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }\n    else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }" (if "if") (parenthesized_expression "(*(char *)(puVar2 + 6) == '\0')" (( "(") (binary_expression "*(char *)(puVar2 + 6) == '\0'" (pointer_expression "*(char *)(puVar2 + 6)" (* "*") (cast_expression "(char *)(puVar2 + 6)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 6)" (( "(") (binary_expression "puVar2 + 6" (identifier "puVar2") (+ "+") (number_literal "6")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      iVar1 = strcmp(param_2,(char *)*puVar2);\n    }" ({ "{") (expression_statement "iVar1 = strcmp(param_2,(char *)*puVar2);" (assignment_expression "iVar1 = strcmp(param_2,(char *)*puVar2)" (identifier "iVar1") (= "=") (call_expression "strcmp(param_2,(char *)*puVar2)" (identifier "strcmp") (argument_list "(param_2,(char *)*puVar2)" (( "(") (identifier "param_2") (, ",") (cast_expression "(char *)*puVar2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }" (else "else") (compound_statement "{\n      iVar1 = fnmatch((char *)*puVar2,param_2,0);\n    }" ({ "{") (expression_statement "iVar1 = fnmatch((char *)*puVar2,param_2,0);" (assignment_expression "iVar1 = fnmatch((char *)*puVar2,param_2,0)" (identifier "iVar1") (= "=") (call_expression "fnmatch((char *)*puVar2,param_2,0)" (identifier "fnmatch") (argument_list "((char *)*puVar2,param_2,0)" (( "(") (cast_expression "(char *)*puVar2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (, ",") (identifier "param_2") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar1 == 0) break;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar2 = puVar2 + 7;" (assignment_expression "puVar2 = puVar2 + 7" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 7" (identifier "puVar2") (+ "+") (number_literal "7"))) (; ";")) (if_statement "if (*(undefined4 **)(param_1 + 0x28) == puVar2) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(*(undefined4 **)(param_1 + 0x28) == puVar2)" (( "(") (binary_expression "*(undefined4 **)(param_1 + 0x28) == puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x28)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (== "==") (identifier "puVar2")) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: bool match_file_name(Output_section_element_input * this, char *
   file_name) */

bool __thiscall
gold::type_1::function_1
          (type_1 *this,char *var_1)

{
  char *pcVar1;
  int var_9;
  type_2 var_6;
  
  if ((this->filename_pattern_)._M_string_length == 0) {
    if (var_1 == (char *)0x0) {
      return true;
    }
    var_6 = (this->filename_exclusions_).
             super__Vector_base<std::pair<std::__cxx11::basic_string<var_3,_std::char_traits<var_3>,_std::var_2<var_3>var_4>,var_5>,_std::var_2<std::pair<std::__cxx11::basic_string<var_3,_std::char_traits<var_3>,_std::var_2<var_3>var_4>,var_5>var_4>var_4>
             ._M_impl._M_start;
    if ((this->filename_exclusions_).
        super__Vector_base<std::pair<std::__cxx11::basic_string<var_3,_std::char_traits<var_3>,_std::var_2<var_3>var_4>,var_5>,_std::var_2<std::pair<std::__cxx11::basic_string<var_3,_std::char_traits<var_3>,_std::var_2<var_3>var_4>,var_5>var_4>var_4>
        ._M_impl._M_finish == var_6) {
      return true;
    }
  }
  else {
    if (var_1 == (char *)0x0) {
      return false;
    }
    pcVar1 = (this->filename_pattern_)._M_dataplus._M_p;
    if (this->filename_is_wildcard_ == false) {
      var_9 = var_7(var_1,pcVar1);
    }
    else {
      var_9 = var_8(pcVar1,var_1,0);
    }
    if (var_9 != 0) {
      return false;
    }
    var_6 = (this->filename_exclusions_).
             super__Vector_base<std::pair<std::__cxx11::basic_string<var_3,_std::char_traits<var_3>,_std::var_2<var_3>var_4>,var_5>,_std::var_2<std::pair<std::__cxx11::basic_string<var_3,_std::char_traits<var_3>,_std::var_2<var_3>var_4>,var_5>var_4>var_4>
             ._M_impl._M_start;
    if ((this->filename_exclusions_).
        super__Vector_base<std::pair<std::__cxx11::basic_string<var_3,_std::char_traits<var_3>,_std::var_2<var_3>var_4>,var_5>,_std::var_2<std::pair<std::__cxx11::basic_string<var_3,_std::char_traits<var_3>,_std::var_2<var_3>var_4>,var_5>var_4>var_4>
        ._M_impl._M_finish == var_6) {
      return true;
    }
  }
  while( true ) {
    pcVar1 = (var_6->first)._M_dataplus._M_p;
    if (var_6->second == false) {
      var_9 = var_7(var_1,pcVar1);
    }
    else {
      var_9 = var_8(pcVar1,var_1,0);
    }
    if (var_9 == 0) break;
    var_6 = var_6 + 1;
    if ((this->filename_exclusions_).
        super__Vector_base<std::pair<std::__cxx11::basic_string<var_3,_std::char_traits<var_3>,_std::var_2<var_3>var_4>,var_5>,_std::var_2<std::pair<std::__cxx11::basic_string<var_3,_std::char_traits<var_3>,_std::var_2<var_3>var_4>,var_5>var_4>var_4>
        ._M_impl._M_finish == var_6) {
      return true;
    }
  }
  return false;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (return_statement (number_literal))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier) (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (return_statement (number_literal))))))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) (identifier) (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (return_statement (number_literal)))))) (return_statement (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(int param_1,char *param_2)

{
  int iVar1;
  undefined4 *puVar2;
  
  if (*(int *)(param_1 + 8) == 0) {
    if (param_2 == (char *)0x0) {
      return 1;
    }
    puVar2 = *(undefined4 **)(param_1 + 0x24);
    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {
      return 1;
    }
  }
  else {
    if (param_2 == (char *)0x0) {
      return 0;
    }
    if (*(char *)(param_1 + 0x1c) == '\0') {
      iVar1 = strcmp(param_2,*(char **)(param_1 + 4));
    }
    else {
      iVar1 = fnmatch(*(char **)(param_1 + 4),param_2,0);
    }
    if (iVar1 != 0) {
      return 0;
    }
    puVar2 = *(undefined4 **)(param_1 + 0x24);
    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {
      return 1;
    }
  }
  while( true ) {
    if (*(char *)(puVar2 + 6) == '\0') {
      iVar1 = strcmp(param_2,(char *)*puVar2);
    }
    else {
      iVar1 = fnmatch((char *)*puVar2,param_2,0);
    }
    if (iVar1 == 0) break;
    puVar2 = puVar2 + 7;
    if (*(undefined4 **)(param_1 + 0x28) == puVar2) {
      return 1;
    }
  }
  return 0;
}

