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

_Bool parse_user(parser_table *entry,char **argv,int *arg_ptr)

{
  float fVar1;
  passwd *ppVar2;
  predicate *ppVar3;
  size_t sVar4;
  char *pcVar5;
  undefined4 uVar6;
  char *pcVar7;
  
  if (argv != (char **)0x0) {
    pcVar5 = argv[*arg_ptr];
    if (pcVar5 != (char *)0x0) {
      *arg_ptr = *arg_ptr + 1;
      ppVar2 = getpwnam(pcVar5);
      endpwent();
      if (ppVar2 == (passwd *)0x0) {
        sVar4 = strspn(pcVar5,"0123456789");
        if ((sVar4 == 0) || (pcVar5[sVar4] != '\0')) {
          if (*pcVar5 == '\0') {
            uVar6 = dcgettext(0,"The argument to -user should not be empty",5);
                    /* WARNING: Subroutine does not return */
            error(1,0,uVar6);
          }
          pcVar5 = quotearg_n_style(0,options.err_quoting_style,pcVar5);
          uVar6 = dcgettext(0,"%s is not the name of a known user",5);
                    /* WARNING: Subroutine does not return */
          error(1,0,uVar6,pcVar5);
        }
        pcVar7 = (char *)safe_atoi(pcVar5,options.err_quoting_style);
      }
      else {
        pcVar7 = (char *)ppVar2->pw_uid;
      }
      ppVar3 = insert_primary(entry,pcVar5);
      (ppVar3->args).str = pcVar7;
      fVar1 = DAT_00061be8;
      if ((char *)0x63 < pcVar7) {
        fVar1 = DAT_00061bc0;
      }
      ppVar3->est_success_rate = fVar1;
      return true;
    }
  }
  return false;
}



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

undefined4 FUN_00023eb0(undefined4 param_1,int param_2,int *param_3)

{
  char *__name;
  passwd *ppVar1;
  int iVar2;
  size_t sVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  __uid_t _Var6;
  
  if (param_2 != 0) {
    __name = *(char **)(param_2 + *param_3 * 4);
    if (__name != (char *)0x0) {
      *param_3 = *param_3 + 1;
      ppVar1 = getpwnam(__name);
      endpwent();
      if (ppVar1 == (passwd *)0x0) {
        sVar3 = strspn(__name,"0123456789");
        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {
          if (*__name == '\0') {
            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);
                    /* WARNING: Subroutine does not return */
            error(1,0,uVar4);
          }
          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);
          uVar5 = dcgettext(0,"%s is not the name of a known user",5);
                    /* WARNING: Subroutine does not return */
          error(1,0,uVar5,uVar4);
        }
        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);
      }
      else {
        _Var6 = ppVar1->pw_uid;
      }
      iVar2 = FUN_0001fa70(param_1,__name);
      *(__uid_t *)(iVar2 + 0x28) = _Var6;
      uVar4 = DAT_00061be8;
      if (99 < _Var6) {
        uVar4 = DAT_00061bc0;
      }
      *(undefined4 *)(iVar2 + 0x1c) = uVar4;
      return 1;
    }
  }
  return 0;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDX,dword ptr [ESP + 0x14]
CALL 0x00014da0
ADD EBX,0x56e2c
MOV ECX,dword ptr [ESP + 0x18]
TEST EDX,EDX
JZ 0x00023f80
MOV EAX,dword ptr [ECX]
MOV ESI,dword ptr [EDX + EAX*0x4]
TEST ESI,ESI
JZ 0x00023f80
SUB ESP,0xc
ADD EAX,0x1
MOV dword ptr [ECX],EAX
PUSH ESI
CALL 0x00014070
MOV EDI,EAX
CALL 0x000147b0
ADD ESP,0x10
TEST EDI,EDI
JZ 0x00023f28
MOV EDI,dword ptr [EDI + 0x8]
SUB ESP,0x8
PUSH ESI
PUSH dword ptr [ESP + 0x1c]
CALL 0x0001fa70
ADD ESP,0x10
MOV dword ptr [EAX + 0x28],EDI
CMP EDI,0x63
JBE 0x00023f90
FLD dword ptr [EBX + 0xfffe6ed8]
FSTP dword ptr [EAX + 0x1c]
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x8
LEA EAX,[EBX + 0xfffe5c7a]
PUSH EAX
PUSH ESI
CALL 0x00014950
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00023f45
CMP byte ptr [ESI + EAX*0x1],0x0
JZ 0x00023fc0
CMP byte ptr [ESI],0x0
JZ 0x00023fa0
LEA EAX,[EBX + 0x1218]
SUB ESP,0x4
PUSH ESI
PUSH dword ptr [EAX + 0x48]
PUSH 0x0
CALL 0x0003b310
ADD ESP,0xc
MOV ESI,EAX
LEA EAX,[EBX + 0xfffe6100]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000142c0
PUSH ESI
PUSH EAX
PUSH 0x0
PUSH 0x1
CALL 0x000144a0
POP EBX
XOR EAX,EAX
POP ESI
POP EDI
RET
FLD dword ptr [EBX + 0xfffe6f00]
JMP 0x00023f18
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe6124]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000142c0
ADD ESP,0xc
PUSH EAX
PUSH 0x0
PUSH 0x1
CALL 0x000144a0
LEA EAX,[EBX + 0x1218]
SUB ESP,0x8
PUSH dword ptr [EAX + 0x48]
PUSH ESI
CALL 0x0002bc10
ADD ESP,0x10
MOV EDI,EAX
JMP 0x00023efa
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00023eb0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  char *__name;\n  passwd *ppVar1;\n  int iVar2;\n  size_t sVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  __uid_t _Var6;\n  \n  if (param_2 != 0) {\n    __name = *(char **)(param_2 + *param_3 * 4);\n    if (__name != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_00023eb0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  char *__name;\n  passwd *ppVar1;\n  int iVar2;\n  size_t sVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  __uid_t _Var6;\n  \n  if (param_2 != 0) {\n    __name = *(char **)(param_2 + *param_3 * 4);\n    if (__name != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00023eb0(undefined4 param_1,int param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  char *__name;\n  passwd *ppVar1;\n  int iVar2;\n  size_t sVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  __uid_t _Var6;\n  \n  if (param_2 != 0) {\n    __name = *(char **)(param_2 + *param_3 * 4);\n    if (__name != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }\n  }\n  return 0;\n}" { (declaration "char *__name;" primitive_type (pointer_declarator "*__name" * identifier) ;) (declaration "passwd *ppVar1;" type_identifier (pointer_declarator "*ppVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "__uid_t _Var6;" type_identifier identifier ;) (if_statement "if (param_2 != 0) {\n    __name = *(char **)(param_2 + *param_3 * 4);\n    if (__name != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    __name = *(char **)(param_2 + *param_3 * 4);\n    if (__name != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }\n  }" { (expression_statement "__name = *(char **)(param_2 + *param_3 * 4);" (assignment_expression "__name = *(char **)(param_2 + *param_3 * 4)" identifier = (pointer_expression "*(char **)(param_2 + *param_3 * 4)" * (cast_expression "(char **)(param_2 + *param_3 * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + *param_3 * 4)" ( (binary_expression "param_2 + *param_3 * 4" identifier + (binary_expression "*param_3 * 4" (pointer_expression "*param_3" * identifier) * number_literal)) ))))) ;) (if_statement "if (__name != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }" if (parenthesized_expression "(__name != (char *)0x0)" ( (binary_expression "__name != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }" { (expression_statement "*param_3 = *param_3 + 1;" (assignment_expression "*param_3 = *param_3 + 1" (pointer_expression "*param_3" * identifier) = (binary_expression "*param_3 + 1" (pointer_expression "*param_3" * identifier) + number_literal)) ;) (expression_statement "ppVar1 = getpwnam(__name);" (assignment_expression "ppVar1 = getpwnam(__name)" identifier = (call_expression "getpwnam(__name)" identifier (argument_list "(__name)" ( identifier )))) ;) (expression_statement "endpwent();" (call_expression "endpwent()" identifier (argument_list "()" ( ))) ;) (if_statement "if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }" if (parenthesized_expression "(ppVar1 == (passwd *)0x0)" ( (binary_expression "ppVar1 == (passwd *)0x0" identifier == (cast_expression "(passwd *)0x0" ( (type_descriptor "passwd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }" { (expression_statement "sVar3 = strspn(__name,"0123456789");" (assignment_expression "sVar3 = strspn(__name,"0123456789")" identifier = (call_expression "strspn(__name,"0123456789")" identifier (argument_list "(__name,"0123456789")" ( identifier , (string_literal ""0123456789"" " string_content ") )))) ;) (if_statement "if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar5,uVar4);\n        }" if (parenthesized_expression "((sVar3 == 0) || (__name[sVar3] != '\0'))" ( (binary_expression "(sVar3 == 0) || (__name[sVar3] != '\0')" (parenthesized_expression "(sVar3 == 0)" ( (binary_expression "sVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(__name[sVar3] != '\0')" ( (binary_expression "__name[sVar3] != '\0'" (subscript_expression "__name[sVar3]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar5,uVar4);\n        }" { (if_statement "if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar4);\n          }" if (parenthesized_expression "(*__name == '\0')" ( (binary_expression "*__name == '\0'" (pointer_expression "*__name" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar4);\n          }" { (expression_statement "uVar4 = dcgettext(0,"The argument to -user should not be empty",5);" (assignment_expression "uVar4 = dcgettext(0,"The argument to -user should not be empty",5)" identifier = (call_expression "dcgettext(0,"The argument to -user should not be empty",5)" identifier (argument_list "(0,"The argument to -user should not be empty",5)" ( number_literal , (string_literal ""The argument to -user should not be empty"" " string_content ") , number_literal )))) ;) comment (expression_statement "error(1,0,uVar4);" (call_expression "error(1,0,uVar4)" identifier (argument_list "(1,0,uVar4)" ( number_literal , number_literal , identifier ))) ;) })) (expression_statement "uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);" (assignment_expression "uVar4 = FUN_0003b310(0,DAT_0007bf48,__name)" identifier = (call_expression "FUN_0003b310(0,DAT_0007bf48,__name)" identifier (argument_list "(0,DAT_0007bf48,__name)" ( number_literal , identifier , identifier )))) ;) (expression_statement "uVar5 = dcgettext(0,"%s is not the name of a known user",5);" (assignment_expression "uVar5 = dcgettext(0,"%s is not the name of a known user",5)" identifier = (call_expression "dcgettext(0,"%s is not the name of a known user",5)" identifier (argument_list "(0,"%s is not the name of a known user",5)" ( number_literal , (string_literal ""%s is not the name of a known user"" " string_content ") , number_literal )))) ;) comment (expression_statement "error(1,0,uVar5,uVar4);" (call_expression "error(1,0,uVar5,uVar4)" identifier (argument_list "(1,0,uVar5,uVar4)" ( number_literal , number_literal , identifier , identifier ))) ;) })) (expression_statement "_Var6 = FUN_0002bc10(__name,DAT_0007bf48);" (assignment_expression "_Var6 = FUN_0002bc10(__name,DAT_0007bf48)" identifier = (call_expression "FUN_0002bc10(__name,DAT_0007bf48)" identifier (argument_list "(__name,DAT_0007bf48)" ( identifier , identifier )))) ;) }) (else_clause "else {\n        _Var6 = ppVar1->pw_uid;\n      }" else (compound_statement "{\n        _Var6 = ppVar1->pw_uid;\n      }" { (expression_statement "_Var6 = ppVar1->pw_uid;" (assignment_expression "_Var6 = ppVar1->pw_uid" identifier = (field_expression "ppVar1->pw_uid" identifier -> field_identifier)) ;) }))) (expression_statement "iVar2 = FUN_0001fa70(param_1,__name);" (assignment_expression "iVar2 = FUN_0001fa70(param_1,__name)" identifier = (call_expression "FUN_0001fa70(param_1,__name)" identifier (argument_list "(param_1,__name)" ( identifier , identifier )))) ;) (expression_statement "*(__uid_t *)(iVar2 + 0x28) = _Var6;" (assignment_expression "*(__uid_t *)(iVar2 + 0x28) = _Var6" (pointer_expression "*(__uid_t *)(iVar2 + 0x28)" * (cast_expression "(__uid_t *)(iVar2 + 0x28)" ( (type_descriptor "__uid_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x28)" ( (binary_expression "iVar2 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar4 = DAT_00061be8;" (assignment_expression "uVar4 = DAT_00061be8" identifier = identifier) ;) (if_statement "if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }" if (parenthesized_expression "(99 < _Var6)" ( (binary_expression "99 < _Var6" number_literal < identifier) )) (compound_statement "{\n        uVar4 = DAT_00061bc0;\n      }" { (expression_statement "uVar4 = DAT_00061bc0;" (assignment_expression "uVar4 = DAT_00061bc0" identifier = identifier) ;) })) (expression_statement "*(undefined4 *)(iVar2 + 0x1c) = uVar4;" (assignment_expression "*(undefined4 *)(iVar2 + 0x1c) = uVar4" (pointer_expression "*(undefined4 *)(iVar2 + 0x1c)" * (cast_expression "(undefined4 *)(iVar2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\n_Bool parse_user(parser_table *entry,char **argv,int *arg_ptr)\n\n{\n  float fVar1;\n  passwd *ppVar2;\n  predicate *ppVar3;\n  size_t sVar4;\n  char *pcVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  \n  if (argv != (char **)0x0) {\n    pcVar5 = argv[*arg_ptr];\n    if (pcVar5 != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      ppVar2 = getpwnam(pcVar5);\n      endpwent();\n      if (ppVar2 == (passwd *)0x0) {\n        sVar4 = strspn(pcVar5,"0123456789");\n        if ((sVar4 == 0) || (pcVar5[sVar4] != '\0')) {\n          if (*pcVar5 == '\0') {\n            uVar6 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar6);\n          }\n          pcVar5 = quotearg_n_style(0,options.err_quoting_style,pcVar5);\n          uVar6 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar6,pcVar5);\n        }\n        pcVar7 = (char *)safe_atoi(pcVar5,options.err_quoting_style);\n      }\n      else {\n        pcVar7 = (char *)ppVar2->pw_uid;\n      }\n      ppVar3 = insert_primary(entry,pcVar5);\n      (ppVar3->args).str = pcVar7;\n      fVar1 = DAT_00061be8;\n      if ((char *)0x63 < pcVar7) {\n        fVar1 = DAT_00061bc0;\n      }\n      ppVar3->est_success_rate = fVar1;\n      return true;\n    }\n  }\n  return false;\n}\n\n" comment (function_definition "_Bool parse_user(parser_table *entry,char **argv,int *arg_ptr)\n\n{\n  float fVar1;\n  passwd *ppVar2;\n  predicate *ppVar3;\n  size_t sVar4;\n  char *pcVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  \n  if (argv != (char **)0x0) {\n    pcVar5 = argv[*arg_ptr];\n    if (pcVar5 != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      ppVar2 = getpwnam(pcVar5);\n      endpwent();\n      if (ppVar2 == (passwd *)0x0) {\n        sVar4 = strspn(pcVar5,"0123456789");\n        if ((sVar4 == 0) || (pcVar5[sVar4] != '\0')) {\n          if (*pcVar5 == '\0') {\n            uVar6 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar6);\n          }\n          pcVar5 = quotearg_n_style(0,options.err_quoting_style,pcVar5);\n          uVar6 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar6,pcVar5);\n        }\n        pcVar7 = (char *)safe_atoi(pcVar5,options.err_quoting_style);\n      }\n      else {\n        pcVar7 = (char *)ppVar2->pw_uid;\n      }\n      ppVar3 = insert_primary(entry,pcVar5);\n      (ppVar3->args).str = pcVar7;\n      fVar1 = DAT_00061be8;\n      if ((char *)0x63 < pcVar7) {\n        fVar1 = DAT_00061bc0;\n      }\n      ppVar3->est_success_rate = fVar1;\n      return true;\n    }\n  }\n  return false;\n}" type_identifier (function_declarator "parse_user(parser_table *entry,char **argv,int *arg_ptr)" identifier (parameter_list "(parser_table *entry,char **argv,int *arg_ptr)" ( (parameter_declaration "parser_table *entry" type_identifier (pointer_declarator "*entry" * identifier)) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) , (parameter_declaration "int *arg_ptr" primitive_type (pointer_declarator "*arg_ptr" * identifier)) ))) (compound_statement "{\n  float fVar1;\n  passwd *ppVar2;\n  predicate *ppVar3;\n  size_t sVar4;\n  char *pcVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  \n  if (argv != (char **)0x0) {\n    pcVar5 = argv[*arg_ptr];\n    if (pcVar5 != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      ppVar2 = getpwnam(pcVar5);\n      endpwent();\n      if (ppVar2 == (passwd *)0x0) {\n        sVar4 = strspn(pcVar5,"0123456789");\n        if ((sVar4 == 0) || (pcVar5[sVar4] != '\0')) {\n          if (*pcVar5 == '\0') {\n            uVar6 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar6);\n          }\n          pcVar5 = quotearg_n_style(0,options.err_quoting_style,pcVar5);\n          uVar6 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar6,pcVar5);\n        }\n        pcVar7 = (char *)safe_atoi(pcVar5,options.err_quoting_style);\n      }\n      else {\n        pcVar7 = (char *)ppVar2->pw_uid;\n      }\n      ppVar3 = insert_primary(entry,pcVar5);\n      (ppVar3->args).str = pcVar7;\n      fVar1 = DAT_00061be8;\n      if ((char *)0x63 < pcVar7) {\n        fVar1 = DAT_00061bc0;\n      }\n      ppVar3->est_success_rate = fVar1;\n      return true;\n    }\n  }\n  return false;\n}" { (declaration "float fVar1;" primitive_type identifier ;) (declaration "passwd *ppVar2;" type_identifier (pointer_declarator "*ppVar2" * identifier) ;) (declaration "predicate *ppVar3;" type_identifier (pointer_declarator "*ppVar3" * identifier) ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (if_statement "if (argv != (char **)0x0) {\n    pcVar5 = argv[*arg_ptr];\n    if (pcVar5 != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      ppVar2 = getpwnam(pcVar5);\n      endpwent();\n      if (ppVar2 == (passwd *)0x0) {\n        sVar4 = strspn(pcVar5,"0123456789");\n        if ((sVar4 == 0) || (pcVar5[sVar4] != '\0')) {\n          if (*pcVar5 == '\0') {\n            uVar6 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar6);\n          }\n          pcVar5 = quotearg_n_style(0,options.err_quoting_style,pcVar5);\n          uVar6 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar6,pcVar5);\n        }\n        pcVar7 = (char *)safe_atoi(pcVar5,options.err_quoting_style);\n      }\n      else {\n        pcVar7 = (char *)ppVar2->pw_uid;\n      }\n      ppVar3 = insert_primary(entry,pcVar5);\n      (ppVar3->args).str = pcVar7;\n      fVar1 = DAT_00061be8;\n      if ((char *)0x63 < pcVar7) {\n        fVar1 = DAT_00061bc0;\n      }\n      ppVar3->est_success_rate = fVar1;\n      return true;\n    }\n  }" if (parenthesized_expression "(argv != (char **)0x0)" ( (binary_expression "argv != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    pcVar5 = argv[*arg_ptr];\n    if (pcVar5 != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      ppVar2 = getpwnam(pcVar5);\n      endpwent();\n      if (ppVar2 == (passwd *)0x0) {\n        sVar4 = strspn(pcVar5,"0123456789");\n        if ((sVar4 == 0) || (pcVar5[sVar4] != '\0')) {\n          if (*pcVar5 == '\0') {\n            uVar6 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar6);\n          }\n          pcVar5 = quotearg_n_style(0,options.err_quoting_style,pcVar5);\n          uVar6 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar6,pcVar5);\n        }\n        pcVar7 = (char *)safe_atoi(pcVar5,options.err_quoting_style);\n      }\n      else {\n        pcVar7 = (char *)ppVar2->pw_uid;\n      }\n      ppVar3 = insert_primary(entry,pcVar5);\n      (ppVar3->args).str = pcVar7;\n      fVar1 = DAT_00061be8;\n      if ((char *)0x63 < pcVar7) {\n        fVar1 = DAT_00061bc0;\n      }\n      ppVar3->est_success_rate = fVar1;\n      return true;\n    }\n  }" { (expression_statement "pcVar5 = argv[*arg_ptr];" (assignment_expression "pcVar5 = argv[*arg_ptr]" identifier = (subscript_expression "argv[*arg_ptr]" identifier [ (pointer_expression "*arg_ptr" * identifier) ])) ;) (if_statement "if (pcVar5 != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      ppVar2 = getpwnam(pcVar5);\n      endpwent();\n      if (ppVar2 == (passwd *)0x0) {\n        sVar4 = strspn(pcVar5,"0123456789");\n        if ((sVar4 == 0) || (pcVar5[sVar4] != '\0')) {\n          if (*pcVar5 == '\0') {\n            uVar6 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar6);\n          }\n          pcVar5 = quotearg_n_style(0,options.err_quoting_style,pcVar5);\n          uVar6 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar6,pcVar5);\n        }\n        pcVar7 = (char *)safe_atoi(pcVar5,options.err_quoting_style);\n      }\n      else {\n        pcVar7 = (char *)ppVar2->pw_uid;\n      }\n      ppVar3 = insert_primary(entry,pcVar5);\n      (ppVar3->args).str = pcVar7;\n      fVar1 = DAT_00061be8;\n      if ((char *)0x63 < pcVar7) {\n        fVar1 = DAT_00061bc0;\n      }\n      ppVar3->est_success_rate = fVar1;\n      return true;\n    }" if (parenthesized_expression "(pcVar5 != (char *)0x0)" ( (binary_expression "pcVar5 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *arg_ptr = *arg_ptr + 1;\n      ppVar2 = getpwnam(pcVar5);\n      endpwent();\n      if (ppVar2 == (passwd *)0x0) {\n        sVar4 = strspn(pcVar5,"0123456789");\n        if ((sVar4 == 0) || (pcVar5[sVar4] != '\0')) {\n          if (*pcVar5 == '\0') {\n            uVar6 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar6);\n          }\n          pcVar5 = quotearg_n_style(0,options.err_quoting_style,pcVar5);\n          uVar6 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar6,pcVar5);\n        }\n        pcVar7 = (char *)safe_atoi(pcVar5,options.err_quoting_style);\n      }\n      else {\n        pcVar7 = (char *)ppVar2->pw_uid;\n      }\n      ppVar3 = insert_primary(entry,pcVar5);\n      (ppVar3->args).str = pcVar7;\n      fVar1 = DAT_00061be8;\n      if ((char *)0x63 < pcVar7) {\n        fVar1 = DAT_00061bc0;\n      }\n      ppVar3->est_success_rate = fVar1;\n      return true;\n    }" { (expression_statement "*arg_ptr = *arg_ptr + 1;" (assignment_expression "*arg_ptr = *arg_ptr + 1" (pointer_expression "*arg_ptr" * identifier) = (binary_expression "*arg_ptr + 1" (pointer_expression "*arg_ptr" * identifier) + number_literal)) ;) (expression_statement "ppVar2 = getpwnam(pcVar5);" (assignment_expression "ppVar2 = getpwnam(pcVar5)" identifier = (call_expression "getpwnam(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;) (expression_statement "endpwent();" (call_expression "endpwent()" identifier (argument_list "()" ( ))) ;) (if_statement "if (ppVar2 == (passwd *)0x0) {\n        sVar4 = strspn(pcVar5,"0123456789");\n        if ((sVar4 == 0) || (pcVar5[sVar4] != '\0')) {\n          if (*pcVar5 == '\0') {\n            uVar6 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar6);\n          }\n          pcVar5 = quotearg_n_style(0,options.err_quoting_style,pcVar5);\n          uVar6 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar6,pcVar5);\n        }\n        pcVar7 = (char *)safe_atoi(pcVar5,options.err_quoting_style);\n      }\n      else {\n        pcVar7 = (char *)ppVar2->pw_uid;\n      }" if (parenthesized_expression "(ppVar2 == (passwd *)0x0)" ( (binary_expression "ppVar2 == (passwd *)0x0" identifier == (cast_expression "(passwd *)0x0" ( (type_descriptor "passwd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        sVar4 = strspn(pcVar5,"0123456789");\n        if ((sVar4 == 0) || (pcVar5[sVar4] != '\0')) {\n          if (*pcVar5 == '\0') {\n            uVar6 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar6);\n          }\n          pcVar5 = quotearg_n_style(0,options.err_quoting_style,pcVar5);\n          uVar6 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar6,pcVar5);\n        }\n        pcVar7 = (char *)safe_atoi(pcVar5,options.err_quoting_style);\n      }" { (expression_statement "sVar4 = strspn(pcVar5,"0123456789");" (assignment_expression "sVar4 = strspn(pcVar5,"0123456789")" identifier = (call_expression "strspn(pcVar5,"0123456789")" identifier (argument_list "(pcVar5,"0123456789")" ( identifier , (string_literal ""0123456789"" " string_content ") )))) ;) (if_statement "if ((sVar4 == 0) || (pcVar5[sVar4] != '\0')) {\n          if (*pcVar5 == '\0') {\n            uVar6 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar6);\n          }\n          pcVar5 = quotearg_n_style(0,options.err_quoting_style,pcVar5);\n          uVar6 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar6,pcVar5);\n        }" if (parenthesized_expression "((sVar4 == 0) || (pcVar5[sVar4] != '\0'))" ( (binary_expression "(sVar4 == 0) || (pcVar5[sVar4] != '\0')" (parenthesized_expression "(sVar4 == 0)" ( (binary_expression "sVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(pcVar5[sVar4] != '\0')" ( (binary_expression "pcVar5[sVar4] != '\0'" (subscript_expression "pcVar5[sVar4]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n          if (*pcVar5 == '\0') {\n            uVar6 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar6);\n          }\n          pcVar5 = quotearg_n_style(0,options.err_quoting_style,pcVar5);\n          uVar6 = dcgettext(0,"%s is not the name of a known user",5);\n                    /* WARNING: Subroutine does not return */\n          error(1,0,uVar6,pcVar5);\n        }" { (if_statement "if (*pcVar5 == '\0') {\n            uVar6 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar6);\n          }" if (parenthesized_expression "(*pcVar5 == '\0')" ( (binary_expression "*pcVar5 == '\0'" (pointer_expression "*pcVar5" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            uVar6 = dcgettext(0,"The argument to -user should not be empty",5);\n                    /* WARNING: Subroutine does not return */\n            error(1,0,uVar6);\n          }" { (expression_statement "uVar6 = dcgettext(0,"The argument to -user should not be empty",5);" (assignment_expression "uVar6 = dcgettext(0,"The argument to -user should not be empty",5)" identifier = (call_expression "dcgettext(0,"The argument to -user should not be empty",5)" identifier (argument_list "(0,"The argument to -user should not be empty",5)" ( number_literal , (string_literal ""The argument to -user should not be empty"" " string_content ") , number_literal )))) ;) comment (expression_statement "error(1,0,uVar6);" (call_expression "error(1,0,uVar6)" identifier (argument_list "(1,0,uVar6)" ( number_literal , number_literal , identifier ))) ;) })) (expression_statement "pcVar5 = quotearg_n_style(0,options.err_quoting_style,pcVar5);" (assignment_expression "pcVar5 = quotearg_n_style(0,options.err_quoting_style,pcVar5)" identifier = (call_expression "quotearg_n_style(0,options.err_quoting_style,pcVar5)" identifier (argument_list "(0,options.err_quoting_style,pcVar5)" ( number_literal , (field_expression "options.err_quoting_style" identifier . field_identifier) , identifier )))) ;) (expression_statement "uVar6 = dcgettext(0,"%s is not the name of a known user",5);" (assignment_expression "uVar6 = dcgettext(0,"%s is not the name of a known user",5)" identifier = (call_expression "dcgettext(0,"%s is not the name of a known user",5)" identifier (argument_list "(0,"%s is not the name of a known user",5)" ( number_literal , (string_literal ""%s is not the name of a known user"" " string_content ") , number_literal )))) ;) comment (expression_statement "error(1,0,uVar6,pcVar5);" (call_expression "error(1,0,uVar6,pcVar5)" identifier (argument_list "(1,0,uVar6,pcVar5)" ( number_literal , number_literal , identifier , identifier ))) ;) })) (expression_statement "pcVar7 = (char *)safe_atoi(pcVar5,options.err_quoting_style);" (assignment_expression "pcVar7 = (char *)safe_atoi(pcVar5,options.err_quoting_style)" identifier = (cast_expression "(char *)safe_atoi(pcVar5,options.err_quoting_style)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "safe_atoi(pcVar5,options.err_quoting_style)" identifier (argument_list "(pcVar5,options.err_quoting_style)" ( identifier , (field_expression "options.err_quoting_style" identifier . field_identifier) ))))) ;) }) (else_clause "else {\n        pcVar7 = (char *)ppVar2->pw_uid;\n      }" else (compound_statement "{\n        pcVar7 = (char *)ppVar2->pw_uid;\n      }" { (expression_statement "pcVar7 = (char *)ppVar2->pw_uid;" (assignment_expression "pcVar7 = (char *)ppVar2->pw_uid" identifier = (cast_expression "(char *)ppVar2->pw_uid" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "ppVar2->pw_uid" identifier -> field_identifier))) ;) }))) (expression_statement "ppVar3 = insert_primary(entry,pcVar5);" (assignment_expression "ppVar3 = insert_primary(entry,pcVar5)" identifier = (call_expression "insert_primary(entry,pcVar5)" identifier (argument_list "(entry,pcVar5)" ( identifier , identifier )))) ;) (expression_statement "(ppVar3->args).str = pcVar7;" (assignment_expression "(ppVar3->args).str = pcVar7" (field_expression "(ppVar3->args).str" (parenthesized_expression "(ppVar3->args)" ( (field_expression "ppVar3->args" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "fVar1 = DAT_00061be8;" (assignment_expression "fVar1 = DAT_00061be8" identifier = identifier) ;) (if_statement "if ((char *)0x63 < pcVar7) {\n        fVar1 = DAT_00061bc0;\n      }" if (parenthesized_expression "((char *)0x63 < pcVar7)" ( (binary_expression "(char *)0x63 < pcVar7" (cast_expression "(char *)0x63" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )) (compound_statement "{\n        fVar1 = DAT_00061bc0;\n      }" { (expression_statement "fVar1 = DAT_00061bc0;" (assignment_expression "fVar1 = DAT_00061bc0" identifier = identifier) ;) })) (expression_statement "ppVar3->est_success_rate = fVar1;" (assignment_expression "ppVar3->est_success_rate = fVar1" (field_expression "ppVar3->est_success_rate" identifier -> field_identifier) = identifier) ;) (return_statement "return true;" return true ;) })) })) (return_statement "return false;" return false ;) })))
(translation_unit "undefined4 FUN_00023eb0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  char *__name;\n  passwd *ppVar1;\n  int iVar2;\n  size_t sVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  __uid_t _Var6;\n  \n  if (param_2 != 0) {\n    __name = *(char **)(param_2 + *param_3 * 4);\n    if (__name != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00023eb0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  char *__name;\n  passwd *ppVar1;\n  int iVar2;\n  size_t sVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  __uid_t _Var6;\n  \n  if (param_2 != 0) {\n    __name = *(char **)(param_2 + *param_3 * 4);\n    if (__name != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00023eb0(undefined4 param_1,int param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  char *__name;\n  passwd *ppVar1;\n  int iVar2;\n  size_t sVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  __uid_t _Var6;\n  \n  if (param_2 != 0) {\n    __name = *(char **)(param_2 + *param_3 * 4);\n    if (__name != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }\n  }\n  return 0;\n}" { (declaration "char *__name;" primitive_type (pointer_declarator "*__name" * identifier) ;) (declaration "passwd *ppVar1;" type_identifier (pointer_declarator "*ppVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "__uid_t _Var6;" type_identifier identifier ;) (if_statement "if (param_2 != 0) {\n    __name = *(char **)(param_2 + *param_3 * 4);\n    if (__name != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    __name = *(char **)(param_2 + *param_3 * 4);\n    if (__name != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }\n  }" { (expression_statement "__name = *(char **)(param_2 + *param_3 * 4);" (assignment_expression "__name = *(char **)(param_2 + *param_3 * 4)" identifier = (pointer_expression "*(char **)(param_2 + *param_3 * 4)" * (cast_expression "(char **)(param_2 + *param_3 * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + *param_3 * 4)" ( (binary_expression "param_2 + *param_3 * 4" identifier + (binary_expression "*param_3 * 4" (pointer_expression "*param_3" * identifier) * number_literal)) ))))) ;) (if_statement "if (__name != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }" if (parenthesized_expression "(__name != (char *)0x0)" ( (binary_expression "__name != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }" { (expression_statement "*param_3 = *param_3 + 1;" (assignment_expression "*param_3 = *param_3 + 1" (pointer_expression "*param_3" * identifier) = (binary_expression "*param_3 + 1" (pointer_expression "*param_3" * identifier) + number_literal)) ;) (expression_statement "ppVar1 = getpwnam(__name);" (assignment_expression "ppVar1 = getpwnam(__name)" identifier = (call_expression "getpwnam(__name)" identifier (argument_list "(__name)" ( identifier )))) ;) (expression_statement "endpwent();" (call_expression "endpwent()" identifier (argument_list "()" ( ))) ;) (if_statement "if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }" if (parenthesized_expression "(ppVar1 == (passwd *)0x0)" ( (binary_expression "ppVar1 == (passwd *)0x0" identifier == (cast_expression "(passwd *)0x0" ( (type_descriptor "passwd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }" { (expression_statement "sVar3 = strspn(__name,"0123456789");" (assignment_expression "sVar3 = strspn(__name,"0123456789")" identifier = (call_expression "strspn(__name,"0123456789")" identifier (argument_list "(__name,"0123456789")" ( identifier , (string_literal ""0123456789"" " string_content ") )))) ;) (if_statement "if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }" if (parenthesized_expression "((sVar3 == 0) || (__name[sVar3] != '\0'))" ( (binary_expression "(sVar3 == 0) || (__name[sVar3] != '\0')" (parenthesized_expression "(sVar3 == 0)" ( (binary_expression "sVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(__name[sVar3] != '\0')" ( (binary_expression "__name[sVar3] != '\0'" (subscript_expression "__name[sVar3]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }" { (if_statement "if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }" if (parenthesized_expression "(*__name == '\0')" ( (binary_expression "*__name == '\0'" (pointer_expression "*__name" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }" { (expression_statement "uVar4 = dcgettext(0,"The argument to -user should not be empty",5);" (assignment_expression "uVar4 = dcgettext(0,"The argument to -user should not be empty",5)" identifier = (call_expression "dcgettext(0,"The argument to -user should not be empty",5)" identifier (argument_list "(0,"The argument to -user should not be empty",5)" ( number_literal , (string_literal ""The argument to -user should not be empty"" " string_content ") , number_literal )))) ;) (expression_statement "error(1,0,uVar4);" (call_expression "error(1,0,uVar4)" identifier (argument_list "(1,0,uVar4)" ( number_literal , number_literal , identifier ))) ;) })) (expression_statement "uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);" (assignment_expression "uVar4 = FUN_0003b310(0,DAT_0007bf48,__name)" identifier = (call_expression "FUN_0003b310(0,DAT_0007bf48,__name)" identifier (argument_list "(0,DAT_0007bf48,__name)" ( number_literal , identifier , identifier )))) ;) (expression_statement "uVar5 = dcgettext(0,"%s is not the name of a known user",5);" (assignment_expression "uVar5 = dcgettext(0,"%s is not the name of a known user",5)" identifier = (call_expression "dcgettext(0,"%s is not the name of a known user",5)" identifier (argument_list "(0,"%s is not the name of a known user",5)" ( number_literal , (string_literal ""%s is not the name of a known user"" " string_content ") , number_literal )))) ;) (expression_statement "error(1,0,uVar5,uVar4);" (call_expression "error(1,0,uVar5,uVar4)" identifier (argument_list "(1,0,uVar5,uVar4)" ( number_literal , number_literal , identifier , identifier ))) ;) })) (expression_statement "_Var6 = FUN_0002bc10(__name,DAT_0007bf48);" (assignment_expression "_Var6 = FUN_0002bc10(__name,DAT_0007bf48)" identifier = (call_expression "FUN_0002bc10(__name,DAT_0007bf48)" identifier (argument_list "(__name,DAT_0007bf48)" ( identifier , identifier )))) ;) }) (else_clause "else {\n        _Var6 = ppVar1->pw_uid;\n      }" else (compound_statement "{\n        _Var6 = ppVar1->pw_uid;\n      }" { (expression_statement "_Var6 = ppVar1->pw_uid;" (assignment_expression "_Var6 = ppVar1->pw_uid" identifier = (field_expression "ppVar1->pw_uid" identifier -> field_identifier)) ;) }))) (expression_statement "iVar2 = FUN_0001fa70(param_1,__name);" (assignment_expression "iVar2 = FUN_0001fa70(param_1,__name)" identifier = (call_expression "FUN_0001fa70(param_1,__name)" identifier (argument_list "(param_1,__name)" ( identifier , identifier )))) ;) (expression_statement "*(__uid_t *)(iVar2 + 0x28) = _Var6;" (assignment_expression "*(__uid_t *)(iVar2 + 0x28) = _Var6" (pointer_expression "*(__uid_t *)(iVar2 + 0x28)" * (cast_expression "(__uid_t *)(iVar2 + 0x28)" ( (type_descriptor "__uid_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x28)" ( (binary_expression "iVar2 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar4 = DAT_00061be8;" (assignment_expression "uVar4 = DAT_00061be8" identifier = identifier) ;) (if_statement "if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }" if (parenthesized_expression "(99 < _Var6)" ( (binary_expression "99 < _Var6" number_literal < identifier) )) (compound_statement "{\n        uVar4 = DAT_00061bc0;\n      }" { (expression_statement "uVar4 = DAT_00061bc0;" (assignment_expression "uVar4 = DAT_00061bc0" identifier = identifier) ;) })) (expression_statement "*(undefined4 *)(iVar2 + 0x1c) = uVar4;" (assignment_expression "*(undefined4 *)(iVar2 + 0x1c) = uVar4" (pointer_expression "*(undefined4 *)(iVar2 + 0x1c)" * (cast_expression "(undefined4 *)(iVar2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (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 ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * 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 (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , LIT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , LIT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (field_expression IDENT -> field_identifier)) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return LIT ;) })) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00023eb0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  char *__name;\n  passwd *ppVar1;\n  int iVar2;\n  size_t sVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  __uid_t _Var6;\n  \n  if (param_2 != 0) {\n    __name = *(char **)(param_2 + *param_3 * 4);\n    if (__name != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00023eb0(undefined4 param_1,int param_2,int *param_3)" (identifier "FUN_00023eb0") (parameter_list "(undefined4 param_1,int param_2,int *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  char *__name;\n  passwd *ppVar1;\n  int iVar2;\n  size_t sVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  __uid_t _Var6;\n  \n  if (param_2 != 0) {\n    __name = *(char **)(param_2 + *param_3 * 4);\n    if (__name != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "char *__name;" (primitive_type "char") (pointer_declarator "*__name" (* "*") (identifier "__name")) (; ";")) (declaration "passwd *ppVar1;" (type_identifier "passwd") (pointer_declarator "*ppVar1" (* "*") (identifier "ppVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "__uid_t _Var6;" (type_identifier "__uid_t") (identifier "_Var6") (; ";")) (if_statement "if (param_2 != 0) {\n    __name = *(char **)(param_2 + *param_3 * 4);\n    if (__name != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    __name = *(char **)(param_2 + *param_3 * 4);\n    if (__name != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }\n  }" ({ "{") (expression_statement "__name = *(char **)(param_2 + *param_3 * 4);" (assignment_expression "__name = *(char **)(param_2 + *param_3 * 4)" (identifier "__name") (= "=") (pointer_expression "*(char **)(param_2 + *param_3 * 4)" (* "*") (cast_expression "(char **)(param_2 + *param_3 * 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + *param_3 * 4)" (( "(") (binary_expression "param_2 + *param_3 * 4" (identifier "param_2") (+ "+") (binary_expression "*param_3 * 4" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (__name != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }" (if "if") (parenthesized_expression "(__name != (char *)0x0)" (( "(") (binary_expression "__name != (char *)0x0" (identifier "__name") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *param_3 = *param_3 + 1;\n      ppVar1 = getpwnam(__name);\n      endpwent();\n      if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }\n      iVar2 = FUN_0001fa70(param_1,__name);\n      *(__uid_t *)(iVar2 + 0x28) = _Var6;\n      uVar4 = DAT_00061be8;\n      if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar4;\n      return 1;\n    }" ({ "{") (expression_statement "*param_3 = *param_3 + 1;" (assignment_expression "*param_3 = *param_3 + 1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (binary_expression "*param_3 + 1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "ppVar1 = getpwnam(__name);" (assignment_expression "ppVar1 = getpwnam(__name)" (identifier "ppVar1") (= "=") (call_expression "getpwnam(__name)" (identifier "getpwnam") (argument_list "(__name)" (( "(") (identifier "__name") () ")")))) (; ";")) (expression_statement "endpwent();" (call_expression "endpwent()" (identifier "endpwent") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (ppVar1 == (passwd *)0x0) {\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }\n      else {\n        _Var6 = ppVar1->pw_uid;\n      }" (if "if") (parenthesized_expression "(ppVar1 == (passwd *)0x0)" (( "(") (binary_expression "ppVar1 == (passwd *)0x0" (identifier "ppVar1") (== "==") (cast_expression "(passwd *)0x0" (( "(") (type_descriptor "passwd *" (type_identifier "passwd") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        sVar3 = strspn(__name,"0123456789");\n        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }\n        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);\n      }" ({ "{") (expression_statement "sVar3 = strspn(__name,"0123456789");" (assignment_expression "sVar3 = strspn(__name,"0123456789")" (identifier "sVar3") (= "=") (call_expression "strspn(__name,"0123456789")" (identifier "strspn") (argument_list "(__name,"0123456789")" (( "(") (identifier "__name") (, ",") (string_literal ""0123456789"" (" """) (string_content "0123456789") (" """)) () ")")))) (; ";")) (if_statement "if ((sVar3 == 0) || (__name[sVar3] != '\0')) {\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }" (if "if") (parenthesized_expression "((sVar3 == 0) || (__name[sVar3] != '\0'))" (( "(") (binary_expression "(sVar3 == 0) || (__name[sVar3] != '\0')" (parenthesized_expression "(sVar3 == 0)" (( "(") (binary_expression "sVar3 == 0" (identifier "sVar3") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(__name[sVar3] != '\0')" (( "(") (binary_expression "__name[sVar3] != '\0'" (subscript_expression "__name[sVar3]" (identifier "__name") ([ "[") (identifier "sVar3") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n          if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }\n          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);\n          uVar5 = dcgettext(0,"%s is not the name of a known user",5);\n                    \n          error(1,0,uVar5,uVar4);\n        }" ({ "{") (if_statement "if (*__name == '\0') {\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }" (if "if") (parenthesized_expression "(*__name == '\0')" (( "(") (binary_expression "*__name == '\0'" (pointer_expression "*__name" (* "*") (identifier "__name")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);\n                    \n            error(1,0,uVar4);\n          }" ({ "{") (expression_statement "uVar4 = dcgettext(0,"The argument to -user should not be empty",5);" (assignment_expression "uVar4 = dcgettext(0,"The argument to -user should not be empty",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"The argument to -user should not be empty",5)" (identifier "dcgettext") (argument_list "(0,"The argument to -user should not be empty",5)" (( "(") (number_literal "0") (, ",") (string_literal ""The argument to -user should not be empty"" (" """) (string_content "The argument to -user should not be empty") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "error(1,0,uVar4);" (call_expression "error(1,0,uVar4)" (identifier "error") (argument_list "(1,0,uVar4)" (( "(") (number_literal "1") (, ",") (number_literal "0") (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);" (assignment_expression "uVar4 = FUN_0003b310(0,DAT_0007bf48,__name)" (identifier "uVar4") (= "=") (call_expression "FUN_0003b310(0,DAT_0007bf48,__name)" (identifier "FUN_0003b310") (argument_list "(0,DAT_0007bf48,__name)" (( "(") (number_literal "0") (, ",") (identifier "DAT_0007bf48") (, ",") (identifier "__name") () ")")))) (; ";")) (expression_statement "uVar5 = dcgettext(0,"%s is not the name of a known user",5);" (assignment_expression "uVar5 = dcgettext(0,"%s is not the name of a known user",5)" (identifier "uVar5") (= "=") (call_expression "dcgettext(0,"%s is not the name of a known user",5)" (identifier "dcgettext") (argument_list "(0,"%s is not the name of a known user",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s is not the name of a known user"" (" """) (string_content "%s is not the name of a known user") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "error(1,0,uVar5,uVar4);" (call_expression "error(1,0,uVar5,uVar4)" (identifier "error") (argument_list "(1,0,uVar5,uVar4)" (( "(") (number_literal "1") (, ",") (number_literal "0") (, ",") (identifier "uVar5") (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "_Var6 = FUN_0002bc10(__name,DAT_0007bf48);" (assignment_expression "_Var6 = FUN_0002bc10(__name,DAT_0007bf48)" (identifier "_Var6") (= "=") (call_expression "FUN_0002bc10(__name,DAT_0007bf48)" (identifier "FUN_0002bc10") (argument_list "(__name,DAT_0007bf48)" (( "(") (identifier "__name") (, ",") (identifier "DAT_0007bf48") () ")")))) (; ";")) (} "}")) (else_clause "else {\n        _Var6 = ppVar1->pw_uid;\n      }" (else "else") (compound_statement "{\n        _Var6 = ppVar1->pw_uid;\n      }" ({ "{") (expression_statement "_Var6 = ppVar1->pw_uid;" (assignment_expression "_Var6 = ppVar1->pw_uid" (identifier "_Var6") (= "=") (field_expression "ppVar1->pw_uid" (identifier "ppVar1") (-> "->") (field_identifier "pw_uid"))) (; ";")) (} "}")))) (expression_statement "iVar2 = FUN_0001fa70(param_1,__name);" (assignment_expression "iVar2 = FUN_0001fa70(param_1,__name)" (identifier "iVar2") (= "=") (call_expression "FUN_0001fa70(param_1,__name)" (identifier "FUN_0001fa70") (argument_list "(param_1,__name)" (( "(") (identifier "param_1") (, ",") (identifier "__name") () ")")))) (; ";")) (expression_statement "*(__uid_t *)(iVar2 + 0x28) = _Var6;" (assignment_expression "*(__uid_t *)(iVar2 + 0x28) = _Var6" (pointer_expression "*(__uid_t *)(iVar2 + 0x28)" (* "*") (cast_expression "(__uid_t *)(iVar2 + 0x28)" (( "(") (type_descriptor "__uid_t *" (type_identifier "__uid_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x28)" (( "(") (binary_expression "iVar2 + 0x28" (identifier "iVar2") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "_Var6")) (; ";")) (expression_statement "uVar4 = DAT_00061be8;" (assignment_expression "uVar4 = DAT_00061be8" (identifier "uVar4") (= "=") (identifier "DAT_00061be8")) (; ";")) (if_statement "if (99 < _Var6) {\n        uVar4 = DAT_00061bc0;\n      }" (if "if") (parenthesized_expression "(99 < _Var6)" (( "(") (binary_expression "99 < _Var6" (number_literal "99") (< "<") (identifier "_Var6")) () ")")) (compound_statement "{\n        uVar4 = DAT_00061bc0;\n      }" ({ "{") (expression_statement "uVar4 = DAT_00061bc0;" (assignment_expression "uVar4 = DAT_00061bc0" (identifier "uVar4") (= "=") (identifier "DAT_00061bc0")) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(iVar2 + 0x1c) = uVar4;" (assignment_expression "*(undefined4 *)(iVar2 + 0x1c) = uVar4" (pointer_expression "*(undefined4 *)(iVar2 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

type_1 function_1(type_2 *entry,char **var_1,int *arg_ptr)

{
  float fVar1;
  type_3 *var_5;
  type_4 *ppVar3;
  size_t var_7;
  char *var_2;
  type_5 uVar6;
  char *var_13;
  
  if (var_1 != (char **)0x0) {
    var_2 = var_1[*arg_ptr];
    if (var_2 != (char *)0x0) {
      *arg_ptr = *arg_ptr + 1;
      var_5 = var_3(var_2);
      var_4();
      if (var_5 == (type_3 *)0x0) {
        var_7 = var_6(var_2,"0123456789");
        if ((var_7 == 0) || (var_2[var_7] != '\0')) {
          if (*var_2 == '\0') {
            uVar6 = var_8(0,"The argument to -user should not be empty",5);
                    /* WARNING: Subroutine does not return */
            var_9(1,0,uVar6);
          }
          var_2 = var_10(0,options.err_quoting_style,var_2);
          uVar6 = var_8(0,"%s is not the name of a known user",5);
                    /* WARNING: Subroutine does not return */
          var_9(1,0,uVar6,var_2);
        }
        var_13 = (char *)var_11(var_2,options.err_quoting_style);
      }
      else {
        var_13 = (char *)var_5->pw_uid;
      }
      ppVar3 = var_12(entry,var_2);
      (ppVar3->args).str = var_13;
      fVar1 = DAT_00061be8;
      if ((char *)0x63 < var_13) {
        fVar1 = DAT_00061bc0;
      }
      ppVar3->est_success_rate = fVar1;
      return true;
    }
  }
  return false;
}


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

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

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

{
  char *__name;
  passwd *ppVar1;
  int iVar2;
  size_t sVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  __uid_t _Var6;
  
  if (param_2 != 0) {
    __name = *(char **)(param_2 + *param_3 * 4);
    if (__name != (char *)0x0) {
      *param_3 = *param_3 + 1;
      ppVar1 = getpwnam(__name);
      endpwent();
      if (ppVar1 == (passwd *)0x0) {
        sVar3 = strspn(__name,"0123456789");
        if ((sVar3 == 0) || (__name[sVar3] != '\0')) {
          if (*__name == '\0') {
            uVar4 = dcgettext(0,"The argument to -user should not be empty",5);
                    /* WARNING: Subroutine does not return */
            error(1,0,uVar4);
          }
          uVar4 = FUN_0003b310(0,DAT_0007bf48,__name);
          uVar5 = dcgettext(0,"%s is not the name of a known user",5);
                    /* WARNING: Subroutine does not return */
          error(1,0,uVar5,uVar4);
        }
        _Var6 = FUN_0002bc10(__name,DAT_0007bf48);
      }
      else {
        _Var6 = ppVar1->pw_uid;
      }
      iVar2 = FUN_0001fa70(param_1,__name);
      *(__uid_t *)(iVar2 + 0x28) = _Var6;
      uVar4 = DAT_00061be8;
      if (99 < _Var6) {
        uVar4 = DAT_00061bc0;
      }
      *(undefined4 *)(iVar2 + 0x1c) = uVar4;
      return 1;
    }
  }
  return 0;
}

