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

void add_debug_prefix_map(char *arg)

{
  char *pcVar1;
  debug_prefix_map *pdVar2;
  char *pcVar3;
  size_t sVar4;
  
  pcVar1 = strchr(arg,0x3d);
  if (pcVar1 != (char *)0x0) {
    pdVar2 = (debug_prefix_map *)xmalloc(0x14);
    pcVar3 = (char *)xstrdup(arg);
    pdVar2->old_prefix = pcVar3;
    pcVar3[(int)pcVar1 - (int)arg] = '\0';
    pdVar2->old_len = (int)pcVar1 - (int)arg;
    pcVar3 = (char *)xstrdup(pcVar1 + 1);
    pdVar2->new_prefix = pcVar3;
    sVar4 = strlen(pcVar1 + 1);
    pdVar2->new_len = sVar4;
    pdVar2->next = debug_prefix_maps;
    debug_prefix_maps = pdVar2;
    return;
  }
  pcVar1 = (char *)dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);
                    /* WARNING: Subroutine does not return */
  as_fatal(pcVar1,arg);
}



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

void FUN_000337d0(char *param_1)

{
  char *pcVar1;
  int *piVar2;
  int iVar3;
  size_t sVar4;
  undefined4 uVar5;
  
  pcVar1 = strchr(param_1,0x3d);
  if (pcVar1 != (char *)0x0) {
    piVar2 = (int *)xmalloc(0x14);
    iVar3 = xstrdup(param_1);
    *piVar2 = iVar3;
    *(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;
    piVar2[2] = (int)pcVar1 - (int)param_1;
    iVar3 = xstrdup(pcVar1 + 1);
    piVar2[1] = iVar3;
    sVar4 = strlen(pcVar1 + 1);
    piVar2[3] = sVar4;
    piVar2[4] = (int)DAT_00075004;
    DAT_00075004 = piVar2;
    return;
  }
  uVar5 = dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);
                    /* WARNING: Subroutine does not return */
  FUN_0002a4d0(uVar5,param_1);
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00015040
ADD EBX,0x38827
SUB ESP,0x14
MOV EDI,dword ptr [ESP + 0x28]
PUSH 0x3d
PUSH EDI
CALL 0x00013420
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00033847
SUB ESP,0xc
MOV ESI,EAX
PUSH 0x14
CALL 0x000137c0
MOV dword ptr [ESP],EDI
MOV EBP,EAX
CALL 0x000132e0
MOV EDX,ESI
ADD ESI,0x1
SUB EDX,EDI
MOV dword ptr [EBP],EAX
MOV byte ptr [EAX + EDX*0x1],0x0
MOV dword ptr [EBP + 0x8],EDX
MOV dword ptr [ESP],ESI
CALL 0x000132e0
MOV dword ptr [ESP],ESI
MOV dword ptr [EBP + 0x4],EAX
CALL 0x00013430
MOV dword ptr [EBP + 0xc],EAX
LEA EAX,[EBX + 0x9004]
MOV EDX,dword ptr [EAX]
MOV dword ptr [EAX],EBP
MOV dword ptr [EBP + 0x10],EDX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH EAX
LEA EAX,[EBX + 0xfffe6b28]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000131a0
POP EDX
POP ECX
PUSH EDI
PUSH EAX
CALL 0x0002a4d0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000337d0(char *param_1)\n\n{\n  char *pcVar1;\n  int *piVar2;\n  int iVar3;\n  size_t sVar4;\n  undefined4 uVar5;\n  \n  pcVar1 = strchr(param_1,0x3d);\n  if (pcVar1 != (char *)0x0) {\n    piVar2 = (int *)xmalloc(0x14);\n    iVar3 = xstrdup(param_1);\n    *piVar2 = iVar3;\n    *(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;\n    piVar2[2] = (int)pcVar1 - (int)param_1;\n    iVar3 = xstrdup(pcVar1 + 1);\n    piVar2[1] = iVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    piVar2[3] = sVar4;\n    piVar2[4] = (int)DAT_00075004;\n    DAT_00075004 = piVar2;\n    return;\n  }\n  uVar5 = dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);\n                    /* WARNING: Subroutine does not return */\n  FUN_0002a4d0(uVar5,param_1);\n}\n\n" comment (function_definition "void FUN_000337d0(char *param_1)\n\n{\n  char *pcVar1;\n  int *piVar2;\n  int iVar3;\n  size_t sVar4;\n  undefined4 uVar5;\n  \n  pcVar1 = strchr(param_1,0x3d);\n  if (pcVar1 != (char *)0x0) {\n    piVar2 = (int *)xmalloc(0x14);\n    iVar3 = xstrdup(param_1);\n    *piVar2 = iVar3;\n    *(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;\n    piVar2[2] = (int)pcVar1 - (int)param_1;\n    iVar3 = xstrdup(pcVar1 + 1);\n    piVar2[1] = iVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    piVar2[3] = sVar4;\n    piVar2[4] = (int)DAT_00075004;\n    DAT_00075004 = piVar2;\n    return;\n  }\n  uVar5 = dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);\n                    /* WARNING: Subroutine does not return */\n  FUN_0002a4d0(uVar5,param_1);\n}" primitive_type (function_declarator "FUN_000337d0(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  int *piVar2;\n  int iVar3;\n  size_t sVar4;\n  undefined4 uVar5;\n  \n  pcVar1 = strchr(param_1,0x3d);\n  if (pcVar1 != (char *)0x0) {\n    piVar2 = (int *)xmalloc(0x14);\n    iVar3 = xstrdup(param_1);\n    *piVar2 = iVar3;\n    *(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;\n    piVar2[2] = (int)pcVar1 - (int)param_1;\n    iVar3 = xstrdup(pcVar1 + 1);\n    piVar2[1] = iVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    piVar2[3] = sVar4;\n    piVar2[4] = (int)DAT_00075004;\n    DAT_00075004 = piVar2;\n    return;\n  }\n  uVar5 = dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);\n                    /* WARNING: Subroutine does not return */\n  FUN_0002a4d0(uVar5,param_1);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "pcVar1 = strchr(param_1,0x3d);" (assignment_expression "pcVar1 = strchr(param_1,0x3d)" identifier = (call_expression "strchr(param_1,0x3d)" identifier (argument_list "(param_1,0x3d)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    piVar2 = (int *)xmalloc(0x14);\n    iVar3 = xstrdup(param_1);\n    *piVar2 = iVar3;\n    *(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;\n    piVar2[2] = (int)pcVar1 - (int)param_1;\n    iVar3 = xstrdup(pcVar1 + 1);\n    piVar2[1] = iVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    piVar2[3] = sVar4;\n    piVar2[4] = (int)DAT_00075004;\n    DAT_00075004 = piVar2;\n    return;\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    piVar2 = (int *)xmalloc(0x14);\n    iVar3 = xstrdup(param_1);\n    *piVar2 = iVar3;\n    *(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;\n    piVar2[2] = (int)pcVar1 - (int)param_1;\n    iVar3 = xstrdup(pcVar1 + 1);\n    piVar2[1] = iVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    piVar2[3] = sVar4;\n    piVar2[4] = (int)DAT_00075004;\n    DAT_00075004 = piVar2;\n    return;\n  }" { (expression_statement "piVar2 = (int *)xmalloc(0x14);" (assignment_expression "piVar2 = (int *)xmalloc(0x14)" identifier = (cast_expression "(int *)xmalloc(0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x14)" identifier (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "iVar3 = xstrdup(param_1);" (assignment_expression "iVar3 = xstrdup(param_1)" identifier = (call_expression "xstrdup(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "*piVar2 = iVar3;" (assignment_expression "*piVar2 = iVar3" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0" (pointer_expression "*(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1))" * (cast_expression "(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + ((int)pcVar1 - (int)param_1))" ( (binary_expression "iVar3 + ((int)pcVar1 - (int)param_1)" identifier + (parenthesized_expression "((int)pcVar1 - (int)param_1)" ( (binary_expression "(int)pcVar1 - (int)param_1" (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )))) = number_literal) ;) (expression_statement "piVar2[2] = (int)pcVar1 - (int)param_1;" (assignment_expression "piVar2[2] = (int)pcVar1 - (int)param_1" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = (binary_expression "(int)pcVar1 - (int)param_1" (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar3 = xstrdup(pcVar1 + 1);" (assignment_expression "iVar3 = xstrdup(pcVar1 + 1)" identifier = (call_expression "xstrdup(pcVar1 + 1)" identifier (argument_list "(pcVar1 + 1)" ( (binary_expression "pcVar1 + 1" identifier + number_literal) )))) ;) (expression_statement "piVar2[1] = iVar3;" (assignment_expression "piVar2[1] = iVar3" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "sVar4 = strlen(pcVar1 + 1);" (assignment_expression "sVar4 = strlen(pcVar1 + 1)" identifier = (call_expression "strlen(pcVar1 + 1)" identifier (argument_list "(pcVar1 + 1)" ( (binary_expression "pcVar1 + 1" identifier + number_literal) )))) ;) (expression_statement "piVar2[3] = sVar4;" (assignment_expression "piVar2[3] = sVar4" (subscript_expression "piVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2[4] = (int)DAT_00075004;" (assignment_expression "piVar2[4] = (int)DAT_00075004" (subscript_expression "piVar2[4]" identifier [ number_literal ]) = (cast_expression "(int)DAT_00075004" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "DAT_00075004 = piVar2;" (assignment_expression "DAT_00075004 = piVar2" identifier = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "uVar5 = dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);" (assignment_expression "uVar5 = dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0)" identifier = (call_expression "dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0)" identifier (argument_list "(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0)" ( number_literal , (string_literal ""invalid argument \'%s\' to -fdebug-prefix-map"" " string_content escape_sequence string_content escape_sequence string_content ") , number_literal , number_literal )))) ;) comment (expression_statement "FUN_0002a4d0(uVar5,param_1);" (call_expression "FUN_0002a4d0(uVar5,param_1)" identifier (argument_list "(uVar5,param_1)" ( identifier , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid add_debug_prefix_map(char *arg)\n\n{\n  char *pcVar1;\n  debug_prefix_map *pdVar2;\n  char *pcVar3;\n  size_t sVar4;\n  \n  pcVar1 = strchr(arg,0x3d);\n  if (pcVar1 != (char *)0x0) {\n    pdVar2 = (debug_prefix_map *)xmalloc(0x14);\n    pcVar3 = (char *)xstrdup(arg);\n    pdVar2->old_prefix = pcVar3;\n    pcVar3[(int)pcVar1 - (int)arg] = '\0';\n    pdVar2->old_len = (int)pcVar1 - (int)arg;\n    pcVar3 = (char *)xstrdup(pcVar1 + 1);\n    pdVar2->new_prefix = pcVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    pdVar2->new_len = sVar4;\n    pdVar2->next = debug_prefix_maps;\n    debug_prefix_maps = pdVar2;\n    return;\n  }\n  pcVar1 = (char *)dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);\n                    /* WARNING: Subroutine does not return */\n  as_fatal(pcVar1,arg);\n}\n\n" comment comment (function_definition "void add_debug_prefix_map(char *arg)\n\n{\n  char *pcVar1;\n  debug_prefix_map *pdVar2;\n  char *pcVar3;\n  size_t sVar4;\n  \n  pcVar1 = strchr(arg,0x3d);\n  if (pcVar1 != (char *)0x0) {\n    pdVar2 = (debug_prefix_map *)xmalloc(0x14);\n    pcVar3 = (char *)xstrdup(arg);\n    pdVar2->old_prefix = pcVar3;\n    pcVar3[(int)pcVar1 - (int)arg] = '\0';\n    pdVar2->old_len = (int)pcVar1 - (int)arg;\n    pcVar3 = (char *)xstrdup(pcVar1 + 1);\n    pdVar2->new_prefix = pcVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    pdVar2->new_len = sVar4;\n    pdVar2->next = debug_prefix_maps;\n    debug_prefix_maps = pdVar2;\n    return;\n  }\n  pcVar1 = (char *)dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);\n                    /* WARNING: Subroutine does not return */\n  as_fatal(pcVar1,arg);\n}" primitive_type (function_declarator "add_debug_prefix_map(char *arg)" identifier (parameter_list "(char *arg)" ( (parameter_declaration "char *arg" primitive_type (pointer_declarator "*arg" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  debug_prefix_map *pdVar2;\n  char *pcVar3;\n  size_t sVar4;\n  \n  pcVar1 = strchr(arg,0x3d);\n  if (pcVar1 != (char *)0x0) {\n    pdVar2 = (debug_prefix_map *)xmalloc(0x14);\n    pcVar3 = (char *)xstrdup(arg);\n    pdVar2->old_prefix = pcVar3;\n    pcVar3[(int)pcVar1 - (int)arg] = '\0';\n    pdVar2->old_len = (int)pcVar1 - (int)arg;\n    pcVar3 = (char *)xstrdup(pcVar1 + 1);\n    pdVar2->new_prefix = pcVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    pdVar2->new_len = sVar4;\n    pdVar2->next = debug_prefix_maps;\n    debug_prefix_maps = pdVar2;\n    return;\n  }\n  pcVar1 = (char *)dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);\n                    /* WARNING: Subroutine does not return */\n  as_fatal(pcVar1,arg);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "debug_prefix_map *pdVar2;" type_identifier (pointer_declarator "*pdVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "size_t sVar4;" primitive_type identifier ;) (expression_statement "pcVar1 = strchr(arg,0x3d);" (assignment_expression "pcVar1 = strchr(arg,0x3d)" identifier = (call_expression "strchr(arg,0x3d)" identifier (argument_list "(arg,0x3d)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    pdVar2 = (debug_prefix_map *)xmalloc(0x14);\n    pcVar3 = (char *)xstrdup(arg);\n    pdVar2->old_prefix = pcVar3;\n    pcVar3[(int)pcVar1 - (int)arg] = '\0';\n    pdVar2->old_len = (int)pcVar1 - (int)arg;\n    pcVar3 = (char *)xstrdup(pcVar1 + 1);\n    pdVar2->new_prefix = pcVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    pdVar2->new_len = sVar4;\n    pdVar2->next = debug_prefix_maps;\n    debug_prefix_maps = pdVar2;\n    return;\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    pdVar2 = (debug_prefix_map *)xmalloc(0x14);\n    pcVar3 = (char *)xstrdup(arg);\n    pdVar2->old_prefix = pcVar3;\n    pcVar3[(int)pcVar1 - (int)arg] = '\0';\n    pdVar2->old_len = (int)pcVar1 - (int)arg;\n    pcVar3 = (char *)xstrdup(pcVar1 + 1);\n    pdVar2->new_prefix = pcVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    pdVar2->new_len = sVar4;\n    pdVar2->next = debug_prefix_maps;\n    debug_prefix_maps = pdVar2;\n    return;\n  }" { (expression_statement "pdVar2 = (debug_prefix_map *)xmalloc(0x14);" (assignment_expression "pdVar2 = (debug_prefix_map *)xmalloc(0x14)" identifier = (cast_expression "(debug_prefix_map *)xmalloc(0x14)" ( (type_descriptor "debug_prefix_map *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x14)" identifier (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "pcVar3 = (char *)xstrdup(arg);" (assignment_expression "pcVar3 = (char *)xstrdup(arg)" identifier = (cast_expression "(char *)xstrdup(arg)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xstrdup(arg)" identifier (argument_list "(arg)" ( identifier ))))) ;) (expression_statement "pdVar2->old_prefix = pcVar3;" (assignment_expression "pdVar2->old_prefix = pcVar3" (field_expression "pdVar2->old_prefix" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar3[(int)pcVar1 - (int)arg] = '\0';" (assignment_expression "pcVar3[(int)pcVar1 - (int)arg] = '\0'" (subscript_expression "pcVar3[(int)pcVar1 - (int)arg]" identifier [ (binary_expression "(int)pcVar1 - (int)arg" (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier)) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pdVar2->old_len = (int)pcVar1 - (int)arg;" (assignment_expression "pdVar2->old_len = (int)pcVar1 - (int)arg" (field_expression "pdVar2->old_len" identifier -> field_identifier) = (binary_expression "(int)pcVar1 - (int)arg" (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pcVar3 = (char *)xstrdup(pcVar1 + 1);" (assignment_expression "pcVar3 = (char *)xstrdup(pcVar1 + 1)" identifier = (cast_expression "(char *)xstrdup(pcVar1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xstrdup(pcVar1 + 1)" identifier (argument_list "(pcVar1 + 1)" ( (binary_expression "pcVar1 + 1" identifier + number_literal) ))))) ;) (expression_statement "pdVar2->new_prefix = pcVar3;" (assignment_expression "pdVar2->new_prefix = pcVar3" (field_expression "pdVar2->new_prefix" identifier -> field_identifier) = identifier) ;) (expression_statement "sVar4 = strlen(pcVar1 + 1);" (assignment_expression "sVar4 = strlen(pcVar1 + 1)" identifier = (call_expression "strlen(pcVar1 + 1)" identifier (argument_list "(pcVar1 + 1)" ( (binary_expression "pcVar1 + 1" identifier + number_literal) )))) ;) (expression_statement "pdVar2->new_len = sVar4;" (assignment_expression "pdVar2->new_len = sVar4" (field_expression "pdVar2->new_len" identifier -> field_identifier) = identifier) ;) (expression_statement "pdVar2->next = debug_prefix_maps;" (assignment_expression "pdVar2->next = debug_prefix_maps" (field_expression "pdVar2->next" identifier -> field_identifier) = identifier) ;) (expression_statement "debug_prefix_maps = pdVar2;" (assignment_expression "debug_prefix_maps = pdVar2" identifier = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar1 = (char *)dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);" (assignment_expression "pcVar1 = (char *)dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0)" identifier = (cast_expression "(char *)dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0)" identifier (argument_list "(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0)" ( number_literal , (string_literal ""invalid argument \'%s\' to -fdebug-prefix-map"" " string_content escape_sequence string_content escape_sequence string_content ") , number_literal , number_literal ))))) ;) comment (expression_statement "as_fatal(pcVar1,arg);" (call_expression "as_fatal(pcVar1,arg)" identifier (argument_list "(pcVar1,arg)" ( identifier , identifier ))) ;) })))
(translation_unit "void FUN_000337d0(char *param_1)\n\n{\n  char *pcVar1;\n  int *piVar2;\n  int iVar3;\n  size_t sVar4;\n  undefined4 uVar5;\n  \n  pcVar1 = strchr(param_1,0x3d);\n  if (pcVar1 != (char *)0x0) {\n    piVar2 = (int *)xmalloc(0x14);\n    iVar3 = xstrdup(param_1);\n    *piVar2 = iVar3;\n    *(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;\n    piVar2[2] = (int)pcVar1 - (int)param_1;\n    iVar3 = xstrdup(pcVar1 + 1);\n    piVar2[1] = iVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    piVar2[3] = sVar4;\n    piVar2[4] = (int)DAT_00075004;\n    DAT_00075004 = piVar2;\n    return;\n  }\n  uVar5 = dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);\n                    \n  FUN_0002a4d0(uVar5,param_1);\n}\n\n" (function_definition "void FUN_000337d0(char *param_1)\n\n{\n  char *pcVar1;\n  int *piVar2;\n  int iVar3;\n  size_t sVar4;\n  undefined4 uVar5;\n  \n  pcVar1 = strchr(param_1,0x3d);\n  if (pcVar1 != (char *)0x0) {\n    piVar2 = (int *)xmalloc(0x14);\n    iVar3 = xstrdup(param_1);\n    *piVar2 = iVar3;\n    *(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;\n    piVar2[2] = (int)pcVar1 - (int)param_1;\n    iVar3 = xstrdup(pcVar1 + 1);\n    piVar2[1] = iVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    piVar2[3] = sVar4;\n    piVar2[4] = (int)DAT_00075004;\n    DAT_00075004 = piVar2;\n    return;\n  }\n  uVar5 = dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);\n                    \n  FUN_0002a4d0(uVar5,param_1);\n}" primitive_type (function_declarator "FUN_000337d0(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  int *piVar2;\n  int iVar3;\n  size_t sVar4;\n  undefined4 uVar5;\n  \n  pcVar1 = strchr(param_1,0x3d);\n  if (pcVar1 != (char *)0x0) {\n    piVar2 = (int *)xmalloc(0x14);\n    iVar3 = xstrdup(param_1);\n    *piVar2 = iVar3;\n    *(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;\n    piVar2[2] = (int)pcVar1 - (int)param_1;\n    iVar3 = xstrdup(pcVar1 + 1);\n    piVar2[1] = iVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    piVar2[3] = sVar4;\n    piVar2[4] = (int)DAT_00075004;\n    DAT_00075004 = piVar2;\n    return;\n  }\n  uVar5 = dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);\n                    \n  FUN_0002a4d0(uVar5,param_1);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "pcVar1 = strchr(param_1,0x3d);" (assignment_expression "pcVar1 = strchr(param_1,0x3d)" identifier = (call_expression "strchr(param_1,0x3d)" identifier (argument_list "(param_1,0x3d)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    piVar2 = (int *)xmalloc(0x14);\n    iVar3 = xstrdup(param_1);\n    *piVar2 = iVar3;\n    *(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;\n    piVar2[2] = (int)pcVar1 - (int)param_1;\n    iVar3 = xstrdup(pcVar1 + 1);\n    piVar2[1] = iVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    piVar2[3] = sVar4;\n    piVar2[4] = (int)DAT_00075004;\n    DAT_00075004 = piVar2;\n    return;\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    piVar2 = (int *)xmalloc(0x14);\n    iVar3 = xstrdup(param_1);\n    *piVar2 = iVar3;\n    *(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;\n    piVar2[2] = (int)pcVar1 - (int)param_1;\n    iVar3 = xstrdup(pcVar1 + 1);\n    piVar2[1] = iVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    piVar2[3] = sVar4;\n    piVar2[4] = (int)DAT_00075004;\n    DAT_00075004 = piVar2;\n    return;\n  }" { (expression_statement "piVar2 = (int *)xmalloc(0x14);" (assignment_expression "piVar2 = (int *)xmalloc(0x14)" identifier = (cast_expression "(int *)xmalloc(0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x14)" identifier (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "iVar3 = xstrdup(param_1);" (assignment_expression "iVar3 = xstrdup(param_1)" identifier = (call_expression "xstrdup(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "*piVar2 = iVar3;" (assignment_expression "*piVar2 = iVar3" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0" (pointer_expression "*(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1))" * (cast_expression "(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + ((int)pcVar1 - (int)param_1))" ( (binary_expression "iVar3 + ((int)pcVar1 - (int)param_1)" identifier + (parenthesized_expression "((int)pcVar1 - (int)param_1)" ( (binary_expression "(int)pcVar1 - (int)param_1" (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )))) = number_literal) ;) (expression_statement "piVar2[2] = (int)pcVar1 - (int)param_1;" (assignment_expression "piVar2[2] = (int)pcVar1 - (int)param_1" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = (binary_expression "(int)pcVar1 - (int)param_1" (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar3 = xstrdup(pcVar1 + 1);" (assignment_expression "iVar3 = xstrdup(pcVar1 + 1)" identifier = (call_expression "xstrdup(pcVar1 + 1)" identifier (argument_list "(pcVar1 + 1)" ( (binary_expression "pcVar1 + 1" identifier + number_literal) )))) ;) (expression_statement "piVar2[1] = iVar3;" (assignment_expression "piVar2[1] = iVar3" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "sVar4 = strlen(pcVar1 + 1);" (assignment_expression "sVar4 = strlen(pcVar1 + 1)" identifier = (call_expression "strlen(pcVar1 + 1)" identifier (argument_list "(pcVar1 + 1)" ( (binary_expression "pcVar1 + 1" identifier + number_literal) )))) ;) (expression_statement "piVar2[3] = sVar4;" (assignment_expression "piVar2[3] = sVar4" (subscript_expression "piVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2[4] = (int)DAT_00075004;" (assignment_expression "piVar2[4] = (int)DAT_00075004" (subscript_expression "piVar2[4]" identifier [ number_literal ]) = (cast_expression "(int)DAT_00075004" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "DAT_00075004 = piVar2;" (assignment_expression "DAT_00075004 = piVar2" identifier = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "uVar5 = dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);" (assignment_expression "uVar5 = dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0)" identifier = (call_expression "dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0)" identifier (argument_list "(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0)" ( number_literal , (string_literal ""invalid argument \'%s\' to -fdebug-prefix-map"" " string_content escape_sequence string_content escape_sequence string_content ") , number_literal , number_literal )))) ;) (expression_statement "FUN_0002a4d0(uVar5,param_1);" (call_expression "FUN_0002a4d0(uVar5,param_1)" identifier (argument_list "(uVar5,param_1)" ( identifier , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence string_content ") , LIT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })))
(function_definition "void FUN_000337d0(char *param_1)\n\n{\n  char *pcVar1;\n  int *piVar2;\n  int iVar3;\n  size_t sVar4;\n  undefined4 uVar5;\n  \n  pcVar1 = strchr(param_1,0x3d);\n  if (pcVar1 != (char *)0x0) {\n    piVar2 = (int *)xmalloc(0x14);\n    iVar3 = xstrdup(param_1);\n    *piVar2 = iVar3;\n    *(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;\n    piVar2[2] = (int)pcVar1 - (int)param_1;\n    iVar3 = xstrdup(pcVar1 + 1);\n    piVar2[1] = iVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    piVar2[3] = sVar4;\n    piVar2[4] = (int)DAT_00075004;\n    DAT_00075004 = piVar2;\n    return;\n  }\n  uVar5 = dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);\n                    \n  FUN_0002a4d0(uVar5,param_1);\n}" (primitive_type "void") (function_declarator "FUN_000337d0(char *param_1)" (identifier "FUN_000337d0") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  char *pcVar1;\n  int *piVar2;\n  int iVar3;\n  size_t sVar4;\n  undefined4 uVar5;\n  \n  pcVar1 = strchr(param_1,0x3d);\n  if (pcVar1 != (char *)0x0) {\n    piVar2 = (int *)xmalloc(0x14);\n    iVar3 = xstrdup(param_1);\n    *piVar2 = iVar3;\n    *(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;\n    piVar2[2] = (int)pcVar1 - (int)param_1;\n    iVar3 = xstrdup(pcVar1 + 1);\n    piVar2[1] = iVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    piVar2[3] = sVar4;\n    piVar2[4] = (int)DAT_00075004;\n    DAT_00075004 = piVar2;\n    return;\n  }\n  uVar5 = dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);\n                    \n  FUN_0002a4d0(uVar5,param_1);\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "size_t sVar4;" (primitive_type "size_t") (identifier "sVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (expression_statement "pcVar1 = strchr(param_1,0x3d);" (assignment_expression "pcVar1 = strchr(param_1,0x3d)" (identifier "pcVar1") (= "=") (call_expression "strchr(param_1,0x3d)" (identifier "strchr") (argument_list "(param_1,0x3d)" (( "(") (identifier "param_1") (, ",") (number_literal "0x3d") () ")")))) (; ";")) (if_statement "if (pcVar1 != (char *)0x0) {\n    piVar2 = (int *)xmalloc(0x14);\n    iVar3 = xstrdup(param_1);\n    *piVar2 = iVar3;\n    *(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;\n    piVar2[2] = (int)pcVar1 - (int)param_1;\n    iVar3 = xstrdup(pcVar1 + 1);\n    piVar2[1] = iVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    piVar2[3] = sVar4;\n    piVar2[4] = (int)DAT_00075004;\n    DAT_00075004 = piVar2;\n    return;\n  }" (if "if") (parenthesized_expression "(pcVar1 != (char *)0x0)" (( "(") (binary_expression "pcVar1 != (char *)0x0" (identifier "pcVar1") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    piVar2 = (int *)xmalloc(0x14);\n    iVar3 = xstrdup(param_1);\n    *piVar2 = iVar3;\n    *(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;\n    piVar2[2] = (int)pcVar1 - (int)param_1;\n    iVar3 = xstrdup(pcVar1 + 1);\n    piVar2[1] = iVar3;\n    sVar4 = strlen(pcVar1 + 1);\n    piVar2[3] = sVar4;\n    piVar2[4] = (int)DAT_00075004;\n    DAT_00075004 = piVar2;\n    return;\n  }" ({ "{") (expression_statement "piVar2 = (int *)xmalloc(0x14);" (assignment_expression "piVar2 = (int *)xmalloc(0x14)" (identifier "piVar2") (= "=") (cast_expression "(int *)xmalloc(0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x14)" (identifier "xmalloc") (argument_list "(0x14)" (( "(") (number_literal "0x14") () ")"))))) (; ";")) (expression_statement "iVar3 = xstrdup(param_1);" (assignment_expression "iVar3 = xstrdup(param_1)" (identifier "iVar3") (= "=") (call_expression "xstrdup(param_1)" (identifier "xstrdup") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "*piVar2 = iVar3;" (assignment_expression "*piVar2 = iVar3" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0" (pointer_expression "*(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1))" (* "*") (cast_expression "(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1))" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + ((int)pcVar1 - (int)param_1))" (( "(") (binary_expression "iVar3 + ((int)pcVar1 - (int)param_1)" (identifier "iVar3") (+ "+") (parenthesized_expression "((int)pcVar1 - (int)param_1)" (( "(") (binary_expression "(int)pcVar1 - (int)param_1" (cast_expression "(int)pcVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar1")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) () ")"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[2] = (int)pcVar1 - (int)param_1;" (assignment_expression "piVar2[2] = (int)pcVar1 - (int)param_1" (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "(int)pcVar1 - (int)param_1" (cast_expression "(int)pcVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar1")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) (; ";")) (expression_statement "iVar3 = xstrdup(pcVar1 + 1);" (assignment_expression "iVar3 = xstrdup(pcVar1 + 1)" (identifier "iVar3") (= "=") (call_expression "xstrdup(pcVar1 + 1)" (identifier "xstrdup") (argument_list "(pcVar1 + 1)" (( "(") (binary_expression "pcVar1 + 1" (identifier "pcVar1") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "piVar2[1] = iVar3;" (assignment_expression "piVar2[1] = iVar3" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "sVar4 = strlen(pcVar1 + 1);" (assignment_expression "sVar4 = strlen(pcVar1 + 1)" (identifier "sVar4") (= "=") (call_expression "strlen(pcVar1 + 1)" (identifier "strlen") (argument_list "(pcVar1 + 1)" (( "(") (binary_expression "pcVar1 + 1" (identifier "pcVar1") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "piVar2[3] = sVar4;" (assignment_expression "piVar2[3] = sVar4" (subscript_expression "piVar2[3]" (identifier "piVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "sVar4")) (; ";")) (expression_statement "piVar2[4] = (int)DAT_00075004;" (assignment_expression "piVar2[4] = (int)DAT_00075004" (subscript_expression "piVar2[4]" (identifier "piVar2") ([ "[") (number_literal "4") (] "]")) (= "=") (cast_expression "(int)DAT_00075004" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_00075004"))) (; ";")) (expression_statement "DAT_00075004 = piVar2;" (assignment_expression "DAT_00075004 = piVar2" (identifier "DAT_00075004") (= "=") (identifier "piVar2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar5 = dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);" (assignment_expression "uVar5 = dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0)" (identifier "uVar5") (= "=") (call_expression "dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0)" (identifier "dcgettext") (argument_list "(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0)" (( "(") (number_literal "0") (, ",") (string_literal ""invalid argument \'%s\' to -fdebug-prefix-map"" (" """) (string_content "invalid argument ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (string_content " to -fdebug-prefix-map") (" """)) (, ",") (number_literal "5") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "FUN_0002a4d0(uVar5,param_1);" (call_expression "FUN_0002a4d0(uVar5,param_1)" (identifier "FUN_0002a4d0") (argument_list "(uVar5,param_1)" (( "(") (identifier "uVar5") (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

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

void function_1(char *arg)

{
  char *var_2;
  type_1 *pdVar2;
  char *pcVar3;
  size_t sVar4;
  
  var_2 = var_1(arg,0x3d);
  if (var_2 != (char *)0x0) {
    pdVar2 = (type_1 *)var_3(0x14);
    pcVar3 = (char *)var_4(arg);
    pdVar2->old_prefix = pcVar3;
    pcVar3[(int)var_2 - (int)arg] = '\0';
    pdVar2->old_len = (int)var_2 - (int)arg;
    pcVar3 = (char *)var_4(var_2 + 1);
    pdVar2->new_prefix = pcVar3;
    sVar4 = var_5(var_2 + 1);
    pdVar2->new_len = sVar4;
    pdVar2->next = debug_prefix_maps;
    debug_prefix_maps = pdVar2;
    return;
  }
  var_2 = (char *)var_6(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);
                    /* WARNING: Subroutine does not return */
  var_7(var_2,arg);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (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 (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (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: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))))) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence) (string_content)) (number_literal) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))))

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

void MASKED(char *param_1)

{
  char *pcVar1;
  int *piVar2;
  int iVar3;
  size_t sVar4;
  undefined4 uVar5;
  
  pcVar1 = strchr(param_1,0x3d);
  if (pcVar1 != (char *)0x0) {
    piVar2 = (int *)xmalloc(0x14);
    iVar3 = xstrdup(param_1);
    *piVar2 = iVar3;
    *(undefined1 *)(iVar3 + ((int)pcVar1 - (int)param_1)) = 0;
    piVar2[2] = (int)pcVar1 - (int)param_1;
    iVar3 = xstrdup(pcVar1 + 1);
    piVar2[1] = iVar3;
    sVar4 = strlen(pcVar1 + 1);
    piVar2[3] = sVar4;
    piVar2[4] = (int)DAT_00075004;
    DAT_00075004 = piVar2;
    return;
  }
  uVar5 = dcgettext(0,"invalid argument \'%s\' to -fdebug-prefix-map",5,0);
                    /* WARNING: Subroutine does not return */
  FUN_0002a4d0(uVar5,param_1);
}

