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

ld_plugin_status
gold::get_input_section_contents(ld_plugin_section section,uchar **section_contents_ptr,size_t *len)

{
  section_size_type plen;
  
}



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

undefined4
FUN_001a6e70(undefined4 param_1,undefined4 param_2,undefined4 *param_3,undefined4 *param_4)

{
  char cVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 local_10;
  
  local_10 = 0x1a6e78;
  if (*(int *)(DAT_004144e8 + 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);
  }
  iVar2 = *(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c);
  if (iVar2 != 0) {
    if (*(char *)(iVar2 + 99) == '\0') {
      uVar3 = 3;
    }
    else {
      iVar2 = FUN_001a6cc0(iVar2,param_1);
      if (iVar2 != 0) {
        if (*(int *)(iVar2 + 0x1c) != 0) {
          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);
          if (cVar1 != '\0') {
            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);
            *param_3 = uVar3;
            *param_4 = local_10;
            return 0;
          }
        }
                    /* WARNING: Subroutine does not return */
        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");
      }
      uVar3 = 2;
    }
    return uVar3;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000da200("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0);
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x26d188
SUB ESP,0x10
MOV EDX,dword ptr [ESP + 0x20]
MOV ESI,dword ptr [ESP + 0x24]
LEA EAX,[EBX + 0x4e8]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x001a6f47
MOV EAX,dword ptr [EAX + 0x593c]
TEST EAX,EAX
JZ 0x001a6f5d
CMP byte ptr [EAX + 0x63],0x0
JZ 0x001a6f30
SUB ESP,0x8
PUSH EDX
PUSH EAX
CALL 0x001a6cc0
ADD ESP,0x10
MOV EDI,EAX
TEST EAX,EAX
JZ 0x001a6f40
MOV EAX,dword ptr [EAX + 0x1c]
TEST EAX,EAX
JZ 0x001a6f10
SUB ESP,0xc
ADD EAX,0x1c
PUSH EAX
CALL 0x000d28b0
ADD ESP,0x10
TEST AL,AL
JZ 0x001a6f10
PUSH 0x0
LEA EAX,[ESP + 0x10]
PUSH EAX
PUSH ESI
PUSH EDI
CALL 0x00121d40
MOV EDX,dword ptr [ESP + 0x38]
MOV dword ptr [EDX],EAX
MOV EAX,dword ptr [ESP + 0x3c]
MOV EDX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
MOV dword ptr [EAX],EDX
ADD ESP,0x10
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xffef4538]
PUSH EAX
LEA EAX,[EBX + 0xffef3c64]
PUSH 0x805
PUSH EAX
CALL 0x000da200
MOV EAX,0x3
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
MOV EAX,0x2
JMP 0x001a6f35
LEA EAX,[EBX + 0xffef4334]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xffece26d]
PUSH 0x5c
PUSH EAX
CALL 0x000da200
PUSH EAX
LEA EAX,[EBX + 0xffef4538]
PUSH EAX
LEA EAX,[EBX + 0xffef3c64]
PUSH 0x7f9
PUSH EAX
CALL 0x000da200
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4\nFUN_001a6e70(undefined4 param_1,undefined4 param_2,undefined4 *param_3,undefined4 *param_4)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 local_10;\n  \n  local_10 = 0x1a6e78;\n  if (*(int *)(DAT_004144e8 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);\n  }\n  iVar2 = *(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c);\n  if (iVar2 != 0) {\n    if (*(char *)(iVar2 + 99) == '\0') {\n      uVar3 = 3;\n    }\n    else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }\n    return uVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0);\n}\n\n" comment (function_definition "undefined4\nFUN_001a6e70(undefined4 param_1,undefined4 param_2,undefined4 *param_3,undefined4 *param_4)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 local_10;\n  \n  local_10 = 0x1a6e78;\n  if (*(int *)(DAT_004144e8 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);\n  }\n  iVar2 = *(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c);\n  if (iVar2 != 0) {\n    if (*(char *)(iVar2 + 99) == '\0') {\n      uVar3 = 3;\n    }\n    else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }\n    return uVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0);\n}" type_identifier (function_declarator "FUN_001a6e70(undefined4 param_1,undefined4 param_2,undefined4 *param_3,undefined4 *param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 *param_3,undefined4 *param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 local_10;\n  \n  local_10 = 0x1a6e78;\n  if (*(int *)(DAT_004144e8 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);\n  }\n  iVar2 = *(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c);\n  if (iVar2 != 0) {\n    if (*(char *)(iVar2 + 99) == '\0') {\n      uVar3 = 3;\n    }\n    else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }\n    return uVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0);\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 local_10;" type_identifier identifier ;) (expression_statement "local_10 = 0x1a6e78;" (assignment_expression "local_10 = 0x1a6e78" identifier = number_literal) ;) (if_statement "if (*(int *)(DAT_004144e8 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);\n  }" if (parenthesized_expression "(*(int *)(DAT_004144e8 + 8) == 0)" ( (binary_expression "*(int *)(DAT_004144e8 + 8) == 0" (pointer_expression "*(int *)(DAT_004144e8 + 8)" * (cast_expression "(int *)(DAT_004144e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_004144e8 + 8)" ( (binary_expression "DAT_004144e8 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);\n  }" { comment (expression_statement "FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);" (call_expression "FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1)" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",param_1)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar2 = *(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c);" (assignment_expression "iVar2 = *(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c)" identifier = (pointer_expression "*(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c)" * (cast_expression "(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_004144e8 + 8) + 0x593c)" ( (binary_expression "*(int *)(DAT_004144e8 + 8) + 0x593c" (pointer_expression "*(int *)(DAT_004144e8 + 8)" * (cast_expression "(int *)(DAT_004144e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_004144e8 + 8)" ( (binary_expression "DAT_004144e8 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) {\n    if (*(char *)(iVar2 + 99) == '\0') {\n      uVar3 = 3;\n    }\n    else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }\n    return uVar3;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(char *)(iVar2 + 99) == '\0') {\n      uVar3 = 3;\n    }\n    else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }\n    return uVar3;\n  }" { (if_statement "if (*(char *)(iVar2 + 99) == '\0') {\n      uVar3 = 3;\n    }\n    else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }" if (parenthesized_expression "(*(char *)(iVar2 + 99) == '\0')" ( (binary_expression "*(char *)(iVar2 + 99) == '\0'" (pointer_expression "*(char *)(iVar2 + 99)" * (cast_expression "(char *)(iVar2 + 99)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 99)" ( (binary_expression "iVar2 + 99" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar3 = 3;\n    }" { (expression_statement "uVar3 = 3;" (assignment_expression "uVar3 = 3" identifier = number_literal) ;) }) (else_clause "else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }" else (compound_statement "{\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }" { (expression_statement "iVar2 = FUN_001a6cc0(iVar2,param_1);" (assignment_expression "iVar2 = FUN_001a6cc0(iVar2,param_1)" identifier = (call_expression "FUN_001a6cc0(iVar2,param_1)" identifier (argument_list "(iVar2,param_1)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }" { (if_statement "if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }" if (parenthesized_expression "(*(int *)(iVar2 + 0x1c) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x1c) != 0" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }" { (expression_statement "cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);" (assignment_expression "cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c)" identifier = (call_expression "FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c)" identifier (argument_list "(*(int *)(iVar2 + 0x1c) + 0x1c)" ( (binary_expression "*(int *)(iVar2 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }" { (expression_statement "uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);" (assignment_expression "uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0)" identifier = (call_expression "FUN_00121d40(iVar2,param_2,&local_10,0)" identifier (argument_list "(iVar2,param_2,&local_10,0)" ( identifier , identifier , (pointer_expression "&local_10" & identifier) , number_literal )))) ;) (expression_statement "*param_3 = uVar3;" (assignment_expression "*param_3 = uVar3" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "*param_4 = local_10;" (assignment_expression "*param_4 = local_10" (pointer_expression "*param_4" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) })) comment (expression_statement "FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");" (call_expression "FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents")" identifier (argument_list "("../../gold/plugin.cc",0x805,"get_input_section_contents")" ( (string_literal ""../../gold/plugin.cc"" " string_content ") , number_literal , (string_literal ""get_input_section_contents"" " string_content ") ))) ;) })) (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" identifier = number_literal) ;) }))) (return_statement "return uVar3;" return identifier ;) })) comment (expression_statement "FUN_000da200("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0);" (call_expression "FUN_000da200("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0)" identifier (argument_list "("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0)" ( (string_literal ""../../gold/plugin.cc"" " string_content ") , number_literal , (string_literal ""get_input_section_contents"" " string_content ") , number_literal ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nld_plugin_status\ngold::get_input_section_contents(ld_plugin_section section,uchar **section_contents_ptr,size_t *len)\n\n{\n  section_size_type plen;\n  \n}\n\n" comment (function_definition "ld_plugin_status\ngold::get_input_section_contents(ld_plugin_section section,uchar **section_contents_ptr,size_t *len)\n\n{\n  section_size_type plen;\n  \n}" type_identifier (ERROR "gold::" identifier : :) (function_declarator "get_input_section_contents(ld_plugin_section section,uchar **section_contents_ptr,size_t *len)" identifier (parameter_list "(ld_plugin_section section,uchar **section_contents_ptr,size_t *len)" ( (parameter_declaration "ld_plugin_section section" type_identifier identifier) , (parameter_declaration "uchar **section_contents_ptr" type_identifier (pointer_declarator "**section_contents_ptr" * (pointer_declarator "*section_contents_ptr" * identifier))) , (parameter_declaration "size_t *len" primitive_type (pointer_declarator "*len" * identifier)) ))) (compound_statement "{\n  section_size_type plen;\n  \n}" { (declaration "section_size_type plen;" type_identifier identifier ;) })))
(translation_unit "undefined4\nFUN_001a6e70(undefined4 param_1,undefined4 param_2,undefined4 *param_3,undefined4 *param_4)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 local_10;\n  \n  local_10 = 0x1a6e78;\n  if (*(int *)(DAT_004144e8 + 8) == 0) {\n                    \n    FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);\n  }\n  iVar2 = *(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c);\n  if (iVar2 != 0) {\n    if (*(char *)(iVar2 + 99) == '\0') {\n      uVar3 = 3;\n    }\n    else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }\n    return uVar3;\n  }\n                    \n  FUN_000da200("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0);\n}\n\n" (function_definition "undefined4\nFUN_001a6e70(undefined4 param_1,undefined4 param_2,undefined4 *param_3,undefined4 *param_4)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 local_10;\n  \n  local_10 = 0x1a6e78;\n  if (*(int *)(DAT_004144e8 + 8) == 0) {\n                    \n    FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);\n  }\n  iVar2 = *(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c);\n  if (iVar2 != 0) {\n    if (*(char *)(iVar2 + 99) == '\0') {\n      uVar3 = 3;\n    }\n    else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }\n    return uVar3;\n  }\n                    \n  FUN_000da200("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0);\n}" type_identifier (function_declarator "FUN_001a6e70(undefined4 param_1,undefined4 param_2,undefined4 *param_3,undefined4 *param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 *param_3,undefined4 *param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 local_10;\n  \n  local_10 = 0x1a6e78;\n  if (*(int *)(DAT_004144e8 + 8) == 0) {\n                    \n    FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);\n  }\n  iVar2 = *(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c);\n  if (iVar2 != 0) {\n    if (*(char *)(iVar2 + 99) == '\0') {\n      uVar3 = 3;\n    }\n    else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }\n    return uVar3;\n  }\n                    \n  FUN_000da200("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0);\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 local_10;" type_identifier identifier ;) (expression_statement "local_10 = 0x1a6e78;" (assignment_expression "local_10 = 0x1a6e78" identifier = number_literal) ;) (if_statement "if (*(int *)(DAT_004144e8 + 8) == 0) {\n                    \n    FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);\n  }" if (parenthesized_expression "(*(int *)(DAT_004144e8 + 8) == 0)" ( (binary_expression "*(int *)(DAT_004144e8 + 8) == 0" (pointer_expression "*(int *)(DAT_004144e8 + 8)" * (cast_expression "(int *)(DAT_004144e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_004144e8 + 8)" ( (binary_expression "DAT_004144e8 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n    FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);\n  }" { (expression_statement "FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);" (call_expression "FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1)" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",param_1)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar2 = *(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c);" (assignment_expression "iVar2 = *(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c)" identifier = (pointer_expression "*(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c)" * (cast_expression "(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_004144e8 + 8) + 0x593c)" ( (binary_expression "*(int *)(DAT_004144e8 + 8) + 0x593c" (pointer_expression "*(int *)(DAT_004144e8 + 8)" * (cast_expression "(int *)(DAT_004144e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_004144e8 + 8)" ( (binary_expression "DAT_004144e8 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) {\n    if (*(char *)(iVar2 + 99) == '\0') {\n      uVar3 = 3;\n    }\n    else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }\n    return uVar3;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(char *)(iVar2 + 99) == '\0') {\n      uVar3 = 3;\n    }\n    else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }\n    return uVar3;\n  }" { (if_statement "if (*(char *)(iVar2 + 99) == '\0') {\n      uVar3 = 3;\n    }\n    else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }" if (parenthesized_expression "(*(char *)(iVar2 + 99) == '\0')" ( (binary_expression "*(char *)(iVar2 + 99) == '\0'" (pointer_expression "*(char *)(iVar2 + 99)" * (cast_expression "(char *)(iVar2 + 99)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 99)" ( (binary_expression "iVar2 + 99" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar3 = 3;\n    }" { (expression_statement "uVar3 = 3;" (assignment_expression "uVar3 = 3" identifier = number_literal) ;) }) (else_clause "else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }" else (compound_statement "{\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }" { (expression_statement "iVar2 = FUN_001a6cc0(iVar2,param_1);" (assignment_expression "iVar2 = FUN_001a6cc0(iVar2,param_1)" identifier = (call_expression "FUN_001a6cc0(iVar2,param_1)" identifier (argument_list "(iVar2,param_1)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }" { (if_statement "if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }" if (parenthesized_expression "(*(int *)(iVar2 + 0x1c) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x1c) != 0" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }" { (expression_statement "cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);" (assignment_expression "cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c)" identifier = (call_expression "FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c)" identifier (argument_list "(*(int *)(iVar2 + 0x1c) + 0x1c)" ( (binary_expression "*(int *)(iVar2 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }" { (expression_statement "uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);" (assignment_expression "uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0)" identifier = (call_expression "FUN_00121d40(iVar2,param_2,&local_10,0)" identifier (argument_list "(iVar2,param_2,&local_10,0)" ( identifier , identifier , (pointer_expression "&local_10" & identifier) , number_literal )))) ;) (expression_statement "*param_3 = uVar3;" (assignment_expression "*param_3 = uVar3" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "*param_4 = local_10;" (assignment_expression "*param_4 = local_10" (pointer_expression "*param_4" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");" (call_expression "FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents")" identifier (argument_list "("../../gold/plugin.cc",0x805,"get_input_section_contents")" ( (string_literal ""../../gold/plugin.cc"" " string_content ") , number_literal , (string_literal ""get_input_section_contents"" " string_content ") ))) ;) })) (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" identifier = number_literal) ;) }))) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "FUN_000da200("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0);" (call_expression "FUN_000da200("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0)" identifier (argument_list "("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0)" ( (string_literal ""../../gold/plugin.cc"" " string_content ") , number_literal , (string_literal ""get_input_section_contents"" " string_content ") , number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (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 = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (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) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return LIT ;) })) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , LIT ))) ;) })))
(function_definition "undefined4\nFUN_001a6e70(undefined4 param_1,undefined4 param_2,undefined4 *param_3,undefined4 *param_4)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 local_10;\n  \n  local_10 = 0x1a6e78;\n  if (*(int *)(DAT_004144e8 + 8) == 0) {\n                    \n    FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);\n  }\n  iVar2 = *(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c);\n  if (iVar2 != 0) {\n    if (*(char *)(iVar2 + 99) == '\0') {\n      uVar3 = 3;\n    }\n    else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }\n    return uVar3;\n  }\n                    \n  FUN_000da200("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0);\n}" (type_identifier "undefined4") (function_declarator "FUN_001a6e70(undefined4 param_1,undefined4 param_2,undefined4 *param_3,undefined4 *param_4)" (identifier "FUN_001a6e70") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 *param_3,undefined4 *param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 local_10;\n  \n  local_10 = 0x1a6e78;\n  if (*(int *)(DAT_004144e8 + 8) == 0) {\n                    \n    FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);\n  }\n  iVar2 = *(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c);\n  if (iVar2 != 0) {\n    if (*(char *)(iVar2 + 99) == '\0') {\n      uVar3 = 3;\n    }\n    else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }\n    return uVar3;\n  }\n                    \n  FUN_000da200("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0);\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 local_10;" (type_identifier "undefined4") (identifier "local_10") (; ";")) (expression_statement "local_10 = 0x1a6e78;" (assignment_expression "local_10 = 0x1a6e78" (identifier "local_10") (= "=") (number_literal "0x1a6e78")) (; ";")) (if_statement "if (*(int *)(DAT_004144e8 + 8) == 0) {\n                    \n    FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);\n  }" (if "if") (parenthesized_expression "(*(int *)(DAT_004144e8 + 8) == 0)" (( "(") (binary_expression "*(int *)(DAT_004144e8 + 8) == 0" (pointer_expression "*(int *)(DAT_004144e8 + 8)" (* "*") (cast_expression "(int *)(DAT_004144e8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_004144e8 + 8)" (( "(") (binary_expression "DAT_004144e8 + 8" (identifier "DAT_004144e8") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);\n  }" ({ "{") (expression_statement "FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);" (call_expression "FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1)" (identifier "FUN_000da200") (argument_list "("../../gold/parameters.h",0x5c,"options",param_1)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x5c") (, ",") (string_literal ""options"" (" """) (string_content "options") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = *(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c);" (assignment_expression "iVar2 = *(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c)" (* "*") (cast_expression "(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_004144e8 + 8) + 0x593c)" (( "(") (binary_expression "*(int *)(DAT_004144e8 + 8) + 0x593c" (pointer_expression "*(int *)(DAT_004144e8 + 8)" (* "*") (cast_expression "(int *)(DAT_004144e8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_004144e8 + 8)" (( "(") (binary_expression "DAT_004144e8 + 8" (identifier "DAT_004144e8") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x593c")) () ")"))))) (; ";")) (if_statement "if (iVar2 != 0) {\n    if (*(char *)(iVar2 + 99) == '\0') {\n      uVar3 = 3;\n    }\n    else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }\n    return uVar3;\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(char *)(iVar2 + 99) == '\0') {\n      uVar3 = 3;\n    }\n    else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }\n    return uVar3;\n  }" ({ "{") (if_statement "if (*(char *)(iVar2 + 99) == '\0') {\n      uVar3 = 3;\n    }\n    else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }" (if "if") (parenthesized_expression "(*(char *)(iVar2 + 99) == '\0')" (( "(") (binary_expression "*(char *)(iVar2 + 99) == '\0'" (pointer_expression "*(char *)(iVar2 + 99)" (* "*") (cast_expression "(char *)(iVar2 + 99)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 99)" (( "(") (binary_expression "iVar2 + 99" (identifier "iVar2") (+ "+") (number_literal "99")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      uVar3 = 3;\n    }" ({ "{") (expression_statement "uVar3 = 3;" (assignment_expression "uVar3 = 3" (identifier "uVar3") (= "=") (number_literal "3")) (; ";")) (} "}")) (else_clause "else {\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }" (else "else") (compound_statement "{\n      iVar2 = FUN_001a6cc0(iVar2,param_1);\n      if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }\n      uVar3 = 2;\n    }" ({ "{") (expression_statement "iVar2 = FUN_001a6cc0(iVar2,param_1);" (assignment_expression "iVar2 = FUN_001a6cc0(iVar2,param_1)" (identifier "iVar2") (= "=") (call_expression "FUN_001a6cc0(iVar2,param_1)" (identifier "FUN_001a6cc0") (argument_list "(iVar2,param_1)" (( "(") (identifier "iVar2") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }\n                    \n        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");\n      }" ({ "{") (if_statement "if (*(int *)(iVar2 + 0x1c) != 0) {\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x1c) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x1c) != 0" (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);\n          if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }\n        }" ({ "{") (expression_statement "cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);" (assignment_expression "cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c)" (identifier "cVar1") (= "=") (call_expression "FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c)" (identifier "FUN_000d28b0") (argument_list "(*(int *)(iVar2 + 0x1c) + 0x1c)" (( "(") (binary_expression "*(int *)(iVar2 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "0x1c")) () ")")))) (; ";")) (if_statement "if (cVar1 != '\0') {\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }" (if "if") (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);\n            *param_3 = uVar3;\n            *param_4 = local_10;\n            return 0;\n          }" ({ "{") (expression_statement "uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);" (assignment_expression "uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0)" (identifier "uVar3") (= "=") (call_expression "FUN_00121d40(iVar2,param_2,&local_10,0)" (identifier "FUN_00121d40") (argument_list "(iVar2,param_2,&local_10,0)" (( "(") (identifier "iVar2") (, ",") (identifier "param_2") (, ",") (pointer_expression "&local_10" (& "&") (identifier "local_10")) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "*param_3 = uVar3;" (assignment_expression "*param_3 = uVar3" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "*param_4 = local_10;" (assignment_expression "*param_4 = local_10" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "local_10")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");" (call_expression "FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents")" (identifier "FUN_000da200") (argument_list "("../../gold/plugin.cc",0x805,"get_input_section_contents")" (( "(") (string_literal ""../../gold/plugin.cc"" (" """) (string_content "../../gold/plugin.cc") (" """)) (, ",") (number_literal "0x805") (, ",") (string_literal ""get_input_section_contents"" (" """) (string_content "get_input_section_contents") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" (identifier "uVar3") (= "=") (number_literal "2")) (; ";")) (} "}")))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "FUN_000da200("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0);" (call_expression "FUN_000da200("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0)" (identifier "FUN_000da200") (argument_list "("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0)" (( "(") (string_literal ""../../gold/plugin.cc"" (" """) (string_content "../../gold/plugin.cc") (" """)) (, ",") (number_literal "0x7f9") (, ",") (string_literal ""get_input_section_contents"" (" """) (string_content "get_input_section_contents") (" """)) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")))

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

type_1
gold::function_1(type_2 section,type_3 **section_contents_ptr,size_t *len)

{
  type_4 plen;
  
}


(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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (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: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (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: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (pointer_expression argument: (identifier)) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (number_literal)))))))

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

undefined4
MASKED(undefined4 param_1,undefined4 param_2,undefined4 *param_3,undefined4 *param_4)

{
  char cVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 local_10;
  
  local_10 = 0x1a6e78;
  if (*(int *)(DAT_004144e8 + 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/parameters.h",0x5c,"options",param_1);
  }
  iVar2 = *(int *)(*(int *)(DAT_004144e8 + 8) + 0x593c);
  if (iVar2 != 0) {
    if (*(char *)(iVar2 + 99) == '\0') {
      uVar3 = 3;
    }
    else {
      iVar2 = FUN_001a6cc0(iVar2,param_1);
      if (iVar2 != 0) {
        if (*(int *)(iVar2 + 0x1c) != 0) {
          cVar1 = FUN_000d28b0(*(int *)(iVar2 + 0x1c) + 0x1c);
          if (cVar1 != '\0') {
            uVar3 = FUN_00121d40(iVar2,param_2,&local_10,0);
            *param_3 = uVar3;
            *param_4 = local_10;
            return 0;
          }
        }
                    /* WARNING: Subroutine does not return */
        FUN_000da200("../../gold/plugin.cc",0x805,"get_input_section_contents");
      }
      uVar3 = 2;
    }
    return uVar3;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000da200("../../gold/plugin.cc",0x7f9,"get_input_section_contents",0);
}

