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

char * tokexpand(void)

{
  size_t __size;
  char *pcVar1;
  int *piVar2;
  char *pcVar3;
  char *pcVar4;
  int iVar5;
  
  pcVar1 = tokstart;
  if (tokstart != (char *)0x0) {
    __size = tokexpand::toksize * 2;
    iVar5 = (int)tok - (int)tokstart;
    tokexpand::toksize = __size;
    if (__size == 0) {
      set_loc("awk.h",0x7e9);
      r_fatal("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);
    }
    pcVar1 = (char *)realloc(pcVar1,__size);
    if (pcVar1 == (char *)0x0) {
      set_loc("awk.h",0x7ed);
      piVar2 = __errno_location();
      pcVar3 = strerror(*piVar2);
      pcVar4 = (char *)dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);
      r_fatal(pcVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);
    }
    tokstart = pcVar1;
    tok = pcVar1 + iVar5;
    tokend = pcVar1 + tokexpand::toksize;
    return pcVar1 + iVar5;
  }
  tokexpand::toksize = 0x3c;
  pcVar1 = (char *)malloc(0x3c);
  iVar5 = 0x3c;
  if (pcVar1 == (char *)0x0) {
    set_loc("awk.h",0x7c9);
    piVar2 = __errno_location();
    pcVar3 = strerror(*piVar2);
    pcVar4 = (char *)dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);
    r_fatal(pcVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);
    iVar5 = tokexpand::toksize;
  }
  tokstart = pcVar1;
  tok = pcVar1;
  tokend = pcVar1 + iVar5;
  return pcVar1;
}



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

void * FUN_0001c240(void)

{
  size_t __size;
  void *pvVar1;
  int *piVar2;
  char *pcVar3;
  undefined4 uVar4;
  int iVar5;
  
  pvVar1 = DAT_000c0ee8;
  if (DAT_000c0ee8 != (void *)0x0) {
    __size = DAT_000bfc6c * 2;
    iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;
    DAT_000bfc6c = __size;
    if (__size == 0) {
      FUN_000660d0("awk.h",0x7e9);
      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);
    }
    pvVar1 = realloc(pvVar1,__size);
    if (pvVar1 == (void *)0x0) {
      FUN_000660d0("awk.h",0x7ed);
      piVar2 = __errno_location();
      pcVar3 = strerror(*piVar2);
      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);
      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);
    }
    DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);
    DAT_000c0ee8 = pvVar1;
    DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;
    return DAT_000c0ee4;
  }
  DAT_000bfc6c = 0x3c;
  pvVar1 = malloc(0x3c);
  iVar5 = 0x3c;
  if (pvVar1 == (void *)0x0) {
    FUN_000660d0("awk.h",0x7c9);
    piVar2 = __errno_location();
    pcVar3 = strerror(*piVar2);
    uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);
    FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);
    iVar5 = DAT_000bfc6c;
  }
  DAT_000c0ee8 = pvVar1;
  DAT_000c0ee4 = pvVar1;
  DAT_000c0ee0 = (int)pvVar1 + iVar5;
  return pvVar1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016f50
ADD EBX,0xa2a9b
SUB ESP,0x1c
MOV ESI,dword ptr [EBX + 0x2204]
TEST ESI,ESI
JZ 0x0001c2f8
MOV EBP,dword ptr [EBX + 0xf88]
MOV EDI,dword ptr [EBX + 0x2200]
ADD EBP,EBP
SUB EDI,ESI
TEST EBP,EBP
MOV dword ptr [EBX + 0xf88],EBP
JZ 0x0001c2c0
SUB ESP,0x8
PUSH EBP
PUSH ESI
CALL 0x00014130
ADD ESP,0x10
TEST EAX,EAX
MOV ESI,EAX
JZ 0x0001c340
MOV EDX,dword ptr [EBX + 0xf88]
LEA EAX,[ESI + EDI*0x1]
MOV dword ptr [EBX + 0x2204],ESI
MOV dword ptr [EBX + 0x2200],EAX
ADD ESI,EDX
MOV dword ptr [EBX + 0x21fc],ESI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0xfffc8f86]
SUB ESP,0x8
PUSH 0x7e9
PUSH EAX
CALL 0x000660d0
LEA EAX,[EBX + 0xfffc9479]
ADD ESP,0xc
PUSH 0xcc9
PUSH EAX
LEA EAX,[EBX + 0xfffc90ac]
PUSH EAX
CALL 0x00066470
ADD ESP,0x10
JMP 0x0001c27a
SUB ESP,0xc
MOV dword ptr [EBX + 0xf88],0x3c
PUSH 0x3c
CALL 0x00014140
ADD ESP,0x10
TEST EAX,EAX
MOV ESI,EAX
MOV EDX,0x3c
JZ 0x0001c3b0
MOV dword ptr [EBX + 0x2204],ESI
MOV dword ptr [EBX + 0x2200],ESI
MOV EAX,ESI
ADD ESI,EDX
MOV dword ptr [EBX + 0x21fc],ESI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0xfffc8f86]
SUB ESP,0x8
PUSH 0x7ed
PUSH EAX
CALL 0x000660d0
CALL 0x00014330
POP ECX
PUSH dword ptr [EAX]
CALL 0x00014180
MOV dword ptr [ESP + 0x1c],EAX
LEA EAX,[EBX + 0xfffc90d4]
ADD ESP,0xc
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00013f40
ADD ESP,0xc
MOV EDX,dword ptr [ESP + 0x10]
PUSH EDX
LEA EDX,[EBX + 0xfffc94e5]
PUSH EBP
PUSH EDX
LEA EDX,[EBX + 0xfffc94ee]
PUSH EDX
LEA EDX,[EBX + 0xfffc9479]
PUSH 0xcc9
PUSH EDX
PUSH EAX
CALL 0x00066470
ADD ESP,0x20
JMP 0x0001c291
LEA EAX,[EBX + 0xfffc8f86]
SUB ESP,0x8
PUSH 0x7c9
PUSH EAX
CALL 0x000660d0
CALL 0x00014330
POP EDX
PUSH dword ptr [EAX]
CALL 0x00014180
MOV EDI,EAX
LEA EAX,[EBX + 0xfffc9134]
ADD ESP,0xc
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00013f40
LEA EDX,[EBX + 0xfffc94e5]
ADD ESP,0xc
PUSH EDI
PUSH 0x3c
PUSH EDX
LEA EDX,[EBX + 0xfffc94ee]
PUSH EDX
LEA EDX,[EBX + 0xfffc9479]
PUSH 0xccd
PUSH EDX
PUSH EAX
CALL 0x00066470
MOV EDX,dword ptr [EBX + 0xf88]
ADD ESP,0x20
JMP 0x0001c31e
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid * FUN_0001c240(void)\n\n{\n  size_t __size;\n  void *pvVar1;\n  int *piVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  pvVar1 = DAT_000c0ee8;\n  if (DAT_000c0ee8 != (void *)0x0) {\n    __size = DAT_000bfc6c * 2;\n    iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;\n    DAT_000bfc6c = __size;\n    if (__size == 0) {\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pvVar1 = realloc(pvVar1,__size);\n    if (pvVar1 == (void *)0x0) {\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);\n    DAT_000c0ee8 = pvVar1;\n    DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;\n    return DAT_000c0ee4;\n  }\n  DAT_000bfc6c = 0x3c;\n  pvVar1 = malloc(0x3c);\n  iVar5 = 0x3c;\n  if (pvVar1 == (void *)0x0) {\n    FUN_000660d0("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = DAT_000bfc6c;\n  }\n  DAT_000c0ee8 = pvVar1;\n  DAT_000c0ee4 = pvVar1;\n  DAT_000c0ee0 = (int)pvVar1 + iVar5;\n  return pvVar1;\n}\n\n" comment (function_definition "void * FUN_0001c240(void)\n\n{\n  size_t __size;\n  void *pvVar1;\n  int *piVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  pvVar1 = DAT_000c0ee8;\n  if (DAT_000c0ee8 != (void *)0x0) {\n    __size = DAT_000bfc6c * 2;\n    iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;\n    DAT_000bfc6c = __size;\n    if (__size == 0) {\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pvVar1 = realloc(pvVar1,__size);\n    if (pvVar1 == (void *)0x0) {\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);\n    DAT_000c0ee8 = pvVar1;\n    DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;\n    return DAT_000c0ee4;\n  }\n  DAT_000bfc6c = 0x3c;\n  pvVar1 = malloc(0x3c);\n  iVar5 = 0x3c;\n  if (pvVar1 == (void *)0x0) {\n    FUN_000660d0("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = DAT_000bfc6c;\n  }\n  DAT_000c0ee8 = pvVar1;\n  DAT_000c0ee4 = pvVar1;\n  DAT_000c0ee0 = (int)pvVar1 + iVar5;\n  return pvVar1;\n}" primitive_type (pointer_declarator "* FUN_0001c240(void)" * (function_declarator "FUN_0001c240(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  size_t __size;\n  void *pvVar1;\n  int *piVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  pvVar1 = DAT_000c0ee8;\n  if (DAT_000c0ee8 != (void *)0x0) {\n    __size = DAT_000bfc6c * 2;\n    iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;\n    DAT_000bfc6c = __size;\n    if (__size == 0) {\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pvVar1 = realloc(pvVar1,__size);\n    if (pvVar1 == (void *)0x0) {\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);\n    DAT_000c0ee8 = pvVar1;\n    DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;\n    return DAT_000c0ee4;\n  }\n  DAT_000bfc6c = 0x3c;\n  pvVar1 = malloc(0x3c);\n  iVar5 = 0x3c;\n  if (pvVar1 == (void *)0x0) {\n    FUN_000660d0("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = DAT_000bfc6c;\n  }\n  DAT_000c0ee8 = pvVar1;\n  DAT_000c0ee4 = pvVar1;\n  DAT_000c0ee0 = (int)pvVar1 + iVar5;\n  return pvVar1;\n}" { (declaration "size_t __size;" primitive_type identifier ;) (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "pvVar1 = DAT_000c0ee8;" (assignment_expression "pvVar1 = DAT_000c0ee8" identifier = identifier) ;) (if_statement "if (DAT_000c0ee8 != (void *)0x0) {\n    __size = DAT_000bfc6c * 2;\n    iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;\n    DAT_000bfc6c = __size;\n    if (__size == 0) {\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pvVar1 = realloc(pvVar1,__size);\n    if (pvVar1 == (void *)0x0) {\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);\n    DAT_000c0ee8 = pvVar1;\n    DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;\n    return DAT_000c0ee4;\n  }" if (parenthesized_expression "(DAT_000c0ee8 != (void *)0x0)" ( (binary_expression "DAT_000c0ee8 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __size = DAT_000bfc6c * 2;\n    iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;\n    DAT_000bfc6c = __size;\n    if (__size == 0) {\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pvVar1 = realloc(pvVar1,__size);\n    if (pvVar1 == (void *)0x0) {\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);\n    DAT_000c0ee8 = pvVar1;\n    DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;\n    return DAT_000c0ee4;\n  }" { (expression_statement "__size = DAT_000bfc6c * 2;" (assignment_expression "__size = DAT_000bfc6c * 2" identifier = (binary_expression "DAT_000bfc6c * 2" identifier * number_literal)) ;) (expression_statement "iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;" (assignment_expression "iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8" identifier = (binary_expression "(int)DAT_000c0ee4 - (int)DAT_000c0ee8" (cast_expression "(int)DAT_000c0ee4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)DAT_000c0ee8" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "DAT_000bfc6c = __size;" (assignment_expression "DAT_000bfc6c = __size" identifier = identifier) ;) (if_statement "if (__size == 0) {\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }" if (parenthesized_expression "(__size == 0)" ( (binary_expression "__size == 0" identifier == number_literal) )) (compound_statement "{\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }" { (expression_statement "FUN_000660d0("awk.h",0x7e9);" (call_expression "FUN_000660d0("awk.h",0x7e9)" identifier (argument_list "("awk.h",0x7e9)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);" (call_expression "FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9)" identifier (argument_list "("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9)" ( (string_literal ""%s:%d: erealloc called with zero bytes"" " string_content ") , (string_literal ""awkgram.y"" " string_content ") , number_literal ))) ;) })) (expression_statement "pvVar1 = realloc(pvVar1,__size);" (assignment_expression "pvVar1 = realloc(pvVar1,__size)" identifier = (call_expression "realloc(pvVar1,__size)" identifier (argument_list "(pvVar1,__size)" ( identifier , identifier )))) ;) (if_statement "if (pvVar1 == (void *)0x0) {\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }" if (parenthesized_expression "(pvVar1 == (void *)0x0)" ( (binary_expression "pvVar1 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }" { (expression_statement "FUN_000660d0("awk.h",0x7ed);" (call_expression "FUN_000660d0("awk.h",0x7ed)" identifier (argument_list "("awk.h",0x7ed)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar3 = strerror(*piVar2);" (assignment_expression "pcVar3 = strerror(*piVar2)" identifier = (call_expression "strerror(*piVar2)" identifier (argument_list "(*piVar2)" ( (pointer_expression "*piVar2" * identifier) )))) ;) (expression_statement "uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);" (assignment_expression "uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5)" identifier = (call_expression "dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5)" identifier (argument_list "(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5)" ( number_literal , (string_literal ""%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);" (call_expression "FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3)" identifier (argument_list "(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3)" ( identifier , (string_literal ""awkgram.y"" " string_content ") , number_literal , (string_literal ""tokexpand"" " string_content ") , (string_literal ""tokstart"" " string_content ") , identifier , identifier ))) ;) })) (expression_statement "DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);" (assignment_expression "DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5)" identifier = (cast_expression "(void *)((int)pvVar1 + iVar5)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar1 + iVar5)" ( (binary_expression "(int)pvVar1 + iVar5" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "DAT_000c0ee8 = pvVar1;" (assignment_expression "DAT_000c0ee8 = pvVar1" identifier = identifier) ;) (expression_statement "DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;" (assignment_expression "DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c" identifier = (binary_expression "(int)pvVar1 + DAT_000bfc6c" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (return_statement "return DAT_000c0ee4;" return identifier ;) })) (expression_statement "DAT_000bfc6c = 0x3c;" (assignment_expression "DAT_000bfc6c = 0x3c" identifier = number_literal) ;) (expression_statement "pvVar1 = malloc(0x3c);" (assignment_expression "pvVar1 = malloc(0x3c)" identifier = (call_expression "malloc(0x3c)" identifier (argument_list "(0x3c)" ( number_literal )))) ;) (expression_statement "iVar5 = 0x3c;" (assignment_expression "iVar5 = 0x3c" identifier = number_literal) ;) (if_statement "if (pvVar1 == (void *)0x0) {\n    FUN_000660d0("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = DAT_000bfc6c;\n  }" if (parenthesized_expression "(pvVar1 == (void *)0x0)" ( (binary_expression "pvVar1 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_000660d0("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = DAT_000bfc6c;\n  }" { (expression_statement "FUN_000660d0("awk.h",0x7c9);" (call_expression "FUN_000660d0("awk.h",0x7c9)" identifier (argument_list "("awk.h",0x7c9)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar3 = strerror(*piVar2);" (assignment_expression "pcVar3 = strerror(*piVar2)" identifier = (call_expression "strerror(*piVar2)" identifier (argument_list "(*piVar2)" ( (pointer_expression "*piVar2" * identifier) )))) ;) (expression_statement "uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);" (assignment_expression "uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" identifier = (call_expression "dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" identifier (argument_list "(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" ( number_literal , (string_literal ""%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);" (call_expression "FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3)" identifier (argument_list "(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3)" ( identifier , (string_literal ""awkgram.y"" " string_content ") , number_literal , (string_literal ""tokexpand"" " string_content ") , (string_literal ""tokstart"" " string_content ") , number_literal , identifier ))) ;) (expression_statement "iVar5 = DAT_000bfc6c;" (assignment_expression "iVar5 = DAT_000bfc6c" identifier = identifier) ;) })) (expression_statement "DAT_000c0ee8 = pvVar1;" (assignment_expression "DAT_000c0ee8 = pvVar1" identifier = identifier) ;) (expression_statement "DAT_000c0ee4 = pvVar1;" (assignment_expression "DAT_000c0ee4 = pvVar1" identifier = identifier) ;) (expression_statement "DAT_000c0ee0 = (int)pvVar1 + iVar5;" (assignment_expression "DAT_000c0ee0 = (int)pvVar1 + iVar5" identifier = (binary_expression "(int)pvVar1 + iVar5" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (return_statement "return pvVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nchar * tokexpand(void)\n\n{\n  size_t __size;\n  char *pcVar1;\n  int *piVar2;\n  char *pcVar3;\n  char *pcVar4;\n  int iVar5;\n  \n  pcVar1 = tokstart;\n  if (tokstart != (char *)0x0) {\n    __size = tokexpand::toksize * 2;\n    iVar5 = (int)tok - (int)tokstart;\n    tokexpand::toksize = __size;\n    if (__size == 0) {\n      set_loc("awk.h",0x7e9);\n      r_fatal("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pcVar1 = (char *)realloc(pcVar1,__size);\n    if (pcVar1 == (char *)0x0) {\n      set_loc("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      pcVar4 = (char *)dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      r_fatal(pcVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    tokstart = pcVar1;\n    tok = pcVar1 + iVar5;\n    tokend = pcVar1 + tokexpand::toksize;\n    return pcVar1 + iVar5;\n  }\n  tokexpand::toksize = 0x3c;\n  pcVar1 = (char *)malloc(0x3c);\n  iVar5 = 0x3c;\n  if (pcVar1 == (char *)0x0) {\n    set_loc("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    pcVar4 = (char *)dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    r_fatal(pcVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = tokexpand::toksize;\n  }\n  tokstart = pcVar1;\n  tok = pcVar1;\n  tokend = pcVar1 + iVar5;\n  return pcVar1;\n}\n\n" comment comment (function_definition "char * tokexpand(void)\n\n{\n  size_t __size;\n  char *pcVar1;\n  int *piVar2;\n  char *pcVar3;\n  char *pcVar4;\n  int iVar5;\n  \n  pcVar1 = tokstart;\n  if (tokstart != (char *)0x0) {\n    __size = tokexpand::toksize * 2;\n    iVar5 = (int)tok - (int)tokstart;\n    tokexpand::toksize = __size;\n    if (__size == 0) {\n      set_loc("awk.h",0x7e9);\n      r_fatal("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pcVar1 = (char *)realloc(pcVar1,__size);\n    if (pcVar1 == (char *)0x0) {\n      set_loc("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      pcVar4 = (char *)dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      r_fatal(pcVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    tokstart = pcVar1;\n    tok = pcVar1 + iVar5;\n    tokend = pcVar1 + tokexpand::toksize;\n    return pcVar1 + iVar5;\n  }\n  tokexpand::toksize = 0x3c;\n  pcVar1 = (char *)malloc(0x3c);\n  iVar5 = 0x3c;\n  if (pcVar1 == (char *)0x0) {\n    set_loc("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    pcVar4 = (char *)dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    r_fatal(pcVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = tokexpand::toksize;\n  }\n  tokstart = pcVar1;\n  tok = pcVar1;\n  tokend = pcVar1 + iVar5;\n  return pcVar1;\n}" primitive_type (pointer_declarator "* tokexpand(void)" * (function_declarator "tokexpand(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  size_t __size;\n  char *pcVar1;\n  int *piVar2;\n  char *pcVar3;\n  char *pcVar4;\n  int iVar5;\n  \n  pcVar1 = tokstart;\n  if (tokstart != (char *)0x0) {\n    __size = tokexpand::toksize * 2;\n    iVar5 = (int)tok - (int)tokstart;\n    tokexpand::toksize = __size;\n    if (__size == 0) {\n      set_loc("awk.h",0x7e9);\n      r_fatal("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pcVar1 = (char *)realloc(pcVar1,__size);\n    if (pcVar1 == (char *)0x0) {\n      set_loc("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      pcVar4 = (char *)dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      r_fatal(pcVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    tokstart = pcVar1;\n    tok = pcVar1 + iVar5;\n    tokend = pcVar1 + tokexpand::toksize;\n    return pcVar1 + iVar5;\n  }\n  tokexpand::toksize = 0x3c;\n  pcVar1 = (char *)malloc(0x3c);\n  iVar5 = 0x3c;\n  if (pcVar1 == (char *)0x0) {\n    set_loc("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    pcVar4 = (char *)dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    r_fatal(pcVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = tokexpand::toksize;\n  }\n  tokstart = pcVar1;\n  tok = pcVar1;\n  tokend = pcVar1 + iVar5;\n  return pcVar1;\n}" { (declaration "size_t __size;" primitive_type identifier ;) (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "pcVar1 = tokstart;" (assignment_expression "pcVar1 = tokstart" identifier = identifier) ;) (if_statement "if (tokstart != (char *)0x0) {\n    __size = tokexpand::toksize * 2;\n    iVar5 = (int)tok - (int)tokstart;\n    tokexpand::toksize = __size;\n    if (__size == 0) {\n      set_loc("awk.h",0x7e9);\n      r_fatal("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pcVar1 = (char *)realloc(pcVar1,__size);\n    if (pcVar1 == (char *)0x0) {\n      set_loc("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      pcVar4 = (char *)dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      r_fatal(pcVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    tokstart = pcVar1;\n    tok = pcVar1 + iVar5;\n    tokend = pcVar1 + tokexpand::toksize;\n    return pcVar1 + iVar5;\n  }" if (parenthesized_expression "(tokstart != (char *)0x0)" ( (binary_expression "tokstart != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __size = tokexpand::toksize * 2;\n    iVar5 = (int)tok - (int)tokstart;\n    tokexpand::toksize = __size;\n    if (__size == 0) {\n      set_loc("awk.h",0x7e9);\n      r_fatal("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pcVar1 = (char *)realloc(pcVar1,__size);\n    if (pcVar1 == (char *)0x0) {\n      set_loc("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      pcVar4 = (char *)dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      r_fatal(pcVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    tokstart = pcVar1;\n    tok = pcVar1 + iVar5;\n    tokend = pcVar1 + tokexpand::toksize;\n    return pcVar1 + iVar5;\n  }" { (expression_statement "__size = tokexpand::toksize * 2;" (binary_expression "__size = tokexpand::toksize * 2" (assignment_expression "__size = tokexpand" identifier = identifier) (ERROR "::toksize" : : identifier) * number_literal) ;) (expression_statement "iVar5 = (int)tok - (int)tokstart;" (assignment_expression "iVar5 = (int)tok - (int)tokstart" identifier = (binary_expression "(int)tok - (int)tokstart" (cast_expression "(int)tok" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)tokstart" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (labeled_statement "tokexpand::toksize = __size;" statement_identifier : (ERROR ":" :) (expression_statement "toksize = __size;" (assignment_expression "toksize = __size" identifier = identifier) ;)) (if_statement "if (__size == 0) {\n      set_loc("awk.h",0x7e9);\n      r_fatal("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }" if (parenthesized_expression "(__size == 0)" ( (binary_expression "__size == 0" identifier == number_literal) )) (compound_statement "{\n      set_loc("awk.h",0x7e9);\n      r_fatal("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }" { (expression_statement "set_loc("awk.h",0x7e9);" (call_expression "set_loc("awk.h",0x7e9)" identifier (argument_list "("awk.h",0x7e9)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "r_fatal("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);" (call_expression "r_fatal("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9)" identifier (argument_list "("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9)" ( (string_literal ""%s:%d: erealloc called with zero bytes"" " string_content ") , (string_literal ""awkgram.y"" " string_content ") , number_literal ))) ;) })) (expression_statement "pcVar1 = (char *)realloc(pcVar1,__size);" (assignment_expression "pcVar1 = (char *)realloc(pcVar1,__size)" identifier = (cast_expression "(char *)realloc(pcVar1,__size)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "realloc(pcVar1,__size)" identifier (argument_list "(pcVar1,__size)" ( identifier , identifier ))))) ;) (if_statement "if (pcVar1 == (char *)0x0) {\n      set_loc("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      pcVar4 = (char *)dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      r_fatal(pcVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      set_loc("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      pcVar4 = (char *)dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      r_fatal(pcVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }" { (expression_statement "set_loc("awk.h",0x7ed);" (call_expression "set_loc("awk.h",0x7ed)" identifier (argument_list "("awk.h",0x7ed)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar3 = strerror(*piVar2);" (assignment_expression "pcVar3 = strerror(*piVar2)" identifier = (call_expression "strerror(*piVar2)" identifier (argument_list "(*piVar2)" ( (pointer_expression "*piVar2" * identifier) )))) ;) (expression_statement "pcVar4 = (char *)dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5)" identifier = (cast_expression "(char *)dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5)" identifier (argument_list "(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5)" ( number_literal , (string_literal ""%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s"" " string_content ") , number_literal ))))) ;) (expression_statement "r_fatal(pcVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);" (call_expression "r_fatal(pcVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3)" identifier (argument_list "(pcVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3)" ( identifier , (string_literal ""awkgram.y"" " string_content ") , number_literal , (string_literal ""tokexpand"" " string_content ") , (string_literal ""tokstart"" " string_content ") , identifier , identifier ))) ;) })) (expression_statement "tokstart = pcVar1;" (assignment_expression "tokstart = pcVar1" identifier = identifier) ;) (expression_statement "tok = pcVar1 + iVar5;" (assignment_expression "tok = pcVar1 + iVar5" identifier = (binary_expression "pcVar1 + iVar5" identifier + identifier)) ;) (expression_statement "tokend = pcVar1 + tokexpand::toksize;" (assignment_expression "tokend = pcVar1 + tokexpand" identifier = (binary_expression "pcVar1 + tokexpand" identifier + identifier)) (ERROR "::toksize" : : identifier) ;) (return_statement "return pcVar1 + iVar5;" return (binary_expression "pcVar1 + iVar5" identifier + identifier) ;) })) (labeled_statement "tokexpand::toksize = 0x3c;" statement_identifier : (ERROR ":" :) (expression_statement "toksize = 0x3c;" (assignment_expression "toksize = 0x3c" identifier = number_literal) ;)) (expression_statement "pcVar1 = (char *)malloc(0x3c);" (assignment_expression "pcVar1 = (char *)malloc(0x3c)" identifier = (cast_expression "(char *)malloc(0x3c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(0x3c)" identifier (argument_list "(0x3c)" ( number_literal ))))) ;) (expression_statement "iVar5 = 0x3c;" (assignment_expression "iVar5 = 0x3c" identifier = number_literal) ;) (if_statement "if (pcVar1 == (char *)0x0) {\n    set_loc("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    pcVar4 = (char *)dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    r_fatal(pcVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = tokexpand::toksize;\n  }" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    set_loc("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    pcVar4 = (char *)dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    r_fatal(pcVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = tokexpand::toksize;\n  }" { (expression_statement "set_loc("awk.h",0x7c9);" (call_expression "set_loc("awk.h",0x7c9)" identifier (argument_list "("awk.h",0x7c9)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar3 = strerror(*piVar2);" (assignment_expression "pcVar3 = strerror(*piVar2)" identifier = (call_expression "strerror(*piVar2)" identifier (argument_list "(*piVar2)" ( (pointer_expression "*piVar2" * identifier) )))) ;) (expression_statement "pcVar4 = (char *)dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" identifier = (cast_expression "(char *)dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" identifier (argument_list "(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" ( number_literal , (string_literal ""%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s"" " string_content ") , number_literal ))))) ;) (expression_statement "r_fatal(pcVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);" (call_expression "r_fatal(pcVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3)" identifier (argument_list "(pcVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3)" ( identifier , (string_literal ""awkgram.y"" " string_content ") , number_literal , (string_literal ""tokexpand"" " string_content ") , (string_literal ""tokstart"" " string_content ") , number_literal , identifier ))) ;) (expression_statement "iVar5 = tokexpand::toksize;" (assignment_expression "iVar5 = tokexpand" identifier = identifier) (ERROR "::toksize" : : identifier) ;) })) (expression_statement "tokstart = pcVar1;" (assignment_expression "tokstart = pcVar1" identifier = identifier) ;) (expression_statement "tok = pcVar1;" (assignment_expression "tok = pcVar1" identifier = identifier) ;) (expression_statement "tokend = pcVar1 + iVar5;" (assignment_expression "tokend = pcVar1 + iVar5" identifier = (binary_expression "pcVar1 + iVar5" identifier + identifier)) ;) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit "void * FUN_0001c240(void)\n\n{\n  size_t __size;\n  void *pvVar1;\n  int *piVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  pvVar1 = DAT_000c0ee8;\n  if (DAT_000c0ee8 != (void *)0x0) {\n    __size = DAT_000bfc6c * 2;\n    iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;\n    DAT_000bfc6c = __size;\n    if (__size == 0) {\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pvVar1 = realloc(pvVar1,__size);\n    if (pvVar1 == (void *)0x0) {\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);\n    DAT_000c0ee8 = pvVar1;\n    DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;\n    return DAT_000c0ee4;\n  }\n  DAT_000bfc6c = 0x3c;\n  pvVar1 = malloc(0x3c);\n  iVar5 = 0x3c;\n  if (pvVar1 == (void *)0x0) {\n    FUN_000660d0("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = DAT_000bfc6c;\n  }\n  DAT_000c0ee8 = pvVar1;\n  DAT_000c0ee4 = pvVar1;\n  DAT_000c0ee0 = (int)pvVar1 + iVar5;\n  return pvVar1;\n}\n\n" (function_definition "void * FUN_0001c240(void)\n\n{\n  size_t __size;\n  void *pvVar1;\n  int *piVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  pvVar1 = DAT_000c0ee8;\n  if (DAT_000c0ee8 != (void *)0x0) {\n    __size = DAT_000bfc6c * 2;\n    iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;\n    DAT_000bfc6c = __size;\n    if (__size == 0) {\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pvVar1 = realloc(pvVar1,__size);\n    if (pvVar1 == (void *)0x0) {\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);\n    DAT_000c0ee8 = pvVar1;\n    DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;\n    return DAT_000c0ee4;\n  }\n  DAT_000bfc6c = 0x3c;\n  pvVar1 = malloc(0x3c);\n  iVar5 = 0x3c;\n  if (pvVar1 == (void *)0x0) {\n    FUN_000660d0("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = DAT_000bfc6c;\n  }\n  DAT_000c0ee8 = pvVar1;\n  DAT_000c0ee4 = pvVar1;\n  DAT_000c0ee0 = (int)pvVar1 + iVar5;\n  return pvVar1;\n}" primitive_type (pointer_declarator "* FUN_0001c240(void)" * (function_declarator "FUN_0001c240(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  size_t __size;\n  void *pvVar1;\n  int *piVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  pvVar1 = DAT_000c0ee8;\n  if (DAT_000c0ee8 != (void *)0x0) {\n    __size = DAT_000bfc6c * 2;\n    iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;\n    DAT_000bfc6c = __size;\n    if (__size == 0) {\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pvVar1 = realloc(pvVar1,__size);\n    if (pvVar1 == (void *)0x0) {\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);\n    DAT_000c0ee8 = pvVar1;\n    DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;\n    return DAT_000c0ee4;\n  }\n  DAT_000bfc6c = 0x3c;\n  pvVar1 = malloc(0x3c);\n  iVar5 = 0x3c;\n  if (pvVar1 == (void *)0x0) {\n    FUN_000660d0("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = DAT_000bfc6c;\n  }\n  DAT_000c0ee8 = pvVar1;\n  DAT_000c0ee4 = pvVar1;\n  DAT_000c0ee0 = (int)pvVar1 + iVar5;\n  return pvVar1;\n}" { (declaration "size_t __size;" primitive_type identifier ;) (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "pvVar1 = DAT_000c0ee8;" (assignment_expression "pvVar1 = DAT_000c0ee8" identifier = identifier) ;) (if_statement "if (DAT_000c0ee8 != (void *)0x0) {\n    __size = DAT_000bfc6c * 2;\n    iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;\n    DAT_000bfc6c = __size;\n    if (__size == 0) {\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pvVar1 = realloc(pvVar1,__size);\n    if (pvVar1 == (void *)0x0) {\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);\n    DAT_000c0ee8 = pvVar1;\n    DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;\n    return DAT_000c0ee4;\n  }" if (parenthesized_expression "(DAT_000c0ee8 != (void *)0x0)" ( (binary_expression "DAT_000c0ee8 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __size = DAT_000bfc6c * 2;\n    iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;\n    DAT_000bfc6c = __size;\n    if (__size == 0) {\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pvVar1 = realloc(pvVar1,__size);\n    if (pvVar1 == (void *)0x0) {\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);\n    DAT_000c0ee8 = pvVar1;\n    DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;\n    return DAT_000c0ee4;\n  }" { (expression_statement "__size = DAT_000bfc6c * 2;" (assignment_expression "__size = DAT_000bfc6c * 2" identifier = (binary_expression "DAT_000bfc6c * 2" identifier * number_literal)) ;) (expression_statement "iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;" (assignment_expression "iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8" identifier = (binary_expression "(int)DAT_000c0ee4 - (int)DAT_000c0ee8" (cast_expression "(int)DAT_000c0ee4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)DAT_000c0ee8" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "DAT_000bfc6c = __size;" (assignment_expression "DAT_000bfc6c = __size" identifier = identifier) ;) (if_statement "if (__size == 0) {\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }" if (parenthesized_expression "(__size == 0)" ( (binary_expression "__size == 0" identifier == number_literal) )) (compound_statement "{\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }" { (expression_statement "FUN_000660d0("awk.h",0x7e9);" (call_expression "FUN_000660d0("awk.h",0x7e9)" identifier (argument_list "("awk.h",0x7e9)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);" (call_expression "FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9)" identifier (argument_list "("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9)" ( (string_literal ""%s:%d: erealloc called with zero bytes"" " string_content ") , (string_literal ""awkgram.y"" " string_content ") , number_literal ))) ;) })) (expression_statement "pvVar1 = realloc(pvVar1,__size);" (assignment_expression "pvVar1 = realloc(pvVar1,__size)" identifier = (call_expression "realloc(pvVar1,__size)" identifier (argument_list "(pvVar1,__size)" ( identifier , identifier )))) ;) (if_statement "if (pvVar1 == (void *)0x0) {\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }" if (parenthesized_expression "(pvVar1 == (void *)0x0)" ( (binary_expression "pvVar1 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }" { (expression_statement "FUN_000660d0("awk.h",0x7ed);" (call_expression "FUN_000660d0("awk.h",0x7ed)" identifier (argument_list "("awk.h",0x7ed)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar3 = strerror(*piVar2);" (assignment_expression "pcVar3 = strerror(*piVar2)" identifier = (call_expression "strerror(*piVar2)" identifier (argument_list "(*piVar2)" ( (pointer_expression "*piVar2" * identifier) )))) ;) (expression_statement "uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);" (assignment_expression "uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5)" identifier = (call_expression "dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5)" identifier (argument_list "(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5)" ( number_literal , (string_literal ""%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);" (call_expression "FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3)" identifier (argument_list "(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3)" ( identifier , (string_literal ""awkgram.y"" " string_content ") , number_literal , (string_literal ""tokexpand"" " string_content ") , (string_literal ""tokstart"" " string_content ") , identifier , identifier ))) ;) })) (expression_statement "DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);" (assignment_expression "DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5)" identifier = (cast_expression "(void *)((int)pvVar1 + iVar5)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar1 + iVar5)" ( (binary_expression "(int)pvVar1 + iVar5" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "DAT_000c0ee8 = pvVar1;" (assignment_expression "DAT_000c0ee8 = pvVar1" identifier = identifier) ;) (expression_statement "DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;" (assignment_expression "DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c" identifier = (binary_expression "(int)pvVar1 + DAT_000bfc6c" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (return_statement "return DAT_000c0ee4;" return identifier ;) })) (expression_statement "DAT_000bfc6c = 0x3c;" (assignment_expression "DAT_000bfc6c = 0x3c" identifier = number_literal) ;) (expression_statement "pvVar1 = malloc(0x3c);" (assignment_expression "pvVar1 = malloc(0x3c)" identifier = (call_expression "malloc(0x3c)" identifier (argument_list "(0x3c)" ( number_literal )))) ;) (expression_statement "iVar5 = 0x3c;" (assignment_expression "iVar5 = 0x3c" identifier = number_literal) ;) (if_statement "if (pvVar1 == (void *)0x0) {\n    FUN_000660d0("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = DAT_000bfc6c;\n  }" if (parenthesized_expression "(pvVar1 == (void *)0x0)" ( (binary_expression "pvVar1 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_000660d0("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = DAT_000bfc6c;\n  }" { (expression_statement "FUN_000660d0("awk.h",0x7c9);" (call_expression "FUN_000660d0("awk.h",0x7c9)" identifier (argument_list "("awk.h",0x7c9)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar3 = strerror(*piVar2);" (assignment_expression "pcVar3 = strerror(*piVar2)" identifier = (call_expression "strerror(*piVar2)" identifier (argument_list "(*piVar2)" ( (pointer_expression "*piVar2" * identifier) )))) ;) (expression_statement "uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);" (assignment_expression "uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" identifier = (call_expression "dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" identifier (argument_list "(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" ( number_literal , (string_literal ""%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);" (call_expression "FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3)" identifier (argument_list "(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3)" ( identifier , (string_literal ""awkgram.y"" " string_content ") , number_literal , (string_literal ""tokexpand"" " string_content ") , (string_literal ""tokstart"" " string_content ") , number_literal , identifier ))) ;) (expression_statement "iVar5 = DAT_000bfc6c;" (assignment_expression "iVar5 = DAT_000bfc6c" identifier = identifier) ;) })) (expression_statement "DAT_000c0ee8 = pvVar1;" (assignment_expression "DAT_000c0ee8 = pvVar1" identifier = identifier) ;) (expression_statement "DAT_000c0ee4 = pvVar1;" (assignment_expression "DAT_000c0ee4 = pvVar1" identifier = identifier) ;) (expression_statement "DAT_000c0ee0 = (int)pvVar1 + iVar5;" (assignment_expression "DAT_000c0ee0 = (int)pvVar1 + iVar5" identifier = (binary_expression "(int)pvVar1 + iVar5" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (return_statement "return pvVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT , (string_literal " string_content ") , (string_literal " string_content ") , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT)) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT)) ;) (return_statement return IDENT ;) })))
(function_definition "void * FUN_0001c240(void)\n\n{\n  size_t __size;\n  void *pvVar1;\n  int *piVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  pvVar1 = DAT_000c0ee8;\n  if (DAT_000c0ee8 != (void *)0x0) {\n    __size = DAT_000bfc6c * 2;\n    iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;\n    DAT_000bfc6c = __size;\n    if (__size == 0) {\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pvVar1 = realloc(pvVar1,__size);\n    if (pvVar1 == (void *)0x0) {\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);\n    DAT_000c0ee8 = pvVar1;\n    DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;\n    return DAT_000c0ee4;\n  }\n  DAT_000bfc6c = 0x3c;\n  pvVar1 = malloc(0x3c);\n  iVar5 = 0x3c;\n  if (pvVar1 == (void *)0x0) {\n    FUN_000660d0("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = DAT_000bfc6c;\n  }\n  DAT_000c0ee8 = pvVar1;\n  DAT_000c0ee4 = pvVar1;\n  DAT_000c0ee0 = (int)pvVar1 + iVar5;\n  return pvVar1;\n}" (primitive_type "void") (pointer_declarator "* FUN_0001c240(void)" (* "*") (function_declarator "FUN_0001c240(void)" (identifier "FUN_0001c240") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  size_t __size;\n  void *pvVar1;\n  int *piVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  pvVar1 = DAT_000c0ee8;\n  if (DAT_000c0ee8 != (void *)0x0) {\n    __size = DAT_000bfc6c * 2;\n    iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;\n    DAT_000bfc6c = __size;\n    if (__size == 0) {\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pvVar1 = realloc(pvVar1,__size);\n    if (pvVar1 == (void *)0x0) {\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);\n    DAT_000c0ee8 = pvVar1;\n    DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;\n    return DAT_000c0ee4;\n  }\n  DAT_000bfc6c = 0x3c;\n  pvVar1 = malloc(0x3c);\n  iVar5 = 0x3c;\n  if (pvVar1 == (void *)0x0) {\n    FUN_000660d0("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = DAT_000bfc6c;\n  }\n  DAT_000c0ee8 = pvVar1;\n  DAT_000c0ee4 = pvVar1;\n  DAT_000c0ee0 = (int)pvVar1 + iVar5;\n  return pvVar1;\n}" ({ "{") (declaration "size_t __size;" (primitive_type "size_t") (identifier "__size") (; ";")) (declaration "void *pvVar1;" (primitive_type "void") (pointer_declarator "*pvVar1" (* "*") (identifier "pvVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (expression_statement "pvVar1 = DAT_000c0ee8;" (assignment_expression "pvVar1 = DAT_000c0ee8" (identifier "pvVar1") (= "=") (identifier "DAT_000c0ee8")) (; ";")) (if_statement "if (DAT_000c0ee8 != (void *)0x0) {\n    __size = DAT_000bfc6c * 2;\n    iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;\n    DAT_000bfc6c = __size;\n    if (__size == 0) {\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pvVar1 = realloc(pvVar1,__size);\n    if (pvVar1 == (void *)0x0) {\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);\n    DAT_000c0ee8 = pvVar1;\n    DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;\n    return DAT_000c0ee4;\n  }" (if "if") (parenthesized_expression "(DAT_000c0ee8 != (void *)0x0)" (( "(") (binary_expression "DAT_000c0ee8 != (void *)0x0" (identifier "DAT_000c0ee8") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    __size = DAT_000bfc6c * 2;\n    iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;\n    DAT_000bfc6c = __size;\n    if (__size == 0) {\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }\n    pvVar1 = realloc(pvVar1,__size);\n    if (pvVar1 == (void *)0x0) {\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }\n    DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);\n    DAT_000c0ee8 = pvVar1;\n    DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;\n    return DAT_000c0ee4;\n  }" ({ "{") (expression_statement "__size = DAT_000bfc6c * 2;" (assignment_expression "__size = DAT_000bfc6c * 2" (identifier "__size") (= "=") (binary_expression "DAT_000bfc6c * 2" (identifier "DAT_000bfc6c") (* "*") (number_literal "2"))) (; ";")) (expression_statement "iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;" (assignment_expression "iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8" (identifier "iVar5") (= "=") (binary_expression "(int)DAT_000c0ee4 - (int)DAT_000c0ee8" (cast_expression "(int)DAT_000c0ee4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_000c0ee4")) (- "-") (cast_expression "(int)DAT_000c0ee8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_000c0ee8")))) (; ";")) (expression_statement "DAT_000bfc6c = __size;" (assignment_expression "DAT_000bfc6c = __size" (identifier "DAT_000bfc6c") (= "=") (identifier "__size")) (; ";")) (if_statement "if (__size == 0) {\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }" (if "if") (parenthesized_expression "(__size == 0)" (( "(") (binary_expression "__size == 0" (identifier "__size") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_000660d0("awk.h",0x7e9);\n      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);\n    }" ({ "{") (expression_statement "FUN_000660d0("awk.h",0x7e9);" (call_expression "FUN_000660d0("awk.h",0x7e9)" (identifier "FUN_000660d0") (argument_list "("awk.h",0x7e9)" (( "(") (string_literal ""awk.h"" (" """) (string_content "awk.h") (" """)) (, ",") (number_literal "0x7e9") () ")"))) (; ";")) (expression_statement "FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);" (call_expression "FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9)" (identifier "FUN_00066470") (argument_list "("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9)" (( "(") (string_literal ""%s:%d: erealloc called with zero bytes"" (" """) (string_content "%s:%d: erealloc called with zero bytes") (" """)) (, ",") (string_literal ""awkgram.y"" (" """) (string_content "awkgram.y") (" """)) (, ",") (number_literal "0xcc9") () ")"))) (; ";")) (} "}"))) (expression_statement "pvVar1 = realloc(pvVar1,__size);" (assignment_expression "pvVar1 = realloc(pvVar1,__size)" (identifier "pvVar1") (= "=") (call_expression "realloc(pvVar1,__size)" (identifier "realloc") (argument_list "(pvVar1,__size)" (( "(") (identifier "pvVar1") (, ",") (identifier "__size") () ")")))) (; ";")) (if_statement "if (pvVar1 == (void *)0x0) {\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }" (if "if") (parenthesized_expression "(pvVar1 == (void *)0x0)" (( "(") (binary_expression "pvVar1 == (void *)0x0" (identifier "pvVar1") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      FUN_000660d0("awk.h",0x7ed);\n      piVar2 = __errno_location();\n      pcVar3 = strerror(*piVar2);\n      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);\n    }" ({ "{") (expression_statement "FUN_000660d0("awk.h",0x7ed);" (call_expression "FUN_000660d0("awk.h",0x7ed)" (identifier "FUN_000660d0") (argument_list "("awk.h",0x7ed)" (( "(") (string_literal ""awk.h"" (" """) (string_content "awk.h") (" """)) (, ",") (number_literal "0x7ed") () ")"))) (; ";")) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" (identifier "piVar2") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pcVar3 = strerror(*piVar2);" (assignment_expression "pcVar3 = strerror(*piVar2)" (identifier "pcVar3") (= "=") (call_expression "strerror(*piVar2)" (identifier "strerror") (argument_list "(*piVar2)" (( "(") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) () ")")))) (; ";")) (expression_statement "uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);" (assignment_expression "uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5)" (identifier "dcgettext") (argument_list "(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s"" (" """) (string_content "%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);" (call_expression "FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3)" (identifier "FUN_00066470") (argument_list "(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3)" (( "(") (identifier "uVar4") (, ",") (string_literal ""awkgram.y"" (" """) (string_content "awkgram.y") (" """)) (, ",") (number_literal "0xcc9") (, ",") (string_literal ""tokexpand"" (" """) (string_content "tokexpand") (" """)) (, ",") (string_literal ""tokstart"" (" """) (string_content "tokstart") (" """)) (, ",") (identifier "__size") (, ",") (identifier "pcVar3") () ")"))) (; ";")) (} "}"))) (expression_statement "DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);" (assignment_expression "DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5)" (identifier "DAT_000c0ee4") (= "=") (cast_expression "(void *)((int)pvVar1 + iVar5)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pvVar1 + iVar5)" (( "(") (binary_expression "(int)pvVar1 + iVar5" (cast_expression "(int)pvVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar1")) (+ "+") (identifier "iVar5")) () ")")))) (; ";")) (expression_statement "DAT_000c0ee8 = pvVar1;" (assignment_expression "DAT_000c0ee8 = pvVar1" (identifier "DAT_000c0ee8") (= "=") (identifier "pvVar1")) (; ";")) (expression_statement "DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;" (assignment_expression "DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c" (identifier "DAT_000c0ee0") (= "=") (binary_expression "(int)pvVar1 + DAT_000bfc6c" (cast_expression "(int)pvVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar1")) (+ "+") (identifier "DAT_000bfc6c"))) (; ";")) (return_statement "return DAT_000c0ee4;" (return "return") (identifier "DAT_000c0ee4") (; ";")) (} "}"))) (expression_statement "DAT_000bfc6c = 0x3c;" (assignment_expression "DAT_000bfc6c = 0x3c" (identifier "DAT_000bfc6c") (= "=") (number_literal "0x3c")) (; ";")) (expression_statement "pvVar1 = malloc(0x3c);" (assignment_expression "pvVar1 = malloc(0x3c)" (identifier "pvVar1") (= "=") (call_expression "malloc(0x3c)" (identifier "malloc") (argument_list "(0x3c)" (( "(") (number_literal "0x3c") () ")")))) (; ";")) (expression_statement "iVar5 = 0x3c;" (assignment_expression "iVar5 = 0x3c" (identifier "iVar5") (= "=") (number_literal "0x3c")) (; ";")) (if_statement "if (pvVar1 == (void *)0x0) {\n    FUN_000660d0("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = DAT_000bfc6c;\n  }" (if "if") (parenthesized_expression "(pvVar1 == (void *)0x0)" (( "(") (binary_expression "pvVar1 == (void *)0x0" (identifier "pvVar1") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    FUN_000660d0("awk.h",0x7c9);\n    piVar2 = __errno_location();\n    pcVar3 = strerror(*piVar2);\n    uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);\n    iVar5 = DAT_000bfc6c;\n  }" ({ "{") (expression_statement "FUN_000660d0("awk.h",0x7c9);" (call_expression "FUN_000660d0("awk.h",0x7c9)" (identifier "FUN_000660d0") (argument_list "("awk.h",0x7c9)" (( "(") (string_literal ""awk.h"" (" """) (string_content "awk.h") (" """)) (, ",") (number_literal "0x7c9") () ")"))) (; ";")) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" (identifier "piVar2") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pcVar3 = strerror(*piVar2);" (assignment_expression "pcVar3 = strerror(*piVar2)" (identifier "pcVar3") (= "=") (call_expression "strerror(*piVar2)" (identifier "strerror") (argument_list "(*piVar2)" (( "(") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) () ")")))) (; ";")) (expression_statement "uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);" (assignment_expression "uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" (identifier "dcgettext") (argument_list "(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s"" (" """) (string_content "%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);" (call_expression "FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3)" (identifier "FUN_00066470") (argument_list "(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3)" (( "(") (identifier "uVar4") (, ",") (string_literal ""awkgram.y"" (" """) (string_content "awkgram.y") (" """)) (, ",") (number_literal "0xccd") (, ",") (string_literal ""tokexpand"" (" """) (string_content "tokexpand") (" """)) (, ",") (string_literal ""tokstart"" (" """) (string_content "tokstart") (" """)) (, ",") (number_literal "0x3c") (, ",") (identifier "pcVar3") () ")"))) (; ";")) (expression_statement "iVar5 = DAT_000bfc6c;" (assignment_expression "iVar5 = DAT_000bfc6c" (identifier "iVar5") (= "=") (identifier "DAT_000bfc6c")) (; ";")) (} "}"))) (expression_statement "DAT_000c0ee8 = pvVar1;" (assignment_expression "DAT_000c0ee8 = pvVar1" (identifier "DAT_000c0ee8") (= "=") (identifier "pvVar1")) (; ";")) (expression_statement "DAT_000c0ee4 = pvVar1;" (assignment_expression "DAT_000c0ee4 = pvVar1" (identifier "DAT_000c0ee4") (= "=") (identifier "pvVar1")) (; ";")) (expression_statement "DAT_000c0ee0 = (int)pvVar1 + iVar5;" (assignment_expression "DAT_000c0ee0 = (int)pvVar1 + iVar5" (identifier "DAT_000c0ee0") (= "=") (binary_expression "(int)pvVar1 + iVar5" (cast_expression "(int)pvVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar1")) (+ "+") (identifier "iVar5"))) (; ";")) (return_statement "return pvVar1;" (return "return") (identifier "pvVar1") (; ";")) (} "}")))

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

char * function_1(void)

{
  size_t var_2;
  char *var_6;
  int *piVar2;
  char *pcVar3;
  char *pcVar4;
  int var_10;
  
  var_6 = var_1;
  if (var_1 != (char *)0x0) {
    var_2 = function_1::toksize * 2;
    var_10 = (int)tok - (int)var_1;
    tokexpand::toksize = var_2;
    if (var_2 == 0) {
      var_3("awk.h",0x7e9);
      var_4("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);
    }
    var_6 = (char *)var_5(var_6,var_2);
    if (var_6 == (char *)0x0) {
      var_3("awk.h",0x7ed);
      piVar2 = var_7();
      pcVar3 = var_8(*piVar2);
      pcVar4 = (char *)var_9(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);
      var_4(pcVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",var_2,pcVar3);
    }
    var_1 = var_6;
    tok = var_6 + var_10;
    tokend = var_6 + function_1::toksize;
    return var_6 + var_10;
  }
  tokexpand::toksize = 0x3c;
  var_6 = (char *)var_11(0x3c);
  var_10 = 0x3c;
  if (var_6 == (char *)0x0) {
    var_3("awk.h",0x7c9);
    piVar2 = var_7();
    pcVar3 = var_8(*piVar2);
    pcVar4 = (char *)var_9(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);
    var_4(pcVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);
    var_10 = function_1::toksize;
  }
  var_1 = var_6;
  tok = var_6;
  tokend = var_6 + var_10;
  return var_6;
}


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

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

void * MASKED(void)

{
  size_t __size;
  void *pvVar1;
  int *piVar2;
  char *pcVar3;
  undefined4 uVar4;
  int iVar5;
  
  pvVar1 = DAT_000c0ee8;
  if (DAT_000c0ee8 != (void *)0x0) {
    __size = DAT_000bfc6c * 2;
    iVar5 = (int)DAT_000c0ee4 - (int)DAT_000c0ee8;
    DAT_000bfc6c = __size;
    if (__size == 0) {
      FUN_000660d0("awk.h",0x7e9);
      FUN_00066470("%s:%d: erealloc called with zero bytes","awkgram.y",0xcc9);
    }
    pvVar1 = realloc(pvVar1,__size);
    if (pvVar1 == (void *)0x0) {
      FUN_000660d0("awk.h",0x7ed);
      piVar2 = __errno_location();
      pcVar3 = strerror(*piVar2);
      uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);
      FUN_00066470(uVar4,"awkgram.y",0xcc9,"tokexpand","tokstart",__size,pcVar3);
    }
    DAT_000c0ee4 = (void *)((int)pvVar1 + iVar5);
    DAT_000c0ee8 = pvVar1;
    DAT_000c0ee0 = (int)pvVar1 + DAT_000bfc6c;
    return DAT_000c0ee4;
  }
  DAT_000bfc6c = 0x3c;
  pvVar1 = malloc(0x3c);
  iVar5 = 0x3c;
  if (pvVar1 == (void *)0x0) {
    FUN_000660d0("awk.h",0x7c9);
    piVar2 = __errno_location();
    pcVar3 = strerror(*piVar2);
    uVar4 = dcgettext(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);
    FUN_00066470(uVar4,"awkgram.y",0xccd,"tokexpand","tokstart",0x3c,pcVar3);
    iVar5 = DAT_000bfc6c;
  }
  DAT_000c0ee8 = pvVar1;
  DAT_000c0ee4 = pvVar1;
  DAT_000c0ee0 = (int)pvVar1 + iVar5;
  return pvVar1;
}

