
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: void layout_gnu_stack(Layout * this, bool seen_gnu_stack, uint64_t
   gnu_stack_flags, Object * obj) */

void __thiscall
gold::Layout::layout_gnu_stack
          (Layout *this,bool seen_gnu_stack,uint64_t gnu_stack_flags,Object *obj)

{
  char *pcVar1;
  pointer pcVar2;
  
  if (seen_gnu_stack) {
    this->input_with_gnu_stack_note_ = true;
    if ((gnu_stack_flags & 4) != 0) {
      this->input_requires_executable_stack_ = true;
      if (parameters->options_ == (General_options *)0x0) goto LAB_000a941a;
      if ((parameters->options_->warn_execstack_).value != false) {
        pcVar2 = (obj->name_)._M_dataplus._M_p;
        pcVar1 = "%s: requires executable stack";
        goto LAB_000a93eb;
      }
    }
  }
  else {
    this->input_without_gnu_stack_note_ = true;
    if (parameters->options_ == (General_options *)0x0) {
LAB_000a941a:
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");
    }
    if ((parameters->options_->warn_execstack_).value != false) {
      if (parameters->target_ == (Target *)0x0) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/parameters.h",0x69,"target");
      }
      if (parameters->target_->pti_->is_default_stack_executable != false) {
        pcVar2 = (obj->name_)._M_dataplus._M_p;
        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";
LAB_000a93eb:
        pcVar1 = (char *)gettext(pcVar1);
        gold_warning(pcVar1,pcVar2);
        return;
      }
    }
  }
  return;
}



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

void FUN_000a9350(int param_1,char param_2,uint param_3,undefined4 param_4,int param_5)

{
  char *pcVar1;
  undefined4 uVar2;
  int iVar3;
  undefined4 uVar4;
  
  if (param_2 == '\0') {
    *(undefined1 *)(param_1 + 0x1c8) = 1;
    iVar3 = *(int *)(DAT_0033f2f0 + 8);
    if (iVar3 == 0) {
LAB_000a941a:
                    /* WARNING: Subroutine does not return */
      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);
    }
    if (*(char *)(iVar3 + 0x4559) != '\0') {
      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0008b620("../../gold/parameters.h",0x69,"target");
      }
      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {
        uVar4 = *(undefined4 *)(param_5 + 4);
        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";
LAB_000a93eb:
        uVar2 = gettext(pcVar1);
        FUN_00082900(uVar2,uVar4);
        return;
      }
    }
  }
  else {
    *(undefined1 *)(param_1 + 0x1c7) = 1;
    if ((param_3 & 4) != 0) {
      *(undefined1 *)(param_1 + 0x1c6) = 1;
      iVar3 = *(int *)(DAT_0033f2f0 + 8);
      if (iVar3 == 0) goto LAB_000a941a;
      if (*(char *)(iVar3 + 0x4559) != '\0') {
        uVar4 = *(undefined4 *)(param_5 + 4);
        pcVar1 = "%s: requires executable stack";
        goto LAB_000a93eb;
      }
    }
  }
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0x295ca9
SUB ESP,0x4
CMP byte ptr [ESP + 0x14],0x0
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x18]
JNZ 0x000a93b0
MOV byte ptr [EAX + 0x1c8],0x1
LEA EAX,[EBX + 0x2f0]
MOV EDX,dword ptr [EAX]
MOV EAX,dword ptr [EDX + 0x8]
TEST EAX,EAX
JZ 0x000a941a
CMP byte ptr [EAX + 0x4559],0x0
JZ 0x000a93a6
MOV EAX,dword ptr [EDX + 0xc]
TEST EAX,EAX
JZ 0x000a9430
MOV EAX,dword ptr [EAX + 0x4]
CMP byte ptr [EAX + 0xf],0x0
JNZ 0x000a9408
ADD ESP,0x4
POP EBX
POP ESI
RET
AND EDX,0x4
MOV byte ptr [EAX + 0x1c7],0x1
JZ 0x000a93a6
MOV byte ptr [EAX + 0x1c6],0x1
LEA EAX,[EBX + 0x2f0]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x000a941a
CMP byte ptr [EAX + 0x4559],0x0
JZ 0x000a93a6
MOV EAX,dword ptr [ESP + 0x20]
SUB ESP,0xc
MOV ESI,dword ptr [EAX + 0x4]
LEA EAX,[EBX + 0xfff16182]
PUSH EAX
CALL 0x000283c0
POP EDX
POP ECX
PUSH ESI
PUSH EAX
CALL 0x00082900
ADD ESP,0x10
ADD ESP,0x4
POP EBX
POP ESI
RET
MOV EAX,dword ptr [ESP + 0x20]
SUB ESP,0xc
MOV ESI,dword ptr [EAX + 0x4]
LEA EAX,[EBX + 0xfff167e4]
JMP 0x000a93eb
PUSH EAX
LEA EAX,[EBX + 0xfff17528]
PUSH EAX
LEA EAX,[EBX + 0xfff0726d]
PUSH 0x5c
PUSH EAX
CALL 0x0008b620
LEA EAX,[EBX + 0xfff174d8]
PUSH ESI
PUSH EAX
LEA EAX,[EBX + 0xfff0726d]
PUSH 0x69
PUSH EAX
CALL 0x0008b620
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000a9350(int param_1,char param_2,uint param_3,undefined4 param_4,int param_5)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  if (param_2 == '\0') {\n    *(undefined1 *)(param_1 + 0x1c8) = 1;\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\nLAB_000a941a:\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }\n    if (*(char *)(iVar3 + 0x4559) != '\0') {\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }\n  }\n  else {\n    *(undefined1 *)(param_1 + 0x1c7) = 1;\n    if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000a9350(int param_1,char param_2,uint param_3,undefined4 param_4,int param_5)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  if (param_2 == '\0') {\n    *(undefined1 *)(param_1 + 0x1c8) = 1;\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\nLAB_000a941a:\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }\n    if (*(char *)(iVar3 + 0x4559) != '\0') {\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }\n  }\n  else {\n    *(undefined1 *)(param_1 + 0x1c7) = 1;\n    if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000a9350(int param_1,char param_2,uint param_3,undefined4 param_4,int param_5)" identifier (parameter_list "(int param_1,char param_2,uint param_3,undefined4 param_4,int param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  if (param_2 == '\0') {\n    *(undefined1 *)(param_1 + 0x1c8) = 1;\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\nLAB_000a941a:\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }\n    if (*(char *)(iVar3 + 0x4559) != '\0') {\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }\n  }\n  else {\n    *(undefined1 *)(param_1 + 0x1c7) = 1;\n    if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (if_statement "if (param_2 == '\0') {\n    *(undefined1 *)(param_1 + 0x1c8) = 1;\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\nLAB_000a941a:\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }\n    if (*(char *)(iVar3 + 0x4559) != '\0') {\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }\n  }\n  else {\n    *(undefined1 *)(param_1 + 0x1c7) = 1;\n    if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }" if (parenthesized_expression "(param_2 == '\0')" ( (binary_expression "param_2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *(undefined1 *)(param_1 + 0x1c8) = 1;\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\nLAB_000a941a:\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }\n    if (*(char *)(iVar3 + 0x4559) != '\0') {\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }\n  }" { (expression_statement "*(undefined1 *)(param_1 + 0x1c8) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x1c8) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x1c8)" * (cast_expression "(undefined1 *)(param_1 + 0x1c8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c8)" ( (binary_expression "param_1 + 0x1c8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar3 = *(int *)(DAT_0033f2f0 + 8);" (assignment_expression "iVar3 = *(int *)(DAT_0033f2f0 + 8)" identifier = (pointer_expression "*(int *)(DAT_0033f2f0 + 8)" * (cast_expression "(int *)(DAT_0033f2f0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0033f2f0 + 8)" ( (binary_expression "DAT_0033f2f0 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\nLAB_000a941a:\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000a941a:\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }" { (labeled_statement "LAB_000a941a:\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);" statement_identifier : comment (expression_statement "FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);" (call_expression "FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3)" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",iVar3)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , identifier ))) ;)) })) (if_statement "if (*(char *)(iVar3 + 0x4559) != '\0') {\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }" if (parenthesized_expression "(*(char *)(iVar3 + 0x4559) != '\0')" ( (binary_expression "*(char *)(iVar3 + 0x4559) != '\0'" (pointer_expression "*(char *)(iVar3 + 0x4559)" * (cast_expression "(char *)(iVar3 + 0x4559)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4559)" ( (binary_expression "iVar3 + 0x4559" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }" { (if_statement "if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }" if (parenthesized_expression "(*(int *)(DAT_0033f2f0 + 0xc) == 0)" ( (binary_expression "*(int *)(DAT_0033f2f0 + 0xc) == 0" (pointer_expression "*(int *)(DAT_0033f2f0 + 0xc)" * (cast_expression "(int *)(DAT_0033f2f0 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0033f2f0 + 0xc)" ( (binary_expression "DAT_0033f2f0 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }" { comment (expression_statement "FUN_0008b620("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0008b620("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (if_statement "if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }" if (parenthesized_expression "(*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0')" ( (binary_expression "*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0'" (pointer_expression "*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf)" * (cast_expression "(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf)" ( (binary_expression "*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf" (pointer_expression "*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4)" * (cast_expression "(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_0033f2f0 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_0033f2f0 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0033f2f0 + 0xc)" * (cast_expression "(int *)(DAT_0033f2f0 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0033f2f0 + 0xc)" ( (binary_expression "DAT_0033f2f0 + 0xc" identifier + number_literal) )))) + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }" { (expression_statement "uVar4 = *(undefined4 *)(param_5 + 4);" (assignment_expression "uVar4 = *(undefined4 *)(param_5 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_5 + 4)" * (cast_expression "(undefined4 *)(param_5 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 4)" ( (binary_expression "param_5 + 4" identifier + number_literal) ))))) ;) (expression_statement "pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";" (assignment_expression "pcVar1 = "%s: missing .note.GNU-stack section implies executable stack"" identifier = (string_literal ""%s: missing .note.GNU-stack section implies executable stack"" " string_content ")) ;) (labeled_statement "LAB_000a93eb:\n        uVar2 = gettext(pcVar1);" statement_identifier : (expression_statement "uVar2 = gettext(pcVar1);" (assignment_expression "uVar2 = gettext(pcVar1)" identifier = (call_expression "gettext(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;)) (expression_statement "FUN_00082900(uVar2,uVar4);" (call_expression "FUN_00082900(uVar2,uVar4)" identifier (argument_list "(uVar2,uVar4)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) })) }) (else_clause "else {\n    *(undefined1 *)(param_1 + 0x1c7) = 1;\n    if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }" else (compound_statement "{\n    *(undefined1 *)(param_1 + 0x1c7) = 1;\n    if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }" { (expression_statement "*(undefined1 *)(param_1 + 0x1c7) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x1c7) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x1c7)" * (cast_expression "(undefined1 *)(param_1 + 0x1c7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c7)" ( (binary_expression "param_1 + 0x1c7" identifier + number_literal) )))) = number_literal) ;) (if_statement "if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }" if (parenthesized_expression "((param_3 & 4) != 0)" ( (binary_expression "(param_3 & 4) != 0" (parenthesized_expression "(param_3 & 4)" ( (binary_expression "param_3 & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }" { (expression_statement "*(undefined1 *)(param_1 + 0x1c6) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x1c6) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x1c6)" * (cast_expression "(undefined1 *)(param_1 + 0x1c6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c6)" ( (binary_expression "param_1 + 0x1c6" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar3 = *(int *)(DAT_0033f2f0 + 8);" (assignment_expression "iVar3 = *(int *)(DAT_0033f2f0 + 8)" identifier = (pointer_expression "*(int *)(DAT_0033f2f0 + 8)" * (cast_expression "(int *)(DAT_0033f2f0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0033f2f0 + 8)" ( (binary_expression "DAT_0033f2f0 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) goto LAB_000a941a;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000a941a;" goto statement_identifier ;)) (if_statement "if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }" if (parenthesized_expression "(*(char *)(iVar3 + 0x4559) != '\0')" ( (binary_expression "*(char *)(iVar3 + 0x4559) != '\0'" (pointer_expression "*(char *)(iVar3 + 0x4559)" * (cast_expression "(char *)(iVar3 + 0x4559)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4559)" ( (binary_expression "iVar3 + 0x4559" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }" { (expression_statement "uVar4 = *(undefined4 *)(param_5 + 4);" (assignment_expression "uVar4 = *(undefined4 *)(param_5 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_5 + 4)" * (cast_expression "(undefined4 *)(param_5 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 4)" ( (binary_expression "param_5 + 4" identifier + number_literal) ))))) ;) (expression_statement "pcVar1 = "%s: requires executable stack";" (assignment_expression "pcVar1 = "%s: requires executable stack"" identifier = (string_literal ""%s: requires executable stack"" " string_content ")) ;) (goto_statement "goto LAB_000a93eb;" goto statement_identifier ;) })) })) }))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* DWARF original prototype: void layout_gnu_stack(Layout * this, bool seen_gnu_stack, uint64_t\n   gnu_stack_flags, Object * obj) */\n\nvoid __thiscall\ngold::Layout::layout_gnu_stack\n          (Layout *this,bool seen_gnu_stack,uint64_t gnu_stack_flags,Object *obj)\n\n{\n  char *pcVar1;\n  pointer pcVar2;\n  \n  if (seen_gnu_stack) {\n    this->input_with_gnu_stack_note_ = true;\n    if ((gnu_stack_flags & 4) != 0) {\n      this->input_requires_executable_stack_ = true;\n      if (parameters->options_ == (General_options *)0x0) goto LAB_000a941a;\n      if ((parameters->options_->warn_execstack_).value != false) {\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }\n  else {\n    this->input_without_gnu_stack_note_ = true;\n    if (parameters->options_ == (General_options *)0x0) {\nLAB_000a941a:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((parameters->options_->warn_execstack_).value != false) {\n      if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n      }\n      if (parameters->target_->pti_->is_default_stack_executable != false) {\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        pcVar1 = (char *)gettext(pcVar1);\n        gold_warning(pcVar1,pcVar2);\n        return;\n      }\n    }\n  }\n  return;\n}\n\n" comment comment comment comment (function_definition "void __thiscall\ngold::Layout::layout_gnu_stack\n          (Layout *this,bool seen_gnu_stack,uint64_t gnu_stack_flags,Object *obj)\n\n{\n  char *pcVar1;\n  pointer pcVar2;\n  \n  if (seen_gnu_stack) {\n    this->input_with_gnu_stack_note_ = true;\n    if ((gnu_stack_flags & 4) != 0) {\n      this->input_requires_executable_stack_ = true;\n      if (parameters->options_ == (General_options *)0x0) goto LAB_000a941a;\n      if ((parameters->options_->warn_execstack_).value != false) {\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }\n  else {\n    this->input_without_gnu_stack_note_ = true;\n    if (parameters->options_ == (General_options *)0x0) {\nLAB_000a941a:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((parameters->options_->warn_execstack_).value != false) {\n      if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n      }\n      if (parameters->target_->pti_->is_default_stack_executable != false) {\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        pcVar1 = (char *)gettext(pcVar1);\n        gold_warning(pcVar1,pcVar2);\n        return;\n      }\n    }\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "layout_gnu_stack\n          (Layout *this,bool seen_gnu_stack,uint64_t gnu_stack_flags,Object *obj)" identifier (parameter_list "(Layout *this,bool seen_gnu_stack,uint64_t gnu_stack_flags,Object *obj)" ( (parameter_declaration "Layout *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "bool seen_gnu_stack" primitive_type identifier) , (parameter_declaration "uint64_t gnu_stack_flags" primitive_type identifier) , (parameter_declaration "Object *obj" type_identifier (pointer_declarator "*obj" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  pointer pcVar2;\n  \n  if (seen_gnu_stack) {\n    this->input_with_gnu_stack_note_ = true;\n    if ((gnu_stack_flags & 4) != 0) {\n      this->input_requires_executable_stack_ = true;\n      if (parameters->options_ == (General_options *)0x0) goto LAB_000a941a;\n      if ((parameters->options_->warn_execstack_).value != false) {\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }\n  else {\n    this->input_without_gnu_stack_note_ = true;\n    if (parameters->options_ == (General_options *)0x0) {\nLAB_000a941a:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((parameters->options_->warn_execstack_).value != false) {\n      if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n      }\n      if (parameters->target_->pti_->is_default_stack_executable != false) {\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        pcVar1 = (char *)gettext(pcVar1);\n        gold_warning(pcVar1,pcVar2);\n        return;\n      }\n    }\n  }\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "pointer pcVar2;" type_identifier identifier ;) (if_statement "if (seen_gnu_stack) {\n    this->input_with_gnu_stack_note_ = true;\n    if ((gnu_stack_flags & 4) != 0) {\n      this->input_requires_executable_stack_ = true;\n      if (parameters->options_ == (General_options *)0x0) goto LAB_000a941a;\n      if ((parameters->options_->warn_execstack_).value != false) {\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }\n  else {\n    this->input_without_gnu_stack_note_ = true;\n    if (parameters->options_ == (General_options *)0x0) {\nLAB_000a941a:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((parameters->options_->warn_execstack_).value != false) {\n      if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n      }\n      if (parameters->target_->pti_->is_default_stack_executable != false) {\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        pcVar1 = (char *)gettext(pcVar1);\n        gold_warning(pcVar1,pcVar2);\n        return;\n      }\n    }\n  }" if (parenthesized_expression "(seen_gnu_stack)" ( identifier )) (compound_statement "{\n    this->input_with_gnu_stack_note_ = true;\n    if ((gnu_stack_flags & 4) != 0) {\n      this->input_requires_executable_stack_ = true;\n      if (parameters->options_ == (General_options *)0x0) goto LAB_000a941a;\n      if ((parameters->options_->warn_execstack_).value != false) {\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }" { (expression_statement "this->input_with_gnu_stack_note_ = true;" (assignment_expression "this->input_with_gnu_stack_note_ = true" (field_expression "this->input_with_gnu_stack_note_" identifier -> field_identifier) = true) ;) (if_statement "if ((gnu_stack_flags & 4) != 0) {\n      this->input_requires_executable_stack_ = true;\n      if (parameters->options_ == (General_options *)0x0) goto LAB_000a941a;\n      if ((parameters->options_->warn_execstack_).value != false) {\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }" if (parenthesized_expression "((gnu_stack_flags & 4) != 0)" ( (binary_expression "(gnu_stack_flags & 4) != 0" (parenthesized_expression "(gnu_stack_flags & 4)" ( (binary_expression "gnu_stack_flags & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      this->input_requires_executable_stack_ = true;\n      if (parameters->options_ == (General_options *)0x0) goto LAB_000a941a;\n      if ((parameters->options_->warn_execstack_).value != false) {\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }" { (expression_statement "this->input_requires_executable_stack_ = true;" (assignment_expression "this->input_requires_executable_stack_ = true" (field_expression "this->input_requires_executable_stack_" identifier -> field_identifier) = true) ;) (if_statement "if (parameters->options_ == (General_options *)0x0) goto LAB_000a941a;" if (parenthesized_expression "(parameters->options_ == (General_options *)0x0)" ( (binary_expression "parameters->options_ == (General_options *)0x0" (field_expression "parameters->options_" identifier -> field_identifier) == (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000a941a;" goto statement_identifier ;)) (if_statement "if ((parameters->options_->warn_execstack_).value != false) {\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }" if (parenthesized_expression "((parameters->options_->warn_execstack_).value != false)" ( (binary_expression "(parameters->options_->warn_execstack_).value != false" (field_expression "(parameters->options_->warn_execstack_).value" (parenthesized_expression "(parameters->options_->warn_execstack_)" ( (field_expression "parameters->options_->warn_execstack_" (field_expression "parameters->options_" identifier -> field_identifier) -> field_identifier) )) . field_identifier) != false) )) (compound_statement "{\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }" { (expression_statement "pcVar2 = (obj->name_)._M_dataplus._M_p;" (assignment_expression "pcVar2 = (obj->name_)._M_dataplus._M_p" identifier = (field_expression "(obj->name_)._M_dataplus._M_p" (field_expression "(obj->name_)._M_dataplus" (parenthesized_expression "(obj->name_)" ( (field_expression "obj->name_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "pcVar1 = "%s: requires executable stack";" (assignment_expression "pcVar1 = "%s: requires executable stack"" identifier = (string_literal ""%s: requires executable stack"" " string_content ")) ;) (goto_statement "goto LAB_000a93eb;" goto statement_identifier ;) })) })) }) (else_clause "else {\n    this->input_without_gnu_stack_note_ = true;\n    if (parameters->options_ == (General_options *)0x0) {\nLAB_000a941a:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((parameters->options_->warn_execstack_).value != false) {\n      if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n      }\n      if (parameters->target_->pti_->is_default_stack_executable != false) {\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        pcVar1 = (char *)gettext(pcVar1);\n        gold_warning(pcVar1,pcVar2);\n        return;\n      }\n    }\n  }" else (compound_statement "{\n    this->input_without_gnu_stack_note_ = true;\n    if (parameters->options_ == (General_options *)0x0) {\nLAB_000a941a:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((parameters->options_->warn_execstack_).value != false) {\n      if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n      }\n      if (parameters->target_->pti_->is_default_stack_executable != false) {\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        pcVar1 = (char *)gettext(pcVar1);\n        gold_warning(pcVar1,pcVar2);\n        return;\n      }\n    }\n  }" { (expression_statement "this->input_without_gnu_stack_note_ = true;" (assignment_expression "this->input_without_gnu_stack_note_ = true" (field_expression "this->input_without_gnu_stack_note_" identifier -> field_identifier) = true) ;) (if_statement "if (parameters->options_ == (General_options *)0x0) {\nLAB_000a941a:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }" if (parenthesized_expression "(parameters->options_ == (General_options *)0x0)" ( (binary_expression "parameters->options_ == (General_options *)0x0" (field_expression "parameters->options_" identifier -> field_identifier) == (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000a941a:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }" { (labeled_statement "LAB_000a941a:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");" statement_identifier : comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x5c,"options");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x5c,"options")" identifier (argument_list "("../../gold/parameters.h",0x5c,"options")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") ))) ;)) })) (if_statement "if ((parameters->options_->warn_execstack_).value != false) {\n      if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n      }\n      if (parameters->target_->pti_->is_default_stack_executable != false) {\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        pcVar1 = (char *)gettext(pcVar1);\n        gold_warning(pcVar1,pcVar2);\n        return;\n      }\n    }" if (parenthesized_expression "((parameters->options_->warn_execstack_).value != false)" ( (binary_expression "(parameters->options_->warn_execstack_).value != false" (field_expression "(parameters->options_->warn_execstack_).value" (parenthesized_expression "(parameters->options_->warn_execstack_)" ( (field_expression "parameters->options_->warn_execstack_" (field_expression "parameters->options_" identifier -> field_identifier) -> field_identifier) )) . field_identifier) != false) )) (compound_statement "{\n      if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n      }\n      if (parameters->target_->pti_->is_default_stack_executable != false) {\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        pcVar1 = (char *)gettext(pcVar1);\n        gold_warning(pcVar1,pcVar2);\n        return;\n      }\n    }" { (if_statement "if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n      }" if (parenthesized_expression "(parameters->target_ == (Target *)0x0)" ( (binary_expression "parameters->target_ == (Target *)0x0" (field_expression "parameters->target_" identifier -> field_identifier) == (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n      }" { comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x69,"target");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (if_statement "if (parameters->target_->pti_->is_default_stack_executable != false) {\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        pcVar1 = (char *)gettext(pcVar1);\n        gold_warning(pcVar1,pcVar2);\n        return;\n      }" if (parenthesized_expression "(parameters->target_->pti_->is_default_stack_executable != false)" ( (binary_expression "parameters->target_->pti_->is_default_stack_executable != false" (field_expression "parameters->target_->pti_->is_default_stack_executable" (field_expression "parameters->target_->pti_" (field_expression "parameters->target_" identifier -> field_identifier) -> field_identifier) -> field_identifier) != false) )) (compound_statement "{\n        pcVar2 = (obj->name_)._M_dataplus._M_p;\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        pcVar1 = (char *)gettext(pcVar1);\n        gold_warning(pcVar1,pcVar2);\n        return;\n      }" { (expression_statement "pcVar2 = (obj->name_)._M_dataplus._M_p;" (assignment_expression "pcVar2 = (obj->name_)._M_dataplus._M_p" identifier = (field_expression "(obj->name_)._M_dataplus._M_p" (field_expression "(obj->name_)._M_dataplus" (parenthesized_expression "(obj->name_)" ( (field_expression "obj->name_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";" (assignment_expression "pcVar1 = "%s: missing .note.GNU-stack section implies executable stack"" identifier = (string_literal ""%s: missing .note.GNU-stack section implies executable stack"" " string_content ")) ;) (labeled_statement "LAB_000a93eb:\n        pcVar1 = (char *)gettext(pcVar1);" statement_identifier : (expression_statement "pcVar1 = (char *)gettext(pcVar1);" (assignment_expression "pcVar1 = (char *)gettext(pcVar1)" identifier = (cast_expression "(char *)gettext(pcVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))))) ;)) (expression_statement "gold_warning(pcVar1,pcVar2);" (call_expression "gold_warning(pcVar1,pcVar2)" identifier (argument_list "(pcVar1,pcVar2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) })) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000a9350(int param_1,char param_2,uint param_3,undefined4 param_4,int param_5)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  if (param_2 == '\0') {\n    *(undefined1 *)(param_1 + 0x1c8) = 1;\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\nLAB_000a941a:\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }\n    if (*(char *)(iVar3 + 0x4559) != '\0') {\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    \n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }\n  }\n  else {\n    *(undefined1 *)(param_1 + 0x1c7) = 1;\n    if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_000a9350(int param_1,char param_2,uint param_3,undefined4 param_4,int param_5)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  if (param_2 == '\0') {\n    *(undefined1 *)(param_1 + 0x1c8) = 1;\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\nLAB_000a941a:\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }\n    if (*(char *)(iVar3 + 0x4559) != '\0') {\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    \n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }\n  }\n  else {\n    *(undefined1 *)(param_1 + 0x1c7) = 1;\n    if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000a9350(int param_1,char param_2,uint param_3,undefined4 param_4,int param_5)" identifier (parameter_list "(int param_1,char param_2,uint param_3,undefined4 param_4,int param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  if (param_2 == '\0') {\n    *(undefined1 *)(param_1 + 0x1c8) = 1;\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\nLAB_000a941a:\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }\n    if (*(char *)(iVar3 + 0x4559) != '\0') {\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    \n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }\n  }\n  else {\n    *(undefined1 *)(param_1 + 0x1c7) = 1;\n    if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (if_statement "if (param_2 == '\0') {\n    *(undefined1 *)(param_1 + 0x1c8) = 1;\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\nLAB_000a941a:\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }\n    if (*(char *)(iVar3 + 0x4559) != '\0') {\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    \n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }\n  }\n  else {\n    *(undefined1 *)(param_1 + 0x1c7) = 1;\n    if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }" if (parenthesized_expression "(param_2 == '\0')" ( (binary_expression "param_2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *(undefined1 *)(param_1 + 0x1c8) = 1;\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\nLAB_000a941a:\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }\n    if (*(char *)(iVar3 + 0x4559) != '\0') {\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    \n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }\n  }" { (expression_statement "*(undefined1 *)(param_1 + 0x1c8) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x1c8) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x1c8)" * (cast_expression "(undefined1 *)(param_1 + 0x1c8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c8)" ( (binary_expression "param_1 + 0x1c8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar3 = *(int *)(DAT_0033f2f0 + 8);" (assignment_expression "iVar3 = *(int *)(DAT_0033f2f0 + 8)" identifier = (pointer_expression "*(int *)(DAT_0033f2f0 + 8)" * (cast_expression "(int *)(DAT_0033f2f0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0033f2f0 + 8)" ( (binary_expression "DAT_0033f2f0 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\nLAB_000a941a:\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000a941a:\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }" { (labeled_statement "LAB_000a941a:\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);" statement_identifier : (expression_statement "FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);" (call_expression "FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3)" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",iVar3)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , identifier ))) ;)) })) (if_statement "if (*(char *)(iVar3 + 0x4559) != '\0') {\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    \n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }" if (parenthesized_expression "(*(char *)(iVar3 + 0x4559) != '\0')" ( (binary_expression "*(char *)(iVar3 + 0x4559) != '\0'" (pointer_expression "*(char *)(iVar3 + 0x4559)" * (cast_expression "(char *)(iVar3 + 0x4559)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4559)" ( (binary_expression "iVar3 + 0x4559" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    \n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }" { (if_statement "if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    \n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }" if (parenthesized_expression "(*(int *)(DAT_0033f2f0 + 0xc) == 0)" ( (binary_expression "*(int *)(DAT_0033f2f0 + 0xc) == 0" (pointer_expression "*(int *)(DAT_0033f2f0 + 0xc)" * (cast_expression "(int *)(DAT_0033f2f0 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0033f2f0 + 0xc)" ( (binary_expression "DAT_0033f2f0 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }" { (expression_statement "FUN_0008b620("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0008b620("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (if_statement "if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }" if (parenthesized_expression "(*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0')" ( (binary_expression "*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0'" (pointer_expression "*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf)" * (cast_expression "(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf)" ( (binary_expression "*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf" (pointer_expression "*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4)" * (cast_expression "(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_0033f2f0 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_0033f2f0 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0033f2f0 + 0xc)" * (cast_expression "(int *)(DAT_0033f2f0 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0033f2f0 + 0xc)" ( (binary_expression "DAT_0033f2f0 + 0xc" identifier + number_literal) )))) + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }" { (expression_statement "uVar4 = *(undefined4 *)(param_5 + 4);" (assignment_expression "uVar4 = *(undefined4 *)(param_5 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_5 + 4)" * (cast_expression "(undefined4 *)(param_5 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 4)" ( (binary_expression "param_5 + 4" identifier + number_literal) ))))) ;) (expression_statement "pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";" (assignment_expression "pcVar1 = "%s: missing .note.GNU-stack section implies executable stack"" identifier = (string_literal ""%s: missing .note.GNU-stack section implies executable stack"" " string_content ")) ;) (labeled_statement "LAB_000a93eb:\n        uVar2 = gettext(pcVar1);" statement_identifier : (expression_statement "uVar2 = gettext(pcVar1);" (assignment_expression "uVar2 = gettext(pcVar1)" identifier = (call_expression "gettext(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;)) (expression_statement "FUN_00082900(uVar2,uVar4);" (call_expression "FUN_00082900(uVar2,uVar4)" identifier (argument_list "(uVar2,uVar4)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) })) }) (else_clause "else {\n    *(undefined1 *)(param_1 + 0x1c7) = 1;\n    if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }" else (compound_statement "{\n    *(undefined1 *)(param_1 + 0x1c7) = 1;\n    if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }" { (expression_statement "*(undefined1 *)(param_1 + 0x1c7) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x1c7) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x1c7)" * (cast_expression "(undefined1 *)(param_1 + 0x1c7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c7)" ( (binary_expression "param_1 + 0x1c7" identifier + number_literal) )))) = number_literal) ;) (if_statement "if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }" if (parenthesized_expression "((param_3 & 4) != 0)" ( (binary_expression "(param_3 & 4) != 0" (parenthesized_expression "(param_3 & 4)" ( (binary_expression "param_3 & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }" { (expression_statement "*(undefined1 *)(param_1 + 0x1c6) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x1c6) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x1c6)" * (cast_expression "(undefined1 *)(param_1 + 0x1c6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c6)" ( (binary_expression "param_1 + 0x1c6" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar3 = *(int *)(DAT_0033f2f0 + 8);" (assignment_expression "iVar3 = *(int *)(DAT_0033f2f0 + 8)" identifier = (pointer_expression "*(int *)(DAT_0033f2f0 + 8)" * (cast_expression "(int *)(DAT_0033f2f0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0033f2f0 + 8)" ( (binary_expression "DAT_0033f2f0 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) goto LAB_000a941a;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000a941a;" goto statement_identifier ;)) (if_statement "if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }" if (parenthesized_expression "(*(char *)(iVar3 + 0x4559) != '\0')" ( (binary_expression "*(char *)(iVar3 + 0x4559) != '\0'" (pointer_expression "*(char *)(iVar3 + 0x4559)" * (cast_expression "(char *)(iVar3 + 0x4559)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4559)" ( (binary_expression "iVar3 + 0x4559" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }" { (expression_statement "uVar4 = *(undefined4 *)(param_5 + 4);" (assignment_expression "uVar4 = *(undefined4 *)(param_5 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_5 + 4)" * (cast_expression "(undefined4 *)(param_5 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 4)" ( (binary_expression "param_5 + 4" identifier + number_literal) ))))) ;) (expression_statement "pcVar1 = "%s: requires executable stack";" (assignment_expression "pcVar1 = "%s: requires executable stack"" identifier = (string_literal ""%s: requires executable stack"" " string_content ")) ;) (goto_statement "goto LAB_000a93eb;" goto statement_identifier ;) })) })) }))) (return_statement "return;" return ;) })))
(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 IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;)) })) (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 { (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 ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })) })) }) (else_clause else (compound_statement { (expression_statement (assignment_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 (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (goto_statement goto statement_identifier ;) })) })) }))) (return_statement return ;) })))
(function_definition "void FUN_000a9350(int param_1,char param_2,uint param_3,undefined4 param_4,int param_5)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  if (param_2 == '\0') {\n    *(undefined1 *)(param_1 + 0x1c8) = 1;\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\nLAB_000a941a:\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }\n    if (*(char *)(iVar3 + 0x4559) != '\0') {\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    \n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }\n  }\n  else {\n    *(undefined1 *)(param_1 + 0x1c7) = 1;\n    if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000a9350(int param_1,char param_2,uint param_3,undefined4 param_4,int param_5)" (identifier "FUN_000a9350") (parameter_list "(int param_1,char param_2,uint param_3,undefined4 param_4,int param_5)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "char param_2" (primitive_type "char") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  if (param_2 == '\0') {\n    *(undefined1 *)(param_1 + 0x1c8) = 1;\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\nLAB_000a941a:\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }\n    if (*(char *)(iVar3 + 0x4559) != '\0') {\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    \n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }\n  }\n  else {\n    *(undefined1 *)(param_1 + 0x1c7) = 1;\n    if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }\n  return;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (if_statement "if (param_2 == '\0') {\n    *(undefined1 *)(param_1 + 0x1c8) = 1;\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\nLAB_000a941a:\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }\n    if (*(char *)(iVar3 + 0x4559) != '\0') {\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    \n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }\n  }\n  else {\n    *(undefined1 *)(param_1 + 0x1c7) = 1;\n    if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(param_2 == '\0')" (( "(") (binary_expression "param_2 == '\0'" (identifier "param_2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    *(undefined1 *)(param_1 + 0x1c8) = 1;\n    iVar3 = *(int *)(DAT_0033f2f0 + 8);\n    if (iVar3 == 0) {\nLAB_000a941a:\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }\n    if (*(char *)(iVar3 + 0x4559) != '\0') {\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    \n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }\n  }" ({ "{") (expression_statement "*(undefined1 *)(param_1 + 0x1c8) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x1c8) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x1c8)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x1c8)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c8)" (( "(") (binary_expression "param_1 + 0x1c8" (identifier "param_1") (+ "+") (number_literal "0x1c8")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar3 = *(int *)(DAT_0033f2f0 + 8);" (assignment_expression "iVar3 = *(int *)(DAT_0033f2f0 + 8)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(DAT_0033f2f0 + 8)" (* "*") (cast_expression "(int *)(DAT_0033f2f0 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0033f2f0 + 8)" (( "(") (binary_expression "DAT_0033f2f0 + 8" (identifier "DAT_0033f2f0") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) {\nLAB_000a941a:\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000a941a:\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);\n    }" ({ "{") (labeled_statement "LAB_000a941a:\n                    \n      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);" (statement_identifier "LAB_000a941a") (: ":") (expression_statement "FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);" (call_expression "FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3)" (identifier "FUN_0008b620") (argument_list "("../../gold/parameters.h",0x5c,"options",iVar3)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x5c") (, ",") (string_literal ""options"" (" """) (string_content "options") (" """)) (, ",") (identifier "iVar3") () ")"))) (; ";"))) (} "}"))) (if_statement "if (*(char *)(iVar3 + 0x4559) != '\0') {\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    \n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }" (if "if") (parenthesized_expression "(*(char *)(iVar3 + 0x4559) != '\0')" (( "(") (binary_expression "*(char *)(iVar3 + 0x4559) != '\0'" (pointer_expression "*(char *)(iVar3 + 0x4559)" (* "*") (cast_expression "(char *)(iVar3 + 0x4559)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x4559)" (( "(") (binary_expression "iVar3 + 0x4559" (identifier "iVar3") (+ "+") (number_literal "0x4559")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    \n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }\n      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }\n    }" ({ "{") (if_statement "if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {\n                    \n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }" (if "if") (parenthesized_expression "(*(int *)(DAT_0033f2f0 + 0xc) == 0)" (( "(") (binary_expression "*(int *)(DAT_0033f2f0 + 0xc) == 0" (pointer_expression "*(int *)(DAT_0033f2f0 + 0xc)" (* "*") (cast_expression "(int *)(DAT_0033f2f0 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0033f2f0 + 0xc)" (( "(") (binary_expression "DAT_0033f2f0 + 0xc" (identifier "DAT_0033f2f0") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_0008b620("../../gold/parameters.h",0x69,"target");\n      }" ({ "{") (expression_statement "FUN_0008b620("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0008b620("../../gold/parameters.h",0x69,"target")" (identifier "FUN_0008b620") (argument_list "("../../gold/parameters.h",0x69,"target")" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x69") (, ",") (string_literal ""target"" (" """) (string_content "target") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }" (if "if") (parenthesized_expression "(*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0')" (( "(") (binary_expression "*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0'" (pointer_expression "*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf)" (* "*") (cast_expression "(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf)" (( "(") (binary_expression "*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf" (pointer_expression "*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4)" (* "*") (cast_expression "(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_0033f2f0 + 0xc) + 4)" (( "(") (binary_expression "*(int *)(DAT_0033f2f0 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0033f2f0 + 0xc)" (* "*") (cast_expression "(int *)(DAT_0033f2f0 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0033f2f0 + 0xc)" (( "(") (binary_expression "DAT_0033f2f0 + 0xc" (identifier "DAT_0033f2f0") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0xf")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";\nLAB_000a93eb:\n        uVar2 = gettext(pcVar1);\n        FUN_00082900(uVar2,uVar4);\n        return;\n      }" ({ "{") (expression_statement "uVar4 = *(undefined4 *)(param_5 + 4);" (assignment_expression "uVar4 = *(undefined4 *)(param_5 + 4)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(param_5 + 4)" (* "*") (cast_expression "(undefined4 *)(param_5 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 4)" (( "(") (binary_expression "param_5 + 4" (identifier "param_5") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";" (assignment_expression "pcVar1 = "%s: missing .note.GNU-stack section implies executable stack"" (identifier "pcVar1") (= "=") (string_literal ""%s: missing .note.GNU-stack section implies executable stack"" (" """) (string_content "%s: missing .note.GNU-stack section implies executable stack") (" """))) (; ";")) (labeled_statement "LAB_000a93eb:\n        uVar2 = gettext(pcVar1);" (statement_identifier "LAB_000a93eb") (: ":") (expression_statement "uVar2 = gettext(pcVar1);" (assignment_expression "uVar2 = gettext(pcVar1)" (identifier "uVar2") (= "=") (call_expression "gettext(pcVar1)" (identifier "gettext") (argument_list "(pcVar1)" (( "(") (identifier "pcVar1") () ")")))) (; ";"))) (expression_statement "FUN_00082900(uVar2,uVar4);" (call_expression "FUN_00082900(uVar2,uVar4)" (identifier "FUN_00082900") (argument_list "(uVar2,uVar4)" (( "(") (identifier "uVar2") (, ",") (identifier "uVar4") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (} "}")) (else_clause "else {\n    *(undefined1 *)(param_1 + 0x1c7) = 1;\n    if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }" (else "else") (compound_statement "{\n    *(undefined1 *)(param_1 + 0x1c7) = 1;\n    if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }\n  }" ({ "{") (expression_statement "*(undefined1 *)(param_1 + 0x1c7) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x1c7) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x1c7)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x1c7)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c7)" (( "(") (binary_expression "param_1 + 0x1c7" (identifier "param_1") (+ "+") (number_literal "0x1c7")) () ")")))) (= "=") (number_literal "1")) (; ";")) (if_statement "if ((param_3 & 4) != 0) {\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }" (if "if") (parenthesized_expression "((param_3 & 4) != 0)" (( "(") (binary_expression "(param_3 & 4) != 0" (parenthesized_expression "(param_3 & 4)" (( "(") (binary_expression "param_3 & 4" (identifier "param_3") (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined1 *)(param_1 + 0x1c6) = 1;\n      iVar3 = *(int *)(DAT_0033f2f0 + 8);\n      if (iVar3 == 0) goto LAB_000a941a;\n      if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }\n    }" ({ "{") (expression_statement "*(undefined1 *)(param_1 + 0x1c6) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x1c6) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x1c6)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x1c6)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c6)" (( "(") (binary_expression "param_1 + 0x1c6" (identifier "param_1") (+ "+") (number_literal "0x1c6")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar3 = *(int *)(DAT_0033f2f0 + 8);" (assignment_expression "iVar3 = *(int *)(DAT_0033f2f0 + 8)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(DAT_0033f2f0 + 8)" (* "*") (cast_expression "(int *)(DAT_0033f2f0 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0033f2f0 + 8)" (( "(") (binary_expression "DAT_0033f2f0 + 8" (identifier "DAT_0033f2f0") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) goto LAB_000a941a;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000a941a;" (goto "goto") (statement_identifier "LAB_000a941a") (; ";"))) (if_statement "if (*(char *)(iVar3 + 0x4559) != '\0') {\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }" (if "if") (parenthesized_expression "(*(char *)(iVar3 + 0x4559) != '\0')" (( "(") (binary_expression "*(char *)(iVar3 + 0x4559) != '\0'" (pointer_expression "*(char *)(iVar3 + 0x4559)" (* "*") (cast_expression "(char *)(iVar3 + 0x4559)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x4559)" (( "(") (binary_expression "iVar3 + 0x4559" (identifier "iVar3") (+ "+") (number_literal "0x4559")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        uVar4 = *(undefined4 *)(param_5 + 4);\n        pcVar1 = "%s: requires executable stack";\n        goto LAB_000a93eb;\n      }" ({ "{") (expression_statement "uVar4 = *(undefined4 *)(param_5 + 4);" (assignment_expression "uVar4 = *(undefined4 *)(param_5 + 4)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(param_5 + 4)" (* "*") (cast_expression "(undefined4 *)(param_5 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 4)" (( "(") (binary_expression "param_5 + 4" (identifier "param_5") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "pcVar1 = "%s: requires executable stack";" (assignment_expression "pcVar1 = "%s: requires executable stack"" (identifier "pcVar1") (= "=") (string_literal ""%s: requires executable stack"" (" """) (string_content "%s: requires executable stack") (" """))) (; ";")) (goto_statement "goto LAB_000a93eb;" (goto "goto") (statement_identifier "LAB_000a93eb") (; ";")) (} "}"))) (} "}"))) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: void layout_gnu_stack(Layout * this, bool seen_gnu_stack, uint64_t
   gnu_stack_flags, Object * obj) */

void __thiscall
gold::type_1::function_1
          (type_1 *this,bool seen_gnu_stack,uint64_t var_1,type_2 *obj)

{
  char *pcVar1;
  type_3 pcVar2;
  
  if (seen_gnu_stack) {
    this->input_with_gnu_stack_note_ = true;
    if ((var_1 & 4) != 0) {
      this->input_requires_executable_stack_ = true;
      if (parameters->options_ == (type_4 *)0x0) goto LAB_000a941a;
      if ((parameters->options_->warn_execstack_).value != false) {
        pcVar2 = (obj->name_)._M_dataplus._M_p;
        pcVar1 = "%s: requires executable stack";
        goto LAB_000a93eb;
      }
    }
  }
  else {
    this->input_without_gnu_stack_note_ = true;
    if (parameters->options_ == (type_4 *)0x0) {
LAB_000a941a:
                    /* WARNING: Subroutine does not return */
      var_2("../../gold/parameters.h",0x5c,"options");
    }
    if ((parameters->options_->warn_execstack_).value != false) {
      if (parameters->target_ == (type_5 *)0x0) {
                    /* WARNING: Subroutine does not return */
        var_2("../../gold/parameters.h",0x69,"target");
      }
      if (parameters->target_->pti_->is_default_stack_executable != false) {
        pcVar2 = (obj->name_)._M_dataplus._M_p;
        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";
LAB_000a93eb:
        pcVar1 = (char *)var_3(pcVar1);
        var_4(pcVar1,pcVar2);
        return;
      }
    }
  }
  return;
}


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

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

void MASKED(int param_1,char param_2,uint param_3,undefined4 param_4,int param_5)

{
  char *pcVar1;
  undefined4 uVar2;
  int iVar3;
  undefined4 uVar4;
  
  if (param_2 == '\0') {
    *(undefined1 *)(param_1 + 0x1c8) = 1;
    iVar3 = *(int *)(DAT_0033f2f0 + 8);
    if (iVar3 == 0) {
LAB_000a941a:
                    /* WARNING: Subroutine does not return */
      FUN_0008b620("../../gold/parameters.h",0x5c,"options",iVar3);
    }
    if (*(char *)(iVar3 + 0x4559) != '\0') {
      if (*(int *)(DAT_0033f2f0 + 0xc) == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0008b620("../../gold/parameters.h",0x69,"target");
      }
      if (*(char *)(*(int *)(*(int *)(DAT_0033f2f0 + 0xc) + 4) + 0xf) != '\0') {
        uVar4 = *(undefined4 *)(param_5 + 4);
        pcVar1 = "%s: missing .note.GNU-stack section implies executable stack";
LAB_000a93eb:
        uVar2 = gettext(pcVar1);
        FUN_00082900(uVar2,uVar4);
        return;
      }
    }
  }
  else {
    *(undefined1 *)(param_1 + 0x1c7) = 1;
    if ((param_3 & 4) != 0) {
      *(undefined1 *)(param_1 + 0x1c6) = 1;
      iVar3 = *(int *)(DAT_0033f2f0 + 8);
      if (iVar3 == 0) goto LAB_000a941a;
      if (*(char *)(iVar3 + 0x4559) != '\0') {
        uVar4 = *(undefined4 *)(param_5 + 4);
        pcVar1 = "%s: requires executable stack";
        goto LAB_000a93eb;
      }
    }
  }
  return;
}

