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

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

{
  predicate *ppVar1;
  
  ppVar1 = insert_primary_noarg(entry);
  open_output_file("/dev/stdout",&(ppVar1->args).printf_vec);
  ppVar1->est_success_rate = 1.0;
  ppVar1->side_effects = true;
  ppVar1->no_default_print = true;
  return true;
}



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

undefined4 FUN_00021330(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = FUN_0001a660(param_1);
  FUN_0001f040();
  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;
  *(undefined2 *)(iVar1 + 0x10) = 0x101;
  return 1;
}


PUSH ESI
PUSH EBX
CALL 0x00014d70
ADD EBX,0x499b1
SUB ESP,0x10
PUSH dword ptr [ESP + 0x1c]
CALL 0x0001a660
MOV ESI,EAX
LEA EDX,[EAX + 0x28]
LEA EAX,[EBX + 0xfffe6d0e]
CALL 0x0001f040
MOV EAX,0x101
MOV dword ptr [ESI + 0x1c],0x3f800000
MOV word ptr [ESI + 0x10],AX
ADD ESP,0x14
MOV EAX,0x1
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00021330(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0001a660(param_1);\n  FUN_0001f040();\n  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;\n  *(undefined2 *)(iVar1 + 0x10) = 0x101;\n  return 1;\n}\n\n" comment (function_definition "undefined4 FUN_00021330(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0001a660(param_1);\n  FUN_0001f040();\n  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;\n  *(undefined2 *)(iVar1 + 0x10) = 0x101;\n  return 1;\n}" type_identifier (function_declarator "FUN_00021330(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0001a660(param_1);\n  FUN_0001f040();\n  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;\n  *(undefined2 *)(iVar1 + 0x10) = 0x101;\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0001a660(param_1);" (assignment_expression "iVar1 = FUN_0001a660(param_1)" identifier = (call_expression "FUN_0001a660(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "FUN_0001f040();" (call_expression "FUN_0001f040()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;" (assignment_expression "*(undefined4 *)(iVar1 + 0x1c) = 0x3f800000" (pointer_expression "*(undefined4 *)(iVar1 + 0x1c)" * (cast_expression "(undefined4 *)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined2 *)(iVar1 + 0x10) = 0x101;" (assignment_expression "*(undefined2 *)(iVar1 + 0x10) = 0x101" (pointer_expression "*(undefined2 *)(iVar1 + 0x10)" * (cast_expression "(undefined2 *)(iVar1 + 0x10)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\n_Bool parse_ls(parser_table *entry,char **argv,int *arg_ptr)\n\n{\n  predicate *ppVar1;\n  \n  ppVar1 = insert_primary_noarg(entry);\n  open_output_file("/dev/stdout",&(ppVar1->args).printf_vec);\n  ppVar1->est_success_rate = 1.0;\n  ppVar1->side_effects = true;\n  ppVar1->no_default_print = true;\n  return true;\n}\n\n" comment comment (function_definition "_Bool parse_ls(parser_table *entry,char **argv,int *arg_ptr)\n\n{\n  predicate *ppVar1;\n  \n  ppVar1 = insert_primary_noarg(entry);\n  open_output_file("/dev/stdout",&(ppVar1->args).printf_vec);\n  ppVar1->est_success_rate = 1.0;\n  ppVar1->side_effects = true;\n  ppVar1->no_default_print = true;\n  return true;\n}" type_identifier (function_declarator "parse_ls(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  predicate *ppVar1;\n  \n  ppVar1 = insert_primary_noarg(entry);\n  open_output_file("/dev/stdout",&(ppVar1->args).printf_vec);\n  ppVar1->est_success_rate = 1.0;\n  ppVar1->side_effects = true;\n  ppVar1->no_default_print = true;\n  return true;\n}" { (declaration "predicate *ppVar1;" type_identifier (pointer_declarator "*ppVar1" * identifier) ;) (expression_statement "ppVar1 = insert_primary_noarg(entry);" (assignment_expression "ppVar1 = insert_primary_noarg(entry)" identifier = (call_expression "insert_primary_noarg(entry)" identifier (argument_list "(entry)" ( identifier )))) ;) (expression_statement "open_output_file("/dev/stdout",&(ppVar1->args).printf_vec);" (call_expression "open_output_file("/dev/stdout",&(ppVar1->args).printf_vec)" identifier (argument_list "("/dev/stdout",&(ppVar1->args).printf_vec)" ( (string_literal ""/dev/stdout"" " string_content ") , (pointer_expression "&(ppVar1->args).printf_vec" & (field_expression "(ppVar1->args).printf_vec" (parenthesized_expression "(ppVar1->args)" ( (field_expression "ppVar1->args" identifier -> field_identifier) )) . field_identifier)) ))) ;) (expression_statement "ppVar1->est_success_rate = 1.0;" (assignment_expression "ppVar1->est_success_rate = 1.0" (field_expression "ppVar1->est_success_rate" identifier -> field_identifier) = number_literal) ;) (expression_statement "ppVar1->side_effects = true;" (assignment_expression "ppVar1->side_effects = true" (field_expression "ppVar1->side_effects" identifier -> field_identifier) = true) ;) (expression_statement "ppVar1->no_default_print = true;" (assignment_expression "ppVar1->no_default_print = true" (field_expression "ppVar1->no_default_print" identifier -> field_identifier) = true) ;) (return_statement "return true;" return true ;) })))
(translation_unit "undefined4 FUN_00021330(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0001a660(param_1);\n  FUN_0001f040();\n  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;\n  *(undefined2 *)(iVar1 + 0x10) = 0x101;\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_00021330(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0001a660(param_1);\n  FUN_0001f040();\n  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;\n  *(undefined2 *)(iVar1 + 0x10) = 0x101;\n  return 1;\n}" type_identifier (function_declarator "FUN_00021330(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0001a660(param_1);\n  FUN_0001f040();\n  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;\n  *(undefined2 *)(iVar1 + 0x10) = 0x101;\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0001a660(param_1);" (assignment_expression "iVar1 = FUN_0001a660(param_1)" identifier = (call_expression "FUN_0001a660(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "FUN_0001f040();" (call_expression "FUN_0001f040()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;" (assignment_expression "*(undefined4 *)(iVar1 + 0x1c) = 0x3f800000" (pointer_expression "*(undefined4 *)(iVar1 + 0x1c)" * (cast_expression "(undefined4 *)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined2 *)(iVar1 + 0x10) = 0x101;" (assignment_expression "*(undefined2 *)(iVar1 + 0x10) = 0x101" (pointer_expression "*(undefined2 *)(iVar1 + 0x10)" * (cast_expression "(undefined2 *)(iVar1 + 0x10)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00021330(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0001a660(param_1);\n  FUN_0001f040();\n  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;\n  *(undefined2 *)(iVar1 + 0x10) = 0x101;\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "FUN_00021330(undefined4 param_1)" (identifier "FUN_00021330") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0001a660(param_1);\n  FUN_0001f040();\n  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;\n  *(undefined2 *)(iVar1 + 0x10) = 0x101;\n  return 1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_0001a660(param_1);" (assignment_expression "iVar1 = FUN_0001a660(param_1)" (identifier "iVar1") (= "=") (call_expression "FUN_0001a660(param_1)" (identifier "FUN_0001a660") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "FUN_0001f040();" (call_expression "FUN_0001f040()" (identifier "FUN_0001f040") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;" (assignment_expression "*(undefined4 *)(iVar1 + 0x1c) = 0x3f800000" (pointer_expression "*(undefined4 *)(iVar1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0x3f800000")) (; ";")) (expression_statement "*(undefined2 *)(iVar1 + 0x10) = 0x101;" (assignment_expression "*(undefined2 *)(iVar1 + 0x10) = 0x101" (pointer_expression "*(undefined2 *)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined2 *)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0x101")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

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

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

{
  type_3 *ppVar1;
  
  ppVar1 = var_1(entry);
  var_2("/dev/stdout",&(ppVar1->args).printf_vec);
  ppVar1->est_success_rate = 1.0;
  ppVar1->side_effects = true;
  ppVar1->no_default_print = true;
  return true;
}


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

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

undefined4 MASKED(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = FUN_0001a660(param_1);
  FUN_0001f040();
  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;
  *(undefined2 *)(iVar1 + 0x10) = 0x101;
  return 1;
}

