
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: bool match_view(Target * this, uchar * view, section_size_type
   view_size, section_offset_type offset, char * bytes, size_t len) */

bool __thiscall
gold::Target::match_view
          (Target *this,uchar *view,section_size_type view_size,section_offset_type offset,
          char *bytes,size_t len)

{
}



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

bool FUN_001feed0(undefined4 param_1,int param_2,uint param_3,int param_4,void *param_5,
                 size_t param_6)

{
  int iVar1;
  bool bVar2;
  
  bVar2 = false;
  if (param_4 + param_6 <= param_3) {
    iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);
    bVar2 = iVar1 == 0;
  }
  return bVar2;
}


PUSH ESI
XOR EAX,EAX
PUSH EBX
CALL 0x0003a210
ADD EBX,0x215127
SUB ESP,0x4
MOV EDX,dword ptr [ESP + 0x1c]
MOV ECX,dword ptr [ESP + 0x24]
LEA ESI,[EDX + ECX*0x1]
CMP ESI,dword ptr [ESP + 0x18]
JA 0x001fef0d
SUB ESP,0x4
PUSH ECX
PUSH dword ptr [ESP + 0x28]
ADD EDX,dword ptr [ESP + 0x20]
PUSH EDX
CALL 0x0002c4f0
ADD ESP,0x10
TEST EAX,EAX
SETZ AL
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbool FUN_001feed0(undefined4 param_1,int param_2,uint param_3,int param_4,void *param_5,\n                 size_t param_6)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = false;\n  if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);\n    bVar2 = iVar1 == 0;\n  }\n  return bVar2;\n}\n\n" comment (function_definition "bool FUN_001feed0(undefined4 param_1,int param_2,uint param_3,int param_4,void *param_5,\n                 size_t param_6)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = false;\n  if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);\n    bVar2 = iVar1 == 0;\n  }\n  return bVar2;\n}" primitive_type (function_declarator "FUN_001feed0(undefined4 param_1,int param_2,uint param_3,int param_4,void *param_5,\n                 size_t param_6)" identifier (parameter_list "(undefined4 param_1,int param_2,uint param_3,int param_4,void *param_5,\n                 size_t param_6)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "void *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "size_t param_6" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = false;\n  if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);\n    bVar2 = iVar1 == 0;\n  }\n  return bVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (if_statement "if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);\n    bVar2 = iVar1 == 0;\n  }" if (parenthesized_expression "(param_4 + param_6 <= param_3)" ( (binary_expression "param_4 + param_6 <= param_3" (binary_expression "param_4 + param_6" identifier + identifier) <= identifier) )) (compound_statement "{\n    iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);\n    bVar2 = iVar1 == 0;\n  }" { (expression_statement "iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);" (assignment_expression "iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6)" identifier = (call_expression "memcmp((void *)(param_4 + param_2),param_5,param_6)" identifier (argument_list "((void *)(param_4 + param_2),param_5,param_6)" ( (cast_expression "(void *)(param_4 + param_2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + param_2)" ( (binary_expression "param_4 + param_2" identifier + identifier) ))) , identifier , identifier )))) ;) (expression_statement "bVar2 = iVar1 == 0;" (assignment_expression "bVar2 = iVar1 == 0" identifier = (binary_expression "iVar1 == 0" identifier == number_literal)) ;) })) (return_statement "return bVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* DWARF original prototype: bool match_view(Target * this, uchar * view, section_size_type\n   view_size, section_offset_type offset, char * bytes, size_t len) */\n\nbool __thiscall\ngold::Target::match_view\n          (Target *this,uchar *view,section_size_type view_size,section_offset_type offset,\n          char *bytes,size_t len)\n\n{\n}\n\n" comment comment comment (function_definition "bool __thiscall\ngold::Target::match_view\n          (Target *this,uchar *view,section_size_type view_size,section_offset_type offset,\n          char *bytes,size_t len)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Target::" identifier : : identifier : :) (function_declarator "match_view\n          (Target *this,uchar *view,section_size_type view_size,section_offset_type offset,\n          char *bytes,size_t len)" identifier (parameter_list "(Target *this,uchar *view,section_size_type view_size,section_offset_type offset,\n          char *bytes,size_t len)" ( (parameter_declaration "Target *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uchar *view" type_identifier (pointer_declarator "*view" * identifier)) , (parameter_declaration "section_size_type view_size" type_identifier identifier) , (parameter_declaration "section_offset_type offset" type_identifier identifier) , (parameter_declaration "char *bytes" primitive_type (pointer_declarator "*bytes" * identifier)) , (parameter_declaration "size_t len" primitive_type identifier) ))) (compound_statement "{\n}" { })))
(translation_unit "bool FUN_001feed0(undefined4 param_1,int param_2,uint param_3,int param_4,void *param_5,\n                 size_t param_6)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = false;\n  if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);\n    bVar2 = iVar1 == 0;\n  }\n  return bVar2;\n}\n\n" (function_definition "bool FUN_001feed0(undefined4 param_1,int param_2,uint param_3,int param_4,void *param_5,\n                 size_t param_6)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = false;\n  if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);\n    bVar2 = iVar1 == 0;\n  }\n  return bVar2;\n}" primitive_type (function_declarator "FUN_001feed0(undefined4 param_1,int param_2,uint param_3,int param_4,void *param_5,\n                 size_t param_6)" identifier (parameter_list "(undefined4 param_1,int param_2,uint param_3,int param_4,void *param_5,\n                 size_t param_6)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "void *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "size_t param_6" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = false;\n  if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);\n    bVar2 = iVar1 == 0;\n  }\n  return bVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (if_statement "if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);\n    bVar2 = iVar1 == 0;\n  }" if (parenthesized_expression "(param_4 + param_6 <= param_3)" ( (binary_expression "param_4 + param_6 <= param_3" (binary_expression "param_4 + param_6" identifier + identifier) <= identifier) )) (compound_statement "{\n    iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);\n    bVar2 = iVar1 == 0;\n  }" { (expression_statement "iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);" (assignment_expression "iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6)" identifier = (call_expression "memcmp((void *)(param_4 + param_2),param_5,param_6)" identifier (argument_list "((void *)(param_4 + param_2),param_5,param_6)" ( (cast_expression "(void *)(param_4 + param_2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + param_2)" ( (binary_expression "param_4 + param_2" identifier + identifier) ))) , identifier , identifier )))) ;) (expression_statement "bVar2 = iVar1 == 0;" (assignment_expression "bVar2 = iVar1 == 0" identifier = (binary_expression "iVar1 == 0" identifier == number_literal)) ;) })) (return_statement "return bVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) })) (return_statement return IDENT ;) })))
(function_definition "bool FUN_001feed0(undefined4 param_1,int param_2,uint param_3,int param_4,void *param_5,\n                 size_t param_6)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = false;\n  if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);\n    bVar2 = iVar1 == 0;\n  }\n  return bVar2;\n}" (primitive_type "bool") (function_declarator "FUN_001feed0(undefined4 param_1,int param_2,uint param_3,int param_4,void *param_5,\n                 size_t param_6)" (identifier "FUN_001feed0") (parameter_list "(undefined4 param_1,int param_2,uint param_3,int param_4,void *param_5,\n                 size_t param_6)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "void *param_5" (primitive_type "void") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "size_t param_6" (primitive_type "size_t") (identifier "param_6")) () ")"))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = false;\n  if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);\n    bVar2 = iVar1 == 0;\n  }\n  return bVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (; ";")) (if_statement "if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);\n    bVar2 = iVar1 == 0;\n  }" (if "if") (parenthesized_expression "(param_4 + param_6 <= param_3)" (( "(") (binary_expression "param_4 + param_6 <= param_3" (binary_expression "param_4 + param_6" (identifier "param_4") (+ "+") (identifier "param_6")) (<= "<=") (identifier "param_3")) () ")")) (compound_statement "{\n    iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);\n    bVar2 = iVar1 == 0;\n  }" ({ "{") (expression_statement "iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);" (assignment_expression "iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6)" (identifier "iVar1") (= "=") (call_expression "memcmp((void *)(param_4 + param_2),param_5,param_6)" (identifier "memcmp") (argument_list "((void *)(param_4 + param_2),param_5,param_6)" (( "(") (cast_expression "(void *)(param_4 + param_2)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + param_2)" (( "(") (binary_expression "param_4 + param_2" (identifier "param_4") (+ "+") (identifier "param_2")) () ")"))) (, ",") (identifier "param_5") (, ",") (identifier "param_6") () ")")))) (; ";")) (expression_statement "bVar2 = iVar1 == 0;" (assignment_expression "bVar2 = iVar1 == 0" (identifier "bVar2") (= "=") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) (; ";")) (} "}"))) (return_statement "return bVar2;" (return "return") (identifier "bVar2") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: bool match_view(Target * this, uchar * view, section_size_type
   view_size, section_offset_type offset, char * bytes, size_t len) */

bool __thiscall
gold::type_1::function_1
          (type_1 *this,type_2 *view,type_3 view_size,type_4 offset,
          char *bytes,size_t len)

{
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (false))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier))) consequence: (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: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))))

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

bool MASKED(undefined4 param_1,int param_2,uint param_3,int param_4,void *param_5,
                 size_t param_6)

{
  int iVar1;
  bool bVar2;
  
  bVar2 = false;
  if (param_4 + param_6 <= param_3) {
    iVar1 = memcmp((void *)(param_4 + param_2),param_5,param_6);
    bVar2 = iVar1 == 0;
  }
  return bVar2;
}

