
/* 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)

{
  int iVar1;
  
  if (offset + len <= view_size) {
    iVar1 = memcmp(view + offset,bytes,len);
    return iVar1 == 0;
  }
  return false;
}



undefined8
FUN_0025b670(undefined8 param_1,long param_2,ulong param_3,long param_4,void *param_5,size_t param_6
            )

{
  int iVar1;
  undefined4 extraout_var;
  
  if (param_4 + param_6 <= param_3) {
    iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6);
    return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0);
  }
  return 0;
}


MOV RDI,RSI
LEA RSI,[RCX + R9*0x1]
CMP RSI,RDX
JA 0x0025b6a0
SUB RSP,0x8
ADD RDI,RCX
MOV RDX,R9
MOV RSI,R8
CALL 0x00144830
TEST EAX,EAX
SETZ AL
ADD RSP,0x8
RET
XOR EAX,EAX
RET
(translation_unit "undefined8\nFUN_0025b670(undefined8 param_1,long param_2,ulong param_3,long param_4,void *param_5,size_t param_6\n            )\n\n{\n  int iVar1;\n  undefined4 extraout_var;\n  \n  if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6);\n    return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0);\n  }\n  return 0;\n}\n\n" (function_definition "undefined8\nFUN_0025b670(undefined8 param_1,long param_2,ulong param_3,long param_4,void *param_5,size_t param_6\n            )\n\n{\n  int iVar1;\n  undefined4 extraout_var;\n  \n  if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6);\n    return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0025b670(undefined8 param_1,long param_2,ulong param_3,long param_4,void *param_5,size_t param_6\n            )" identifier (parameter_list "(undefined8 param_1,long param_2,ulong param_3,long param_4,void *param_5,size_t param_6\n            )" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong param_3" type_identifier identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) 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  undefined4 extraout_var;\n  \n  if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6);\n    return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0);\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 extraout_var;" type_identifier identifier ;) (if_statement "if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6);\n    return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),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_2 + param_4),param_5,param_6);\n    return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0);\n  }" { (expression_statement "iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6);" (assignment_expression "iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6)" identifier = (call_expression "memcmp((void *)(param_2 + param_4),param_5,param_6)" identifier (argument_list "((void *)(param_2 + param_4),param_5,param_6)" ( (cast_expression "(void *)(param_2 + param_4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + param_4)" ( (binary_expression "param_2 + param_4" identifier + identifier) ))) , identifier , identifier )))) ;) (return_statement "return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0);" return (call_expression "CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0)" identifier (argument_list "((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0)" ( (call_expression "(int7)(CONCAT44(extraout_var,iVar1) >> 8)" (parenthesized_expression "(int7)" ( identifier )) (argument_list "(CONCAT44(extraout_var,iVar1) >> 8)" ( (binary_expression "CONCAT44(extraout_var,iVar1) >> 8" (call_expression "CONCAT44(extraout_var,iVar1)" identifier (argument_list "(extraout_var,iVar1)" ( identifier , identifier ))) >> number_literal) ))) , (binary_expression "iVar1 == 0" identifier == number_literal) ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* 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  int iVar1;\n  \n  if (offset + len <= view_size) {\n    iVar1 = memcmp(view + offset,bytes,len);\n    return iVar1 == 0;\n  }\n  return false;\n}\n\n" 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  int iVar1;\n  \n  if (offset + len <= view_size) {\n    iVar1 = memcmp(view + offset,bytes,len);\n    return iVar1 == 0;\n  }\n  return false;\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  int iVar1;\n  \n  if (offset + len <= view_size) {\n    iVar1 = memcmp(view + offset,bytes,len);\n    return iVar1 == 0;\n  }\n  return false;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (offset + len <= view_size) {\n    iVar1 = memcmp(view + offset,bytes,len);\n    return iVar1 == 0;\n  }" if (parenthesized_expression "(offset + len <= view_size)" ( (binary_expression "offset + len <= view_size" (binary_expression "offset + len" identifier + identifier) <= identifier) )) (compound_statement "{\n    iVar1 = memcmp(view + offset,bytes,len);\n    return iVar1 == 0;\n  }" { (expression_statement "iVar1 = memcmp(view + offset,bytes,len);" (assignment_expression "iVar1 = memcmp(view + offset,bytes,len)" identifier = (call_expression "memcmp(view + offset,bytes,len)" identifier (argument_list "(view + offset,bytes,len)" ( (binary_expression "view + offset" identifier + identifier) , identifier , identifier )))) ;) (return_statement "return iVar1 == 0;" return (binary_expression "iVar1 == 0" identifier == number_literal) ;) })) (return_statement "return false;" return false ;) })))
(translation_unit "undefined8\nFUN_0025b670(undefined8 param_1,long param_2,ulong param_3,long param_4,void *param_5,size_t param_6\n            )\n\n{\n  int iVar1;\n  undefined4 extraout_var;\n  \n  if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6);\n    return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0);\n  }\n  return 0;\n}\n\n" (function_definition "undefined8\nFUN_0025b670(undefined8 param_1,long param_2,ulong param_3,long param_4,void *param_5,size_t param_6\n            )\n\n{\n  int iVar1;\n  undefined4 extraout_var;\n  \n  if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6);\n    return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0025b670(undefined8 param_1,long param_2,ulong param_3,long param_4,void *param_5,size_t param_6\n            )" identifier (parameter_list "(undefined8 param_1,long param_2,ulong param_3,long param_4,void *param_5,size_t param_6\n            )" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong param_3" type_identifier identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) 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  undefined4 extraout_var;\n  \n  if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6);\n    return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0);\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 extraout_var;" type_identifier identifier ;) (if_statement "if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6);\n    return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),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_2 + param_4),param_5,param_6);\n    return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0);\n  }" { (expression_statement "iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6);" (assignment_expression "iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6)" identifier = (call_expression "memcmp((void *)(param_2 + param_4),param_5,param_6)" identifier (argument_list "((void *)(param_2 + param_4),param_5,param_6)" ( (cast_expression "(void *)(param_2 + param_4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + param_4)" ( (binary_expression "param_2 + param_4" identifier + identifier) ))) , identifier , identifier )))) ;) (return_statement "return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0);" return (call_expression "CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0)" identifier (argument_list "((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0)" ( (call_expression "(int7)(CONCAT44(extraout_var,iVar1) >> 8)" (parenthesized_expression "(int7)" ( identifier )) (argument_list "(CONCAT44(extraout_var,iVar1) >> 8)" ( (binary_expression "CONCAT44(extraout_var,iVar1) >> 8" (call_expression "CONCAT44(extraout_var,iVar1)" identifier (argument_list "(extraout_var,iVar1)" ( identifier , identifier ))) >> number_literal) ))) , (binary_expression "iVar1 == 0" identifier == 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 (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 )))) ;) (return_statement return (call_expression IDENT (argument_list ( (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) >> LIT) ))) , (binary_expression IDENT == LIT) ))) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined8\nFUN_0025b670(undefined8 param_1,long param_2,ulong param_3,long param_4,void *param_5,size_t param_6\n            )\n\n{\n  int iVar1;\n  undefined4 extraout_var;\n  \n  if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6);\n    return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0);\n  }\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_0025b670(undefined8 param_1,long param_2,ulong param_3,long param_4,void *param_5,size_t param_6\n            )" (identifier "FUN_0025b670") (parameter_list "(undefined8 param_1,long param_2,ulong param_3,long param_4,void *param_5,size_t param_6\n            )" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "ulong param_3" (type_identifier "ulong") (identifier "param_3")) (, ",") (parameter_declaration "long param_4" (sized_type_specifier "long" (long "long")) (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  undefined4 extraout_var;\n  \n  if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6);\n    return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0);\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 extraout_var;" (type_identifier "undefined4") (identifier "extraout_var") (; ";")) (if_statement "if (param_4 + param_6 <= param_3) {\n    iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6);\n    return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),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_2 + param_4),param_5,param_6);\n    return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0);\n  }" ({ "{") (expression_statement "iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6);" (assignment_expression "iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6)" (identifier "iVar1") (= "=") (call_expression "memcmp((void *)(param_2 + param_4),param_5,param_6)" (identifier "memcmp") (argument_list "((void *)(param_2 + param_4),param_5,param_6)" (( "(") (cast_expression "(void *)(param_2 + param_4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + param_4)" (( "(") (binary_expression "param_2 + param_4" (identifier "param_2") (+ "+") (identifier "param_4")) () ")"))) (, ",") (identifier "param_5") (, ",") (identifier "param_6") () ")")))) (; ";")) (return_statement "return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0);" (return "return") (call_expression "CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0)" (identifier "CONCAT71") (argument_list "((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0)" (( "(") (call_expression "(int7)(CONCAT44(extraout_var,iVar1) >> 8)" (parenthesized_expression "(int7)" (( "(") (identifier "int7") () ")")) (argument_list "(CONCAT44(extraout_var,iVar1) >> 8)" (( "(") (binary_expression "CONCAT44(extraout_var,iVar1) >> 8" (call_expression "CONCAT44(extraout_var,iVar1)" (identifier "CONCAT44") (argument_list "(extraout_var,iVar1)" (( "(") (identifier "extraout_var") (, ",") (identifier "iVar1") () ")"))) (>> ">>") (number_literal "8")) () ")"))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")"))) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* 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 *var_5,type_3 var_3,type_4 var_1,
          char *bytes,size_t var_2)

{
  int var_6;
  
  if (var_1 + var_2 <= var_3) {
    var_6 = var_4(var_5 + var_1,bytes,var_2);
    return var_6 == 0;
  }
  return false;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) 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: (type_identifier) declarator: (identifier)) (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))))) (return_statement (call_expression function: (identifier) arguments: (argument_list (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))) right: (number_literal)))) (binary_expression left: (identifier) right: (number_literal))))))) (return_statement (number_literal)))))

undefined8
MASKED(undefined8 param_1,long param_2,ulong param_3,long param_4,void *param_5,size_t param_6
            )

{
  int iVar1;
  undefined4 extraout_var;
  
  if (param_4 + param_6 <= param_3) {
    iVar1 = memcmp((void *)(param_2 + param_4),param_5,param_6);
    return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),iVar1 == 0);
  }
  return 0;
}

