file_name stringlengths 21 73 | function_name stringlengths 1 699 ⌀ | stripped_function_name stringlengths 4 22 | clean_function_name stringlengths 1 50 ⌀ | decompiled_code_original stringlengths 34 273k | stripped_function_body stringlengths 37 217k | S-Expression_of_decompiled_code_stripped stringlengths 338 7.68M | assembly_code stringlengths 3 132k | Replace_function_name_and_variable_name stringlengths 39 257k | S-Expression_decompiled_code_original stringlengths 339 6.76M | S-Expression_of_generate_modified_code stringlengths 354 6.67M | Root Node stringlengths 226 974k |
|---|---|---|---|---|---|---|---|---|---|---|---|
1427_pscp_and_pscp_strip.c | read_setting_i | FUN_0018d559 | read_setting_i |
int read_setting_i(void *handle,char *key,int defvalue)
{
long lVar1;
void *pvVar2;
long in_FS_OFFSET;
int defvalue_local;
char *key_local;
void *handle_local;
char *val;
tree234 *tree;
skeyval *kv;
skeyval tmp;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
tmp.key = key;
if ((handle == (void *... |
int FUN_0018d559(long param_1,undefined8 param_2,int param_3)
{
long lVar1;
long in_FS_OFFSET;
char *local_40;
undefined8 local_28 [3];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_28[0] = param_2;
if ((param_1 == 0) || (lVar1 = FUN_00181e4b(param_1,local_28,0), lVar1 == 0)) {
... | (translation_unit "int FUN_0018d559(long param_1,undefined8 param_2,int param_3)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n char *local_40;\n undefined8 local_28 [3];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_28[0] = param_2;\n if ((param_1 == 0) || (lVar1 = FUN_00181e4b(param_1,l... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x48],RDI
MOV qword ptr [RBP + -0x50],RSI
MOV dword ptr [RBP + -0x54],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x48]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RBP + -0x50]
MOV qword ptr [RBP + -0... |
int function_1(void *var_2,char *key,int defvalue)
{
long var_9;
void *var_4;
long var_1;
int defvalue_local;
char *key_local;
void *handle_local;
char *var_6;
type_1 *tree;
type_2 *kv;
type_2 tmp;
var_9 = *(long *)(var_1 + 0x28);
tmp.key = key;
if ((var_2 == (void *)0x0) ||
(var_4 =... | (translation_unit "int read_setting_i(void *handle,char *key,int defvalue)\n\n{\n long lVar1;\n void *pvVar2;\n long in_FS_OFFSET;\n int defvalue_local;\n char *key_local;\n void *handle_local;\n char *val;\n tree234 *tree;\n skeyval *kv;\n skeyval tmp;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n tmp.ke... | (translation_unit "int function_1(void *var_2,char *key,int defvalue)\n\n{\n long var_9;\n void *var_4;\n long var_1;\n int defvalue_local;\n char *key_local;\n void *handle_local;\n char *var_6;\n type_1 *tree;\n type_2 *kv;\n type_2 tmp;\n \n var_9 = *(long *)(var_1 + 0x28);\n tmp.key = key;\n if ((var_... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
727_puttytel_and_puttytel_strip.c | proxy_socks5_offerencryptedauth | FUN_0012a2ed | proxy_socks5_offerencryptedauth |
void proxy_socks5_offerencryptedauth(char *command,int *len)
{
int *len_local;
char *command_local;
return;
}
|
void FUN_0012a2ed(void)
{
return;
}
| (translation_unit "void FUN_0012a2ed(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_0012a2ed(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_0012a2ed(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
NOP
POP RBP
RET |
void function_1(char *command,int *len)
{
int *len_local;
char *command_local;
return;
}
| (translation_unit "void proxy_socks5_offerencryptedauth(char *command,int *len)\n\n{\n int *len_local;\n char *command_local;\n \n return;\n}\n\n" (function_definition "void proxy_socks5_offerencryptedauth(char *command,int *len)\n\n{\n int *len_local;\n char *command_local;\n \n return;\n}" primitive_type (fun... | (translation_unit "void function_1(char *command,int *len)\n\n{\n int *len_local;\n char *command_local;\n \n return;\n}\n\n" (function_definition "void function_1(char *command,int *len)\n\n{\n int *len_local;\n char *command_local;\n \n return;\n}" primitive_type (function_declarator "function_1(char *command... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
675_puttytel_and_puttytel_strip.c | parse_blocksize | FUN_00127f63 | parse_blocksize |
ulong parse_blocksize(char *bs)
{
ushort **ppuVar1;
long in_FS_OFFSET;
char *bs_local;
char *suf;
ulong r;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
r = strtoul(bs,&suf,10);
if (*suf != '\0') {
while ((*suf != '\0' && (ppuVar1 = __ctype_b_loc(), ((*ppuVar1)[(byte)*suf] & 0x200... |
ulong FUN_00127f63(char *param_1)
{
ushort **ppuVar1;
long in_FS_OFFSET;
byte *local_20;
ulong local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_18 = strtoul(param_1,(char **)&local_20,10);
if (*local_20 != 0) {
while ((*local_20 != 0 && (ppuVar1 = __ctype_b_loc(), ((*pp... | (translation_unit "ulong FUN_00127f63(char *param_1)\n\n{\n ushort **ppuVar1;\n long in_FS_OFFSET;\n byte *local_20;\n ulong local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_18 = strtoul(param_1,(char **)&local_20,10);\n if (*local_20 != 0) {\n while ((*local_20 != 0 && (pp... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RCX,[RBP + -0x18]
MOV RAX,qword ptr [RBP + -0x28]
MOV EDX,0xa
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00110490
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOVZX EAX,byt... |
type_1 function_1(char *bs)
{
type_2 **ppuVar1;
long var_1;
char *bs_local;
char *var_4;
type_1 var_5;
long var_6;
var_6 = *(long *)(var_1 + 0x28);
var_5 = var_2(bs,&var_4,10);
if (*var_4 != '\0') {
while ((*var_4 != '\0' && (ppuVar1 = var_3(), ((*ppuVar1)[(byte)*var_4] & 0x2000) != 0))) {
... | (translation_unit "ulong parse_blocksize(char *bs)\n\n{\n ushort **ppuVar1;\n long in_FS_OFFSET;\n char *bs_local;\n char *suf;\n ulong r;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n r = strtoul(bs,&suf,10);\n if (*suf != '\0') {\n while ((*suf != '\0' && (ppuVar1 = __ctype_b_loc(), ... | (translation_unit "type_1 function_1(char *bs)\n\n{\n type_2 **ppuVar1;\n long var_1;\n char *bs_local;\n char *var_4;\n type_1 var_5;\n long var_6;\n \n var_6 = *(long *)(var_1 + 0x28);\n var_5 = var_2(bs,&var_4,10);\n if (*var_4 != '\0') {\n while ((*var_4 != '\0' && (ppuVar1 = var_3(), ((*ppuVar1)[(byte... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
562_puttytel_and_puttytel_strip.c | conf_free | FUN_001161ed | conf_free |
void conf_free(Conf *conf)
{
Conf *conf_local;
conf_clear(conf);
freetree234(conf->tree);
safefree(conf);
return;
}
|
void FUN_001161ed(undefined8 *param_1)
{
FUN_001161b1(param_1);
FUN_0014c46f(*param_1);
FUN_001299ed(param_1);
return;
}
| (translation_unit "void FUN_001161ed(undefined8 *param_1)\n\n{\n FUN_001161b1(param_1);\n FUN_0014c46f(*param_1);\n FUN_001299ed(param_1);\n return;\n}\n\n" (function_definition "void FUN_001161ed(undefined8 *param_1)\n\n{\n FUN_001161b1(param_1);\n FUN_0014c46f(*param_1);\n FUN_001299ed(param_1);\n return;\n}"... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x001161b1
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x0014c46f
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x001299ed
NOP
LEAVE
RET |
void function_1(type_1 *conf)
{
type_1 *conf_local;
var_1(conf);
var_2(conf->tree);
var_3(conf);
return;
}
| (translation_unit "void conf_free(Conf *conf)\n\n{\n Conf *conf_local;\n \n conf_clear(conf);\n freetree234(conf->tree);\n safefree(conf);\n return;\n}\n\n" (function_definition "void conf_free(Conf *conf)\n\n{\n Conf *conf_local;\n \n conf_clear(conf);\n freetree234(conf->tree);\n safefree(conf);\n return;... | (translation_unit "void function_1(type_1 *conf)\n\n{\n type_1 *conf_local;\n \n var_1(conf);\n var_2(conf->tree);\n var_3(conf);\n return;\n}\n\n" (function_definition "void function_1(type_1 *conf)\n\n{\n type_1 *conf_local;\n \n var_1(conf);\n var_2(conf->tree);\n var_3(conf);\n return;\n}" primitive_typ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
908_puttytel_and_puttytel_strip.c | check_selection | FUN_0013dc20 | check_selection |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void check_selection(Terminal *term,pos from,pos to)
{
pos to_local;
pos from_local;
Terminal *term_local;
from_local.y = from.y;
if (((from_local.y < (term->selend).y) ||
((from_local.y == (term->selend).y && (from_local.x =... |
void FUN_0013dc20(long param_1,undefined8 param_2,undefined8 param_3)
{
undefined4 local_20;
undefined4 uStack_1c;
undefined4 local_18;
undefined4 uStack_14;
local_18 = (int)param_2;
if (((local_18 < *(int *)(param_1 + 0xec8)) ||
((local_18 == *(int *)(param_1 + 0xec8) &&
(uStack_14 = (int... | (translation_unit "void FUN_0013dc20(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n undefined4 local_20;\n undefined4 uStack_1c;\n undefined4 local_18;\n undefined4 uStack_14;\n \n local_18 = (int)param_2;\n if (((local_18 < *(int *)(param_1 + 0xec8)) ||\n ((local_18 == *(int *)(param_1 + 0xec8)... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV EDX,dword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0xec8]
CMP EDX,EAX
JL 0x0013dc67
MOV EDX,dword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *term,type_2 from,type_2 to)
{
type_2 to_local;
type_2 from_local;
type_1 *term_local;
from_local.y = from.y;
if (((from_local.y < (term->selend).y) ||
((from_local.y == (term->selend).y && (from_local.... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid check_selection(Terminal *term,pos from,pos to)\n\n{\n pos to_local;\n pos from_local;\n Terminal *term_local;\n \n from_local.y = from.y;\n if (((from_local.y < (term->selend).y) ||\n ((from_local.y == (term-... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term,type_2 from,type_2 to)\n\n{\n type_2 to_local;\n type_2 from_local;\n type_1 *term_local;\n \n from_local.y = from.y;\n if (((from_local.y < (term->selend).y) ||\n ((from_local.y == (te... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato... |
1152_pscp_and_pscp_strip.c | share_find_forwarding | FUN_001792ba | share_find_forwarding |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
share_forwarding * share_find_forwarding(ssh_sharing_connstate *cs,char *host,int port)
{
long lVar1;
share_forwarding *psVar2;
long in_FS_OFFSET;
int port_local;
char *host_local;
ssh_sharing_connstate *cs_local;
share_forwarding... |
undefined8 FUN_001792ba(long param_1,undefined8 param_2,undefined4 param_3)
{
undefined8 uVar1;
long in_FS_OFFSET;
undefined8 local_28;
undefined4 local_20;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_28 = FUN_0010ed16(param_2);
local_20 = param_3;
uVar1 = FUN_00181e4b(*(undef... | (translation_unit "undefined8 FUN_001792ba(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n undefined8 uVar1;\n long in_FS_OFFSET;\n undefined8 local_28;\n undefined4 local_20;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_28 = FUN_0010ed16(param_2);\n local_20 = param_3;\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV dword ptr [RBP + -0x44],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x40]
MOV RDI,RAX
CALL 0x0010ed16
MOV qword ptr [RBP + -0x20],RAX
MOV EAX,dword ptr [RBP + -0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 *cs,char *host,int port)
{
long var_5;
type_1 *psVar2;
long var_1;
int port_local;
char *host_local;
type_2 *cs_local;
type_1 *ret;
type_1 dummyfwd;
var_5 = *(long *)(var_1 + 0x28);
dummyfwd.hos... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nshare_forwarding * share_find_forwarding(ssh_sharing_connstate *cs,char *host,int port)\n\n{\n long lVar1;\n share_forwarding *psVar2;\n long in_FS_OFFSET;\n int port_local;\n char *host_local;\n ssh_sharing_connstate *... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *cs,char *host,int port)\n\n{\n long var_5;\n type_1 *psVar2;\n long var_1;\n int port_local;\n char *host_local;\n type_2 *cs_local;\n type_1 *ret;\n type_1 dummyfwd;\n \n var_5 = *(long ... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration ... |
860_puttytel_and_puttytel_strip.c | telnet_cfg_info | FUN_00138c9a | telnet_cfg_info |
int telnet_cfg_info(void *handle)
{
void *handle_local;
return 0;
}
|
undefined8 FUN_00138c9a(void)
{
return 0;
}
| (translation_unit "undefined8 FUN_00138c9a(void)\n\n{\n return 0;\n}\n\n" (function_definition "undefined8 FUN_00138c9a(void)\n\n{\n return 0;\n}" type_identifier (function_declarator "FUN_00138c9a(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV EAX,0x0
POP RBP
RET |
int function_1(void *handle)
{
void *handle_local;
return 0;
}
| (translation_unit "int telnet_cfg_info(void *handle)\n\n{\n void *handle_local;\n \n return 0;\n}\n\n" (function_definition "int telnet_cfg_info(void *handle)\n\n{\n void *handle_local;\n \n return 0;\n}" primitive_type (function_declarator "telnet_cfg_info(void *handle)" identifier (parameter_list "(void *handle... | (translation_unit "int function_1(void *handle)\n\n{\n void *handle_local;\n \n return 0;\n}\n\n" (function_definition "int function_1(void *handle)\n\n{\n void *handle_local;\n \n return 0;\n}" primitive_type (function_declarator "function_1(void *handle)" identifier (parameter_list "(void *handle)" ( (parameter... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
1092_pscp_and_pscp_strip.c | SHA384_Simple | FUN_00176f4a | SHA384_Simple |
void SHA384_Simple(void *p,int len,uchar *output)
{
long lVar1;
long in_FS_OFFSET;
uchar *output_local;
int len_local;
void *p_local;
SHA512_State s;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
SHA384_Init((SHA512_CTX *)&s);
SHA512_Bytes(&s,p,len);
SHA384_Final((uchar *)&s,(SHA512_CTX *)output);
... |
void FUN_00176f4a(undefined8 param_1,undefined4 param_2,undefined8 param_3)
{
long in_FS_OFFSET;
undefined local_128 [280];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_001765fe(local_128);
FUN_00176650(local_128,param_1,param_2);
FUN_00176e49(local_128,param_3);
FUN_0011007e(local... | (translation_unit "void FUN_00176f4a(undefined8 param_1,undefined4 param_2,undefined8 param_3)\n\n{\n long in_FS_OFFSET;\n undefined local_128 [280];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_001765fe(local_128);\n FUN_00176650(local_128,param_1,param_2);\n FUN_00176e49(local_128,pa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x140
MOV qword ptr [RBP + -0x128],RDI
MOV dword ptr [RBP + -0x12c],ESI
MOV qword ptr [RBP + -0x138],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RAX,[RBP + -0x120]
MOV RDI,RAX
CALL 0x001765fe
MOV EDX,dword ptr [RBP + -0x12c]
MOV RCX,qword ptr [RBP + -0x128... |
void function_1(void *p,int len,type_1 *output)
{
long var_6;
long var_1;
type_1 *output_local;
int len_local;
void *p_local;
type_2 s;
var_6 = *(long *)(var_1 + 0x28);
var_2((type_3 *)&s);
var_3(&s,p,len);
var_4((type_1 *)&s,(type_3 *)output);
var_5(&s,0x118);
if (var_6 != *(long *)(var_1 ... | (translation_unit "void SHA384_Simple(void *p,int len,uchar *output)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n uchar *output_local;\n int len_local;\n void *p_local;\n SHA512_State s;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n SHA384_Init((SHA512_CTX *)&s);\n SHA512_Bytes(&s,p,len);\n SHA384_Final((uchar... | (translation_unit "void function_1(void *p,int len,type_1 *output)\n\n{\n long var_6;\n long var_1;\n type_1 *output_local;\n int len_local;\n void *p_local;\n type_2 s;\n \n var_6 = *(long *)(var_1 + 0x28);\n var_2((type_3 *)&s);\n var_3(&s,p,len);\n var_4((type_1 *)&s,(type_3 *)output);\n var_5(&s,0x118);... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifi... |
685_puttytel_and_puttytel_strip.c | prompt_set_result | FUN_0012863c | prompt_set_result |
void prompt_set_result(prompt_t *pr,char *newstr)
{
size_t sVar1;
char *newstr_local;
prompt_t *pr_local;
sVar1 = strlen(newstr);
prompt_ensure_result_size(pr,(int)sVar1 + 1);
strcpy(pr->result,newstr);
return;
}
|
void FUN_0012863c(long param_1,char *param_2)
{
size_t sVar1;
sVar1 = strlen(param_2);
FUN_00128582(param_1,(int)sVar1 + 1);
strcpy(*(char **)(param_1 + 0x10),param_2);
return;
}
| (translation_unit "void FUN_0012863c(long param_1,char *param_2)\n\n{\n size_t sVar1;\n \n sVar1 = strlen(param_2);\n FUN_00128582(param_1,(int)sVar1 + 1);\n strcpy(*(char **)(param_1 + 0x10),param_2);\n return;\n}\n\n" (function_definition "void FUN_0012863c(long param_1,char *param_2)\n\n{\n size_t sVar1;\n \... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x10]
MOV RDI,RAX
CALL 0x001105f0
ADD EAX,0x1
MOV EDX,EAX
MOV RAX,qword ptr [RBP + -0x8]
MOV ESI,EDX
MOV RDI,RAX
CALL 0x00128582
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x10]
MOV RD... |
void function_1(type_1 *pr,char *newstr)
{
size_t sVar1;
char *newstr_local;
type_1 *pr_local;
sVar1 = var_1(newstr);
var_2(pr,(int)sVar1 + 1);
var_3(pr->result,newstr);
return;
}
| (translation_unit "void prompt_set_result(prompt_t *pr,char *newstr)\n\n{\n size_t sVar1;\n char *newstr_local;\n prompt_t *pr_local;\n \n sVar1 = strlen(newstr);\n prompt_ensure_result_size(pr,(int)sVar1 + 1);\n strcpy(pr->result,newstr);\n return;\n}\n\n" (function_definition "void prompt_set_result(prompt_t ... | (translation_unit "void function_1(type_1 *pr,char *newstr)\n\n{\n size_t sVar1;\n char *newstr_local;\n type_1 *pr_local;\n \n sVar1 = var_1(newstr);\n var_2(pr,(int)sVar1 + 1);\n var_3(pr->result,newstr);\n return;\n}\n\n" (function_definition "void function_1(type_1 *pr,char *newstr)\n\n{\n size_t sVar1;\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
1022_puttytel_and_puttytel_strip.c | dlg_init | FUN_00151b75 | dlg_init |
void dlg_init(dlgparam *dp)
{
tree234 *ptVar1;
dlgparam *dp_local;
ptVar1 = newtree234(uctrl_cmp_byctrl);
dp->byctrl = ptVar1;
ptVar1 = newtree234(uctrl_cmp_bywidget);
dp->bywidget = ptVar1;
(dp->coloursel_result).ok = '\0';
dp->cancelbutton = (GtkWidget *)0x0;
dp->window = dp->cancelbutton;
dp... |
void FUN_00151b75(undefined8 *param_1)
{
undefined8 uVar1;
uVar1 = FUN_0014c3cf(FUN_00151a2b);
*param_1 = uVar1;
uVar1 = FUN_0014c3cf(FUN_00151acd);
param_1[1] = uVar1;
*(undefined *)((long)param_1 + 0x1b) = 0;
param_1[6] = 0;
param_1[5] = param_1[6];
*(undefined4 *)((long)param_1 + 0x1c) = 0;
... | (translation_unit "void FUN_00151b75(undefined8 *param_1)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_0014c3cf(FUN_00151a2b);\n *param_1 = uVar1;\n uVar1 = FUN_0014c3cf(FUN_00151acd);\n param_1[1] = uVar1;\n *(undefined *)((long)param_1 + 0x1b) = 0;\n param_1[6] = 0;\n param_1[5] = param_1[6];\n *(undefined4 *)... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
LEA RDI,[0x151a2b]
CALL 0x0014c3cf
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX],RDX
LEA RDI,[0x151acd]
CALL 0x0014c3cf
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX + 0x8],RDX
MOV RAX,qword ptr [RBP + -0x8]
MOV byte ptr [... |
void function_1(type_1 *dp)
{
type_2 *ptVar1;
type_1 *dp_local;
ptVar1 = var_1(uctrl_cmp_byctrl);
dp->byctrl = ptVar1;
ptVar1 = var_1(uctrl_cmp_bywidget);
dp->bywidget = ptVar1;
(dp->coloursel_result).ok = '\0';
dp->cancelbutton = (type_3 *)0x0;
dp->window = dp->cancelbutton;
dp->flags = 0;
d... | (translation_unit "void dlg_init(dlgparam *dp)\n\n{\n tree234 *ptVar1;\n dlgparam *dp_local;\n \n ptVar1 = newtree234(uctrl_cmp_byctrl);\n dp->byctrl = ptVar1;\n ptVar1 = newtree234(uctrl_cmp_bywidget);\n dp->bywidget = ptVar1;\n (dp->coloursel_result).ok = '\0';\n dp->cancelbutton = (GtkWidget *)0x0;\n dp->w... | (translation_unit "void function_1(type_1 *dp)\n\n{\n type_2 *ptVar1;\n type_1 *dp_local;\n \n ptVar1 = var_1(uctrl_cmp_byctrl);\n dp->byctrl = ptVar1;\n ptVar1 = var_1(uctrl_cmp_bywidget);\n dp->bywidget = ptVar1;\n (dp->coloursel_result).ok = '\0';\n dp->cancelbutton = (type_3 *)0x0;\n dp->window = dp->canc... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
987_puttytel_and_puttytel_strip.c | columns_find_child | FUN_0014fa1e | columns_find_child |
ColumnsChild * columns_find_child(Columns *cols,GtkWidget *widget)
{
ColumnsChild *pCVar1;
GtkWidget *widget_local;
Columns *cols_local;
GList *children;
ColumnsChild *child;
for (children = cols->children;
(children != (GList *)0x0 &&
(pCVar1 = (ColumnsChild *)children->data, pCVar1 != (Co... |
long * FUN_0014fa1e(long param_1,long param_2)
{
long *plVar1;
undefined8 *local_18;
for (local_18 = *(undefined8 **)(param_1 + 0x28);
(local_18 != (undefined8 *)0x0 && (plVar1 = (long *)*local_18, plVar1 != (long *)0x0));
local_18 = (undefined8 *)local_18[1]) {
if (param_2 == *plVar1) {
... | (translation_unit "long * FUN_0014fa1e(long param_1,long param_2)\n\n{\n long *plVar1;\n undefined8 *local_18;\n \n for (local_18 = *(undefined8 **)(param_1 + 0x28);\n (local_18 != (undefined8 *)0x0 && (plVar1 = (long *)*local_18, plVar1 != (long *)0x0));\n local_18 = (undefined8 *)local_18[1]) {\n if ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x28]
MOV qword ptr [RBP + -0x10],RAX
JMP 0x0014fa57
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
CMP qword ptr [RBP + -0x20],RAX
JNZ 0x0014fa4b
MOV RAX,qword ptr [RBP ... |
type_1 * function_1(type_2 *cols,type_3 *var_3)
{
type_1 *var_2;
type_3 *widget_local;
type_2 *cols_local;
type_4 *var_1;
type_1 *child;
for (var_1 = cols->var_1;
(var_1 != (type_4 *)0x0 &&
(var_2 = (type_1 *)var_1->data, var_2 != (type_1 *)0x0));
var_1 = var_1->next) {
if (var_3 ... | (translation_unit "ColumnsChild * columns_find_child(Columns *cols,GtkWidget *widget)\n\n{\n ColumnsChild *pCVar1;\n GtkWidget *widget_local;\n Columns *cols_local;\n GList *children;\n ColumnsChild *child;\n \n for (children = cols->children;\n (children != (GList *)0x0 &&\n (pCVar1 = (ColumnsChild *)... | (translation_unit "type_1 * function_1(type_2 *cols,type_3 *var_3)\n\n{\n type_1 *var_2;\n type_3 *widget_local;\n type_2 *cols_local;\n type_4 *var_1;\n type_1 *child;\n \n for (var_1 = cols->var_1;\n (var_1 != (type_4 *)0x0 &&\n (var_2 = (type_1 *)var_1->data, var_2 != (type_1 *)0x0));\n var_1 =... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (typ... |
948_puttytel_and_puttytel_strip.c | term_get_userpass_input | FUN_0014ba41 | term_get_userpass_input |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
wchar_t term_get_userpass_input(Terminal *term,prompts_t_conflict *p,uchar *in,wchar_t inlen)
{
uchar *puVar1;
char *pcVar2;
size_t sVar3;
wchar_t wVar4;
size_t sVar5;
long in_FS_OFFSET;
wchar_t inlen_local;
uchar *in_local;
p... |
undefined8 FUN_0014ba41(undefined8 param_1,long param_2,byte *param_3,int param_4)
{
byte *pbVar1;
long lVar2;
ulong uVar3;
size_t sVar4;
undefined8 uVar5;
long in_FS_OFFSET;
int local_64;
byte *local_60;
byte local_39;
int local_38;
int local_34;
ulong *local_30;
size_t local_28;
size_t l... | (translation_unit "undefined8 FUN_0014ba41(undefined8 param_1,long param_2,byte *param_3,int param_4)\n\n{\n byte *pbVar1;\n long lVar2;\n ulong uVar3;\n size_t sVar4;\n undefined8 uVar5;\n long in_FS_OFFSET;\n int local_64;\n byte *local_60;\n byte local_39;\n int local_38;\n int local_34;\n ulong *local_3... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x48],RDI
MOV qword ptr [RBP + -0x50],RSI
MOV qword ptr [RBP + -0x58],RDX
MOV dword ptr [RBP + -0x5c],ECX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x50]
MOV RAX,qword ptr [RAX + 0x40]
MOV qword ptr [RBP + -0x... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_2 *term,type_3 *p,type_4 *in,type_1 inlen)
{
type_4 *puVar1;
char *pcVar2;
size_t var_17;
type_1 wVar4;
size_t sVar5;
long var_1;
type_1 var_11;
type_4 *var_10;
type_3 *p_local;
type_2 *term_local;
c... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nwchar_t term_get_userpass_input(Terminal *term,prompts_t_conflict *p,uchar *in,wchar_t inlen)\n\n{\n uchar *puVar1;\n char *pcVar2;\n size_t sVar3;\n wchar_t wVar4;\n size_t sVar5;\n long in_FS_OFFSET;\n wchar_t inlen_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 *term,type_3 *p,type_4 *in,type_1 inlen)\n\n{\n type_4 *puVar1;\n char *pcVar2;\n size_t var_17;\n type_1 wVar4;\n size_t sVar5;\n long var_1;\n type_1 var_11;\n type_4 *var_10;\n type_3 *p_l... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarat... |
1296_pscp_and_pscp_strip.c | sk_address_is_local | FUN_00185c89 | sk_address_is_local |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int sk_address_is_local(SockAddr addr)
{
int iVar1;
SockAddr addr_local;
if (addr->superfamily == ADDRTYPE_UNSPEC) {
iVar1 = 0;
}
else if (addr->superfamily == ADDRTYPE_IPV4) {
iVar1 = 1;
}
else {
iVar1 = sockaddr_i... |
undefined8 FUN_00185c89(long param_1)
{
undefined8 uVar1;
if (*(int *)(param_1 + 0x10) == 0) {
uVar1 = 0;
}
else if (*(int *)(param_1 + 0x10) == 1) {
uVar1 = 1;
}
else {
uVar1 = FUN_00185bd0(*(undefined8 *)(*(long *)(param_1 + 0x18) + 0x18));
}
return uVar1;
}
| (translation_unit "undefined8 FUN_00185c89(long param_1)\n\n{\n undefined8 uVar1;\n \n if (*(int *)(param_1 + 0x10) == 0) {\n uVar1 = 0;\n }\n else if (*(int *)(param_1 + 0x10) == 1) {\n uVar1 = 1;\n }\n else {\n uVar1 = FUN_00185bd0(*(undefined8 *)(*(long *)(param_1 + 0x18) + 0x18));\n }\n return uVa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x10]
TEST EAX,EAX
JNZ 0x00185ca7
MOV EAX,0x0
JMP 0x00185cce
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x10]
CMP EAX,0x1
JNZ 0x00185cba
MOV EAX,0x1
JMP 0x00185cce
MOV RAX,qword ptr [RBP... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 addr)
{
int iVar1;
type_1 addr_local;
if (addr->superfamily == var_1) {
iVar1 = 0;
}
else if (addr->superfamily == var_2) {
iVar1 = 1;
}
else {
iVar1 = var_3(addr->ais->ai_addr);
}
return i... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint sk_address_is_local(SockAddr addr)\n\n{\n int iVar1;\n SockAddr addr_local;\n \n if (addr->superfamily == ADDRTYPE_UNSPEC) {\n iVar1 = 0;\n }\n else if (addr->superfamily == ADDRTYPE_IPV4) {\n iVar1 = 1;\n }\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 addr)\n\n{\n int iVar1;\n type_1 addr_local;\n \n if (addr->superfamily == var_1) {\n iVar1 = 0;\n }\n else if (addr->superfamily == var_2) {\n iVar1 = 1;\n }\n else {\n iVar1 = var_3(ad... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier))... |
932_puttytel_and_puttytel_strip.c | wordtype | FUN_00149cf2 | wordtype |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
wchar_t wordtype(Terminal *term,wchar_t uc)
{
uint uVar1;
wchar_t wVar2;
wchar_t uc_local;
Terminal *term_local;
ucsword *wptr;
uVar1 = uc & 0xffffff00;
if (uVar1 == 0xd900) {
uc_local = term->ucsdata->unitab_xterm[uc & 0xf... |
uint FUN_00149cf2(long param_1,uint param_2)
{
uint uVar1;
uint local_24;
int *local_10;
uVar1 = param_2 & 0xffffff00;
if (uVar1 == 0xd900) {
local_24 = *(uint *)(*(long *)(param_1 + 0x1118) + 4 + ((long)(int)(param_2 & 0xff) + 0x304) * 4
);
}
else if (uVar1 == 0xda00) {
... | (translation_unit "uint FUN_00149cf2(long param_1,uint param_2)\n\n{\n uint uVar1;\n uint local_24;\n int *local_10;\n \n uVar1 = param_2 & 0xffffff00;\n if (uVar1 == 0xd900) {\n local_24 = *(uint *)(*(long *)(param_1 + 0x1118) + 4 + ((long)(int)(param_2 & 0xff) + 0x304) * 4\n );\n }\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV EAX,dword ptr [RBP + -0x1c]
CDQE
AND EAX,0xffffff00
CMP RAX,0xd900
JZ 0x00149d21
CMP RAX,0xda00
JZ 0x00149d69
CMP RAX,0xd800
JZ 0x00149d45
JMP 0x00149d89
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x1118]
MOV EDX,dwor... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_2 *term,type_1 var_1)
{
type_3 var_2;
type_1 wVar2;
type_1 var_3;
type_2 *term_local;
type_4 *var_4;
var_2 = var_1 & 0xffffff00;
if (var_2 == 0xd900) {
var_3 = term->ucsdata->unitab_xterm[var_1 & 0xff... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nwchar_t wordtype(Terminal *term,wchar_t uc)\n\n{\n uint uVar1;\n wchar_t wVar2;\n wchar_t uc_local;\n Terminal *term_local;\n ucsword *wptr;\n \n uVar1 = uc & 0xffffff00;\n if (uVar1 == 0xd900) {\n uc_local = term-... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 *term,type_1 var_1)\n\n{\n type_3 var_2;\n type_1 wVar2;\n type_1 var_3;\n type_2 *term_local;\n type_4 *var_4;\n \n var_2 = var_1 & 0xffffff00;\n if (var_2 == 0xd900) {\n var_3 = term->ucs... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarat... |
810_puttytel_and_puttytel_strip.c | gpps_raw | FUN_001307c5 | gpps_raw |
char * gpps_raw(void *handle,char *name,char *def)
{
char *def_local;
char *name_local;
void *handle_local;
char *ret;
ret = read_setting_s(handle,name);
if (ret == (char *)0x0) {
ret = platform_default_s(name);
}
if (ret == (char *)0x0) {
if (def == (char *)0x0) {
ret = (char *)0x0;
... |
long FUN_001307c5(undefined8 param_1,undefined8 param_2,long param_3)
{
undefined8 local_10;
local_10 = FUN_00175d00(param_1,param_2);
if (local_10 == 0) {
local_10 = FUN_00164740(param_2);
}
if (local_10 == 0) {
if (param_3 == 0) {
local_10 = 0;
}
else {
local_10 = FUN_001287... | (translation_unit "long FUN_001307c5(undefined8 param_1,undefined8 param_2,long param_3)\n\n{\n undefined8 local_10;\n \n local_10 = FUN_00175d00(param_1,param_2);\n if (local_10 == 0) {\n local_10 = FUN_00164740(param_2);\n }\n if (local_10 == 0) {\n if (param_3 == 0) {\n local_10 = 0;\n }\n els... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV RDX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00175d00
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JNZ 0x00130807
MOV RAX,q... |
char * function_1(void *handle,char *name,char *var_4)
{
char *def_local;
char *name_local;
void *handle_local;
char *var_2;
var_2 = var_1(handle,name);
if (var_2 == (char *)0x0) {
var_2 = var_3(name);
}
if (var_2 == (char *)0x0) {
if (var_4 == (char *)0x0) {
var_2 = (char *)0x0;
... | (translation_unit "char * gpps_raw(void *handle,char *name,char *def)\n\n{\n char *def_local;\n char *name_local;\n void *handle_local;\n char *ret;\n \n ret = read_setting_s(handle,name);\n if (ret == (char *)0x0) {\n ret = platform_default_s(name);\n }\n if (ret == (char *)0x0) {\n if (def == (char *)0... | (translation_unit "char * function_1(void *handle,char *name,char *var_4)\n\n{\n char *def_local;\n char *name_local;\n void *handle_local;\n char *var_2;\n \n var_2 = var_1(handle,name);\n if (var_2 == (char *)0x0) {\n var_2 = var_3(name);\n }\n if (var_2 == (char *)0x0) {\n if (var_4 == (char *)0x0) {\... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primi... |
1335_pscp_and_pscp_strip.c | pollwrap_new | FUN_00189085 | pollwrap_new |
/* WARNING: Unknown calling convention */
pollwrapper * pollwrap_new(void)
{
pollwrapper *ppVar1;
pollfd *ppVar2;
tree234 *ptVar3;
pollwrapper *pw;
ppVar1 = (pollwrapper *)safemalloc(1,0x20);
ppVar1->fdsize = 0x10;
ppVar1->nfd = 0;
ppVar2 = (pollfd *)safemalloc(ppVar1->fdsize,8);
ppVar1->fds = p... |
undefined8 * FUN_00189085(void)
{
undefined8 *puVar1;
undefined8 uVar2;
puVar1 = (undefined8 *)FUN_0010fdaa(1,0x20);
puVar1[2] = 0x10;
puVar1[1] = 0;
uVar2 = FUN_0010fdaa(puVar1[2],8);
*puVar1 = uVar2;
uVar2 = FUN_00180c0d(FUN_0018903c);
puVar1[3] = uVar2;
return puVar1;
}
| (translation_unit "undefined8 * FUN_00189085(void)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n \n puVar1 = (undefined8 *)FUN_0010fdaa(1,0x20);\n puVar1[2] = 0x10;\n puVar1[1] = 0;\n uVar2 = FUN_0010fdaa(puVar1[2],8);\n *puVar1 = uVar2;\n uVar2 = FUN_00180c0d(FUN_0018903c);\n puVar1[3] = uVar2;\n return ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV ESI,0x20
MOV EDI,0x1
CALL 0x0010fdaa
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX + 0x10],0x10
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX + 0x8],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x10]
MOV ESI,0x8
MOV RDI,RAX
CALL... |
/* WARNING: Unknown calling convention */
type_1 * function_1(void)
{
type_1 *ppVar1;
type_2 *ppVar2;
type_3 *ptVar3;
type_1 *pw;
ppVar1 = (type_1 *)var_1(1,0x20);
ppVar1->fdsize = 0x10;
ppVar1->nfd = 0;
ppVar2 = (type_2 *)var_1(ppVar1->fdsize,8);
ppVar1->fds = ppVar2;
ptVar3 = var_2(pollwrap_... | (translation_unit "/* WARNING: Unknown calling convention */\n\npollwrapper * pollwrap_new(void)\n\n{\n pollwrapper *ppVar1;\n pollfd *ppVar2;\n tree234 *ptVar3;\n pollwrapper *pw;\n \n ppVar1 = (pollwrapper *)safemalloc(1,0x20);\n ppVar1->fdsize = 0x10;\n ppVar1->nfd = 0;\n ppVar2 = (pollfd *)safemalloc(ppVar... | (translation_unit "/* WARNING: Unknown calling convention */\n\ntype_1 * function_1(void)\n\n{\n type_1 *ppVar1;\n type_2 *ppVar2;\n type_3 *ptVar3;\n type_1 *pw;\n \n ppVar1 = (type_1 *)var_1(1,0x20);\n ppVar1->fdsize = 0x10;\n ppVar1->nfd = 0;\n ppVar2 = (type_2 *)var_1(ppVar1->fdsize,8);\n ppVar1->fds = pp... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (type_identifier) declarator: (poi... |
598_puttytel_and_puttytel_strip.c | hklist_handler | FUN_00118c25 | hklist_handler |
void hklist_handler(control *ctrl,void *dlg,void *data,int event)
{
int iVar1;
int event_local;
void *data_local;
void *dlg_local;
control *ctrl_local;
int i;
int j;
int i_1;
int k;
char *kstr;
Conf *conf;
if (event == 0) {
dlg_update_start(ctrl,dlg);
dlg_listbox_clear(ctrl,dlg);
... |
void FUN_00118c25(undefined8 param_1,undefined8 param_2,undefined8 param_3,int param_4)
{
int iVar1;
undefined4 uVar2;
int local_28;
uint local_24;
int local_20;
undefined *local_18;
if (param_4 == 0) {
FUN_00153404(param_1,param_2);
FUN_00152290(param_1,param_2);
for (local_28 = 0; local... | (translation_unit "void FUN_00118c25(undefined8 param_1,undefined8 param_2,undefined8 param_3,int param_4)\n\n{\n int iVar1;\n undefined4 uVar2;\n int local_28;\n uint local_24;\n int local_20;\n undefined *local_18;\n \n if (param_4 == 0) {\n FUN_00153404(param_1,param_2);\n FUN_00152290(param_1,param_2)... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV dword ptr [RBP + -0x3c],ECX
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x8],RAX
CMP dword ptr [RBP + -0x3c],0x0
JNZ 0x00118d26
MOV RDX,qword ptr [RBP + -0x30]
MOV RAX,qword pt... |
void function_1(type_1 *ctrl,void *dlg,void *data,int var_1)
{
int var_7;
int event_local;
void *data_local;
void *dlg_local;
type_1 *ctrl_local;
int var_4;
int var_6;
int var_10;
int k;
char *kstr;
type_2 *conf;
if (var_1 == 0) {
var_2(ctrl,dlg);
var_3(ctrl,dlg);
for (var_4 = 0... | (translation_unit "void hklist_handler(control *ctrl,void *dlg,void *data,int event)\n\n{\n int iVar1;\n int event_local;\n void *data_local;\n void *dlg_local;\n control *ctrl_local;\n int i;\n int j;\n int i_1;\n int k;\n char *kstr;\n Conf *conf;\n \n if (event == 0) {\n dlg_update_start(ctrl,dlg);\n... | (translation_unit "void function_1(type_1 *ctrl,void *dlg,void *data,int var_1)\n\n{\n int var_7;\n int event_local;\n void *data_local;\n void *dlg_local;\n type_1 *ctrl_local;\n int var_4;\n int var_6;\n int var_10;\n int k;\n char *kstr;\n type_2 *conf;\n \n if (var_1 == 0) {\n var_2(ctrl,dlg);\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
1190_pscp_and_pscp_strip.c | zlib_compress_init | FUN_0017ec39 | zlib_compress_init |
/* WARNING: Unknown calling convention */
void * zlib_compress_init(void)
{
LZ77Context *ctx;
void *pvVar1;
LZ77Context *ectx;
Outbuf *out;
ctx = (LZ77Context *)safemalloc(1,0x20);
lz77_init(ctx);
ctx->literal = zlib_literal;
ctx->match = zlib_match;
pvVar1 = safemalloc(1,0x28);
*(undefined4 *... |
long FUN_0017ec39(void)
{
long lVar1;
long lVar2;
lVar1 = FUN_0010fdaa(1,0x20);
FUN_0017dba3(lVar1);
*(code **)(lVar1 + 0x10) = FUN_0017e866;
*(code **)(lVar1 + 0x18) = FUN_0017e90d;
lVar2 = FUN_0010fdaa(1,0x28);
*(undefined4 *)(lVar2 + 0x18) = 0;
*(undefined8 *)(lVar2 + 0x10) = 0;
*(undefined4... | (translation_unit "long FUN_0017ec39(void)\n\n{\n long lVar1;\n long lVar2;\n \n lVar1 = FUN_0010fdaa(1,0x20);\n FUN_0017dba3(lVar1);\n *(code **)(lVar1 + 0x10) = FUN_0017e866;\n *(code **)(lVar1 + 0x18) = FUN_0017e90d;\n lVar2 = FUN_0010fdaa(1,0x28);\n *(undefined4 *)(lVar2 + 0x18) = 0;\n *(undefined8 *)(lVa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV ESI,0x20
MOV EDI,0x1
CALL 0x0010fdaa
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RDI,RAX
CALL 0x0017dba3
MOV RAX,qword ptr [RBP + -0x10]
LEA RDX,[0x17e866]
MOV qword ptr [RAX + 0x10],RDX
MOV RAX,qword ptr [RBP + -0x10]
LEA RDX,[0x17e90d]
MOV qword ptr [RAX +... |
/* WARNING: Unknown calling convention */
void * function_1(void)
{
type_1 *ctx;
void *pvVar1;
type_1 *ectx;
type_2 *out;
ctx = (type_1 *)var_1(1,0x20);
var_2(ctx);
ctx->literal = zlib_literal;
ctx->match = zlib_match;
pvVar1 = var_1(1,0x28);
*(type_3 *)((long)pvVar1 + 0x18) = 0;
*(type_4 *)... | (translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * zlib_compress_init(void)\n\n{\n LZ77Context *ctx;\n void *pvVar1;\n LZ77Context *ectx;\n Outbuf *out;\n \n ctx = (LZ77Context *)safemalloc(1,0x20);\n lz77_init(ctx);\n ctx->literal = zlib_literal;\n ctx->match = zlib_match;\n pvVar1 = safe... | (translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * function_1(void)\n\n{\n type_1 *ctx;\n void *pvVar1;\n type_1 *ectx;\n type_2 *out;\n \n ctx = (type_1 *)var_1(1,0x20);\n var_2(ctx);\n ctx->literal = zlib_literal;\n ctx->match = zlib_match;\n pvVar1 = var_1(1,0x28);\n *(type_3 *)((long)... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (type_identifier) declarator: (poin... |
1387_pscp_and_pscp_strip.c | open_existing_wfile | FUN_0018abf2 | open_existing_wfile |
WFile * open_existing_wfile(char *name,uint64 *size)
{
long lVar1;
int iVar2;
WFile *pWVar3;
char *pcVar4;
int *piVar5;
long in_FS_OFFSET;
uint64 uVar6;
uint64 *size_local;
char *name_local;
int fd;
WFile *ret;
stat statbuf;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
iVar2 = open64(name,0x... |
int * FUN_0018abf2(char *param_1,undefined (*param_2) [16])
{
int iVar1;
int *piVar2;
undefined8 uVar3;
int *piVar4;
char *pcVar5;
long in_FS_OFFSET;
undefined auVar6 [16];
undefined local_a8 [48];
long local_78;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
iVar1 = open64(param... | (translation_unit "int * FUN_0018abf2(char *param_1,undefined (*param_2) [16])\n\n{\n int iVar1;\n int *piVar2;\n undefined8 uVar3;\n int *piVar4;\n char *pcVar5;\n long in_FS_OFFSET;\n undefined auVar6 [16];\n undefined local_a8 [48];\n long local_78;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xc0
MOV qword ptr [RBP + -0xb8],RDI
MOV qword ptr [RBP + -0xc0],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0xb8]
MOV ESI,0x401
MOV RDI,RAX
MOV EAX,0x0
CALL 0x00107660
MOV dword ptr [RBP + -0xac],EAX
CMP dword ptr [RBP + -0xac],0x0
J... |
type_1 * function_1(char *name,type_2 *var_6)
{
long var_13;
int var_3;
type_1 *pWVar3;
char *pcVar4;
int *piVar5;
long var_1;
type_2 uVar6;
type_2 *size_local;
char *name_local;
int fd;
type_1 *ret;
type_3 statbuf;
var_13 = *(long *)(var_1 + 0x28);
var_3 = var_2(name,0x401);
if (var_... | (translation_unit "WFile * open_existing_wfile(char *name,uint64 *size)\n\n{\n long lVar1;\n int iVar2;\n WFile *pWVar3;\n char *pcVar4;\n int *piVar5;\n long in_FS_OFFSET;\n uint64 uVar6;\n uint64 *size_local;\n char *name_local;\n int fd;\n WFile *ret;\n stat statbuf;\n \n lVar1 = *(long *)(in_FS_OFFSET... | (translation_unit "type_1 * function_1(char *name,type_2 *var_6)\n\n{\n long var_13;\n int var_3;\n type_1 *pWVar3;\n char *pcVar4;\n int *piVar5;\n long var_1;\n type_2 uVar6;\n type_2 *size_local;\n char *name_local;\n int fd;\n type_1 *ret;\n type_3 statbuf;\n \n var_13 = *(long *)(var_1 + 0x28);\n va... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type... |
576_puttytel_and_puttytel_strip.c | conf_set_int_int | FUN_00116d3a | conf_set_int_int |
void conf_set_int_int(Conf *conf,int primary,int secondary,int value)
{
conf_entry *entry_00;
int value_local;
int secondary_local;
int primary_local;
Conf *conf_local;
conf_entry *entry;
entry_00 = (conf_entry *)safemalloc(1,0x18);
if (subkeytypes[primary] != 1) {
/* WARNING: S... |
void FUN_00116d3a(undefined8 param_1,int param_2,int param_3,int param_4)
{
int *piVar1;
piVar1 = (int *)FUN_001297e1(1,0x18);
if (*(int *)(&DAT_001b7060 + (long)param_2 * 4) != 1) {
/* WARNING: Subroutine does not return */
__assert_fail("subkeytypes[primary] == TYPE_INT","conf.c",0x... | (translation_unit "void FUN_00116d3a(undefined8 param_1,int param_2,int param_3,int param_4)\n\n{\n int *piVar1;\n \n piVar1 = (int *)FUN_001297e1(1,0x18);\n if (*(int *)(&DAT_001b7060 + (long)param_2 * 4) != 1) {\n /* WARNING: Subroutine does not return */\n __assert_fail("subkeytypes[primary... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV dword ptr [RBP + -0x20],EDX
MOV dword ptr [RBP + -0x24],ECX
MOV ESI,0x18
MOV EDI,0x1
CALL 0x001297e1
MOV qword ptr [RBP + -0x8],RAX
MOV EAX,dword ptr [RBP + -0x1c]
CDQE
LEA RDX,[RAX*0x4]
LEA RAX,[0x1b7060]
MOV EAX,dwor... |
void function_1(type_1 *conf,int primary,int secondary,int value)
{
type_2 *entry_00;
int value_local;
int secondary_local;
int primary_local;
type_1 *conf_local;
type_2 *entry;
entry_00 = (type_2 *)var_1(1,0x18);
if (subkeytypes[primary] != 1) {
/* WARNING: Subroutine does not ... | (translation_unit "void conf_set_int_int(Conf *conf,int primary,int secondary,int value)\n\n{\n conf_entry *entry_00;\n int value_local;\n int secondary_local;\n int primary_local;\n Conf *conf_local;\n conf_entry *entry;\n \n entry_00 = (conf_entry *)safemalloc(1,0x18);\n if (subkeytypes[primary] != 1) {\n ... | (translation_unit "void function_1(type_1 *conf,int primary,int secondary,int value)\n\n{\n type_2 *entry_00;\n int value_local;\n int secondary_local;\n int primary_local;\n type_1 *conf_local;\n type_2 *entry;\n \n entry_00 = (type_2 *)var_1(1,0x18);\n if (subkeytypes[primary] != 1) {\n /*... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif... |
1226_pscp_and_pscp_strip.c | agent_exists | FUN_00182e32 | agent_exists |
/* WARNING: Unknown calling convention */
int agent_exists(void)
{
int iVar1;
char *pcVar2;
char *p;
pcVar2 = getenv("SSH_AUTH_SOCK");
if ((pcVar2 == (char *)0x0) || (*pcVar2 == '\0')) {
iVar1 = 0;
}
else {
iVar1 = 1;
}
return iVar1;
}
|
undefined8 FUN_00182e32(void)
{
char *pcVar1;
undefined8 uVar2;
pcVar1 = getenv("SSH_AUTH_SOCK");
if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {
uVar2 = 0;
}
else {
uVar2 = 1;
}
return uVar2;
}
| (translation_unit "undefined8 FUN_00182e32(void)\n\n{\n char *pcVar1;\n undefined8 uVar2;\n \n pcVar1 = getenv("SSH_AUTH_SOCK");\n if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {\n uVar2 = 0;\n }\n else {\n uVar2 = 1;\n }\n return uVar2;\n}\n\n" (function_definition "undefined8 FUN_00182e32(void)\n\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
LEA RDI,[0x1a1c20]
CALL 0x00107040
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JZ 0x00182e63
MOV RAX,qword ptr [RBP + -0x8]
MOVZX EAX,byte ptr [RAX]
TEST AL,AL
JZ 0x00182e63
MOV EAX,0x1
JMP 0x00182e68
MOV EAX,0x0
LEAVE
RET |
/* WARNING: Unknown calling convention */
int function_1(void)
{
int iVar1;
char *var_2;
char *p;
var_2 = var_1("SSH_AUTH_SOCK");
if ((var_2 == (char *)0x0) || (*var_2 == '\0')) {
iVar1 = 0;
}
else {
iVar1 = 1;
}
return iVar1;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n\nint agent_exists(void)\n\n{\n int iVar1;\n char *pcVar2;\n char *p;\n \n pcVar2 = getenv("SSH_AUTH_SOCK");\n if ((pcVar2 == (char *)0x0) || (*pcVar2 == '\0')) {\n iVar1 = 0;\n }\n else {\n iVar1 = 1;\n }\n return iVar1;\n}\n\n" comment (fun... | (translation_unit "/* WARNING: Unknown calling convention */\n\nint function_1(void)\n\n{\n int iVar1;\n char *var_2;\n char *p;\n \n var_2 = var_1("SSH_AUTH_SOCK");\n if ((var_2 == (char *)0x0) || (*var_2 == '\0')) {\n iVar1 = 0;\n }\n else {\n iVar1 = 1;\n }\n return iVar1;\n}\n\n" comment (function_d... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primi... |
1251_pscp_and_pscp_strip.c | console_close | FUN_00184154 | console_close |
void console_close(FILE *outfp,int infd)
{
int infd_local;
FILE *outfp_local;
if (outfp != stderr) {
fclose((FILE *)outfp);
}
return;
}
|
void FUN_00184154(FILE *param_1)
{
if (param_1 != stderr) {
fclose(param_1);
}
return;
}
| (translation_unit "void FUN_00184154(FILE *param_1)\n\n{\n if (param_1 != stderr) {\n fclose(param_1);\n }\n return;\n}\n\n" (function_definition "void FUN_00184154(FILE *param_1)\n\n{\n if (param_1 != stderr) {\n fclose(param_1);\n }\n return;\n}" primitive_type (function_declarator "FUN_00184154(FILE *par... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV RAX,qword ptr [0x001b5800]
CMP qword ptr [RBP + -0x8],RAX
JZ 0x0018417c
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x001071f0
NOP
LEAVE
RET |
void function_1(type_1 *var_1,int infd)
{
int infd_local;
type_1 *outfp_local;
if (var_1 != var_2) {
var_3((type_1 *)var_1);
}
return;
}
| (translation_unit "void console_close(FILE *outfp,int infd)\n\n{\n int infd_local;\n FILE *outfp_local;\n \n if (outfp != stderr) {\n fclose((FILE *)outfp);\n }\n return;\n}\n\n" (function_definition "void console_close(FILE *outfp,int infd)\n\n{\n int infd_local;\n FILE *outfp_local;\n \n if (outfp != std... | (translation_unit "void function_1(type_1 *var_1,int infd)\n\n{\n int infd_local;\n type_1 *outfp_local;\n \n if (var_1 != var_2) {\n var_3((type_1 *)var_1);\n }\n return;\n}\n\n" (function_definition "void function_1(type_1 *var_1,int infd)\n\n{\n int infd_local;\n type_1 *outfp_local;\n \n if (var_1 != v... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif... |
1117_pscp_and_pscp_strip.c | hmacsha1_bytes | FUN_00177f0d | hmacsha1_bytes |
void hmacsha1_bytes(void *handle,uchar *blk,int len)
{
int len_local;
uchar *blk_local;
void *handle_local;
SHA_State *keys;
SHA_Bytes((SHA_State *)((long)handle + 0xc0),blk,len);
return;
}
|
void FUN_00177f0d(long param_1,undefined8 param_2,undefined4 param_3)
{
FUN_001776b5(param_1 + 0xc0,param_2,param_3);
return;
}
| (translation_unit "void FUN_00177f0d(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_001776b5(param_1 + 0xc0,param_2,param_3);\n return;\n}\n\n" (function_definition "void FUN_00177f0d(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_001776b5(param_1 + 0xc0,param_2,param_3);\n return;\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
LEA RCX,[RAX + 0xc0]
MOV EDX,dword ptr [RBP + -0x24]
MOV RAX,qword ptr [RBP + -0x20]
MOV RSI,RAX... |
void function_1(void *handle,type_1 *blk,int len)
{
int len_local;
type_1 *blk_local;
void *handle_local;
type_2 *keys;
var_1((type_2 *)((long)handle + 0xc0),blk,len);
return;
}
| (translation_unit "void hmacsha1_bytes(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n SHA_State *keys;\n \n SHA_Bytes((SHA_State *)((long)handle + 0xc0),blk,len);\n return;\n}\n\n" (function_definition "void hmacsha1_bytes(void *handle,uchar *blk,int len)\n\n{\... | (translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_2 *keys;\n \n var_1((type_2 *)((long)handle + 0xc0),blk,len);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_loca... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1035_puttytel_and_puttytel_strip.c | dlg_listbox_del | FUN_0015233a | dlg_listbox_del |
void dlg_listbox_del(control *ctrl,void *dlg,int index)
{
long lVar1;
uctrl *puVar2;
undefined8 uVar3;
undefined8 uVar4;
long in_FS_OFFSET;
int index_local;
void *dlg_local;
control *ctrl_local;
dlgparam *dp;
uctrl *uc;
GtkTreePath *path;
GtkTreeIter iter;
lVar1 = *(long *)(in_FS_OFFSET +... |
void FUN_0015233a(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
undefined8 *puVar1;
undefined8 uVar2;
undefined8 uVar3;
long in_FS_OFFSET;
undefined local_38 [40];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
puVar1 = (undefined8 *)FUN_00151cc6(param_2,param_1);
if ((*(... | (translation_unit "void FUN_0015233a(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n long in_FS_OFFSET;\n undefined local_38 [40];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n puVar1 = (undefined8 *)FUN_00151cc... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x58],RDI
MOV qword ptr [RBP + -0x60],RSI
MOV dword ptr [RBP + -0x64],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x60]
MOV qword ptr [RBP + -0x48],RAX
MOV RDX,qword ptr [RBP + -0x58]
MOV RAX,qword ptr [RBP ... |
void function_1(type_1 *ctrl,void *dlg,int index)
{
long var_10;
type_2 *puVar2;
type_3 uVar3;
type_3 uVar4;
long var_1;
int index_local;
void *dlg_local;
type_1 *ctrl_local;
type_4 *dp;
type_2 *uc;
type_5 *path;
type_6 iter;
var_10 = *(long *)(var_1 + 0x28);
puVar2 = var_2((type_4 *)dl... | (translation_unit "void dlg_listbox_del(control *ctrl,void *dlg,int index)\n\n{\n long lVar1;\n uctrl *puVar2;\n undefined8 uVar3;\n undefined8 uVar4;\n long in_FS_OFFSET;\n int index_local;\n void *dlg_local;\n control *ctrl_local;\n dlgparam *dp;\n uctrl *uc;\n GtkTreePath *path;\n GtkTreeIter iter;\n \n... | (translation_unit "void function_1(type_1 *ctrl,void *dlg,int index)\n\n{\n long var_10;\n type_2 *puVar2;\n type_3 uVar3;\n type_3 uVar4;\n long var_1;\n int index_local;\n void *dlg_local;\n type_1 *ctrl_local;\n type_4 *dp;\n type_2 *uc;\n type_5 *path;\n type_6 iter;\n \n var_10 = *(long *)(var_1 + 0x... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
951_puttytel_and_puttytel_strip.c | compare_timer_contexts | FUN_0014c0d7 | compare_timer_contexts |
int compare_timer_contexts(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
char *a;
char *b;
if (av < bv) {
iVar1 = -1;
}
else if (bv < av) {
iVar1 = 1;
}
else {
iVar1 = 0;
}
return iVar1;
}
|
undefined8 FUN_0014c0d7(ulong param_1,ulong param_2)
{
undefined8 uVar1;
if (param_1 < param_2) {
uVar1 = 0xffffffff;
}
else if (param_2 < param_1) {
uVar1 = 1;
}
else {
uVar1 = 0;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_0014c0d7(ulong param_1,ulong param_2)\n\n{\n undefined8 uVar1;\n \n if (param_1 < param_2) {\n uVar1 = 0xffffffff;\n }\n else if (param_2 < param_1) {\n uVar1 = 1;\n }\n else {\n uVar1 = 0;\n }\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_0014c0d7(ulon... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
CMP RAX,qword ptr [RBP + -0x8]
JNC 0x0014c104
MOV EAX,0xffffffff
JMP 0x0014c... |
int function_1(void *var_1,void *var_2)
{
int iVar1;
void *bv_local;
void *av_local;
char *a;
char *b;
if (var_1 < var_2) {
iVar1 = -1;
}
else if (var_2 < var_1) {
iVar1 = 1;
}
else {
iVar1 = 0;
}
return iVar1;
}
| (translation_unit "int compare_timer_contexts(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n char *a;\n char *b;\n \n if (av < bv) {\n iVar1 = -1;\n }\n else if (bv < av) {\n iVar1 = 1;\n }\n else {\n iVar1 = 0;\n }\n return iVar1;\n}\n\n" (function_definition "int comp... | (translation_unit "int function_1(void *var_1,void *var_2)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n char *a;\n char *b;\n \n if (var_1 < var_2) {\n iVar1 = -1;\n }\n else if (var_2 < var_1) {\n iVar1 = 1;\n }\n else {\n iVar1 = 0;\n }\n return iVar1;\n}\n\n" (function_definition "in... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
996_puttytel_and_puttytel_strip.c | columns_gtk3_get_min_width | FUN_00150c43 | columns_gtk3_get_min_width |
gint columns_gtk3_get_min_width(ColumnsChild *child)
{
long in_FS_OFFSET;
ColumnsChild *child_local;
gint ret;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
gtk_widget_get_preferred_width(child->widget,&ret,0);
if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {
/* WARNI... |
undefined4 FUN_00150c43(undefined8 *param_1)
{
long in_FS_OFFSET;
undefined4 local_14;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
gtk_widget_get_preferred_width(*param_1,&local_14,0);
if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {
/* WARNING: Subroutine does not re... | (translation_unit "undefined4 FUN_00150c43(undefined8 *param_1)\n\n{\n long in_FS_OFFSET;\n undefined4 local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n gtk_widget_get_preferred_width(*param_1,&local_14,0);\n if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {\n /* WAR... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
LEA RCX,[RBP + -0xc]
MOV EDX,0x0
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00110410
MOV EAX,dword ptr [RBP + -0xc]
MOV RDX,qword ptr [RBP ... |
type_1 function_1(type_2 *child)
{
long var_1;
type_2 *child_local;
type_1 ret;
long var_3;
var_3 = *(long *)(var_1 + 0x28);
var_2(child->widget,&ret,0);
if (var_3 != *(long *)(var_1 + 0x28)) {
/* WARNING: Subroutine does not return */
var_4();
}
return ret;
}
| (translation_unit "gint columns_gtk3_get_min_width(ColumnsChild *child)\n\n{\n long in_FS_OFFSET;\n ColumnsChild *child_local;\n gint ret;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n gtk_widget_get_preferred_width(child->widget,&ret,0);\n if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {\... | (translation_unit "type_1 function_1(type_2 *child)\n\n{\n long var_1;\n type_2 *child_local;\n type_1 ret;\n long var_3;\n \n var_3 = *(long *)(var_1 + 0x28);\n var_2(child->widget,&ret,0);\n if (var_3 != *(long *)(var_1 + 0x28)) {\n /* WARNING: Subroutine does not return */\n var_4();\n ... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specif... |
1362_pscp_and_pscp_strip.c | uxsel_fd_cmp | FUN_0018a44c | uxsel_fd_cmp |
int uxsel_fd_cmp(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
fd *a;
fd *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < *bv) {
iVar1 = -1;
}
else {
/* WARNING: Load size is... |
undefined8 FUN_0018a44c(int *param_1,int *param_2)
{
undefined8 uVar1;
if (*param_1 < *param_2) {
uVar1 = 0xffffffff;
}
else if (*param_2 < *param_1) {
uVar1 = 1;
}
else {
uVar1 = 0;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_0018a44c(int *param_1,int *param_2)\n\n{\n undefined8 uVar1;\n \n if (*param_1 < *param_2) {\n uVar1 = 0xffffffff;\n }\n else if (*param_2 < *param_1) {\n uVar1 = 1;\n }\n else {\n uVar1 = 0;\n }\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_0018a44c(in... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EDX,dword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RA... |
int function_1(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
type_1 *a;
type_1 *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < *bv) {
iVar1 = -1;
}
else {
/* WARNING: Load s... | (translation_unit "int uxsel_fd_cmp(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n fd *a;\n fd *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n iVar1 = -1;\n }\n else {\n ... | (translation_unit "int function_1(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n type_1 *a;\n type_1 *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n iVar1 = -1;\n }\n else {\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
1155_pscp_and_pscp_strip.c | share_try_cleanup | FUN_001795bb | share_try_cleanup |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void share_try_cleanup(ssh_sharing_connstate *cs)
{
long lVar1;
int iVar2;
size_t sVar3;
share_halfchannel *hc_00;
share_channel *chan_00;
size_t sVar4;
undefined *data;
share_forwarding *fwd_00;
int iVar5;
long in_FS_OFFSET... |
void FUN_001795bb(long param_1)
{
int iVar1;
size_t sVar2;
undefined4 *puVar3;
long lVar4;
size_t sVar5;
undefined *puVar6;
undefined8 *puVar7;
int iVar8;
long in_FS_OFFSET;
int local_148;
undefined local_118 [9];
undefined uStack_10f;
undefined uStack_10e;
undefined uStack_10d;
undefine... | (translation_unit "void FUN_001795bb(long param_1)\n\n{\n int iVar1;\n size_t sVar2;\n undefined4 *puVar3;\n long lVar4;\n size_t sVar5;\n undefined *puVar6;\n undefined8 *puVar7;\n int iVar8;\n long in_FS_OFFSET;\n int local_148;\n undefined local_118 [9];\n undefined uStack_10f;\n undefined uStack_10e;\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x150
MOV qword ptr [RBP + -0x148],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
JMP 0x0017994d
MOV dword ptr [RBP + -0x13c],0x0
MOV RAX,qword ptr [RBP + -0x130]
MOV EAX,dword ptr [RAX]
SHR EAX,0x18
MOV ECX,EAX
MOV EAX,dword ptr [RBP + -0x13c]
CDQE
LEA RDX,[RBP ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *cs)
{
long var_26;
int var_9;
size_t var_8;
type_2 *var_3;
type_3 *var_12;
size_t var_5;
type_4 *var_18;
type_5 *var_16;
int var_19;
long var_1;
type_1 *cs_local;
int var_15;
int pos;
int pos_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_try_cleanup(ssh_sharing_connstate *cs)\n\n{\n long lVar1;\n int iVar2;\n size_t sVar3;\n share_halfchannel *hc_00;\n share_channel *chan_00;\n size_t sVar4;\n undefined *data;\n share_forwarding *fwd_00;\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *cs)\n\n{\n long var_26;\n int var_9;\n size_t var_8;\n type_2 *var_3;\n type_3 *var_12;\n size_t var_5;\n type_4 *var_18;\n type_5 *var_16;\n int var_19;\n long var_1;\n type_1 *cs_local;\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_ty... |
670_puttytel_and_puttytel_strip.c | setOverrideBits | FUN_00125162 | setOverrideBits |
uchar setOverrideBits(uchar level,uchar override)
{
uchar override_local;
uchar level_local;
if (override != '\x12') {
if (override == '\x03') {
level = level | 0x40;
}
else if (override == '\0') {
level = level | 0x80;
}
}
return level;
}
|
uint FUN_00125162(byte param_1,char param_2)
{
uint uVar1;
if (param_2 == '\x12') {
uVar1 = (uint)param_1;
}
else if (param_2 == '\x03') {
uVar1 = param_1 | 0x40;
}
else if (param_2 == '\0') {
uVar1 = param_1 | 0xffffff80;
}
else {
uVar1 = (uint)param_1;
}
return uVar1;
}
| (translation_unit "uint FUN_00125162(byte param_1,char param_2)\n\n{\n uint uVar1;\n \n if (param_2 == '\x12') {\n uVar1 = (uint)param_1;\n }\n else if (param_2 == '\x03') {\n uVar1 = param_1 | 0x40;\n }\n else if (param_2 == '\0') {\n uVar1 = param_1 | 0xffffff80;\n }\n else {\n uVar1 = (uint)para... | PUSH RBP
MOV RBP,RSP
MOV EAX,EDI
MOV EDX,ESI
MOV byte ptr [RBP + -0x4],AL
MOV EAX,EDX
MOV byte ptr [RBP + -0x8],AL
CMP byte ptr [RBP + -0x8],0x12
JNZ 0x0012517e
MOVZX EAX,byte ptr [RBP + -0x4]
JMP 0x001251a0
CMP byte ptr [RBP + -0x8],0x3
JNZ 0x0012518d
MOVZX EAX,byte ptr [RBP + -0x4]
OR EAX,0x40
JMP 0x001251a0
CMP byte... |
type_1 function_1(type_1 var_2,type_1 var_1)
{
type_1 override_local;
type_1 level_local;
if (var_1 != '\x12') {
if (var_1 == '\x03') {
var_2 = var_2 | 0x40;
}
else if (var_1 == '\0') {
var_2 = var_2 | 0x80;
}
}
return var_2;
}
| (translation_unit "uchar setOverrideBits(uchar level,uchar override)\n\n{\n uchar override_local;\n uchar level_local;\n \n if (override != '\x12') {\n if (override == '\x03') {\n level = level | 0x40;\n }\n else if (override == '\0') {\n level = level | 0x80;\n }\n }\n return level;\n}\n\n"... | (translation_unit "type_1 function_1(type_1 var_2,type_1 var_1)\n\n{\n type_1 override_local;\n type_1 level_local;\n \n if (var_1 != '\x12') {\n if (var_1 == '\x03') {\n var_2 = var_2 | 0x40;\n }\n else if (var_1 == '\0') {\n var_2 = var_2 | 0x80;\n }\n }\n return var_2;\n}\n\n" (function_d... | (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: (type_identifier) declarator: (identifier)))) body: (compound_stateme... |
548_puttytel_and_puttytel_strip.c | cmdline_cleanup | FUN_00113a56 | cmdline_cleanup |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void cmdline_cleanup(void)
{
size_t n;
int pri;
if (cmdline_password != (char *)0x0) {
n = strlen(cmdline_password);
smemclr(cmdline_password,n);
safefree(cmdline_password);
cmdline_password = (char *)0x0;
}
for... |
void FUN_00113a56(void)
{
size_t sVar1;
int local_c;
if (DAT_001b88c0 != (char *)0x0) {
sVar1 = strlen(DAT_001b88c0);
FUN_00129ab5(DAT_001b88c0,sVar1);
FUN_001299ed(DAT_001b88c0);
DAT_001b88c0 = (char *)0x0;
}
for (local_c = 0; local_c < 2; local_c = local_c + 1) {
FUN_001299ed(*(unde... | (translation_unit "void FUN_00113a56(void)\n\n{\n size_t sVar1;\n int local_c;\n \n if (DAT_001b88c0 != (char *)0x0) {\n sVar1 = strlen(DAT_001b88c0);\n FUN_00129ab5(DAT_001b88c0,sVar1);\n FUN_001299ed(DAT_001b88c0);\n DAT_001b88c0 = (char *)0x0;\n }\n for (local_c = 0; local_c < 2; local_c = local_c ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV RAX,qword ptr [0x001b88c0]
TEST RAX,RAX
JZ 0x00113aa8
MOV RAX,qword ptr [0x001b88c0]
MOV RDI,RAX
CALL 0x001105f0
MOV RDX,RAX
MOV RAX,qword ptr [0x001b88c0]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00129ab5
MOV RAX,qword ptr [0x001b88c0]
MOV RDI,RAX
CALL 0x001299ed
MOV qword ptr [0x001b88c0],... |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
size_t n;
int var_5;
if (var_1 != (char *)0x0) {
n = var_2(var_1);
var_3(var_1,n);
var_4(var_1);
var_1 = (char *)0x0;
}
for (var_5 = 0; var_5 < 2; var_5 = var_5 + 1) {
var_4(saves[var... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid cmdline_cleanup(void)\n\n{\n size_t n;\n int pri;\n \n if (cmdline_password != (char *)0x0) {\n n = strlen(cmdline_password);\n smemclr(cmdline_password,n);\n safefree(cmdline_password);\n cmdline_pas... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n size_t n;\n int var_5;\n \n if (var_1 != (char *)0x0) {\n n = var_2(var_1);\n var_3(var_1,n);\n var_4(var_1);\n var_1 = (char *)0x0;\n }\n for (var_5 = 0; var_5 < 2; var_5 = ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primi... |
1386_pscp_and_pscp_strip.c | open_new_file | FUN_0018ab6f | open_new_file |
WFile * open_new_file(char *name,long perms)
{
int iVar1;
WFile *pWVar2;
char *pcVar3;
ulong uVar4;
long perms_local;
char *name_local;
int fd;
WFile *ret;
if (perms == 0) {
uVar4 = 0x1b6;
}
else {
uVar4 = perms & 0xffffffff;
}
iVar1 = open64(name,0x241,uVar4);
if (iVar1 < 0) {
... |
int * FUN_0018ab6f(char *param_1,ulong param_2)
{
int iVar1;
int *piVar2;
undefined8 uVar3;
if (param_2 == 0) {
param_2 = 0x1b6;
}
else {
param_2 = param_2 & 0xffffffff;
}
iVar1 = open64(param_1,0x241,param_2);
if (iVar1 < 0) {
piVar2 = (int *)0x0;
}
else {
piVar2 = (int *)FUN... | (translation_unit "int * FUN_0018ab6f(char *param_1,ulong param_2)\n\n{\n int iVar1;\n int *piVar2;\n undefined8 uVar3;\n \n if (param_2 == 0) {\n param_2 = 0x1b6;\n }\n else {\n param_2 = param_2 & 0xffffffff;\n }\n iVar1 = open64(param_1,0x241,param_2);\n if (iVar1 < 0) {\n piVar2 = (int *)0x0;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
CMP qword ptr [RBP + -0x20],0x0
JZ 0x0018ab8e
MOV RAX,qword ptr [RBP + -0x20]
MOV EDX,EAX
JMP 0x0018ab93
MOV EDX,0x1b6
MOV RAX,qword ptr [RBP + -0x18]
MOV ESI,0x241
MOV RDI,RAX
MOV EAX,0x0
CALL 0x00107660
MOV dword ptr [RB... |
type_1 * function_1(char *name,long var_1)
{
int var_3;
type_1 *pWVar2;
char *pcVar3;
type_2 uVar4;
long perms_local;
char *name_local;
int fd;
type_1 *ret;
if (var_1 == 0) {
uVar4 = 0x1b6;
}
else {
uVar4 = var_1 & 0xffffffff;
}
var_3 = var_2(name,0x241,uVar4);
if (var_3 < 0) {
... | (translation_unit "WFile * open_new_file(char *name,long perms)\n\n{\n int iVar1;\n WFile *pWVar2;\n char *pcVar3;\n ulong uVar4;\n long perms_local;\n char *name_local;\n int fd;\n WFile *ret;\n \n if (perms == 0) {\n uVar4 = 0x1b6;\n }\n else {\n uVar4 = perms & 0xffffffff;\n }\n iVar1 = open64(na... | (translation_unit "type_1 * function_1(char *name,long var_1)\n\n{\n int var_3;\n type_1 *pWVar2;\n char *pcVar3;\n type_2 uVar4;\n long perms_local;\n char *name_local;\n int fd;\n type_1 *ret;\n \n if (var_1 == 0) {\n uVar4 = 0x1b6;\n }\n else {\n uVar4 = var_1 & 0xffffffff;\n }\n var_3 = var_2(na... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (size... |
1214_pscp_and_pscp_strip.c | count234 | FUN_00180d50 | count234 |
int count234(tree234 *t)
{
int iVar1;
tree234 *t_local;
if (t->root == (node234_conflict *)0x0) {
iVar1 = 0;
}
else {
iVar1 = countnode234(t->root);
}
return iVar1;
}
|
undefined8 FUN_00180d50(long *param_1)
{
undefined8 uVar1;
if (*param_1 == 0) {
uVar1 = 0;
}
else {
uVar1 = FUN_00180cd7(*param_1);
}
return uVar1;
}
| (translation_unit "undefined8 FUN_00180d50(long *param_1)\n\n{\n undefined8 uVar1;\n \n if (*param_1 == 0) {\n uVar1 = 0;\n }\n else {\n uVar1 = FUN_00180cd7(*param_1);\n }\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_00180d50(long *param_1)\n\n{\n undefined8 uVar1;\n \n if (*param_1 == ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x8
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
TEST RAX,RAX
JZ 0x00180d79
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x00180cd7
JMP 0x00180d7e
MOV EAX,0x0
LEAVE
RET |
int function_1(type_1 *t)
{
int iVar1;
type_1 *t_local;
if (t->root == (type_2 *)0x0) {
iVar1 = 0;
}
else {
iVar1 = var_1(t->root);
}
return iVar1;
}
| (translation_unit "int count234(tree234 *t)\n\n{\n int iVar1;\n tree234 *t_local;\n \n if (t->root == (node234_conflict *)0x0) {\n iVar1 = 0;\n }\n else {\n iVar1 = countnode234(t->root);\n }\n return iVar1;\n}\n\n" (function_definition "int count234(tree234 *t)\n\n{\n int iVar1;\n tree234 *t_local;\n ... | (translation_unit "int function_1(type_1 *t)\n\n{\n int iVar1;\n type_1 *t_local;\n \n if (t->root == (type_2 *)0x0) {\n iVar1 = 0;\n }\n else {\n iVar1 = var_1(t->root);\n }\n return iVar1;\n}\n\n" (function_definition "int function_1(type_1 *t)\n\n{\n int iVar1;\n type_1 *t_local;\n \n if (t->root =... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) de... |
736_puttytel_and_puttytel_strip.c | sk_proxy_plug | FUN_0012a797 | sk_proxy_plug |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
Plug sk_proxy_plug(Socket s,Plug p)
{
socket_function_table *psVar1;
Plug p_local;
Socket s_local;
Proxy_Socket ps;
Plug ret;
psVar1 = s[3];
if (p != (Plug)0x0) {
s[3] = (socket_function_table *)p;
}
return (Plug)psVar1... |
undefined8 FUN_0012a797(long param_1,long param_2)
{
undefined8 uVar1;
uVar1 = *(undefined8 *)(param_1 + 0x18);
if (param_2 != 0) {
*(long *)(param_1 + 0x18) = param_2;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_0012a797(long param_1,long param_2)\n\n{\n undefined8 uVar1;\n \n uVar1 = *(undefined8 *)(param_1 + 0x18);\n if (param_2 != 0) {\n *(long *)(param_1 + 0x18) = param_2;\n }\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_0012a797(long param_1,long param_2)\n\n{\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x18]
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x20],0x0
JZ 0x0012a7ca
MOV RAX,qword ptr [RBP + -0x10]... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_2 s,type_1 var_1)
{
type_3 *psVar1;
type_1 p_local;
type_2 s_local;
type_4 ps;
type_1 ret;
psVar1 = s[3];
if (var_1 != (type_1)0x0) {
s[3] = (type_3 *)var_1;
}
return (type_1)psVar1;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nPlug sk_proxy_plug(Socket s,Plug p)\n\n{\n socket_function_table *psVar1;\n Plug p_local;\n Socket s_local;\n Proxy_Socket ps;\n Plug ret;\n \n psVar1 = s[3];\n if (p != (Plug)0x0) {\n s[3] = (socket_function_table... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 s,type_1 var_1)\n\n{\n type_3 *psVar1;\n type_1 p_local;\n type_2 s_local;\n type_4 ps;\n type_1 ret;\n \n psVar1 = s[3];\n if (var_1 != (type_1)0x0) {\n s[3] = (type_3 *)var_1;\n }\n ret... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compou... |
633_puttytel_and_puttytel_strip.c | ctrl_droplist | FUN_00121f45 | ctrl_droplist |
control * ctrl_droplist(controlset *s,char *label,char shortcut,int percentage,intorptr helpctx,
handler_fn handler,intorptr context)
{
control *pcVar1;
char *pcVar2;
handler_fn handler_local;
intorptr helpctx_local;
int percentage_local;
char shortcut_local;
char *label_local;
... |
long FUN_00121f45(undefined8 param_1,long param_2,undefined param_3,undefined4 param_4,
undefined8 param_5,undefined8 param_6,undefined8 param_7)
{
long lVar1;
undefined8 uVar2;
lVar1 = FUN_00121546(param_1,5,param_5,param_6,param_7);
if (param_2 == 0) {
uVar2 = 0;
}
else {
uVa... | (translation_unit "long FUN_00121f45(undefined8 param_1,long param_2,undefined param_3,undefined4 param_4,\n undefined8 param_5,undefined8 param_6,undefined8 param_7)\n\n{\n long lVar1;\n undefined8 uVar2;\n \n lVar1 = FUN_00121546(param_1,5,param_5,param_6,param_7);\n if (param_2 == 0) {\n uVar... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV EAX,EDX
MOV dword ptr [RBP + -0x28],ECX
MOV qword ptr [RBP + -0x30],R8
MOV qword ptr [RBP + -0x38],R9
MOV byte ptr [RBP + -0x24],AL
MOV RCX,qword ptr [RBP + -0x38]
MOV RDX,qword ptr [RBP + -0x30]
MOV RAX,qword ptr [RBP... |
type_1 * function_1(type_2 *s,char *var_2,char shortcut,int percentage,type_3 helpctx,
type_4 handler,type_3 context)
{
type_1 *pcVar1;
char *pcVar2;
type_4 handler_local;
type_3 helpctx_local;
int percentage_local;
char shortcut_local;
char *label_local;
type_2 *s_local;
type... | (translation_unit "control * ctrl_droplist(controlset *s,char *label,char shortcut,int percentage,intorptr helpctx,\n handler_fn handler,intorptr context)\n\n{\n control *pcVar1;\n char *pcVar2;\n handler_fn handler_local;\n intorptr helpctx_local;\n int percentage_local;\n char shortcut_loc... | (translation_unit "type_1 * function_1(type_2 *s,char *var_2,char shortcut,int percentage,type_3 helpctx,\n type_4 handler,type_3 context)\n\n{\n type_1 *pcVar1;\n char *pcVar2;\n type_4 handler_local;\n type_3 helpctx_local;\n int percentage_local;\n char shortcut_local;\n char *label_loca... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (pri... |
950_puttytel_and_puttytel_strip.c | compare_timers | FUN_0014bff1 | compare_timers |
int compare_timers(void *av,void *bv)
{
int iVar1;
long lVar2;
long lVar3;
void *bv_local;
void *av_local;
timer *a;
timer *b;
long at;
long bt;
lVar2 = *(long *)((long)av + 0x10) - now;
lVar3 = *(long *)((long)bv + 0x10) - now;
if (lVar2 < lVar3) {
iVar1 = -1;
}
else if (lVar3 < lV... |
undefined8 FUN_0014bff1(ulong *param_1,ulong *param_2)
{
undefined8 uVar1;
if ((long)(param_1[2] - DAT_001b88e0) < (long)(param_2[2] - DAT_001b88e0)) {
uVar1 = 0xffffffff;
}
else if ((long)(param_2[2] - DAT_001b88e0) < (long)(param_1[2] - DAT_001b88e0)) {
uVar1 = 1;
}
else if (*param_1 < *param... | (translation_unit "undefined8 FUN_0014bff1(ulong *param_1,ulong *param_2)\n\n{\n undefined8 uVar1;\n \n if ((long)(param_1[2] - DAT_001b88e0) < (long)(param_2[2] - DAT_001b88e0)) {\n uVar1 = 0xffffffff;\n }\n else if ((long)(param_2[2] - DAT_001b88e0) < (long)(param_1[2] - DAT_001b88e0)) {\n uVar1 = 1;\n }\... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP + -0x30]
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV RDX,qword ptr [RAX + 0x10]
MOV RAX,qword ptr [0x001b88e0]
SUB RDX,RAX
M... |
int function_1(void *av,void *bv)
{
int iVar1;
long var_2;
long var_3;
void *bv_local;
void *av_local;
type_1 *a;
type_1 *b;
long at;
long bt;
var_2 = *(long *)((long)av + 0x10) - var_1;
var_3 = *(long *)((long)bv + 0x10) - var_1;
if (var_2 < var_3) {
iVar1 = -1;
}
else if (var_3 < ... | (translation_unit "int compare_timers(void *av,void *bv)\n\n{\n int iVar1;\n long lVar2;\n long lVar3;\n void *bv_local;\n void *av_local;\n timer *a;\n timer *b;\n long at;\n long bt;\n \n lVar2 = *(long *)((long)av + 0x10) - now;\n lVar3 = *(long *)((long)bv + 0x10) - now;\n if (lVar2 < lVar3) {\n iVa... | (translation_unit "int function_1(void *av,void *bv)\n\n{\n int iVar1;\n long var_2;\n long var_3;\n void *bv_local;\n void *av_local;\n type_1 *a;\n type_1 *b;\n long at;\n long bt;\n \n var_2 = *(long *)((long)av + 0x10) - var_1;\n var_3 = *(long *)((long)bv + 0x10) - var_1;\n if (var_2 < var_3) {\n i... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
1075_pscp_and_pscp_strip.c | sha256_key | FUN_001720e0 | sha256_key |
void sha256_key(void *handle,uchar *key)
{
uchar *key_local;
void *handle_local;
sha256_key_internal(handle,key,0x20);
return;
}
|
void FUN_001720e0(undefined8 param_1,undefined8 param_2)
{
FUN_00171f8e(param_1,param_2,0x20);
return;
}
| (translation_unit "void FUN_001720e0(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00171f8e(param_1,param_2,0x20);\n return;\n}\n\n" (function_definition "void FUN_001720e0(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00171f8e(param_1,param_2,0x20);\n return;\n}" primitive_type (function_declarator "FUN_00... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RCX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,0x20
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00171f8e
NOP
LEAVE
RET |
void function_1(void *handle,type_1 *key)
{
type_1 *key_local;
void *handle_local;
var_1(handle,key,0x20);
return;
}
| (translation_unit "void sha256_key(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n \n sha256_key_internal(handle,key,0x20);\n return;\n}\n\n" (function_definition "void sha256_key(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n \n sha256_key_internal(handle,k... | (translation_unit "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handle_local;\n \n var_1(handle,key,0x20);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handle_local;\n \n var_1(handle,key,0x20);\n return;\n}"... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1344_pscp_and_pscp_strip.c | pollwrap_get_fd_rwx | FUN_0018952e | pollwrap_get_fd_rwx |
int pollwrap_get_fd_rwx(pollwrapper *pw,int fd)
{
uint uVar1;
int fd_local;
pollwrapper *pw_local;
int rwx;
int revents;
uVar1 = pollwrap_get_fd_events(pw,fd);
rwx = (int)((uVar1 & 0xd9) != 0);
if ((uVar1 & 0x30c) != 0) {
rwx = rwx | 2;
}
if ((uVar1 & 2) != 0) {
rwx = rwx | 4;
}
ret... |
byte FUN_0018952e(undefined8 param_1,undefined4 param_2)
{
uint uVar1;
byte bVar2;
uVar1 = FUN_00189486(param_1,param_2);
bVar2 = (uVar1 & 0xd9) != 0;
if ((uVar1 & 0x30c) != 0) {
bVar2 = bVar2 | 2;
}
if ((uVar1 & 2) != 0) {
bVar2 = bVar2 | 4;
}
return bVar2;
}
| (translation_unit "byte FUN_0018952e(undefined8 param_1,undefined4 param_2)\n\n{\n uint uVar1;\n byte bVar2;\n \n uVar1 = FUN_00189486(param_1,param_2);\n bVar2 = (uVar1 & 0xd9) != 0;\n if ((uVar1 & 0x30c) != 0) {\n bVar2 = bVar2 | 2;\n }\n if ((uVar1 & 2) != 0) {\n bVar2 = bVar2 | 4;\n }\n return bVar2... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV EDX,dword ptr [RBP + -0x1c]
MOV RAX,qword ptr [RBP + -0x18]
MOV ESI,EDX
MOV RDI,RAX
CALL 0x00189486
MOV dword ptr [RBP + -0x4],EAX
MOV dword ptr [RBP + -0x8],0x0
MOV EAX,dword ptr [RBP + -0x4]
AND EAX,0xd9
TEST EAX,EAX... |
int function_1(type_1 *pw,int fd)
{
type_2 var_2;
int fd_local;
type_1 *pw_local;
int var_3;
int revents;
var_2 = var_1(pw,fd);
var_3 = (int)((var_2 & 0xd9) != 0);
if ((var_2 & 0x30c) != 0) {
var_3 = var_3 | 2;
}
if ((var_2 & 2) != 0) {
var_3 = var_3 | 4;
}
return var_3;
}
| (translation_unit "int pollwrap_get_fd_rwx(pollwrapper *pw,int fd)\n\n{\n uint uVar1;\n int fd_local;\n pollwrapper *pw_local;\n int rwx;\n int revents;\n \n uVar1 = pollwrap_get_fd_events(pw,fd);\n rwx = (int)((uVar1 & 0xd9) != 0);\n if ((uVar1 & 0x30c) != 0) {\n rwx = rwx | 2;\n }\n if ((uVar1 & 2) != 0... | (translation_unit "int function_1(type_1 *pw,int fd)\n\n{\n type_2 var_2;\n int fd_local;\n type_1 *pw_local;\n int var_3;\n int revents;\n \n var_2 = var_1(pw,fd);\n var_3 = (int)((var_2 & 0xd9) != 0);\n if ((var_2 & 0x30c) != 0) {\n var_3 = var_3 | 2;\n }\n if ((var_2 & 2) != 0) {\n var_3 = var_3 | 4... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif... |
1112_pscp_and_pscp_strip.c | sha1_free_context | FUN_00177cb7 | sha1_free_context |
void sha1_free_context(void *handle)
{
void *handle_local;
smemclr(handle,0x120);
safefree(handle);
return;
}
|
void FUN_00177cb7(undefined8 param_1)
{
FUN_0011007e(param_1,0x120);
FUN_0010ffb6(param_1);
return;
}
| (translation_unit "void FUN_00177cb7(undefined8 param_1)\n\n{\n FUN_0011007e(param_1,0x120);\n FUN_0010ffb6(param_1);\n return;\n}\n\n" (function_definition "void FUN_00177cb7(undefined8 param_1)\n\n{\n FUN_0011007e(param_1,0x120);\n FUN_0010ffb6(param_1);\n return;\n}" primitive_type (function_declarator "FUN_00... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV ESI,0x120
MOV RDI,RAX
CALL 0x0011007e
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0010ffb6
NOP
LEAVE
RET |
void function_1(void *handle)
{
void *handle_local;
var_1(handle,0x120);
var_2(handle);
return;
}
| (translation_unit "void sha1_free_context(void *handle)\n\n{\n void *handle_local;\n \n smemclr(handle,0x120);\n safefree(handle);\n return;\n}\n\n" (function_definition "void sha1_free_context(void *handle)\n\n{\n void *handle_local;\n \n smemclr(handle,0x120);\n safefree(handle);\n return;\n}" primitive_typ... | (translation_unit "void function_1(void *handle)\n\n{\n void *handle_local;\n \n var_1(handle,0x120);\n var_2(handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle)\n\n{\n void *handle_local;\n \n var_1(handle,0x120);\n var_2(handle);\n return;\n}" primitive_type (function_declarator "... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
1328_pscp_and_pscp_strip.c | noise_get_heavy | FUN_00188b2b | noise_get_heavy |
void noise_get_heavy(_func_void_void_ptr_int *func)
{
long lVar1;
int iVar2;
FILE *pFVar3;
size_t sVar4;
int *piVar5;
char *pcVar6;
long in_FS_OFFSET;
bool bVar7;
_func_void_void_ptr_int *func_local;
int got_dev_urandom;
int ret;
FILE *fp;
char buf [512];
lVar1 = *(long *)(in_FS_OFFSET ... |
void FUN_00188b2b(code *param_1)
{
int iVar1;
FILE *pFVar2;
size_t sVar3;
int *piVar4;
char *pcVar5;
long in_FS_OFFSET;
bool bVar6;
undefined local_218 [520];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
iVar1 = FUN_00188a91(local_218,0x20);
bVar6 = iVar1 != 0;
if (bVar6) {
... | (translation_unit "void FUN_00188b2b(code *param_1)\n\n{\n int iVar1;\n FILE *pFVar2;\n size_t sVar3;\n int *piVar4;\n char *pcVar5;\n long in_FS_OFFSET;\n bool bVar6;\n undefined local_218 [520];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n iVar1 = FUN_00188a91(local_218,0x20);\n bVa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x230
MOV qword ptr [RBP + -0x228],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x220],0x0
LEA RAX,[RBP + -0x210]
MOV ESI,0x20
MOV RDI,RAX
CALL 0x00188a91
TEST EAX,EAX
JZ 0x00188b90
MOV dword ptr [RBP + -0x220],0x1
LEA RDX,[RBP + -0x210]
M... |
void function_1(type_1 *func)
{
long var_14;
int var_3;
type_2 *var_5;
size_t sVar4;
int *piVar5;
char *pcVar6;
long var_1;
bool bVar7;
type_1 *func_local;
int got_dev_urandom;
int ret;
type_2 *fp;
char buf [512];
var_14 = *(long *)(var_1 + 0x28);
var_3 = var_2(buf,0x20);
bVar7 = va... | (translation_unit "void noise_get_heavy(_func_void_void_ptr_int *func)\n\n{\n long lVar1;\n int iVar2;\n FILE *pFVar3;\n size_t sVar4;\n int *piVar5;\n char *pcVar6;\n long in_FS_OFFSET;\n bool bVar7;\n _func_void_void_ptr_int *func_local;\n int got_dev_urandom;\n int ret;\n FILE *fp;\n char buf [512];\n ... | (translation_unit "void function_1(type_1 *func)\n\n{\n long var_14;\n int var_3;\n type_2 *var_5;\n size_t sVar4;\n int *piVar5;\n char *pcVar6;\n long var_1;\n bool bVar7;\n type_1 *func_local;\n int got_dev_urandom;\n int ret;\n type_2 *fp;\n char buf [512];\n \n var_14 = *(long *)(var_1 + 0x28);\n v... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifi... |
1023_puttytel_and_puttytel_strip.c | dlg_cleanup | FUN_00151bec | dlg_cleanup |
void dlg_cleanup(dlgparam *dp)
{
void *e;
dlgparam *dp_local;
uctrl *uc;
freetree234(dp->byctrl);
dp->byctrl = (tree234 *)0x0;
while( true ) {
e = index234(dp->bywidget,0);
if (e == (void *)0x0) break;
del234(dp->bywidget,e);
safefree(*(void **)((long)e + 0x10));
safefree(e);
}
... |
void FUN_00151bec(undefined8 *param_1)
{
long lVar1;
FUN_0014c46f(*param_1);
*param_1 = 0;
while( true ) {
lVar1 = FUN_0014d2a4(param_1[1],0);
if (lVar1 == 0) break;
FUN_0014e581(param_1[1],lVar1);
FUN_001299ed(*(undefined8 *)(lVar1 + 0x10));
FUN_001299ed(lVar1);
}
FUN_0014c46f(para... | (translation_unit "void FUN_00151bec(undefined8 *param_1)\n\n{\n long lVar1;\n \n FUN_0014c46f(*param_1);\n *param_1 = 0;\n while( true ) {\n lVar1 = FUN_0014d2a4(param_1[1],0);\n if (lVar1 == 0) break;\n FUN_0014e581(param_1[1],lVar1);\n FUN_001299ed(*(undefined8 *)(lVar1 + 0x10));\n FUN_001299ed(l... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x0014c46f
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RAX],0x0
JMP 0x00151c47
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x8]
MOV RDX,qword ptr [RBP + -0x8]
MOV RS... |
void function_1(type_1 *dp)
{
void *var_3;
type_1 *dp_local;
type_2 *uc;
var_1(dp->byctrl);
dp->byctrl = (type_3 *)0x0;
while( true ) {
var_3 = var_2(dp->bywidget,0);
if (var_3 == (void *)0x0) break;
var_4(dp->bywidget,var_3);
var_5(*(void **)((long)var_3 + 0x10));
var_5(var_3);
}... | (translation_unit "void dlg_cleanup(dlgparam *dp)\n\n{\n void *e;\n dlgparam *dp_local;\n uctrl *uc;\n \n freetree234(dp->byctrl);\n dp->byctrl = (tree234 *)0x0;\n while( true ) {\n e = index234(dp->bywidget,0);\n if (e == (void *)0x0) break;\n del234(dp->bywidget,e);\n safefree(*(void **)((long)e + ... | (translation_unit "void function_1(type_1 *dp)\n\n{\n void *var_3;\n type_1 *dp_local;\n type_2 *uc;\n \n var_1(dp->byctrl);\n dp->byctrl = (type_3 *)0x0;\n while( true ) {\n var_3 = var_2(dp->bywidget,0);\n if (var_3 == (void *)0x0) break;\n var_4(dp->bywidget,var_3);\n var_5(*(void **)((long)var_3 ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) de... |
1315_pscp_and_pscp_strip.c | net_select_result | FUN_001878cc | net_select_result |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void net_select_result(int fd,int event)
{
long lVar1;
_func_void_Plug_char_ptr_int_int *p_Var2;
socklen_t sVar3;
int iVar4;
int iVar5;
ssize_t sVar6;
int *piVar7;
char *pcVar8;
socklen_t *psVar9;
long lVar10;
size_t __n;
... |
void FUN_001878cc(undefined4 param_1,int param_2)
{
undefined8 uVar1;
code *pcVar2;
socklen_t sVar3;
int iVar4;
ssize_t sVar5;
int *piVar6;
char *pcVar7;
socklen_t *psVar8;
long lVar9;
size_t __n;
undefined8 *puVar10;
sockaddr *psVar11;
long in_FS_OFFSET;
byte bVar12;
undefined8 local_54... | (translation_unit "void FUN_001878cc(undefined4 param_1,int param_2)\n\n{\n undefined8 uVar1;\n code *pcVar2;\n socklen_t sVar3;\n int iVar4;\n ssize_t sVar5;\n int *piVar6;\n char *pcVar7;\n socklen_t *psVar8;\n long lVar9;\n size_t __n;\n undefined8 *puVar10;\n sockaddr *psVar11;\n long in_FS_OFFSET;\n ... | PUSH RBP
MOV RBP,RSP
PUSH R12
PUSH RBX
SUB RSP,0x5490
MOV dword ptr [RBP + -0x5274],EDI
MOV dword ptr [RBP + -0x5278],ESI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
MOV RAX,qword ptr [0x001b6220]
LEA RCX,[RBP + -0x5274]
LEA RDX,[0x1855f5]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00181e4b
MOV qword pt... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(int fd,int event)
{
long var_40;
type_1 *p_Var2;
type_2 sVar3;
int var_8;
int var_24;
ssize_t sVar6;
int *piVar7;
char *pcVar8;
type_2 *psVar9;
long var_17;
size_t __n;
type_3 *pSVar11;
type_4 *psVar12;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid net_select_result(int fd,int event)\n\n{\n long lVar1;\n _func_void_Plug_char_ptr_int_int *p_Var2;\n socklen_t sVar3;\n int iVar4;\n int iVar5;\n ssize_t sVar6;\n int *piVar7;\n char *pcVar8;\n socklen_t *psVar9... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(int fd,int event)\n\n{\n long var_40;\n type_1 *p_Var2;\n type_2 sVar3;\n int var_8;\n int var_24;\n ssize_t sVar6;\n int *piVar7;\n char *pcVar8;\n type_2 *psVar9;\n long var_17;\n size_t __n;\n t... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_... |
1293_pscp_and_pscp_strip.c | sk_addr_needs_port | FUN_00185b3f | sk_addr_needs_port |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int sk_addr_needs_port(SockAddr addr)
{
int iVar1;
SockAddr addr_local;
if ((addr->superfamily == ADDRTYPE_UNSPEC) || (addr->superfamily == ADDRTYPE_IPV4)) {
iVar1 = 0;
}
else {
iVar1 = 1;
}
return iVar1;
}
|
undefined8 FUN_00185b3f(long param_1)
{
undefined8 uVar1;
if ((*(int *)(param_1 + 0x10) == 0) || (*(int *)(param_1 + 0x10) == 1)) {
uVar1 = 0;
}
else {
uVar1 = 1;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_00185b3f(long param_1)\n\n{\n undefined8 uVar1;\n \n if ((*(int *)(param_1 + 0x10) == 0) || (*(int *)(param_1 + 0x10) == 1)) {\n uVar1 = 0;\n }\n else {\n uVar1 = 1;\n }\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_00185b3f(long param_1)\n\n{\n undefined8 ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x10]
TEST EAX,EAX
JZ 0x00185b5e
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x10]
CMP EAX,0x1
JNZ 0x00185b65
MOV EAX,0x0
JMP 0x00185b6a
MOV EAX,0x1
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 addr)
{
int iVar1;
type_1 addr_local;
if ((addr->superfamily == var_1) || (addr->superfamily == var_2)) {
iVar1 = 0;
}
else {
iVar1 = 1;
}
return iVar1;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint sk_addr_needs_port(SockAddr addr)\n\n{\n int iVar1;\n SockAddr addr_local;\n \n if ((addr->superfamily == ADDRTYPE_UNSPEC) || (addr->superfamily == ADDRTYPE_IPV4)) {\n iVar1 = 0;\n }\n else {\n iVar1 = 1;\n }... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 addr)\n\n{\n int iVar1;\n type_1 addr_local;\n \n if ((addr->superfamily == var_1) || (addr->superfamily == var_2)) {\n iVar1 = 0;\n }\n else {\n iVar1 = 1;\n }\n return iVar1;\n}\n\n" comm... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier))... |
973_puttytel_and_puttytel_strip.c | about_handler | FUN_0014e5f4 | about_handler |
void about_handler(control *ctrl,void *dlg,void *data,int event)
{
int event_local;
void *data_local;
void *dlg_local;
control *ctrl_local;
if (event == 1) {
about_box((ctrl->generic).context.p);
}
return;
}
|
void FUN_0014e5f4(long param_1,undefined8 param_2,undefined8 param_3,int param_4)
{
if (param_4 == 1) {
FUN_00158d00(*(undefined8 *)(param_1 + 0x20));
}
return;
}
| (translation_unit "void FUN_0014e5f4(long param_1,undefined8 param_2,undefined8 param_3,int param_4)\n\n{\n if (param_4 == 1) {\n FUN_00158d00(*(undefined8 *)(param_1 + 0x20));\n }\n return;\n}\n\n" (function_definition "void FUN_0014e5f4(long param_1,undefined8 param_2,undefined8 param_3,int param_4)\n\n{\n if ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV dword ptr [RBP + -0x1c],ECX
CMP dword ptr [RBP + -0x1c],0x1
JNZ 0x0014e621
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x20]
MOV RDI,RAX
CALL 0x00158d00
NOP
LEAVE
RET |
void function_1(type_1 *ctrl,void *dlg,void *data,int var_1)
{
int event_local;
void *data_local;
void *dlg_local;
type_1 *ctrl_local;
if (var_1 == 1) {
var_2((ctrl->generic).context.p);
}
return;
}
| (translation_unit "void about_handler(control *ctrl,void *dlg,void *data,int event)\n\n{\n int event_local;\n void *data_local;\n void *dlg_local;\n control *ctrl_local;\n \n if (event == 1) {\n about_box((ctrl->generic).context.p);\n }\n return;\n}\n\n" (function_definition "void about_handler(control *ctrl... | (translation_unit "void function_1(type_1 *ctrl,void *dlg,void *data,int var_1)\n\n{\n int event_local;\n void *data_local;\n void *dlg_local;\n type_1 *ctrl_local;\n \n if (var_1 == 1) {\n var_2((ctrl->generic).context.p);\n }\n return;\n}\n\n" (function_definition "void function_1(type_1 *ctrl,void *dlg,vo... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
650_puttytel_and_puttytel_strip.c | ldisc_send | FUN_001229e4 | ldisc_send |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ldisc_send(void *handle,char *buf,wchar_t len,wchar_t interactive)
{
uint uVar1;
char *pcVar2;
byte bVar3;
char cVar4;
int iVar5;
wchar_t wVar6;
wchar_t wVar7;
size_t sVar8;
ushort **ppuVar9;
void *pvVar10;
undefined4... |
void FUN_001229e4(long *param_1,byte *param_2,int param_3,int param_4)
{
byte *pbVar1;
byte bVar2;
int iVar3;
uint uVar4;
undefined4 uVar5;
size_t sVar6;
ushort **ppuVar7;
long lVar8;
int local_3c;
byte *local_38;
int local_1c;
uint local_18;
int local_14;
local_1c = 0;
if (*param_1 =... | (translation_unit "void FUN_001229e4(long *param_1,byte *param_2,int param_3,int param_4)\n\n{\n byte *pbVar1;\n byte bVar2;\n int iVar3;\n uint uVar4;\n undefined4 uVar5;\n size_t sVar6;\n ushort **ppuVar7;\n long lVar8;\n int local_3c;\n byte *local_38;\n int local_1c;\n uint local_18;\n int local_14;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV dword ptr [RBP + -0x34],EDX
MOV dword ptr [RBP + -0x38],ECX
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV dword ptr [RBP + -0x14],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
TEST RAX... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *handle,char *buf,type_1 var_3,type_1 var_5)
{
type_2 uVar1;
char *pcVar2;
type_3 bVar3;
char var_25;
int var_8;
type_1 var_10;
type_1 var_15;
size_t sVar8;
type_4 **ppuVar9;
void *pvVar10;
type_5 in_r... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ldisc_send(void *handle,char *buf,wchar_t len,wchar_t interactive)\n\n{\n uint uVar1;\n char *pcVar2;\n byte bVar3;\n char cVar4;\n int iVar5;\n wchar_t wVar6;\n wchar_t wVar7;\n size_t sVar8;\n ushort **ppuVar9... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *handle,char *buf,type_1 var_3,type_1 var_5)\n\n{\n type_2 uVar1;\n char *pcVar2;\n type_3 bVar3;\n char var_25;\n int var_8;\n type_1 var_10;\n type_1 var_15;\n size_t sVar8;\n type_4 **ppuVar9;... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator:... |
1455_pscp_and_pscp_strip.c | x11_authcmp | FUN_0018ece7 | x11_authcmp |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int x11_authcmp(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
X11FakeAuth *a;
X11FakeAuth *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
... |
int FUN_0018ece7(int *param_1,int *param_2)
{
int iVar1;
if (*param_1 < *param_2) {
iVar1 = -1;
}
else if (*param_2 < *param_1) {
iVar1 = 1;
}
else if (*param_1 == 1) {
if (param_1[4] < param_2[4]) {
iVar1 = -1;
}
else if (param_2[4] < param_1[4]) {
iVar1 = 1;
}
... | (translation_unit "int FUN_0018ece7(int *param_1,int *param_2)\n\n{\n int iVar1;\n \n if (*param_1 < *param_2) {\n iVar1 = -1;\n }\n else if (*param_2 < *param_1) {\n iVar1 = 1;\n }\n else if (*param_1 == 1) {\n if (param_1[4] < param_2[4]) {\n iVar1 = -1;\n }\n else if (param_2[4] < param_1[... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EDX,dword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
type_1 *a;
type_1 *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint x11_authcmp(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n X11FakeAuth *a;\n X11FakeAuth *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n type_1 *a;\n type_1 *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator:... |
886_puttytel_and_puttytel_strip.c | term_timer | FUN_0013ac3a | term_timer |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void term_timer(void *ctx,ulong now)
{
bool bVar1;
ulong now_local;
void *ctx_local;
wchar_t update;
Terminal *term;
bVar1 = false;
if ((*(int *)((long)ctx + 0x1138) != 0) && (now == *(ulong *)((long)ctx + 0x1140))) {
*(uin... |
void FUN_0013ac3a(long param_1,long param_2)
{
bool bVar1;
bVar1 = false;
if ((*(int *)(param_1 + 0x1138) != 0) && (param_2 == *(long *)(param_1 + 0x1140))) {
*(uint *)(param_1 + 0x110) = (uint)(*(int *)(param_1 + 0x110) == 0);
*(undefined4 *)(param_1 + 0x1138) = 0;
FUN_0013adf3(param_1);
bVa... | (translation_unit "void FUN_0013ac3a(long param_1,long param_2)\n\n{\n bool bVar1;\n \n bVar1 = false;\n if ((*(int *)(param_1 + 0x1138) != 0) && (param_2 == *(long *)(param_1 + 0x1140))) {\n *(uint *)(param_1 + 0x110) = (uint)(*(int *)(param_1 + 0x110) == 0);\n *(undefined4 *)(param_1 + 0x1138) = 0;\n FUN... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV dword ptr [RBP + -0xc],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x1138]
TEST EAX,EAX
JZ 0x0013acb5
MOV RAX,qword ptr [RBP + -0x8]
MOV RA... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *ctx,type_1 var_1)
{
bool bVar1;
type_1 now_local;
void *ctx_local;
type_2 update;
type_3 *term;
bVar1 = false;
if ((*(int *)((long)ctx + 0x1138) != 0) && (var_1 == *(type_1 *)((long)ctx + 0x1140))) {
*... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_timer(void *ctx,ulong now)\n\n{\n bool bVar1;\n ulong now_local;\n void *ctx_local;\n wchar_t update;\n Terminal *term;\n \n bVar1 = false;\n if ((*(int *)((long)ctx + 0x1138) != 0) && (now == *(ulong *)((lo... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *ctx,type_1 var_1)\n\n{\n bool bVar1;\n type_1 now_local;\n void *ctx_local;\n type_2 update;\n type_3 *term;\n \n bVar1 = false;\n if ((*(int *)((long)ctx + 0x1138) != 0) && (var_1 == *(type_1 *)... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator... |
619_puttytel_and_puttytel_strip.c | ctrl_find_set | FUN_00120f2d | ctrl_find_set |
int ctrl_find_set(controlbox *b,char *path,int start)
{
int iVar1;
int start_local;
char *path_local;
controlbox *b_local;
int i;
int last;
int thisone;
last = 0;
i = 0;
while( true ) {
if (b->nctrlsets <= i) {
return b->nctrlsets;
}
iVar1 = ctrl_path_compare(path,b->ctrlsets[... |
int FUN_00120f2d(int *param_1,undefined8 param_2,int param_3)
{
int iVar1;
int local_14;
int local_10;
local_10 = 0;
local_14 = 0;
while( true ) {
if (*param_1 <= local_14) {
return *param_1;
}
iVar1 = FUN_00120cd0(param_2,**(undefined8 **)(*(long *)(param_1 + 2) + (long)local_14 * 8)... | (translation_unit "int FUN_00120f2d(int *param_1,undefined8 param_2,int param_3)\n\n{\n int iVar1;\n int local_14;\n int local_10;\n \n local_10 = 0;\n local_14 = 0;\n while( true ) {\n if (*param_1 <= local_14) {\n return *param_1;\n }\n iVar1 = FUN_00120cd0(param_2,**(undefined8 **)(*(long *)(par... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x28
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV dword ptr [RBP + -0x8],0x0
MOV dword ptr [RBP + -0xc],0x0
JMP 0x00120fa3
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x8]
MOV EDX,dword ptr [RBP + -0xc]
MOVSXD RDX,EDX
SHL R... |
int function_1(type_1 *b,char *path,int var_3)
{
int var_4;
int start_local;
char *path_local;
type_1 *b_local;
int var_1;
int var_5;
int thisone;
var_5 = 0;
var_1 = 0;
while( true ) {
if (b->nctrlsets <= var_1) {
return b->nctrlsets;
}
var_4 = var_2(path,b->ctrlsets[var_1]->p... | (translation_unit "int ctrl_find_set(controlbox *b,char *path,int start)\n\n{\n int iVar1;\n int start_local;\n char *path_local;\n controlbox *b_local;\n int i;\n int last;\n int thisone;\n \n last = 0;\n i = 0;\n while( true ) {\n if (b->nctrlsets <= i) {\n return b->nctrlsets;\n }\n iVar1 = ... | (translation_unit "int function_1(type_1 *b,char *path,int var_3)\n\n{\n int var_4;\n int start_local;\n char *path_local;\n type_1 *b_local;\n int var_1;\n int var_5;\n int thisone;\n \n var_5 = 0;\n var_1 = 0;\n while( true ) {\n if (b->nctrlsets <= var_1) {\n return b->nctrlsets;\n }\n var_4... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
928_puttytel_and_puttytel_strip.c | term_scroll_to_selection | FUN_00149204 | term_scroll_to_selection |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void term_scroll_to_selection(Terminal *term,wchar_t which_end)
{
wchar_t wVar1;
wchar_t which_end_local;
Terminal *term_local;
wchar_t y;
wchar_t sbtop;
pos target;
wVar1 = sblines(term);
y = -wVar1;
if (term->selstate == ... |
void FUN_00149204(long param_1,int param_2)
{
int local_18;
int local_10;
local_18 = FUN_0013a940(param_1);
local_18 = -local_18;
if (*(int *)(param_1 + 0xeb4) == 3) {
if (param_2 == 0) {
local_10 = (int)*(undefined8 *)(param_1 + 0xec0);
}
else {
local_10 = (int)*(undefined8 *)(pa... | (translation_unit "void FUN_00149204(long param_1,int param_2)\n\n{\n int local_18;\n int local_10;\n \n local_18 = FUN_0013a940(param_1);\n local_18 = -local_18;\n if (*(int *)(param_1 + 0xeb4) == 3) {\n if (param_2 == 0) {\n local_10 = (int)*(undefined8 *)(param_1 + 0xec0);\n }\n else {\n loc... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RAX,qword ptr [RBP + -0x18]
MOV RDI,RAX
CALL 0x0013a940
NEG EAX
MOV dword ptr [RBP + -0xc],EAX
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0xeb4]
CMP EAX,0x3
JNZ 0x001492a9
CMP dword ptr [RBP + -0x1c],0x0
... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *term,type_2 var_3)
{
type_2 var_5;
type_2 which_end_local;
type_1 *term_local;
type_2 var_4;
type_2 sbtop;
type_3 target;
var_5 = var_1(term);
var_4 = -var_5;
if (term->selstate == var_2) {
if (v... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_scroll_to_selection(Terminal *term,wchar_t which_end)\n\n{\n wchar_t wVar1;\n wchar_t which_end_local;\n Terminal *term_local;\n wchar_t y;\n wchar_t sbtop;\n pos target;\n \n wVar1 = sblines(term);\n y = -... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term,type_2 var_3)\n\n{\n type_2 var_5;\n type_2 which_end_local;\n type_1 *term_local;\n type_2 var_4;\n type_2 sbtop;\n type_3 target;\n \n var_5 = var_1(term);\n var_4 = -var_5;\n if (term... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato... |
1277_pscp_and_pscp_strip.c | fontspec_new | FUN_001851ea | fontspec_new |
FontSpec * fontspec_new(char *name)
{
FontSpec *pFVar1;
char *pcVar2;
char *name_local;
FontSpec *f;
pFVar1 = (FontSpec *)safemalloc(1,8);
pcVar2 = dupstr(name);
pFVar1->name = pcVar2;
return pFVar1;
}
|
undefined8 * FUN_001851ea(undefined8 param_1)
{
undefined8 *puVar1;
undefined8 uVar2;
puVar1 = (undefined8 *)FUN_0010fdaa(1,8);
uVar2 = FUN_0010ed16(param_1);
*puVar1 = uVar2;
return puVar1;
}
| (translation_unit "undefined8 * FUN_001851ea(undefined8 param_1)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n \n puVar1 = (undefined8 *)FUN_0010fdaa(1,8);\n uVar2 = FUN_0010ed16(param_1);\n *puVar1 = uVar2;\n return puVar1;\n}\n\n" (function_definition "undefined8 * FUN_001851ea(undefined8 param_1)\n\n{\n u... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV ESI,0x8
MOV EDI,0x1
CALL 0x0010fdaa
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RDI,RAX
CALL 0x0010ed16
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX],RDX
MOV RAX,qword ptr [RBP + -0x8]
LEAVE
RET |
type_1 * function_1(char *name)
{
type_1 *pFVar1;
char *pcVar2;
char *name_local;
type_1 *f;
pFVar1 = (type_1 *)var_1(1,8);
pcVar2 = var_2(name);
pFVar1->name = pcVar2;
return pFVar1;
}
| (translation_unit "FontSpec * fontspec_new(char *name)\n\n{\n FontSpec *pFVar1;\n char *pcVar2;\n char *name_local;\n FontSpec *f;\n \n pFVar1 = (FontSpec *)safemalloc(1,8);\n pcVar2 = dupstr(name);\n pFVar1->name = pcVar2;\n return pFVar1;\n}\n\n" (function_definition "FontSpec * fontspec_new(char *name)\n\n{... | (translation_unit "type_1 * function_1(char *name)\n\n{\n type_1 *pFVar1;\n char *pcVar2;\n char *name_local;\n type_1 *f;\n \n pFVar1 = (type_1 *)var_1(1,8);\n pcVar2 = var_2(name);\n pFVar1->name = pcVar2;\n return pFVar1;\n}\n\n" (function_definition "type_1 * function_1(char *name)\n\n{\n type_1 *pFVar1;\... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decl... |
627_puttytel_and_puttytel_strip.c | ctrl_columns | FUN_0012164e | ctrl_columns |
control * ctrl_columns(controlset *s,int ncolumns,...)
{
long lVar1;
char in_AL;
intorptr context;
intorptr helpctx;
control *pcVar2;
char *pcVar3;
undefined4 *puVar4;
undefined8 in_RCX;
undefined8 in_RDX;
ulong uVar5;
undefined8 in_R8;
undefined8 in_R9;
long in_FS_OFFSET;
undefined8 in_XM... |
long FUN_0012164e(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,
undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8,
long param_9,int param_10,undefined8 param_11,undefined8 param_12,
undefined8 param_13,undefined... | (translation_unit "long FUN_0012164e(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8,\n long param_9,int param_10,undefined8 param_11,undefined8 param_12,\n undefine... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0xf8
MOV qword ptr [RBP + -0xf8],RDI
MOV dword ptr [RBP + -0xfc],ESI
MOV qword ptr [RBP + -0xb0],RDX
MOV qword ptr [RBP + -0xa8],RCX
MOV qword ptr [RBP + -0xa0],R8
MOV qword ptr [RBP + -0x98],R9
TEST AL,AL
JZ 0x001216aa
MOVAPS xmmword ptr [RBP + -0x90],XMM0
MOVAPS xmmword ptr [RBP ... |
type_1 * function_1(type_2 *s,int var_5,...)
{
long var_10;
char var_1;
type_3 context;
type_3 helpctx;
type_1 *pcVar2;
char *pcVar3;
type_4 *puVar4;
type_5 in_RCX;
type_5 in_RDX;
type_6 var_9;
type_5 in_R8;
type_5 in_R9;
long var_2;
type_5 in_XMM0_Qa;
type_5 in_XMM1_Qa;
type_5 in_XMM2... | (translation_unit "control * ctrl_columns(controlset *s,int ncolumns,...)\n\n{\n long lVar1;\n char in_AL;\n intorptr context;\n intorptr helpctx;\n control *pcVar2;\n char *pcVar3;\n undefined4 *puVar4;\n undefined8 in_RCX;\n undefined8 in_RDX;\n ulong uVar5;\n undefined8 in_R8;\n undefined8 in_R9;\n long... | (translation_unit "type_1 * function_1(type_2 *s,int var_5,...)\n\n{\n long var_10;\n char var_1;\n type_3 context;\n type_3 helpctx;\n type_1 *pcVar2;\n char *pcVar3;\n type_4 *puVar4;\n type_5 in_RCX;\n type_5 in_RDX;\n type_6 var_9;\n type_5 in_R8;\n type_5 in_R9;\n long var_2;\n type_5 in_XMM0_Qa;\n ... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (pri... |
1039_pscp_and_pscp_strip.c | rsa_verify | FUN_0016ed81 | rsa_verify |
int rsa_verify(RSAKey *key)
{
Bignum pvVar1;
int iVar2;
Bignum_conflict pBVar3;
Bignum_conflict pBVar4;
RSAKey *key_local;
int cmp;
Bignum n;
Bignum pm1;
Bignum ed;
Bignum qm1;
Bignum tmp;
iVar2 = bignum_cmp((Bignum_conflict)key->modulus,Zero);
if (iVar2 == 0) {
iVar2 = 0;
}
else ... |
undefined8 FUN_0016ed81(long param_1)
{
int iVar1;
undefined8 uVar2;
undefined8 uVar3;
iVar1 = FUN_001542b3(*(undefined8 *)(param_1 + 8),PTR_DAT_001b5740);
if (iVar1 == 0) {
uVar2 = 0;
}
else {
uVar2 = FUN_00154b14(*(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28));
iVar1 = ... | (translation_unit "undefined8 FUN_0016ed81(long param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n \n iVar1 = FUN_001542b3(*(undefined8 *)(param_1 + 8),PTR_DAT_001b5740);\n if (iVar1 == 0) {\n uVar2 = 0;\n }\n else {\n uVar2 = FUN_00154b14(*(undefined8 *)(param_1 + 0x20),*(undefined8 *)(... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV RDX,qword ptr [0x001b5740]
MOV RAX,qword ptr [RBP + -0x38]
MOV RAX,qword ptr [RAX + 0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x001542b3
TEST EAX,EAX
JNZ 0x0016edb5
MOV EAX,0x0
JMP 0x0016f001
MOV RAX,qword ptr [RBP + -0x38]
MOV RDX,qword ptr [RAX + 0x28]
MOV... |
int function_1(type_1 *key)
{
type_2 pvVar1;
int var_2;
type_3 pBVar3;
type_3 pBVar4;
type_1 *key_local;
int cmp;
type_2 n;
type_2 pm1;
type_2 ed;
type_2 qm1;
type_2 tmp;
var_2 = var_1((type_3)key->modulus,Zero);
if (var_2 == 0) {
var_2 = 0;
}
else {
pBVar3 = var_3((type_3)key... | (translation_unit "int rsa_verify(RSAKey *key)\n\n{\n Bignum pvVar1;\n int iVar2;\n Bignum_conflict pBVar3;\n Bignum_conflict pBVar4;\n RSAKey *key_local;\n int cmp;\n Bignum n;\n Bignum pm1;\n Bignum ed;\n Bignum qm1;\n Bignum tmp;\n \n iVar2 = bignum_cmp((Bignum_conflict)key->modulus,Zero);\n if (iVar2 ... | (translation_unit "int function_1(type_1 *key)\n\n{\n type_2 pvVar1;\n int var_2;\n type_3 pBVar3;\n type_3 pBVar4;\n type_1 *key_local;\n int cmp;\n type_2 n;\n type_2 pm1;\n type_2 ed;\n type_2 qm1;\n type_2 tmp;\n \n var_2 = var_1((type_3)key->modulus,Zero);\n if (var_2 == 0) {\n var_2 = 0;\n }\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
1046_pscp_and_pscp_strip.c | rsa2_freekey | FUN_0016f579 | rsa2_freekey |
void rsa2_freekey(void *key)
{
void *key_local;
RSAKey *rsa;
freersakey((RSAKey *)key);
safefree(key);
return;
}
|
void FUN_0016f579(undefined8 param_1)
{
FUN_0016f1bf(param_1);
FUN_0010ffb6(param_1);
return;
}
| (translation_unit "void FUN_0016f579(undefined8 param_1)\n\n{\n FUN_0016f1bf(param_1);\n FUN_0010ffb6(param_1);\n return;\n}\n\n" (function_definition "void FUN_0016f579(undefined8 param_1)\n\n{\n FUN_0016f1bf(param_1);\n FUN_0010ffb6(param_1);\n return;\n}" primitive_type (function_declarator "FUN_0016f579(undef... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0016f1bf
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0010ffb6
NOP
LEAVE
RET |
void function_1(void *key)
{
void *key_local;
type_1 *rsa;
var_1((type_1 *)key);
var_2(key);
return;
}
| (translation_unit "void rsa2_freekey(void *key)\n\n{\n void *key_local;\n RSAKey *rsa;\n \n freersakey((RSAKey *)key);\n safefree(key);\n return;\n}\n\n" (function_definition "void rsa2_freekey(void *key)\n\n{\n void *key_local;\n RSAKey *rsa;\n \n freersakey((RSAKey *)key);\n safefree(key);\n return;\n}" p... | (translation_unit "void function_1(void *key)\n\n{\n void *key_local;\n type_1 *rsa;\n \n var_1((type_1 *)key);\n var_2(key);\n return;\n}\n\n" (function_definition "void function_1(void *key)\n\n{\n void *key_local;\n type_1 *rsa;\n \n var_1((type_1 *)key);\n var_2(key);\n return;\n}" primitive_type (funct... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
666_puttytel_and_puttytel_strip.c | flipThisRun | FUN_00124ee7 | flipThisRun |
void flipThisRun(bidi_char *from,uchar *level,wchar_t max,wchar_t count)
{
uint uVar1;
undefined2 uVar2;
uint uVar3;
uint uVar4;
ushort uVar5;
undefined2 uVar6;
bidi_char *pbVar7;
bidi_char *pbVar8;
wchar_t count_local;
wchar_t max_local;
uchar *level_local;
bidi_char *from_local;
wchar_t i;... |
void FUN_00124ee7(long param_1,long param_2,int param_3,int param_4)
{
undefined4 uVar1;
undefined8 uVar2;
undefined8 *puVar3;
undefined8 *puVar4;
int local_24;
int local_20;
int local_1c;
local_24 = 0;
local_20 = 0;
while ((local_24 < param_4 && (local_20 < param_4))) {
local_20 = FUN_0012... | (translation_unit "void FUN_00124ee7(long param_1,long param_2,int param_3,int param_4)\n\n{\n undefined4 uVar1;\n undefined8 uVar2;\n undefined8 *puVar3;\n undefined8 *puVar4;\n int local_24;\n int local_20;\n int local_1c;\n \n local_24 = 0;\n local_20 = 0;\n while ((local_24 < param_4 && (local_20 < param... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV dword ptr [RBP + -0x34],EDX
MOV dword ptr [RBP + -0x38],ECX
MOV dword ptr [RBP + -0x1c],0x0
MOV EAX,dword ptr [RBP + -0x1c]
MOV dword ptr [RBP + -0x18],EAX
JMP 0x00125015
MOV EAX,dword ptr [RBP + -0x34]
MOV dword ptr [... |
void function_1(type_1 *var_7,type_2 *level,type_3 var_5,type_3 var_2)
{
type_4 uVar1;
type_5 uVar2;
type_4 uVar3;
type_4 uVar4;
type_6 uVar5;
type_5 uVar6;
type_1 *pbVar7;
type_1 *pbVar8;
type_3 count_local;
type_3 max_local;
type_2 *level_local;
type_1 *from_local;
type_3 var_1;
type_3 v... | (translation_unit "void flipThisRun(bidi_char *from,uchar *level,wchar_t max,wchar_t count)\n\n{\n uint uVar1;\n undefined2 uVar2;\n uint uVar3;\n uint uVar4;\n ushort uVar5;\n undefined2 uVar6;\n bidi_char *pbVar7;\n bidi_char *pbVar8;\n wchar_t count_local;\n wchar_t max_local;\n uchar *level_local;\n bid... | (translation_unit "void function_1(type_1 *var_7,type_2 *level,type_3 var_5,type_3 var_2)\n\n{\n type_4 uVar1;\n type_5 uVar2;\n type_4 uVar3;\n type_4 uVar4;\n type_6 uVar5;\n type_5 uVar6;\n type_1 *pbVar7;\n type_1 *pbVar8;\n type_3 count_local;\n type_3 max_local;\n type_2 *level_local;\n type_1 *from_l... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
1026_pscp_and_pscp_strip.c | random_unref | FUN_0016dcd1 | random_unref |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void random_unref(void)
{
if (random_active < 1) {
/* WARNING: Subroutine does not return */
__assert_fail("random_active > 0","sshrand.c",0x140,"random_unref");
}
if (random_active == 1) {
random_save_seed... |
void FUN_0016dcd1(void)
{
if (DAT_001b5c60 < 1) {
/* WARNING: Subroutine does not return */
__assert_fail("random_active > 0","sshrand.c",0x140,"random_unref");
}
if (DAT_001b5c60 == 1) {
FUN_00188d41();
FUN_00180be3(&DAT_001b5c80);
}
DAT_001b5c60 = DAT_001b5c60 + -1;
retur... | (translation_unit "void FUN_0016dcd1(void)\n\n{\n if (DAT_001b5c60 < 1) {\n /* WARNING: Subroutine does not return */\n __assert_fail("random_active > 0","sshrand.c",0x140,"random_unref");\n }\n if (DAT_001b5c60 == 1) {\n FUN_00188d41();\n FUN_00180be3(&DAT_001b5c80);\n }\n DAT_001b5c60... | PUSH RBP
MOV RBP,RSP
MOV EAX,dword ptr [0x001b5c60]
TEST EAX,EAX
JG 0x0016dcfe
LEA RCX,[0x1a05d8]
MOV EDX,0x140
LEA RSI,[0x1a05a8]
LEA RDI,[0x1a05b2]
CALL 0x00107370
MOV EAX,dword ptr [0x001b5c60]
CMP EAX,0x1
JNZ 0x0016dd1a
CALL 0x00188d41
LEA RDI,[0x1b5c80]
CALL 0x00180be3
MOV EAX,dword ptr [0x001b5c60]
SUB EAX,0x1
MO... |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
if (var_1 < 1) {
/* WARNING: Subroutine does not return */
var_2("random_active > 0","sshrand.c",0x140,"random_unref");
}
if (var_1 == 1) {
var_3();
var_4(&pool);
}
var_1 = v... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid random_unref(void)\n\n{\n if (random_active < 1) {\n /* WARNING: Subroutine does not return */\n __assert_fail("random_active > 0","sshrand.c",0x140,"random_unref");\n }\n if (random_active =... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n if (var_1 < 1) {\n /* WARNING: Subroutine does not return */\n var_2("random_active > 0","sshrand.c",0x140,"random_unref");\n }\n if (var_1 == 1) {\n var_3();\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier... |
1237_pscp_and_pscp_strip.c | cleanup_exit | FUN_001835bf | cleanup_exit |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void cleanup_exit(int code)
{
int code_local;
sk_cleanup();
random_save_seed();
/* WARNING: Subroutine does not return */
exit(code);
}
|
void FUN_001835bf(int param_1)
{
FUN_0018565b();
FUN_00188d41();
/* WARNING: Subroutine does not return */
exit(param_1);
}
| (translation_unit "void FUN_001835bf(int param_1)\n\n{\n FUN_0018565b();\n FUN_00188d41();\n /* WARNING: Subroutine does not return */\n exit(param_1);\n}\n\n" (function_definition "void FUN_001835bf(int param_1)\n\n{\n FUN_0018565b();\n FUN_00188d41();\n /* WARNING: Subroutin... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV dword ptr [RBP + -0x4],EDI
CALL 0x0018565b
CALL 0x00188d41
MOV EAX,dword ptr [RBP + -0x4]
MOV EDI,EAX
CALL 0x001077b0 |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(int code)
{
int code_local;
var_1();
var_2();
/* WARNING: Subroutine does not return */
var_3(code);
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid cleanup_exit(int code)\n\n{\n int code_local;\n \n sk_cleanup();\n random_save_seed();\n /* WARNING: Subroutine does not return */\n exit(code);\n}\n\n" comment (function_definition "void cleanup_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(int code)\n\n{\n int code_local;\n \n var_1();\n var_2();\n /* WARNING: Subroutine does not return */\n var_3(code);\n}\n\n" comment (function_definition "void function_1(int code)\n\n{... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) ... |
869_puttytel_and_puttytel_strip.c | move_termchar | FUN_00139427 | move_termchar |
void move_termchar(termline *line,termchar *dest,termchar *src)
{
ulong uVar1;
undefined4 uVar2;
termchar *src_local;
termchar *dest_local;
termline *line_local;
clear_cc(line,(int)((long)dest - (long)line->chars >> 3) * -0x55555555);
uVar1 = src->attr;
dest->chr = src->chr;
dest->attr = uVar1;
... |
void FUN_00139427(long param_1,undefined8 *param_2,undefined8 *param_3)
{
undefined8 uVar1;
FUN_001390e0(param_1,(int)((long)param_2 - *(long *)(param_1 + 0x18) >> 3) * -0x55555555);
uVar1 = param_3[1];
*param_2 = *param_3;
param_2[1] = uVar1;
param_2[2] = param_3[2];
if (*(int *)(param_3 + 2) != 0) ... | (translation_unit "void FUN_00139427(long param_1,undefined8 *param_2,undefined8 *param_3)\n\n{\n undefined8 uVar1;\n \n FUN_001390e0(param_1,(int)((long)param_2 - *(long *)(param_1 + 0x18) >> 3) * -0x55555555);\n uVar1 = param_3[1];\n *param_2 = *param_3;\n param_2[1] = uVar1;\n param_2[2] = param_3[2];\n if (... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x18]
MOV RDX,qword ptr [RBP + -0x10]
SUB RDX,RAX
MOV RAX,RDX
SAR RAX,0x3
MOV RDX,RAX
MOV RAX,-0x5555555555555555
IMUL RAX,RDX
MOV EDX,... |
void function_1(type_1 *line,type_2 *dest,type_2 *src)
{
type_3 uVar1;
type_4 uVar2;
type_2 *src_local;
type_2 *dest_local;
type_1 *line_local;
var_1(line,(int)((long)dest - (long)line->chars >> 3) * -0x55555555);
uVar1 = src->attr;
dest->chr = src->chr;
dest->attr = uVar1;
uVar2 = *(type_4 *)&... | (translation_unit "void move_termchar(termline *line,termchar *dest,termchar *src)\n\n{\n ulong uVar1;\n undefined4 uVar2;\n termchar *src_local;\n termchar *dest_local;\n termline *line_local;\n \n clear_cc(line,(int)((long)dest - (long)line->chars >> 3) * -0x55555555);\n uVar1 = src->attr;\n dest->chr = src-... | (translation_unit "void function_1(type_1 *line,type_2 *dest,type_2 *src)\n\n{\n type_3 uVar1;\n type_4 uVar2;\n type_2 *src_local;\n type_2 *dest_local;\n type_1 *line_local;\n \n var_1(line,(int)((long)dest - (long)line->chars >> 3) * -0x55555555);\n uVar1 = src->attr;\n dest->chr = src->chr;\n dest->attr =... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
1312_pscp_and_pscp_strip.c | sk_tcp_write | FUN_001876fa | sk_tcp_write |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int sk_tcp_write(Socket sock,char *buf,int len)
{
int iVar1;
int len_local;
char *buf_local;
Socket sock_local;
Actual_Socket_conflict s;
if (*(int *)(sock + 0xb) != 0) {
/* WARNING: Subroutine does not return... |
void FUN_001876fa(long param_1,undefined8 param_2,undefined4 param_3)
{
if (*(int *)(param_1 + 0x58) != 0) {
/* WARNING: Subroutine does not return */
__assert_fail("s->outgoingeof == EOF_NO","unix/uxnet.c",0x4ad,"sk_tcp_write");
}
FUN_0010f984(param_1 + 0x20,param_2,param_3);
if (*(in... | (translation_unit "void FUN_001876fa(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n if (*(int *)(param_1 + 0x58) != 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("s->outgoingeof == EOF_NO","unix/uxnet.c",0x4ad,"sk_tcp_write");\n }\n FUN_0010f984(param_1 + 0x20,par... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x58]
TEST EAX,EAX
JZ 0x0018773f
LEA RCX,[0x1a3120]
MOV EDX,0x4ad
LEA R... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 var_1,char *buf,int len)
{
int iVar1;
int len_local;
char *buf_local;
type_1 sock_local;
type_2 s;
if (*(int *)(var_1 + 0xb) != 0) {
/* WARNING: Subroutine does not return */
var_2("s... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint sk_tcp_write(Socket sock,char *buf,int len)\n\n{\n int iVar1;\n int len_local;\n char *buf_local;\n Socket sock_local;\n Actual_Socket_conflict s;\n \n if (*(int *)(sock + 0xb) != 0) {\n /* WARNI... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 var_1,char *buf,int len)\n\n{\n int iVar1;\n int len_local;\n char *buf_local;\n type_1 sock_local;\n type_2 s;\n \n if (*(int *)(var_1 + 0xb) != 0) {\n /* WARNING: Subroutine d... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator:... |
1070_pscp_and_pscp_strip.c | sha256_bytes | FUN_00171ed7 | sha256_bytes |
void sha256_bytes(void *handle,void *p,int len)
{
int len_local;
void *p_local;
void *handle_local;
SHA256_State *s;
SHA256_Bytes((SHA256_State *)handle,p,len);
return;
}
|
void FUN_00171ed7(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
FUN_00171946(param_1,param_2,param_3);
return;
}
| (translation_unit "void FUN_00171ed7(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00171946(param_1,param_2,param_3);\n return;\n}\n\n" (function_definition "void FUN_00171ed7(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00171946(param_1,param_2,param_3);\n return;\n}"... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV EDX,dword ptr [RBP + -0x24]
MOV RCX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x0... |
void function_1(void *handle,void *p,int len)
{
int len_local;
void *p_local;
void *handle_local;
type_1 *s;
var_1((type_1 *)handle,p,len);
return;
}
| (translation_unit "void sha256_bytes(void *handle,void *p,int len)\n\n{\n int len_local;\n void *p_local;\n void *handle_local;\n SHA256_State *s;\n \n SHA256_Bytes((SHA256_State *)handle,p,len);\n return;\n}\n\n" (function_definition "void sha256_bytes(void *handle,void *p,int len)\n\n{\n int len_local;\n voi... | (translation_unit "void function_1(void *handle,void *p,int len)\n\n{\n int len_local;\n void *p_local;\n void *handle_local;\n type_1 *s;\n \n var_1((type_1 *)handle,p,len);\n return;\n}\n\n" (function_definition "void function_1(void *handle,void *p,int len)\n\n{\n int len_local;\n void *p_local;\n void *ha... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
591_puttytel_and_puttytel_strip.c | config_port_handler | FUN_001181af | config_port_handler |
void config_port_handler(control *ctrl,void *dlg,void *data,int event)
{
long lVar1;
int iVar2;
uint uVar3;
int iVar4;
char *__nptr;
long in_FS_OFFSET;
int event_local;
void *data_local;
void *dlg_local;
control *ctrl_local;
int i;
Conf *conf;
char *s;
char buf [80];
lVar1 = *(long *)... |
void FUN_001181af(undefined8 param_1,undefined8 param_2,undefined8 param_3,int param_4)
{
int iVar1;
uint uVar2;
int iVar3;
char *__nptr;
long in_FS_OFFSET;
char local_68 [88];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (param_4 == 0) {
iVar1 = FUN_001163b3(param_3,2);
i... | (translation_unit "void FUN_001181af(undefined8 param_1,undefined8 param_2,undefined8 param_3,int param_4)\n\n{\n int iVar1;\n uint uVar2;\n int iVar3;\n char *__nptr;\n long in_FS_OFFSET;\n char local_68 [88];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (param_4 == 0) {\n iVar1 =... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xa0
MOV qword ptr [RBP + -0x88],RDI
MOV qword ptr [RBP + -0x90],RSI
MOV qword ptr [RBP + -0x98],RDX
MOV dword ptr [RBP + -0x9c],ECX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x98]
MOV qword ptr [RBP + -0x70],RAX
CMP dword ptr [RBP + -0... |
void function_1(type_1 *ctrl,void *dlg,void *data,int var_2)
{
long var_13;
int var_4;
type_2 uVar3;
int var_11;
char *__nptr;
long var_1;
int event_local;
void *data_local;
void *dlg_local;
type_1 *ctrl_local;
int i;
type_3 *conf;
char *s;
char buf [80];
var_13 = *(long *)(var_1 + 0x... | (translation_unit "void config_port_handler(control *ctrl,void *dlg,void *data,int event)\n\n{\n long lVar1;\n int iVar2;\n uint uVar3;\n int iVar4;\n char *__nptr;\n long in_FS_OFFSET;\n int event_local;\n void *data_local;\n void *dlg_local;\n control *ctrl_local;\n int i;\n Conf *conf;\n char *s;\n cha... | (translation_unit "void function_1(type_1 *ctrl,void *dlg,void *data,int var_2)\n\n{\n long var_13;\n int var_4;\n type_2 uVar3;\n int var_11;\n char *__nptr;\n long var_1;\n int event_local;\n void *data_local;\n void *dlg_local;\n type_1 *ctrl_local;\n int i;\n type_3 *conf;\n char *s;\n char buf [80];\... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
1225_pscp_and_pscp_strip.c | del234 | FUN_00182dbf | del234 |
void * del234(tree234 *t,void *e)
{
void *pvVar1;
long in_FS_OFFSET;
void *e_local;
tree234 *t_local;
int index;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
pvVar1 = findrelpos234(t,e,(cmpfn234)0x0,0,&index);
if (pvVar1 == (void *)0x0) {
pvVar1 = (void *)0x0;
}
else {
pv... |
undefined8 FUN_00182dbf(undefined8 param_1,undefined8 param_2)
{
long lVar1;
undefined8 uVar2;
long in_FS_OFFSET;
undefined4 local_14;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
lVar1 = FUN_00181c19(param_1,param_2,0,0,&local_14);
if (lVar1 == 0) {
uVar2 = 0;
}
else {
uVa... | (translation_unit "undefined8 FUN_00182dbf(undefined8 param_1,undefined8 param_2)\n\n{\n long lVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n undefined4 local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n lVar1 = FUN_00181c19(param_1,param_2,0,0,&local_14);\n if (lVar1 == 0) {\n u... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RDX,[RBP + -0xc]
MOV RSI,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV R8,RDX
MOV ECX,0x0
MOV EDX,0x0
MOV RDI,RAX
CALL 0x00181c19
TES... |
void * function_1(type_1 *t,void *e)
{
void *var_3;
long var_1;
void *e_local;
type_1 *t_local;
int index;
long var_5;
var_5 = *(long *)(var_1 + 0x28);
var_3 = var_2(t,e,(type_2)0x0,0,&index);
if (var_3 == (void *)0x0) {
var_3 = (void *)0x0;
}
else {
var_3 = var_4(t,index);
}
if (... | (translation_unit "void * del234(tree234 *t,void *e)\n\n{\n void *pvVar1;\n long in_FS_OFFSET;\n void *e_local;\n tree234 *t_local;\n int index;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n pvVar1 = findrelpos234(t,e,(cmpfn234)0x0,0,&index);\n if (pvVar1 == (void *)0x0) {\n pvVar1 = (... | (translation_unit "void * function_1(type_1 *t,void *e)\n\n{\n void *var_3;\n long var_1;\n void *e_local;\n type_1 *t_local;\n int index;\n long var_5;\n \n var_5 = *(long *)(var_1 + 0x28);\n var_3 = var_2(t,e,(type_2)0x0,0,&index);\n if (var_3 == (void *)0x0) {\n var_3 = (void *)0x0;\n }\n else {\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
653_puttytel_and_puttytel_strip.c | logwrite | FUN_001239a9 | logwrite |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void logwrite(LogContext *ctx,void *data,int len)
{
size_t sVar1;
int len_local;
void *data_local;
LogContext *ctx_local;
if (ctx->state == ADDRTYPE_UNSPEC) {
logfopen(ctx);
}
if (ctx->state == ABOUT_TO) {
bufchain_add(... |
void FUN_001239a9(long *param_1,void *param_2,int param_3)
{
size_t sVar1;
if (*(int *)(param_1 + 1) == 0) {
FUN_00123fa7(param_1);
}
if (*(int *)(param_1 + 1) == 1) {
FUN_001293bb(param_1 + 2,param_2,param_3);
}
else if (*(int *)(param_1 + 1) == 2) {
if (*param_1 == 0) {
... | (translation_unit "void FUN_001239a9(long *param_1,void *param_2,int param_3)\n\n{\n size_t sVar1;\n \n if (*(int *)(param_1 + 1) == 0) {\n FUN_00123fa7(param_1);\n }\n if (*(int *)(param_1 + 1) == 1) {\n FUN_001293bb(param_1 + 2,param_2,param_3);\n }\n else if (*(int *)(param_1 + 1) == 2) {\n if (*para... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x8]
TEST EAX,EAX
JNZ 0x001239d3
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00123fa7
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dwor... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *ctx,void *data,int len)
{
size_t var_8;
int len_local;
void *data_local;
type_1 *ctx_local;
if (ctx->state == var_1) {
var_2(ctx);
}
if (ctx->state == var_3) {
var_4(&ctx->queue,data,len);
}
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid logwrite(LogContext *ctx,void *data,int len)\n\n{\n size_t sVar1;\n int len_local;\n void *data_local;\n LogContext *ctx_local;\n \n if (ctx->state == ADDRTYPE_UNSPEC) {\n logfopen(ctx);\n }\n if (ctx->state =... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *ctx,void *data,int len)\n\n{\n size_t var_8;\n int len_local;\n void *data_local;\n type_1 *ctx_local;\n \n if (ctx->state == var_1) {\n var_2(ctx);\n }\n if (ctx->state == var_3) {\n var... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator... |
741_puttytel_and_puttytel_strip.c | sk_proxy_flush | FUN_0012a976 | sk_proxy_flush |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sk_proxy_flush(Socket s)
{
Socket s_local;
Proxy_Socket ps;
if (*(int *)((long)s + 0x84) == 0) {
(**(code **)(s[2]->plug + 0x28))(s[2]);
}
else {
*(undefined4 *)(s + 0xc) = 1;
}
return;
}
|
void FUN_0012a976(long param_1)
{
if (*(int *)(param_1 + 0x84) == 0) {
(**(code **)(**(long **)(param_1 + 0x10) + 0x28))(*(undefined8 *)(param_1 + 0x10));
}
else {
*(undefined4 *)(param_1 + 0x60) = 1;
}
return;
}
| (translation_unit "void FUN_0012a976(long param_1)\n\n{\n if (*(int *)(param_1 + 0x84) == 0) {\n (**(code **)(**(long **)(param_1 + 0x10) + 0x28))(*(undefined8 *)(param_1 + 0x10));\n }\n else {\n *(undefined4 *)(param_1 + 0x60) = 1;\n }\n return;\n}\n\n" (function_definition "void FUN_0012a976(long param_1)\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x84]
TEST EAX,EAX
JZ 0x0012a9a5
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x60],0x1
JMP 0x0012a9c1
MOV RAX,qword ptr [RBP + ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_1)
{
type_1 s_local;
type_2 ps;
if (*(int *)((long)var_1 + 0x84) == 0) {
(**(type_3 **)(var_1[2]->plug + 0x28))(var_1[2]);
}
else {
*(type_4 *)(var_1 + 0xc) = 1;
}
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sk_proxy_flush(Socket s)\n\n{\n Socket s_local;\n Proxy_Socket ps;\n \n if (*(int *)((long)s + 0x84) == 0) {\n (**(code **)(s[2]->plug + 0x28))(s[2]);\n }\n else {\n *(undefined4 *)(s + 0xc) = 1;\n }\n retu... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_1)\n\n{\n type_1 s_local;\n type_2 ps;\n \n if (*(int *)((long)var_1 + 0x84) == 0) {\n (**(type_3 **)(var_1[2]->plug + 0x28))(var_1[2]);\n }\n else {\n *(type_4 *)(var_1 + 0xc) = 1;\n }... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)... |
711_puttytel_and_puttytel_strip.c | safemalloc | FUN_001297e1 | safemalloc |
void * safemalloc(size_t n,size_t size)
{
long lVar1;
undefined auVar2 [16];
long in_FS_OFFSET;
size_t size_local;
size_t n_local;
void *p;
char str [200];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
auVar2._8_8_ = 0;
auVar2._0_8_ = size;
if (SUB168((ZEXT816(0) << 0x40 | ZEXT816(0x7fffffff)) / au... |
void * FUN_001297e1(ulong param_1,ulong param_2)
{
undefined auVar1 [16];
long in_FS_OFFSET;
size_t local_f8;
void *local_e0;
undefined8 local_d8;
undefined4 local_d0;
undefined2 local_cc;
undefined local_ca;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
auVar1._8_8_ = 0;
auVar1... | (translation_unit "void * FUN_001297e1(ulong param_1,ulong param_2)\n\n{\n undefined auVar1 [16];\n long in_FS_OFFSET;\n size_t local_f8;\n void *local_e0;\n undefined8 local_d8;\n undefined4 local_d0;\n undefined2 local_cc;\n undefined local_ca;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xf0
MOV qword ptr [RBP + -0xe8],RDI
MOV qword ptr [RBP + -0xf0],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,0x7fffffff
MOV EDX,0x0
DIV qword ptr [RBP + -0xf0]
CMP qword ptr [RBP + -0xe8],RAX
JBE 0x00129830
MOV qword ptr [RBP + -0xd8],0x0
JMP 0x0012987... |
void * function_1(size_t var_5,size_t var_6)
{
long var_12;
type_1 var_4 [16];
long var_1;
size_t var_7;
size_t n_local;
void *var_9;
char str [200];
var_12 = *(long *)(var_1 + 0x28);
var_4._8_8_ = 0;
var_4._0_8_ = var_6;
if (var_2((var_3(0) << 0x40 | var_3(0x7fffffff)) / var_4,0) < var_5) {
... | (translation_unit "void * safemalloc(size_t n,size_t size)\n\n{\n long lVar1;\n undefined auVar2 [16];\n long in_FS_OFFSET;\n size_t size_local;\n size_t n_local;\n void *p;\n char str [200];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n auVar2._8_8_ = 0;\n auVar2._0_8_ = size;\n if (SUB168((ZEXT816(0) << ... | (translation_unit "void * function_1(size_t var_5,size_t var_6)\n\n{\n long var_12;\n type_1 var_4 [16];\n long var_1;\n size_t var_7;\n size_t n_local;\n void *var_9;\n char str [200];\n \n var_12 = *(long *)(var_1 + 0x28);\n var_4._8_8_ = 0;\n var_4._0_8_ = var_6;\n if (var_2((var_3(0) << 0x40 | var_3(0x7... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifie... |
915_puttytel_and_puttytel_strip.c | toggle_mode | FUN_0013edd8 | toggle_mode |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void toggle_mode(Terminal *term,wchar_t mode,wchar_t query,wchar_t state)
{
ulong uVar1;
wchar_t wVar2;
wchar_t state_local;
wchar_t query_local;
wchar_t mode_local;
Terminal *term_local;
if (query == L'\0') {
if (mode == L... |
void FUN_0013edd8(uint *param_1,int param_2,int param_3,uint param_4)
{
undefined8 uVar1;
uint uVar2;
if (param_3 == 0) {
if (param_2 == 0xc) {
param_1[0x46] = (uint)(param_4 == 0);
if (*(long *)(param_1 + 0x440) != 0) {
FUN_001228f9(*(undefined8 *)(param_1 + 0x440));
}
}
... | (translation_unit "void FUN_0013edd8(uint *param_1,int param_2,int param_3,uint param_4)\n\n{\n undefined8 uVar1;\n uint uVar2;\n \n if (param_3 == 0) {\n if (param_2 == 0xc) {\n param_1[0x46] = (uint)(param_4 == 0);\n if (*(long *)(param_1 + 0x440) != 0) {\n FUN_001228f9(*(undefined8 *)(param_1... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV dword ptr [RBP + -0x10],EDX
MOV dword ptr [RBP + -0x14],ECX
CMP dword ptr [RBP + -0x10],0x0
JZ 0x0013f452
CMP dword ptr [RBP + -0xc],0x19
JZ 0x0013f14f
CMP dword ptr [RBP + -0xc],0x19
JG 0x0013ee67
CMP dword ptr [RBP + -... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *term,type_2 var_2,type_2 var_1,type_2 var_3)
{
type_3 uVar1;
type_2 wVar2;
type_2 state_local;
type_2 query_local;
type_2 mode_local;
type_1 *term_local;
if (var_1 == L'\0') {
if (var_2 == L'\f') {
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid toggle_mode(Terminal *term,wchar_t mode,wchar_t query,wchar_t state)\n\n{\n ulong uVar1;\n wchar_t wVar2;\n wchar_t state_local;\n wchar_t query_local;\n wchar_t mode_local;\n Terminal *term_local;\n \n if (query... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term,type_2 var_2,type_2 var_1,type_2 var_3)\n\n{\n type_3 uVar1;\n type_2 wVar2;\n type_2 state_local;\n type_2 query_local;\n type_2 mode_local;\n type_1 *term_local;\n \n if (var_1 == L'\0')... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato... |
1086_pscp_and_pscp_strip.c | SHA512_Init | FUN_001765ac | SHA512_Init |
int SHA512_Init(SHA512_CTX *c)
{
SHA512_State *s_local;
int i;
SHA512_Core_Init((SHA512_State *)c);
*(undefined4 *)(c[1].h + 5) = 0;
for (i = 0; i < 4; i = i + 1) {
*(undefined4 *)((long)c[1].h + (long)i * 4 + 0x2c) = 0;
}
return (int)c;
}
|
void FUN_001765ac(long param_1)
{
undefined4 local_c;
FUN_0017258e(param_1);
*(undefined4 *)(param_1 + 0x100) = 0;
for (local_c = 0; local_c < 4; local_c = local_c + 1) {
*(undefined4 *)(param_1 + 4 + ((long)local_c + 0x40) * 4) = 0;
}
return;
}
| (translation_unit "void FUN_001765ac(long param_1)\n\n{\n undefined4 local_c;\n \n FUN_0017258e(param_1);\n *(undefined4 *)(param_1 + 0x100) = 0;\n for (local_c = 0; local_c < 4; local_c = local_c + 1) {\n *(undefined4 *)(param_1 + 4 + ((long)local_c + 0x40) * 4) = 0;\n }\n return;\n}\n\n" (function_definitio... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x18
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV RDI,RAX
CALL 0x0017258e
MOV RAX,qword ptr [RBP + -0x18]
MOV dword ptr [RAX + 0x100],0x0
MOV dword ptr [RBP + -0x4],0x0
JMP 0x001765f5
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX,dword ptr [RBP + -0x4]
MOVSXD RDX,EDX
ADD RD... |
int function_1(type_1 *c)
{
type_2 *s_local;
int var_2;
var_1((type_2 *)c);
*(type_3 *)(c[1].h + 5) = 0;
for (var_2 = 0; var_2 < 4; var_2 = var_2 + 1) {
*(type_3 *)((long)c[1].h + (long)var_2 * 4 + 0x2c) = 0;
}
return (int)c;
}
| (translation_unit "int SHA512_Init(SHA512_CTX *c)\n\n{\n SHA512_State *s_local;\n int i;\n \n SHA512_Core_Init((SHA512_State *)c);\n *(undefined4 *)(c[1].h + 5) = 0;\n for (i = 0; i < 4; i = i + 1) {\n *(undefined4 *)((long)c[1].h + (long)i * 4 + 0x2c) = 0;\n }\n return (int)c;\n}\n\n" (function_definition "... | (translation_unit "int function_1(type_1 *c)\n\n{\n type_2 *s_local;\n int var_2;\n \n var_1((type_2 *)c);\n *(type_3 *)(c[1].h + 5) = 0;\n for (var_2 = 0; var_2 < 4; var_2 = var_2 + 1) {\n *(type_3 *)((long)c[1].h + (long)var_2 * 4 + 0x2c) = 0;\n }\n return (int)c;\n}\n\n" (function_definition "int function... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
592_puttytel_and_puttytel_strip.c | config_protocolbuttons_handler | FUN_0011837f | config_protocolbuttons_handler |
void config_protocolbuttons_handler(control *ctrl,void *dlg,void *data,int event)
{
undefined8 *puVar1;
int iVar2;
int iVar3;
Backend *pBVar4;
Backend *pBVar5;
int event_local;
void *data_local;
void *dlg_local;
control *ctrl_local;
int button;
int protocol;
int oldproto;
int newproto;
int... |
void FUN_0011837f(long param_1,undefined8 param_2,undefined8 param_3,int param_4)
{
undefined8 *puVar1;
int iVar2;
int iVar3;
long lVar4;
long lVar5;
int local_3c;
puVar1 = *(undefined8 **)(param_1 + 0x20);
if (param_4 == 0) {
iVar2 = FUN_001163b3(param_3,2);
local_3c = 0;
while ((local... | (translation_unit "void FUN_0011837f(long param_1,undefined8 param_2,undefined8 param_3,int param_4)\n\n{\n undefined8 *puVar1;\n int iVar2;\n int iVar3;\n long lVar4;\n long lVar5;\n int local_3c;\n \n puVar1 = *(undefined8 **)(param_1 + 0x20);\n if (param_4 == 0) {\n iVar2 = FUN_001163b3(param_3,2);\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x48],RDI
MOV qword ptr [RBP + -0x50],RSI
MOV qword ptr [RBP + -0x58],RDX
MOV dword ptr [RBP + -0x5c],ECX
MOV RAX,qword ptr [RBP + -0x58]
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP + -0x48]
MOV RAX,qword ptr [RAX + 0x20]
MOV qword ptr [RBP + -0x18],RAX... |
void function_1(type_1 *ctrl,void *dlg,void *data,int var_1)
{
type_2 *puVar1;
int var_4;
int var_8;
type_3 *var_11;
type_3 *var_12;
int event_local;
void *data_local;
void *dlg_local;
type_1 *ctrl_local;
int var_3;
int protocol;
int oldproto;
int newproto;
int port;
type_4 *conf;
type... | (translation_unit "void config_protocolbuttons_handler(control *ctrl,void *dlg,void *data,int event)\n\n{\n undefined8 *puVar1;\n int iVar2;\n int iVar3;\n Backend *pBVar4;\n Backend *pBVar5;\n int event_local;\n void *data_local;\n void *dlg_local;\n control *ctrl_local;\n int button;\n int protocol;\n int... | (translation_unit "void function_1(type_1 *ctrl,void *dlg,void *data,int var_1)\n\n{\n type_2 *puVar1;\n int var_4;\n int var_8;\n type_3 *var_11;\n type_3 *var_12;\n int event_local;\n void *data_local;\n void *dlg_local;\n type_1 *ctrl_local;\n int var_3;\n int protocol;\n int oldproto;\n int newproto;\n... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
1123_pscp_and_pscp_strip.c | hmacsha1_96_genresult | FUN_001782b4 | hmacsha1_96_genresult |
void hmacsha1_96_genresult(void *handle,uchar *hmac)
{
long lVar1;
long in_FS_OFFSET;
uchar *hmac_local;
void *handle_local;
uchar full [20];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
hmacsha1_genresult(handle,full);
memcpy(hmac,full,0xc);
if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {
... |
void FUN_001782b4(undefined8 param_1,void *param_2)
{
long in_FS_OFFSET;
undefined local_28 [24];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_00177f48(param_1,local_28);
memcpy(param_2,local_28,0xc);
if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {
/* WARNING: S... | (translation_unit "void FUN_001782b4(undefined8 param_1,void *param_2)\n\n{\n long in_FS_OFFSET;\n undefined local_28 [24];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_00177f48(param_1,local_28);\n memcpy(param_2,local_28,0xc);\n if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RDX,[RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x28]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00177f48
LEA RCX,[RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x30]
MOV... |
void function_1(void *handle,type_1 *hmac)
{
long var_4;
long var_1;
type_1 *hmac_local;
void *handle_local;
type_1 full [20];
var_4 = *(long *)(var_1 + 0x28);
var_2(handle,full);
var_3(hmac,full,0xc);
if (var_4 != *(long *)(var_1 + 0x28)) {
/* WARNING: Subroutine does not ret... | (translation_unit "void hmacsha1_96_genresult(void *handle,uchar *hmac)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n uchar *hmac_local;\n void *handle_local;\n uchar full [20];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n hmacsha1_genresult(handle,full);\n memcpy(hmac,full,0xc);\n if (lVar1 != *(long *)(in_FS_... | (translation_unit "void function_1(void *handle,type_1 *hmac)\n\n{\n long var_4;\n long var_1;\n type_1 *hmac_local;\n void *handle_local;\n type_1 full [20];\n \n var_4 = *(long *)(var_1 + 0x28);\n var_2(handle,full);\n var_3(hmac,full,0xc);\n if (var_4 != *(long *)(var_1 + 0x28)) {\n /* W... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
542_puttytel_and_puttytel_strip.c | charset_to_unicode | FUN_00112fdd | charset_to_unicode |
wchar_t charset_to_unicode(char **input,wchar_t *inlen,wchar_t *output,wchar_t outlen,
wchar_t charset,charset_state *state,wchar_t *errstr,wchar_t errlen)
{
long lVar1;
wchar_t wVar2;
charset_spec_conflict *pcVar3;
long in_FS_OFFSET;
wchar_t *errstr_local;
charset_state *state_l... |
ulong FUN_00112fdd(long *param_1,int *param_2,long param_3,undefined4 param_4,undefined4 param_5,
undefined8 *param_6,undefined8 param_7,undefined4 param_8)
{
long lVar1;
ulong uVar2;
long in_FS_OFFSET;
undefined8 local_48;
long local_40;
long local_38;
undefined4 local_30;
undefined... | (translation_unit "ulong FUN_00112fdd(long *param_1,int *param_2,long param_3,undefined4 param_4,undefined4 param_5,\n undefined8 *param_6,undefined8 param_7,undefined4 param_8)\n\n{\n long lVar1;\n ulong uVar2;\n long in_FS_OFFSET;\n undefined8 local_48;\n long local_40;\n long local_38;\n unde... | PUSH RBP
MOV RBP,RSP
ADD RSP,-0x80
MOV qword ptr [RBP + -0x58],RDI
MOV qword ptr [RBP + -0x60],RSI
MOV qword ptr [RBP + -0x68],RDX
MOV dword ptr [RBP + -0x6c],ECX
MOV dword ptr [RBP + -0x70],R8D
MOV qword ptr [RBP + -0x78],R9
MOV RAX,qword ptr [RBP + 0x10]
MOV qword ptr [RBP + -0x80],RAX
MOV RAX,qword ptr FS:[0x28]
MOV... |
type_1 function_1(char **input,type_1 *inlen,type_1 *output,type_1 outlen,
type_1 charset,type_2 *var_3,type_1 *errstr,type_1 errlen)
{
long var_4;
type_1 wVar2;
type_3 *pcVar3;
long var_1;
type_1 *errstr_local;
type_2 *state_local;
type_1 charset_local;
type_1 outlen_local;
... | (translation_unit "wchar_t charset_to_unicode(char **input,wchar_t *inlen,wchar_t *output,wchar_t outlen,\n wchar_t charset,charset_state *state,wchar_t *errstr,wchar_t errlen)\n\n{\n long lVar1;\n wchar_t wVar2;\n charset_spec_conflict *pcVar3;\n long in_FS_OFFSET;\n wchar_t *errstr_local... | (translation_unit "type_1 function_1(char **input,type_1 *inlen,type_1 *output,type_1 outlen,\n type_1 charset,type_2 *var_3,type_1 *errstr,type_1 errlen)\n\n{\n long var_4;\n type_1 wVar2;\n type_3 *pcVar3;\n long var_1;\n type_1 *errstr_local;\n type_2 *state_local;\n type_1 charset_lo... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (parameter_declaration type: (typ... |
639_puttytel_and_puttytel_strip.c | ctrl_checkbox | FUN_001222b6 | ctrl_checkbox |
control * ctrl_checkbox(controlset *s,char *label,char shortcut,intorptr helpctx,handler_fn handler,
intorptr context)
{
control *pcVar1;
char *pcVar2;
intorptr context_local;
handler_fn handler_local;
intorptr helpctx_local;
char shortcut_local;
char *label_local;
controlset *s... |
long FUN_001222b6(undefined8 param_1,long param_2,undefined param_3,undefined8 param_4,
undefined8 param_5,undefined8 param_6)
{
long lVar1;
undefined8 uVar2;
lVar1 = FUN_00121546(param_1,3,param_4,param_5,param_6);
if (param_2 == 0) {
uVar2 = 0;
}
else {
uVar2 = FUN_0012874d(p... | (translation_unit "long FUN_001222b6(undefined8 param_1,long param_2,undefined param_3,undefined8 param_4,\n undefined8 param_5,undefined8 param_6)\n\n{\n long lVar1;\n undefined8 uVar2;\n \n lVar1 = FUN_00121546(param_1,3,param_4,param_5,param_6);\n if (param_2 == 0) {\n uVar2 = 0;\n }\n else... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV EAX,EDX
MOV qword ptr [RBP + -0x30],RCX
MOV qword ptr [RBP + -0x38],R8
MOV qword ptr [RBP + -0x40],R9
MOV byte ptr [RBP + -0x24],AL
MOV RSI,qword ptr [RBP + -0x40]
MOV RCX,qword ptr [RBP + -0x38]
MOV RDX,qword ptr [RBP... |
type_1 * function_1(type_2 *s,char *var_2,char shortcut,type_3 helpctx,type_4 handler,
type_3 context)
{
type_1 *pcVar1;
char *pcVar2;
type_3 context_local;
type_4 handler_local;
type_3 helpctx_local;
char shortcut_local;
char *label_local;
type_2 *s_local;
type_1 *c;
pcV... | (translation_unit "control * ctrl_checkbox(controlset *s,char *label,char shortcut,intorptr helpctx,handler_fn handler,\n intorptr context)\n\n{\n control *pcVar1;\n char *pcVar2;\n intorptr context_local;\n handler_fn handler_local;\n intorptr helpctx_local;\n char shortcut_local;\n char *... | (translation_unit "type_1 * function_1(type_2 *s,char *var_2,char shortcut,type_3 helpctx,type_4 handler,\n type_3 context)\n\n{\n type_1 *pcVar1;\n char *pcVar2;\n type_3 context_local;\n type_4 handler_local;\n type_3 helpctx_local;\n char shortcut_local;\n char *label_local;\n type_2 *s... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (pri... |
790_puttytel_and_puttytel_strip.c | rlogin_reconfig | FUN_0012fbdf | rlogin_reconfig |
void rlogin_reconfig(void *handle,Conf *conf)
{
Conf *conf_local;
void *handle_local;
return;
}
|
void FUN_0012fbdf(void)
{
return;
}
| (translation_unit "void FUN_0012fbdf(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_0012fbdf(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_0012fbdf(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
NOP
POP RBP
RET |
void function_1(void *handle,type_1 *conf)
{
type_1 *conf_local;
void *handle_local;
return;
}
| (translation_unit "void rlogin_reconfig(void *handle,Conf *conf)\n\n{\n Conf *conf_local;\n void *handle_local;\n \n return;\n}\n\n" (function_definition "void rlogin_reconfig(void *handle,Conf *conf)\n\n{\n Conf *conf_local;\n void *handle_local;\n \n return;\n}" primitive_type (function_declarator "rlogin_rec... | (translation_unit "void function_1(void *handle,type_1 *conf)\n\n{\n type_1 *conf_local;\n void *handle_local;\n \n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *conf)\n\n{\n type_1 *conf_local;\n void *handle_local;\n \n return;\n}" primitive_type (function_declarator "function_1(v... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1308_pscp_and_pscp_strip.c | sk_tcp_close | FUN_0018703c | sk_tcp_close |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sk_tcp_close(Socket sock)
{
Socket sock_local;
Actual_Socket_conflict s;
if (sock[0x13] != (socket_function_table *)0x0) {
sk_tcp_close((Socket)sock[0x13]);
}
bufchain_clear((bufchain *)(sock + 4));
uxsel_del(*(int *)(so... |
void FUN_0018703c(long param_1)
{
if (*(long *)(param_1 + 0x98) != 0) {
FUN_0018703c(*(undefined8 *)(param_1 + 0x98));
}
FUN_0010f917(param_1 + 0x20);
FUN_0018a5b4(*(undefined4 *)(param_1 + 0x10));
FUN_00182dbf(DAT_001b6220,param_1);
close(*(int *)(param_1 + 0x10));
if (*(long *)(param_1 + 0x78) != ... | (translation_unit "void FUN_0018703c(long param_1)\n\n{\n if (*(long *)(param_1 + 0x98) != 0) {\n FUN_0018703c(*(undefined8 *)(param_1 + 0x98));\n }\n FUN_0010f917(param_1 + 0x20);\n FUN_0018a5b4(*(undefined4 *)(param_1 + 0x10));\n FUN_00182dbf(DAT_001b6220,param_1);\n close(*(int *)(param_1 + 0x10));\n if (*... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x98]
TEST RAX,RAX
JZ 0x00187073
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x98]
MOV RDI,RAX
CALL 0x0018703c
MOV RAX,qwor... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_2)
{
type_1 sock_local;
type_2 s;
if (var_2[0x13] != (type_3 *)0x0) {
function_1((type_1)var_2[0x13]);
}
var_1((type_4 *)(var_2 + 4));
var_3(*(int *)(var_2 + 2));
var_4(sktree,var_2);
var_5(*(in... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sk_tcp_close(Socket sock)\n\n{\n Socket sock_local;\n Actual_Socket_conflict s;\n \n if (sock[0x13] != (socket_function_table *)0x0) {\n sk_tcp_close((Socket)sock[0x13]);\n }\n bufchain_clear((bufchain *)(sock +... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_2)\n\n{\n type_1 sock_local;\n type_2 s;\n \n if (var_2[0x13] != (type_3 *)0x0) {\n function_1((type_1)var_2[0x13]);\n }\n var_1((type_4 *)(var_2 + 4));\n var_3(*(int *)(var_2 + 2));\n va... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)... |
1305_pscp_and_pscp_strip.c | try_connect | FUN_00186043 | try_connect |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int try_connect(Actual_Socket_conflict sock)
{
long lVar1;
sockaddr *psVar2;
_func_void_Plug_int_SockAddr_int_char_ptr_int *p_Var3;
uint16_t uVar4;
int iVar5;
int *piVar6;
size_t sVar7;
char *pcVar8;
long in_FS_OFFSET;
Actua... |
int FUN_00186043(long param_1)
{
long lVar1;
code *pcVar2;
uint16_t uVar3;
int iVar4;
int *piVar5;
size_t sVar6;
char *pcVar7;
long in_FS_OFFSET;
uint16_t local_2ea;
undefined4 local_2e8;
int local_2e4;
socklen_t local_2e0;
int local_2dc;
int local_2d8;
int local_2d4;
sockaddr *local_2... | (translation_unit "int FUN_00186043(long param_1)\n\n{\n long lVar1;\n code *pcVar2;\n uint16_t uVar3;\n int iVar4;\n int *piVar5;\n size_t sVar6;\n char *pcVar7;\n long in_FS_OFFSET;\n uint16_t local_2ea;\n undefined4 local_2e8;\n int local_2e4;\n socklen_t local_2e0;\n int local_2dc;\n int local_2d8;\n ... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x2f8
MOV qword ptr [RBP + -0x2f8],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x2dc],0x0
MOV RAX,qword ptr [0x001b6220]
MOV RDX,qword ptr [RBP + -0x2f8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00182dbf
MOV RAX,qword ptr [RBP + -0x2f8]
M... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 sock)
{
long var_30;
type_2 *psVar2;
type_3 *p_Var3;
uint16_t uVar4;
int var_14;
int *piVar6;
size_t var_23;
char *pcVar8;
long var_1;
type_1 sock_local;
short var_21;
int b;
int var_20;
int sal... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint try_connect(Actual_Socket_conflict sock)\n\n{\n long lVar1;\n sockaddr *psVar2;\n _func_void_Plug_int_SockAddr_int_char_ptr_int *p_Var3;\n uint16_t uVar4;\n int iVar5;\n int *piVar6;\n size_t sVar7;\n char *pcVar8... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 sock)\n\n{\n long var_30;\n type_2 *psVar2;\n type_3 *p_Var3;\n uint16_t uVar4;\n int var_14;\n int *piVar6;\n size_t var_23;\n char *pcVar8;\n long var_1;\n type_1 sock_local;\n short var_21;... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identi... |
701_puttytel_and_puttytel_strip.c | chomp | FUN_00129005 | chomp |
char * chomp(char *str)
{
size_t sVar1;
char *str_local;
int len;
if (str != (char *)0x0) {
sVar1 = strlen(str);
len = (int)sVar1;
while ((0 < len && ((str[(long)len + -1] == '\r' || (str[(long)len + -1] == '\n'))))) {
len = len + -1;
}
str[len] = '\0';
}
return str;
}
|
char * FUN_00129005(char *param_1)
{
size_t sVar1;
int local_c;
if (param_1 != (char *)0x0) {
sVar1 = strlen(param_1);
local_c = (int)sVar1;
while ((0 < local_c &&
((param_1[(long)local_c + -1] == '\r' || (param_1[(long)local_c + -1] == '\n'))))) {
local_c = local_c + -1;
}
... | (translation_unit "char * FUN_00129005(char *param_1)\n\n{\n size_t sVar1;\n int local_c;\n \n if (param_1 != (char *)0x0) {\n sVar1 = strlen(param_1);\n local_c = (int)sVar1;\n while ((0 < local_c &&\n ((param_1[(long)local_c + -1] == '\r' || (param_1[(long)local_c + -1] == '\n'))))) {\n lo... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
CMP qword ptr [RBP + -0x18],0x0
JZ 0x00129071
MOV RAX,qword ptr [RBP + -0x18]
MOV RDI,RAX
CALL 0x001105f0
MOV dword ptr [RBP + -0x4],EAX
JMP 0x0012902d
SUB dword ptr [RBP + -0x4],0x1
CMP dword ptr [RBP + -0x4],0x0
JLE 0x00129061
MOV EAX,dword ptr [RBP + ... |
char * function_1(char *var_1)
{
size_t sVar1;
char *str_local;
int var_3;
if (var_1 != (char *)0x0) {
sVar1 = var_2(var_1);
var_3 = (int)sVar1;
while ((0 < var_3 && ((var_1[(long)var_3 + -1] == '\r' || (var_1[(long)var_3 + -1] == '\n'))))) {
var_3 = var_3 + -1;
}
var_1[var_3] = '... | (translation_unit "char * chomp(char *str)\n\n{\n size_t sVar1;\n char *str_local;\n int len;\n \n if (str != (char *)0x0) {\n sVar1 = strlen(str);\n len = (int)sVar1;\n while ((0 < len && ((str[(long)len + -1] == '\r' || (str[(long)len + -1] == '\n'))))) {\n len = len + -1;\n }\n str[len] = '\... | (translation_unit "char * function_1(char *var_1)\n\n{\n size_t sVar1;\n char *str_local;\n int var_3;\n \n if (var_1 != (char *)0x0) {\n sVar1 = var_2(var_1);\n var_3 = (int)sVar1;\n while ((0 < var_3 && ((var_1[(long)var_3 + -1] == '\r' || (var_1[(long)var_3 + -1] == '\n'))))) {\n var_3 = var_3 + -... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decla... |
1055_pscp_and_pscp_strip.c | rsa2_sign | FUN_001706e2 | rsa2_sign |
uchar * rsa2_sign(void *key,char *data,int datalen,int *siglen)
{
long lVar1;
int iVar2;
int iVar3;
uchar *puVar4;
Bignum_conflict b;
Bignum_conflict bn;
long in_FS_OFFSET;
int *siglen_local;
int datalen_local;
char *data_local;
void *key_local;
int i;
int j;
int nbytes;
RSAKey *rsa;
u... |
undefined * FUN_001706e2(long param_1,undefined8 param_2,undefined4 param_3,int *param_4)
{
undefined uVar1;
int iVar2;
int iVar3;
undefined *puVar4;
undefined8 uVar5;
undefined8 uVar6;
long in_FS_OFFSET;
int local_54;
int local_50;
undefined local_28 [24];
long local_10;
local_10 = *(long ... | (translation_unit "undefined * FUN_001706e2(long param_1,undefined8 param_2,undefined4 param_3,int *param_4)\n\n{\n undefined uVar1;\n int iVar2;\n int iVar3;\n undefined *puVar4;\n undefined8 uVar5;\n undefined8 uVar6;\n long in_FS_OFFSET;\n int local_54;\n int local_50;\n undefined local_28 [24];\n long lo... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x58],RDI
MOV qword ptr [RBP + -0x60],RSI
MOV dword ptr [RBP + -0x64],EDX
MOV qword ptr [RBP + -0x70],RCX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x58]
MOV qword ptr [RBP + -0x40],RAX
LEA RDX,[RBP + -0x20]
M... |
type_1 * function_1(void *key,char *data,int datalen,int *siglen)
{
long var_17;
int var_4;
int var_5;
type_1 *var_15;
type_2 b;
type_2 bn;
long var_1;
int *siglen_local;
int datalen_local;
char *data_local;
void *key_local;
int var_8;
int var_9;
int nbytes;
type_3 *rsa;
type_1 *bytes;... | (translation_unit "uchar * rsa2_sign(void *key,char *data,int datalen,int *siglen)\n\n{\n long lVar1;\n int iVar2;\n int iVar3;\n uchar *puVar4;\n Bignum_conflict b;\n Bignum_conflict bn;\n long in_FS_OFFSET;\n int *siglen_local;\n int datalen_local;\n char *data_local;\n void *key_local;\n int i;\n int j;... | (translation_unit "type_1 * function_1(void *key,char *data,int datalen,int *siglen)\n\n{\n long var_17;\n int var_4;\n int var_5;\n type_1 *var_15;\n type_2 b;\n type_2 bn;\n long var_1;\n int *siglen_local;\n int datalen_local;\n char *data_local;\n void *key_local;\n int var_8;\n int var_9;\n int nbyte... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
638_puttytel_and_puttytel_strip.c | ctrl_text | FUN_00122257 | ctrl_text |
control * ctrl_text(controlset *s,char *text,intorptr helpctx)
{
intorptr context;
control *pcVar1;
char *pcVar2;
intorptr helpctx_local;
char *text_local;
controlset *s_local;
control *c;
context = P((void *)0x0);
pcVar1 = ctrl_new(s,0,helpctx,(handler_fn)0x0,context);
pcVar2 = dupstr(text);
... |
long FUN_00122257(undefined8 param_1,undefined8 param_2,undefined8 param_3)
{
undefined8 uVar1;
long lVar2;
uVar1 = FUN_00120c85(0);
lVar2 = FUN_00121546(param_1,0,param_3,0,uVar1);
uVar1 = FUN_0012874d(param_2);
*(undefined8 *)(lVar2 + 8) = uVar1;
return lVar2;
}
| (translation_unit "long FUN_00122257(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n undefined8 uVar1;\n long lVar2;\n \n uVar1 = FUN_00120c85(0);\n lVar2 = FUN_00121546(param_1,0,param_3,0,uVar1);\n uVar1 = FUN_0012874d(param_2);\n *(undefined8 *)(lVar2 + 8) = uVar1;\n return lVar2;\n}\n\n" (f... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV EDI,0x0
CALL 0x00120c85
MOV RCX,RAX
MOV RDX,qword ptr [RBP + -0x28]
MOV RAX,qword ptr [RBP + -0x18]
MOV R8,RCX
MOV ECX,0x0
MOV ESI,0x0
MOV RDI,RAX
CALL 0x00121546
MOV qword ptr [RBP + -0... |
type_1 * function_1(type_2 *s,char *text,type_3 helpctx)
{
type_3 context;
type_1 *pcVar1;
char *pcVar2;
type_3 helpctx_local;
char *text_local;
type_2 *s_local;
type_1 *c;
context = var_1((void *)0x0);
pcVar1 = var_2(s,0,helpctx,(type_4)0x0,context);
pcVar2 = var_3(text);
(pcVar1->generic).l... | (translation_unit "control * ctrl_text(controlset *s,char *text,intorptr helpctx)\n\n{\n intorptr context;\n control *pcVar1;\n char *pcVar2;\n intorptr helpctx_local;\n char *text_local;\n controlset *s_local;\n control *c;\n \n context = P((void *)0x0);\n pcVar1 = ctrl_new(s,0,helpctx,(handler_fn)0x0,contex... | (translation_unit "type_1 * function_1(type_2 *s,char *text,type_3 helpctx)\n\n{\n type_3 context;\n type_1 *pcVar1;\n char *pcVar2;\n type_3 helpctx_local;\n char *text_local;\n type_2 *s_local;\n type_1 *c;\n \n context = var_1((void *)0x0);\n pcVar1 = var_2(s,0,helpctx,(type_4)0x0,context);\n pcVar2 = var... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (pri... |
1323_pscp_and_pscp_strip.c | platform_get_x11_unix_address | FUN_00188540 | platform_get_x11_unix_address |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
SockAddr platform_get_x11_unix_address(char *sockpath,int displaynum)
{
SockAddr __s;
int displaynum_local;
char *sockpath_local;
int n;
SockAddr ret;
__s = (SockAddr)safemalloc(1,0x220);
memset(__s,0,0x220);
__s->superfamily... |
undefined4 * FUN_00188540(long param_1,uint param_2)
{
undefined4 *__s;
uint local_14;
__s = (undefined4 *)FUN_0010fdaa(1,0x220);
memset(__s,0,0x220);
__s[4] = 1;
if (param_1 == 0) {
local_14 = snprintf((char *)(__s + 8),0x200,"%s%d","/tmp/.X11-unix/X",(ulong)param_2);
}
else {
local_14 = s... | (translation_unit "undefined4 * FUN_00188540(long param_1,uint param_2)\n\n{\n undefined4 *__s;\n uint local_14;\n \n __s = (undefined4 *)FUN_0010fdaa(1,0x220);\n memset(__s,0,0x220);\n __s[4] = 1;\n if (param_1 == 0) {\n local_14 = snprintf((char *)(__s + 8),0x200,"%s%d","/tmp/.X11-unix/X",(ulong)param_2);\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV ESI,0x220
MOV EDI,0x1
CALL 0x0010fdaa
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,0x220
MOV ESI,0x0
MOV RDI,RAX
CALL 0x001073b0
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x10],0x1
CM... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(char *var_3,int displaynum)
{
type_1 __s;
int displaynum_local;
char *sockpath_local;
int var_5;
type_1 ret;
__s = (type_1)var_1(1,0x220);
var_2(__s,0,0x220);
__s->superfamily = ADDRTYPE_IPV4;
if (var_3 ==... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nSockAddr platform_get_x11_unix_address(char *sockpath,int displaynum)\n\n{\n SockAddr __s;\n int displaynum_local;\n char *sockpath_local;\n int n;\n SockAddr ret;\n \n __s = (SockAddr)safemalloc(1,0x220);\n memset(__... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(char *var_3,int displaynum)\n\n{\n type_1 __s;\n int displaynum_local;\n char *sockpath_local;\n int var_5;\n type_1 ret;\n \n __s = (type_1)var_1(1,0x220);\n var_2(__s,0,0x220);\n __s->superfamily ... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator... |
728_puttytel_and_puttytel_strip.c | proxy_socks5_handlechap | FUN_0012a2fc | proxy_socks5_handlechap |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int proxy_socks5_handlechap(Proxy_Socket p)
{
Proxy_Socket p_local;
(*(*p->plug)->closing)
(p->plug,"Proxy error: Trying to handle a SOCKS5 CHAP request in telnet-only build",8000
,0);
return 1;
}
|
undefined8 FUN_0012a2fc(long param_1)
{
(**(code **)(**(long **)(param_1 + 0x18) + 8))
(*(undefined8 *)(param_1 + 0x18),
"Proxy error: Trying to handle a SOCKS5 CHAP request in telnet-only build",8000,0);
return 1;
}
| (translation_unit "undefined8 FUN_0012a2fc(long param_1)\n\n{\n (**(code **)(**(long **)(param_1 + 0x18) + 8))\n (*(undefined8 *)(param_1 + 0x18),\n "Proxy error: Trying to handle a SOCKS5 CHAP request in telnet-only build",8000,0);\n return 1;\n}\n\n" (function_definition "undefined8 FUN_0012a... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x18]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x8]
MOV RDX,qword ptr [RBP + -0x8]
MOV RDI,qword ptr [RDX + 0x18]
MOV ECX,0x0
MOV EDX,0x1f40
LEA RSI,[0x19de38]
CALL RAX
MOV EAX,0x1
LEAVE
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 p)
{
type_1 p_local;
(*(*p->plug)->closing)
(p->plug,"Proxy error: Trying to handle a SOCKS5 CHAP request in telnet-only build",8000
,0);
return 1;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint proxy_socks5_handlechap(Proxy_Socket p)\n\n{\n Proxy_Socket p_local;\n \n (*(*p->plug)->closing)\n (p->plug,"Proxy error: Trying to handle a SOCKS5 CHAP request in telnet-only build",8000\n ,0);\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 p)\n\n{\n type_1 p_local;\n \n (*(*p->plug)->closing)\n (p->plug,"Proxy error: Trying to handle a SOCKS5 CHAP request in telnet-only build",8000\n ,0);\n return 1;\n}\n\n" comm... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)... |
1082_pscp_and_pscp_strip.c | sha256_verify | FUN_00172512 | sha256_verify |
int sha256_verify(void *handle,uchar *blk,int len,ulong seq)
{
long lVar1;
int iVar2;
long in_FS_OFFSET;
ulong seq_local;
int len_local;
uchar *blk_local;
void *handle_local;
uchar correct [32];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
sha256_do_hmac(handle,blk,len,seq,correct);
iVar2 = smemeq... |
void FUN_00172512(undefined8 param_1,long param_2,int param_3,undefined8 param_4)
{
long in_FS_OFFSET;
undefined local_38 [40];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_001723ba(param_1,param_2,param_3,param_4,local_38);
FUN_0011041b(local_38,param_3 + param_2,0x20);
if (local_10... | (translation_unit "void FUN_00172512(undefined8 param_1,long param_2,int param_3,undefined8 param_4)\n\n{\n long in_FS_OFFSET;\n undefined local_38 [40];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_001723ba(param_1,param_2,param_3,param_4,local_38);\n FUN_0011041b(local_38,param_3 + pa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV dword ptr [RBP + -0x44],EDX
MOV qword ptr [RBP + -0x50],RCX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RDI,[RBP + -0x30]
MOV RCX,qword ptr [RBP + -0x50]
MOV EDX,dword ptr [RBP + -0x44]
M... |
int function_1(void *handle,type_1 *var_4,int var_5,type_2 seq)
{
long var_6;
int iVar2;
long var_1;
type_2 seq_local;
int len_local;
type_1 *blk_local;
void *handle_local;
type_1 correct [32];
var_6 = *(long *)(var_1 + 0x28);
var_2(handle,var_4,var_5,seq,correct);
iVar2 = var_3(correct,var_4... | (translation_unit "int sha256_verify(void *handle,uchar *blk,int len,ulong seq)\n\n{\n long lVar1;\n int iVar2;\n long in_FS_OFFSET;\n ulong seq_local;\n int len_local;\n uchar *blk_local;\n void *handle_local;\n uchar correct [32];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n sha256_do_hmac(handle,blk,len... | (translation_unit "int function_1(void *handle,type_1 *var_4,int var_5,type_2 seq)\n\n{\n long var_6;\n int iVar2;\n long var_1;\n type_2 seq_local;\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_1 correct [32];\n \n var_6 = *(long *)(var_1 + 0x28);\n var_2(handle,var_4,var_5,seq,correct)... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1291_pscp_and_pscp_strip.c | sk_getaddr | FUN_001859c9 | sk_getaddr |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sk_getaddr(SockAddr addr,char *buf,int buflen)
{
int iVar1;
int buflen_local;
char *buf_local;
SockAddr addr_local;
if ((addr->superfamily == ADDRTYPE_UNSPEC) || (addr->superfamily == ADDRTYPE_IPV4)) {
strncpy(buf,addr->ho... |
void FUN_001859c9(long param_1,char *param_2,socklen_t param_3)
{
int iVar1;
if ((*(int *)(param_1 + 0x10) == 0) || (*(int *)(param_1 + 0x10) == 1)) {
strncpy(param_2,(char *)(param_1 + 0x20),(long)(int)param_3);
param_2[(long)(int)param_3 + -1] = '\0';
}
else {
iVar1 = getnameinfo(*(sockaddr *... | (translation_unit "void FUN_001859c9(long param_1,char *param_2,socklen_t param_3)\n\n{\n int iVar1;\n \n if ((*(int *)(param_1 + 0x10) == 0) || (*(int *)(param_1 + 0x10) == 1)) {\n strncpy(param_2,(char *)(param_1 + 0x20),(long)(int)param_3);\n param_2[(long)(int)param_3 + -1] = '\0';\n }\n else {\n iVar... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x10]
TEST EAX,EAX
JZ 0x001859f3
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x10]
CMP EAX,0x1
JNZ 0x00185a25
MOV EAX,dword... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 addr,char *buf,int var_7)
{
int var_5;
int buflen_local;
char *buf_local;
type_1 addr_local;
if ((addr->superfamily == var_1) || (addr->superfamily == var_2)) {
var_3(buf,addr->hostname,(long)var_7);
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sk_getaddr(SockAddr addr,char *buf,int buflen)\n\n{\n int iVar1;\n int buflen_local;\n char *buf_local;\n SockAddr addr_local;\n \n if ((addr->superfamily == ADDRTYPE_UNSPEC) || (addr->superfamily == ADDRTYPE_IPV4)... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 addr,char *buf,int var_7)\n\n{\n int var_5;\n int buflen_local;\n char *buf_local;\n type_1 addr_local;\n \n if ((addr->superfamily == var_1) || (addr->superfamily == var_2)) {\n var_3(buf,addr... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator:... |
1083_pscp_and_pscp_strip.c | SHA512_Core_Init | FUN_0017258e | SHA512_Core_Init |
void SHA512_Core_Init(SHA512_State *s)
{
ulong uVar1;
SHA512_State *s_local;
int i;
for (i = 0; i < 8; i = i + 1) {
uVar1 = SHA512_Core_Init::iv[i].lo;
s->h[i].hi = SHA512_Core_Init::iv[i].hi;
s->h[i].lo = uVar1;
}
return;
}
|
void FUN_0017258e(long param_1)
{
undefined8 *puVar1;
undefined8 uVar2;
int local_c;
for (local_c = 0; local_c < 8; local_c = local_c + 1) {
puVar1 = (undefined8 *)(param_1 + (long)local_c * 0x10);
uVar2 = *(undefined8 *)(&DAT_001a0948 + (long)local_c * 0x10);
*puVar1 = *(undefined8 *)(&DAT_001... | (translation_unit "void FUN_0017258e(long param_1)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n int local_c;\n \n for (local_c = 0; local_c < 8; local_c = local_c + 1) {\n puVar1 = (undefined8 *)(param_1 + (long)local_c * 0x10);\n uVar2 = *(undefined8 *)(&DAT_001a0948 + (long)local_c * 0x10);\n *puVar... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x4],0x0
JMP 0x001725da
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX,dword ptr [RBP + -0x4]
MOVSXD RDX,EDX
SHL RDX,0x4
LEA RCX,[RAX + RDX*0x1]
MOV EAX,dword ptr [RBP + -0x4]
CDQE
SHL RAX,0x4
MOV RDX,RAX
LEA RAX,[0x1a0940]
LEA RDX,[RDX + RAX*0x1]
MOV ... |
void function_1(type_1 *s)
{
type_2 uVar1;
type_1 *s_local;
int var_1;
for (var_1 = 0; var_1 < 8; var_1 = var_1 + 1) {
uVar1 = function_1::iv[var_1].lo;
s->h[var_1].hi = function_1::iv[var_1].hi;
s->h[var_1].lo = uVar1;
}
return;
}
| (translation_unit "void SHA512_Core_Init(SHA512_State *s)\n\n{\n ulong uVar1;\n SHA512_State *s_local;\n int i;\n \n for (i = 0; i < 8; i = i + 1) {\n uVar1 = SHA512_Core_Init::iv[i].lo;\n s->h[i].hi = SHA512_Core_Init::iv[i].hi;\n s->h[i].lo = uVar1;\n }\n return;\n}\n\n" (function_definition "void SHA... | (translation_unit "void function_1(type_1 *s)\n\n{\n type_2 uVar1;\n type_1 *s_local;\n int var_1;\n \n for (var_1 = 0; var_1 < 8; var_1 = var_1 + 1) {\n uVar1 = function_1::iv[var_1].lo;\n s->h[var_1].hi = function_1::iv[var_1].hi;\n s->h[var_1].lo = uVar1;\n }\n return;\n}\n\n" (function_definition "v... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
1334_pscp_and_pscp_strip.c | pollwrap_fd_cmp | FUN_0018903c | pollwrap_fd_cmp |
int pollwrap_fd_cmp(void *av,void *bv)
{
uint uVar1;
void *bv_local;
void *av_local;
pollwrap_fdtopos *a;
pollwrap_fdtopos *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < *bv) {
uVar1 = 0xffffffff;
}
else {
... |
ulong FUN_0018903c(int *param_1,int *param_2)
{
ulong uVar1;
if (*param_1 < *param_2) {
uVar1 = 0xffffffff;
}
else {
uVar1 = (ulong)(*param_2 < *param_1);
}
return uVar1;
}
| (translation_unit "ulong FUN_0018903c(int *param_1,int *param_2)\n\n{\n ulong uVar1;\n \n if (*param_1 < *param_2) {\n uVar1 = 0xffffffff;\n }\n else {\n uVar1 = (ulong)(*param_2 < *param_1);\n }\n return uVar1;\n}\n\n" (function_definition "ulong FUN_0018903c(int *param_1,int *param_2)\n\n{\n ulong uVar1... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EDX,dword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RA... |
int function_1(void *av,void *bv)
{
type_1 uVar1;
void *bv_local;
void *av_local;
type_2 *a;
type_2 *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < *bv) {
uVar1 = 0xffffffff;
}
else {
/* WARN... | (translation_unit "int pollwrap_fd_cmp(void *av,void *bv)\n\n{\n uint uVar1;\n void *bv_local;\n void *av_local;\n pollwrap_fdtopos *a;\n pollwrap_fdtopos *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n uVar1 =... | (translation_unit "int function_1(void *av,void *bv)\n\n{\n type_1 uVar1;\n void *bv_local;\n void *av_local;\n type_2 *a;\n type_2 *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n uVar1 = 0xffffffff;\n }\n el... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
597_puttytel_and_puttytel_strip.c | kexlist_handler | FUN_00118adc | kexlist_handler |
void kexlist_handler(control *ctrl,void *dlg,void *data,int event)
{
int iVar1;
int event_local;
void *data_local;
void *dlg_local;
control *ctrl_local;
int i;
int j;
int i_1;
int k;
char *kstr;
Conf *conf;
if (event == 0) {
dlg_update_start(ctrl,dlg);
dlg_listbox_clear(ctrl,dlg);
... |
void FUN_00118adc(undefined8 param_1,undefined8 param_2,undefined8 param_3,int param_4)
{
int iVar1;
undefined4 uVar2;
int local_28;
uint local_24;
int local_20;
undefined *local_18;
if (param_4 == 0) {
FUN_00153404(param_1,param_2);
FUN_00152290(param_1,param_2);
for (local_28 = 0; local... | (translation_unit "void FUN_00118adc(undefined8 param_1,undefined8 param_2,undefined8 param_3,int param_4)\n\n{\n int iVar1;\n undefined4 uVar2;\n int local_28;\n uint local_24;\n int local_20;\n undefined *local_18;\n \n if (param_4 == 0) {\n FUN_00153404(param_1,param_2);\n FUN_00152290(param_1,param_2)... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV dword ptr [RBP + -0x3c],ECX
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x8],RAX
CMP dword ptr [RBP + -0x3c],0x0
JNZ 0x00118bdd
MOV RDX,qword ptr [RBP + -0x30]
MOV RAX,qword pt... |
void function_1(type_1 *ctrl,void *dlg,void *data,int var_1)
{
int var_7;
int event_local;
void *data_local;
void *dlg_local;
type_1 *ctrl_local;
int var_4;
int var_6;
int var_10;
int k;
char *kstr;
type_2 *conf;
if (var_1 == 0) {
var_2(ctrl,dlg);
var_3(ctrl,dlg);
for (var_4 = 0... | (translation_unit "void kexlist_handler(control *ctrl,void *dlg,void *data,int event)\n\n{\n int iVar1;\n int event_local;\n void *data_local;\n void *dlg_local;\n control *ctrl_local;\n int i;\n int j;\n int i_1;\n int k;\n char *kstr;\n Conf *conf;\n \n if (event == 0) {\n dlg_update_start(ctrl,dlg);\... | (translation_unit "void function_1(type_1 *ctrl,void *dlg,void *data,int var_1)\n\n{\n int var_7;\n int event_local;\n void *data_local;\n void *dlg_local;\n type_1 *ctrl_local;\n int var_4;\n int var_6;\n int var_10;\n int k;\n char *kstr;\n type_2 *conf;\n \n if (var_1 == 0) {\n var_2(ctrl,dlg);\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
1047_puttytel_and_puttytel_strip.c | dlg_fontsel_get | FUN_0015334f | dlg_fontsel_get |
FontSpec * dlg_fontsel_get(control *ctrl,void *dlg)
{
uctrl *puVar1;
undefined8 uVar2;
char *name;
FontSpec *pFVar3;
void *dlg_local;
control *ctrl_local;
dlgparam *dp;
uctrl *uc;
puVar1 = dlg_find_byctrl((dlgparam *)dlg,ctrl);
if ((puVar1->ctrl->generic).type != 8) {
/* WAR... |
void FUN_0015334f(undefined8 param_1,undefined8 param_2)
{
undefined8 *puVar1;
undefined8 uVar2;
puVar1 = (undefined8 *)FUN_00151cc6(param_2,param_1);
if (*(int *)*puVar1 != 8) {
/* WARNING: Subroutine does not return */
__assert_fail("uc->ctrl->generic.type == CTRL_FONTSELECT","uni... | (translation_unit "void FUN_0015334f(undefined8 param_1,undefined8 param_2)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n \n puVar1 = (undefined8 *)FUN_00151cc6(param_2,param_1);\n if (*(int *)*puVar1 != 8) {\n /* WARNING: Subroutine does not return */\n __assert_fail("uc->ctrl->generic.ty... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x10],RAX
MOV RDX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RBP + -0x10]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00151cc6
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP ... |
type_1 * function_1(type_2 *ctrl,void *dlg)
{
type_3 *puVar1;
type_4 uVar2;
char *name;
type_1 *pFVar3;
void *dlg_local;
type_2 *ctrl_local;
type_5 *dp;
type_3 *uc;
puVar1 = var_1((type_5 *)dlg,ctrl);
if ((puVar1->ctrl->generic).type != 8) {
/* WARNING: Subroutine does not r... | (translation_unit "FontSpec * dlg_fontsel_get(control *ctrl,void *dlg)\n\n{\n uctrl *puVar1;\n undefined8 uVar2;\n char *name;\n FontSpec *pFVar3;\n void *dlg_local;\n control *ctrl_local;\n dlgparam *dp;\n uctrl *uc;\n \n puVar1 = dlg_find_byctrl((dlgparam *)dlg,ctrl);\n if ((puVar1->ctrl->generic).type != ... | (translation_unit "type_1 * function_1(type_2 *ctrl,void *dlg)\n\n{\n type_3 *puVar1;\n type_4 uVar2;\n char *name;\n type_1 *pFVar3;\n void *dlg_local;\n type_2 *ctrl_local;\n type_5 *dp;\n type_3 *uc;\n \n puVar1 = var_1((type_5 *)dlg,ctrl);\n if ((puVar1->ctrl->generic).type != 8) {\n /... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (pri... |
763_puttytel_and_puttytel_strip.c | raw_closing | FUN_0012ed88 | raw_closing |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void raw_closing(Plug plug,char *error_msg,int error_code,int calling_back)
{
wchar_t wVar1;
int calling_back_local;
int error_code_local;
char *error_msg_local;
Plug plug_local;
Raw raw;
if (error_msg == (char *)0x0) {
if ... |
void FUN_0012ed88(long param_1,long param_2)
{
int iVar1;
if (param_2 == 0) {
if (*(int *)(param_1 + 0x20) == 0) {
iVar1 = FUN_00164884(*(undefined8 *)(param_1 + 0x18));
if ((iVar1 != 0) && (*(int *)(param_1 + 0x24) == 0)) {
if (*(long *)(param_1 + 8) != 0) {
(**(code **)(**(l... | (translation_unit "void FUN_0012ed88(long param_1,long param_2)\n\n{\n int iVar1;\n \n if (param_2 == 0) {\n if (*(int *)(param_1 + 0x20) == 0) {\n iVar1 = FUN_00164884(*(undefined8 *)(param_1 + 0x18));\n if ((iVar1 != 0) && (*(int *)(param_1 + 0x24) == 0)) {\n if (*(long *)(param_1 + 8) != 0) {\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV dword ptr [RBP + -0x28],ECX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x20],0x0
JZ 0x0012ee3a
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_2,char *var_1,int error_code,int calling_back)
{
type_2 var_4;
int calling_back_local;
int error_code_local;
char *error_msg_local;
type_1 plug_local;
type_3 raw;
if (var_1 == (char *)0x0) {
if (*... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid raw_closing(Plug plug,char *error_msg,int error_code,int calling_back)\n\n{\n wchar_t wVar1;\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n Plug plug_local;\n Raw raw;\n \n if (error... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_2,char *var_1,int error_code,int calling_back)\n\n{\n type_2 var_4;\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n type_1 plug_local;\n type_3 raw;\n \n if (var... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator:... |
802_puttytel_and_puttytel_strip.c | rlogin_exitcode | FUN_0012fe81 | rlogin_exitcode |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int rlogin_exitcode(void *handle)
{
int iVar1;
void *handle_local;
Rlogin rlogin;
if (*(long *)((long)handle + 8) == 0) {
if (*(int *)((long)handle + 0x10) == 0) {
iVar1 = 0;
}
else {
iVar1 = 0x7fffffff;
}... |
undefined8 FUN_0012fe81(long param_1)
{
undefined8 uVar1;
if (*(long *)(param_1 + 8) == 0) {
if (*(int *)(param_1 + 0x10) == 0) {
uVar1 = 0;
}
else {
uVar1 = 0x7fffffff;
}
}
else {
uVar1 = 0xffffffff;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_0012fe81(long param_1)\n\n{\n undefined8 uVar1;\n \n if (*(long *)(param_1 + 8) == 0) {\n if (*(int *)(param_1 + 0x10) == 0) {\n uVar1 = 0;\n }\n else {\n uVar1 = 0x7fffffff;\n }\n }\n else {\n uVar1 = 0xffffffff;\n }\n return uVar1;\n}\n\n" (function_de... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
TEST RAX,RAX
JZ 0x0012fea5
MOV EAX,0xffffffff
JMP 0x0012febc
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x10]
TEST EAX,EAX
JZ 0x00... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *handle)
{
int iVar1;
void *handle_local;
type_1 rlogin;
if (*(long *)((long)handle + 8) == 0) {
if (*(int *)((long)handle + 0x10) == 0) {
iVar1 = 0;
}
else {
iVar1 = 0x7fffffff;
}
}
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint rlogin_exitcode(void *handle)\n\n{\n int iVar1;\n void *handle_local;\n Rlogin rlogin;\n \n if (*(long *)((long)handle + 8) == 0) {\n if (*(int *)((long)handle + 0x10) == 0) {\n iVar1 = 0;\n }\n else {\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *handle)\n\n{\n int iVar1;\n void *handle_local;\n type_1 rlogin;\n \n if (*(long *)((long)handle + 8) == 0) {\n if (*(int *)((long)handle + 0x10) == 0) {\n iVar1 = 0;\n }\n else {\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive... |
1343_pscp_and_pscp_strip.c | pollwrap_get_fd_events | FUN_00189486 | pollwrap_get_fd_events |
int pollwrap_get_fd_events(pollwrapper *pw,int fd)
{
long lVar1;
int iVar2;
void *pvVar3;
long in_FS_OFFSET;
int fd_local;
pollwrapper *pw_local;
pollwrap_fdtopos *f2p;
pollwrap_fdtopos f2p_find;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
if (fd < 0) {
/* WARNING: Subroutine do... |
int FUN_00189486(long *param_1,int param_2)
{
int iVar1;
long lVar2;
long in_FS_OFFSET;
int local_28 [6];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (param_2 < 0) {
/* WARNING: Subroutine does not return */
__assert_fail("fd >= 0","unix/uxpoll.c",0x78,"pollwr... | (translation_unit "int FUN_00189486(long *param_1,int param_2)\n\n{\n int iVar1;\n long lVar2;\n long in_FS_OFFSET;\n int local_28 [6];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (param_2 < 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("fd >= 0... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV dword ptr [RBP + -0x3c],ESI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
CMP dword ptr [RBP + -0x3c],0x0
JNS 0x001894c9
LEA RCX,[0x1a32c0]
MOV EDX,0x78
LEA RSI,[0x1a3240]
LEA RDI,[0x1a324e]
CALL 0x00107370
MOV EAX,dword ptr ... |
int function_1(type_1 *pw,int var_2)
{
long var_6;
int iVar2;
void *var_5;
long var_1;
int fd_local;
type_1 *pw_local;
type_2 *f2p;
type_2 f2p_find;
var_6 = *(long *)(var_1 + 0x28);
if (var_2 < 0) {
/* WARNING: Subroutine does not return */
var_3("fd >= 0","unix/uxpoll.c... | (translation_unit "int pollwrap_get_fd_events(pollwrapper *pw,int fd)\n\n{\n long lVar1;\n int iVar2;\n void *pvVar3;\n long in_FS_OFFSET;\n int fd_local;\n pollwrapper *pw_local;\n pollwrap_fdtopos *f2p;\n pollwrap_fdtopos f2p_find;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if (fd < 0) {\n ... | (translation_unit "int function_1(type_1 *pw,int var_2)\n\n{\n long var_6;\n int iVar2;\n void *var_5;\n long var_1;\n int fd_local;\n type_1 *pw_local;\n type_2 *f2p;\n type_2 f2p_find;\n \n var_6 = *(long *)(var_1 + 0x28);\n if (var_2 < 0) {\n /* WARNING: Subroutine does not return */\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif... |
1398_pscp_and_pscp_strip.c | begin_wildcard_matching | FUN_0018b1bf | begin_wildcard_matching |
WildcardMatcher * begin_wildcard_matching(char *name)
{
int iVar1;
WildcardMatcher *__pglob;
char *name_local;
WildcardMatcher *ret;
__pglob = (WildcardMatcher *)safemalloc(1,0x50);
iVar1 = glob64(name,0,(__errfunc *)0x0,(glob64_t *)__pglob);
if (iVar1 < 0) {
safefree(__pglob);
__pglob = (Wil... |
glob64_t * FUN_0018b1bf(char *param_1)
{
int iVar1;
glob64_t *__pglob;
__pglob = (glob64_t *)FUN_0010fdaa(1,0x50);
iVar1 = glob64(param_1,0,(__errfunc *)0x0,__pglob);
if (iVar1 < 0) {
FUN_0010ffb6(__pglob);
__pglob = (glob64_t *)0x0;
}
else {
*(undefined4 *)&__pglob[1].gl_pathc = 0;
}
... | (translation_unit "glob64_t * FUN_0018b1bf(char *param_1)\n\n{\n int iVar1;\n glob64_t *__pglob;\n \n __pglob = (glob64_t *)FUN_0010fdaa(1,0x50);\n iVar1 = glob64(param_1,0,(__errfunc *)0x0,__pglob);\n if (iVar1 < 0) {\n FUN_0010ffb6(__pglob);\n __pglob = (glob64_t *)0x0;\n }\n else {\n *(undefined4 *)... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV ESI,0x50
MOV EDI,0x1
CALL 0x0010fdaa
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RBP + -0x18]
MOV RCX,RDX
MOV EDX,0x0
MOV ESI,0x0
MOV RDI,RAX
CALL 0x00107530
TEST EAX,EAX
JNS 0x0018b212
MOV RAX,qword ptr [RBP + -0... |
type_1 * function_1(char *name)
{
int var_3;
type_1 *__pglob;
char *name_local;
type_1 *ret;
__pglob = (type_1 *)var_1(1,0x50);
var_3 = var_2(name,0,(type_2 *)0x0,(type_3 *)__pglob);
if (var_3 < 0) {
var_4(__pglob);
__pglob = (type_1 *)0x0;
}
else {
__pglob->i = 0;
}
return __pglo... | (translation_unit "WildcardMatcher * begin_wildcard_matching(char *name)\n\n{\n int iVar1;\n WildcardMatcher *__pglob;\n char *name_local;\n WildcardMatcher *ret;\n \n __pglob = (WildcardMatcher *)safemalloc(1,0x50);\n iVar1 = glob64(name,0,(__errfunc *)0x0,(glob64_t *)__pglob);\n if (iVar1 < 0) {\n safefree... | (translation_unit "type_1 * function_1(char *name)\n\n{\n int var_3;\n type_1 *__pglob;\n char *name_local;\n type_1 *ret;\n \n __pglob = (type_1 *)var_1(1,0x50);\n var_3 = var_2(name,0,(type_2 *)0x0,(type_3 *)__pglob);\n if (var_3 < 0) {\n var_4(__pglob);\n __pglob = (type_1 *)0x0;\n }\n else {\n __... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decl... |
1467_pscp_and_pscp_strip.c | x11_unthrottle | FUN_0019017a | x11_unthrottle |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void x11_unthrottle(X11Connection *xconn)
{
int iVar1;
X11Connection *xconn_local;
if ((xconn != (X11Connection *)0x0) && (xconn->throttled = 0, xconn->s != (Socket)0x0)) {
if ((xconn->throttled == 0) && (xconn->throttle_override =... |
void FUN_0019017a(long param_1)
{
undefined8 uVar1;
if ((param_1 != 0) && (*(undefined4 *)(param_1 + 0x50) = 0, *(long *)(param_1 + 0x78) != 0)) {
if ((*(int *)(param_1 + 0x50) == 0) && (*(int *)(param_1 + 0x54) == 0)) {
uVar1 = 0;
}
else {
uVar1 = 1;
}
(**(code **)(**(long **)(... | (translation_unit "void FUN_0019017a(long param_1)\n\n{\n undefined8 uVar1;\n \n if ((param_1 != 0) && (*(undefined4 *)(param_1 + 0x50) = 0, *(long *)(param_1 + 0x78) != 0)) {\n if ((*(int *)(param_1 + 0x50) == 0) && (*(int *)(param_1 + 0x54) == 0)) {\n uVar1 = 0;\n }\n else {\n uVar1 = 1;\n }\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
CMP qword ptr [RBP + -0x8],0x0
JZ 0x001901e7
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x50],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x78]
TEST RAX,RAX
JZ 0x001901e8
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x7... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *var_1)
{
int iVar1;
type_1 *xconn_local;
if ((var_1 != (type_1 *)0x0) && (var_1->throttled = 0, var_1->s != (type_2)0x0)) {
if ((var_1->throttled == 0) && (var_1->throttle_override == 0)) {
iVar1 = 0;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid x11_unthrottle(X11Connection *xconn)\n\n{\n int iVar1;\n X11Connection *xconn_local;\n \n if ((xconn != (X11Connection *)0x0) && (xconn->throttled = 0, xconn->s != (Socket)0x0)) {\n if ((xconn->throttled == 0) && ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *var_1)\n\n{\n int iVar1;\n type_1 *xconn_local;\n \n if ((var_1 != (type_1 *)0x0) && (var_1->throttled = 0, var_1->s != (type_2)0x0)) {\n if ((var_1->throttled == 0) && (var_1->throttle_override... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitiv... |
571_puttytel_and_puttytel_strip.c | conf_get_str_strs | FUN_001167f8 | conf_get_str_strs |
char * conf_get_str_strs(Conf *conf,int primary,char *subkeyin,char **subkeyout)
{
long lVar1;
char *pcVar2;
long in_FS_OFFSET;
char **subkeyout_local;
char *subkeyin_local;
int primary_local;
Conf *conf_local;
conf_entry *entry;
constkey key;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
if (subke... |
undefined8 FUN_001167f8(undefined8 *param_1,int param_2,undefined *param_3,undefined8 *param_4)
{
undefined8 uVar1;
long in_FS_OFFSET;
int *local_30;
int local_28 [2];
undefined *local_20;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (*(int *)(&DAT_001b7060 + (long)param_2 * 4) != 2... | (translation_unit "undefined8 FUN_001167f8(undefined8 *param_1,int param_2,undefined *param_3,undefined8 *param_4)\n\n{\n undefined8 uVar1;\n long in_FS_OFFSET;\n int *local_30;\n int local_28 [2];\n undefined *local_20;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (*(int *)(&DAT_001b7... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV dword ptr [RBP + -0x3c],ESI
MOV qword ptr [RBP + -0x48],RDX
MOV qword ptr [RBP + -0x50],RCX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x3c]
CDQE
LEA RDX,[RAX*0x4]
LEA RAX,[0x1b7060]
MOV EAX,dword... |
char * function_1(type_1 *conf,int var_6,char *var_3,char **subkeyout)
{
long var_7;
char *pcVar2;
long var_1;
char **subkeyout_local;
char *subkeyin_local;
int primary_local;
type_1 *conf_local;
type_2 *var_5;
type_3 key;
var_7 = *(long *)(var_1 + 0x28);
if (subkeytypes[var_6] != 2) {
... | (translation_unit "char * conf_get_str_strs(Conf *conf,int primary,char *subkeyin,char **subkeyout)\n\n{\n long lVar1;\n char *pcVar2;\n long in_FS_OFFSET;\n char **subkeyout_local;\n char *subkeyin_local;\n int primary_local;\n Conf *conf_local;\n conf_entry *entry;\n constkey key;\n \n lVar1 = *(long *)(in... | (translation_unit "char * function_1(type_1 *conf,int var_6,char *var_3,char **subkeyout)\n\n{\n long var_7;\n char *pcVar2;\n long var_1;\n char **subkeyout_local;\n char *subkeyin_local;\n int primary_local;\n type_1 *conf_local;\n type_2 *var_5;\n type_3 key;\n \n var_7 = *(long *)(var_1 + 0x28);\n if (s... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
1234_pscp_and_pscp_strip.c | stderr_tty_init | FUN_00183511 | stderr_tty_init |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void stderr_tty_init(void)
{
int iVar1;
if ((flags & 0x1000U) != 0) {
iVar1 = isatty(2);
if (iVar1 != 0) {
stderr_is_a_tty = 1;
tcgetattr(2,(termios *)&orig_termios_stderr);
}
}
return;
}
|
void FUN_00183511(void)
{
int iVar1;
if ((DAT_001b6260 & 0x1000) != 0) {
iVar1 = isatty(2);
if (iVar1 != 0) {
DAT_001b621c = 1;
tcgetattr(2,(termios *)&DAT_001b61e0);
}
}
return;
}
| (translation_unit "void FUN_00183511(void)\n\n{\n int iVar1;\n \n if ((DAT_001b6260 & 0x1000) != 0) {\n iVar1 = isatty(2);\n if (iVar1 != 0) {\n DAT_001b621c = 1;\n tcgetattr(2,(termios *)&DAT_001b61e0);\n }\n }\n return;\n}\n\n" (function_definition "void FUN_00183511(void)\n\n{\n int iVar1;\n... | PUSH RBP
MOV RBP,RSP
MOV EAX,dword ptr [0x001b6260]
AND EAX,0x1000
TEST EAX,EAX
JZ 0x0018354d
MOV EDI,0x2
CALL 0x00107160
TEST EAX,EAX
JZ 0x0018354d
MOV dword ptr [0x001b621c],0x1
LEA RSI,[0x1b61e0]
MOV EDI,0x2
CALL 0x001076b0
NOP
POP RBP
RET |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
int var_3;
if ((var_1 & 0x1000U) != 0) {
var_3 = var_2(2);
if (var_3 != 0) {
stderr_is_a_tty = 1;
var_4(2,(type_1 *)&orig_termios_stderr);
}
}
return;
}
| (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid stderr_tty_init(void)\n\n{\n int iVar1;\n \n if ((flags & 0x1000U) != 0) {\n iVar1 = isatty(2);\n if (iVar1 != 0) {\n stderr_is_a_tty = 1;\n tcgetattr(2,(termios *)&orig_termios_stderr);\n }\n ... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n int var_3;\n \n if ((var_1 & 0x1000U) != 0) {\n var_3 = var_2(2);\n if (var_3 != 0) {\n stderr_is_a_tty = 1;\n var_4(2,(type_1 *)&orig_termios_stderr);\n }\n }\n return... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: ... |
836_puttytel_and_puttytel_strip.c | activate_option | FUN_00136972 | activate_option |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void activate_option(Telnet telnet,Opt *o)
{
Opt *o_00;
Opt *o_local;
Telnet telnet_local;
if ((o->send == 0xfb) && (o->option == 0x1f)) {
telnet_size(telnet,telnet->term_width,telnet->term_height);
}
if ((o->send == 0xfb) &&... |
void FUN_00136972(long param_1,int *param_2)
{
undefined *puVar1;
if ((*param_2 == 0xfb) && (param_2[4] == 0x1f)) {
FUN_00138422(param_1,*(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c));
}
if ((*param_2 == 0xfb) && ((param_2[4] == 0x27 || (param_2[4] == 0x24)))) {
if (param_2[4] == ... | (translation_unit "void FUN_00136972(long param_1,int *param_2)\n\n{\n undefined *puVar1;\n \n if ((*param_2 == 0xfb) && (param_2[4] == 0x1f)) {\n FUN_00138422(param_1,*(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c));\n }\n if ((*param_2 == 0xfb) && ((param_2[4] == 0x27 || (param_2[4] == 0x24)))... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX]
CMP EAX,0xfb
JNZ 0x001369b7
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX + 0x10]
CMP EAX,0x1f
JNZ 0x001369b7
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 telnet,type_2 *o)
{
type_2 *o_00;
type_2 *o_local;
type_1 telnet_local;
if ((o->send == 0xfb) && (o->option == 0x1f)) {
var_1(telnet,telnet->term_width,telnet->term_height);
}
if ((o->send == 0xfb) && (... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid activate_option(Telnet telnet,Opt *o)\n\n{\n Opt *o_00;\n Opt *o_local;\n Telnet telnet_local;\n \n if ((o->send == 0xfb) && (o->option == 0x1f)) {\n telnet_size(telnet,telnet->term_width,telnet->term_height);\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 telnet,type_2 *o)\n\n{\n type_2 *o_00;\n type_2 *o_local;\n type_1 telnet_local;\n \n if ((o->send == 0xfb) && (o->option == 0x1f)) {\n var_1(telnet,telnet->term_width,telnet->term_height);\n }... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator... |
1452_pscp_and_pscp_strip.c | dummy_plug_accepting | FUN_0018e919 | dummy_plug_accepting |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int dummy_plug_accepting(Plug p,accept_fn_t constructor,accept_ctx_t ctx)
{
accept_ctx_t ctx_local;
accept_fn_t constructor_local;
Plug p_local;
return 1;
}
|
undefined8 FUN_0018e919(void)
{
return 1;
}
| (translation_unit "undefined8 FUN_0018e919(void)\n\n{\n return 1;\n}\n\n" (function_definition "undefined8 FUN_0018e919(void)\n\n{\n return 1;\n}" type_identifier (function_declarator "FUN_0018e919(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV EAX,0x1
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 p,type_2 constructor,type_3 ctx)
{
type_3 ctx_local;
type_2 constructor_local;
type_1 p_local;
return 1;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint dummy_plug_accepting(Plug p,accept_fn_t constructor,accept_ctx_t ctx)\n\n{\n accept_ctx_t ctx_local;\n accept_fn_t constructor_local;\n Plug p_local;\n \n return 1;\n}\n\n" comment (function_definition "int dummy_plu... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 p,type_2 constructor,type_3 ctx)\n\n{\n type_3 ctx_local;\n type_2 constructor_local;\n type_1 p_local;\n \n return 1;\n}\n\n" comment (function_definition "int function_1(type_1 p,type_2 constructo... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_decla... |
813_puttytel_and_puttytel_strip.c | gppfile | FUN_001308f6 | gppfile |
void gppfile(void *handle,char *name,Conf *conf,int primary)
{
int primary_local;
Conf *conf_local;
char *name_local;
void *handle_local;
Filename *result;
result = read_setting_filename(handle,name);
if (result == (Filename *)0x0) {
result = platform_default_filename(name);
}
conf_set_filena... |
void FUN_001308f6(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)
{
undefined8 local_10;
local_10 = FUN_00175fb4(param_1,param_2);
if (local_10 == 0) {
local_10 = FUN_00164701(param_2);
}
FUN_001170ce(param_3,param_4,local_10);
FUN_0016e5f6(local_10);
return;
}
| (translation_unit "void FUN_001308f6(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n undefined8 local_10;\n \n local_10 = FUN_00175fb4(param_1,param_2);\n if (local_10 == 0) {\n local_10 = FUN_00164701(param_2);\n }\n FUN_001170ce(param_3,param_4,local_10);\n FUN_0016e5f6(l... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV dword ptr [RBP + -0x2c],ECX
MOV RDX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00175fb4
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0... |
void function_1(void *handle,char *name,type_1 *conf,int primary)
{
int primary_local;
type_1 *conf_local;
char *name_local;
void *handle_local;
type_2 *var_2;
var_2 = var_1(handle,name);
if (var_2 == (type_2 *)0x0) {
var_2 = var_3(name);
}
var_4(conf,primary,var_2);
var_5(var_2);
return;... | (translation_unit "void gppfile(void *handle,char *name,Conf *conf,int primary)\n\n{\n int primary_local;\n Conf *conf_local;\n char *name_local;\n void *handle_local;\n Filename *result;\n \n result = read_setting_filename(handle,name);\n if (result == (Filename *)0x0) {\n result = platform_default_filename... | (translation_unit "void function_1(void *handle,char *name,type_1 *conf,int primary)\n\n{\n int primary_local;\n type_1 *conf_local;\n char *name_local;\n void *handle_local;\n type_2 *var_2;\n \n var_2 = var_1(handle,name);\n if (var_2 == (type_2 *)0x0) {\n var_2 = var_3(name);\n }\n var_4(conf,primary,va... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
1104_pscp_and_pscp_strip.c | SHA_Final | FUN_001778d5 | SHA_Final |
int SHA_Final(SHA_State *s,uchar *output)
{
int iVar1;
uint32 uVar2;
long lVar3;
int iVar4;
long in_FS_OFFSET;
uchar *output_local;
SHA_State *s_local;
int i;
int pad;
uint32 lenhi;
uint32 lenlo;
uchar c [64];
lVar3 = *(long *)(in_FS_OFFSET + 0x28);
if (s->blkused < 0x38) {
pad = 0x... |
void FUN_001778d5(long param_1,long param_2)
{
int iVar1;
undefined4 uVar2;
int iVar3;
long in_FS_OFFSET;
int local_68;
int local_64;
undefined local_58;
undefined local_57;
undefined local_56;
byte local_55;
undefined local_54;
undefined local_53;
undefined local_52;
undefined local_51;
... | (translation_unit "void FUN_001778d5(long param_1,long param_2)\n\n{\n int iVar1;\n undefined4 uVar2;\n int iVar3;\n long in_FS_OFFSET;\n int local_68;\n int local_64;\n undefined local_58;\n undefined local_57;\n undefined local_56;\n byte local_55;\n undefined local_54;\n undefined local_53;\n undefined ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x68],RDI
MOV qword ptr [RBP + -0x70],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x68]
MOV EAX,dword ptr [RAX + 0x54]
CMP EAX,0x37
JLE 0x00177915
MOV RAX,qword ptr [RBP + -0x68]
MOV EAX,dword ptr [RAX + 0x5... |
int function_1(type_1 *s,type_2 *output)
{
int iVar1;
type_3 var_4;
long var_6;
int iVar4;
long var_1;
type_2 *output_local;
type_1 *s_local;
int var_5;
int pad;
type_3 lenhi;
type_3 lenlo;
type_2 c [64];
var_6 = *(long *)(var_1 + 0x28);
if (s->blkused < 0x38) {
pad = 0x38 - s->blku... | (translation_unit "int SHA_Final(SHA_State *s,uchar *output)\n\n{\n int iVar1;\n uint32 uVar2;\n long lVar3;\n int iVar4;\n long in_FS_OFFSET;\n uchar *output_local;\n SHA_State *s_local;\n int i;\n int pad;\n uint32 lenhi;\n uint32 lenlo;\n uchar c [64];\n \n lVar3 = *(long *)(in_FS_OFFSET + 0x28);\n if... | (translation_unit "int function_1(type_1 *s,type_2 *output)\n\n{\n int iVar1;\n type_3 var_4;\n long var_6;\n int iVar4;\n long var_1;\n type_2 *output_local;\n type_1 *s_local;\n int var_5;\n int pad;\n type_3 lenhi;\n type_3 lenlo;\n type_2 c [64];\n \n var_6 = *(long *)(var_1 + 0x28);\n if (s->blkused... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
1079_pscp_and_pscp_strip.c | sha256_do_hmac | FUN_001723ba | sha256_do_hmac |
void sha256_do_hmac(void *handle,uchar *blk,int len,ulong seq,uchar *hmac)
{
long lVar1;
long in_FS_OFFSET;
uchar *hmac_local;
ulong seq_local;
int len_local;
uchar *blk_local;
void *handle_local;
uchar seqbuf [4];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
seqbuf[0] = (uchar)(seq >> 0x18);
seqb... |
void FUN_001723ba(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
undefined8 param_5)
{
long in_FS_OFFSET;
undefined local_14;
undefined local_13;
undefined local_12;
undefined local_11;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_14... | (translation_unit "void FUN_001723ba(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n undefined8 param_5)\n\n{\n long in_FS_OFFSET;\n undefined local_14;\n undefined local_13;\n undefined local_12;\n undefined local_11;\n long local_10;\n \n local_10 = *(long *)(in_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV qword ptr [RBP + -0x30],RCX
MOV qword ptr [RBP + -0x38],R8
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x30]
SHR RAX,0x18
MOV byte pt... |
void function_1(void *handle,type_1 *blk,int len,type_2 var_2,type_1 *hmac)
{
long var_6;
long var_1;
type_1 *hmac_local;
type_2 seq_local;
int len_local;
type_1 *blk_local;
void *handle_local;
type_1 seqbuf [4];
var_6 = *(long *)(var_1 + 0x28);
seqbuf[0] = (type_1)(var_2 >> 0x18);
seqbuf[1] ... | (translation_unit "void sha256_do_hmac(void *handle,uchar *blk,int len,ulong seq,uchar *hmac)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n uchar *hmac_local;\n ulong seq_local;\n int len_local;\n uchar *blk_local;\n void *handle_local;\n uchar seqbuf [4];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n seqbuf[0]... | (translation_unit "void function_1(void *handle,type_1 *blk,int len,type_2 var_2,type_1 *hmac)\n\n{\n long var_6;\n long var_1;\n type_1 *hmac_local;\n type_2 seq_local;\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_1 seqbuf [4];\n \n var_6 = *(long *)(var_1 + 0x28);\n seqbuf[0] = (type_... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
875_puttytel_and_puttytel_strip.c | makeliteral_cc | FUN_00139d24 | makeliteral_cc |
void makeliteral_cc(buf *b,termchar *c,ulong *state)
{
long lVar1;
long in_FS_OFFSET;
ulong *state_local;
termchar *c_local;
buf *b_local;
ulong zstate;
termchar z;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
c_local = c;
while (c_local->cc_next != L'\0') {
c_local = c_local + c_local->cc_next;... |
void FUN_00139d24(undefined8 param_1,long *param_2)
{
long in_FS_OFFSET;
long *local_48;
undefined8 local_30;
undefined8 local_28 [3];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_48 = param_2;
while (*(int *)(local_48 + 2) != 0) {
local_48 = local_48 + (long)*(int *)(local_4... | (translation_unit "void FUN_00139d24(undefined8 param_1,long *param_2)\n\n{\n long in_FS_OFFSET;\n long *local_48;\n undefined8 local_30;\n undefined8 local_28 [3];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_48 = param_2;\n while (*(int *)(local_48 + 2) != 0) {\n local_48 = loc... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV qword ptr [RBP + -0x48],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
JMP 0x00139dae
MOV RAX,qword ptr [RBP + -0x40]
MOV EAX,dword ptr [RAX + 0x10]
MOVSXD RDX,EAX
MOV RAX,RDX
ADD RAX,RAX
AD... |
void function_1(type_1 *b,type_2 *c,type_3 *state)
{
long var_5;
long var_1;
type_3 *state_local;
type_2 *var_2;
type_1 *b_local;
type_3 zstate;
type_2 z;
var_5 = *(long *)(var_1 + 0x28);
var_2 = c;
while (var_2->cc_next != L'\0') {
var_2 = var_2 + var_2->cc_next;
if (var_2->chr == 0) {... | (translation_unit "void makeliteral_cc(buf *b,termchar *c,ulong *state)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n ulong *state_local;\n termchar *c_local;\n buf *b_local;\n ulong zstate;\n termchar z;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n c_local = c;\n while (c_local->cc_next != L'\0') {\n c_loc... | (translation_unit "void function_1(type_1 *b,type_2 *c,type_3 *state)\n\n{\n long var_5;\n long var_1;\n type_3 *state_local;\n type_2 *var_2;\n type_1 *b_local;\n type_3 zstate;\n type_2 z;\n \n var_5 = *(long *)(var_1 + 0x28);\n var_2 = c;\n while (var_2->cc_next != L'\0') {\n var_2 = var_2 + var_2->cc_... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
765_puttytel_and_puttytel_strip.c | raw_sent | FUN_0012eef4 | raw_sent |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void raw_sent(Plug plug,int bufsize)
{
int bufsize_local;
Plug plug_local;
Raw raw;
*(int *)((long)plug + 0x14) = bufsize;
return;
}
|
void FUN_0012eef4(long param_1,undefined4 param_2)
{
*(undefined4 *)(param_1 + 0x14) = param_2;
return;
}
| (translation_unit "void FUN_0012eef4(long param_1,undefined4 param_2)\n\n{\n *(undefined4 *)(param_1 + 0x14) = param_2;\n return;\n}\n\n" (function_definition "void FUN_0012eef4(long param_1,undefined4 param_2)\n\n{\n *(undefined4 *)(param_1 + 0x14) = param_2;\n return;\n}" primitive_type (function_declarator "FUN_... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr [RBP + -0x1c]
MOV dword ptr [RAX + 0x14],EDX
NOP
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 plug,int bufsize)
{
int bufsize_local;
type_1 plug_local;
type_2 raw;
*(int *)((long)plug + 0x14) = bufsize;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid raw_sent(Plug plug,int bufsize)\n\n{\n int bufsize_local;\n Plug plug_local;\n Raw raw;\n \n *(int *)((long)plug + 0x14) = bufsize;\n return;\n}\n\n" comment (function_definition "void raw_sent(Plug plug,int bufsiz... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 plug,int bufsize)\n\n{\n int bufsize_local;\n type_1 plug_local;\n type_2 raw;\n \n *(int *)((long)plug + 0x14) = bufsize;\n return;\n}\n\n" comment (function_definition "void function_1(type_1 pl... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound... |
1367_pscp_and_pscp_strip.c | next_fd | FUN_0018a629 | next_fd |
int next_fd(int *state,int *rwx)
{
int iVar1;
int *piVar2;
int *rwx_local;
int *state_local;
fd *fd;
iVar1 = *state;
*state = iVar1 + 1;
piVar2 = (int *)index234(fds,iVar1);
if (piVar2 == (int *)0x0) {
iVar1 = -1;
}
else {
*rwx = piVar2[1];
iVar1 = *piVar2;
}
return iVar1;
}
|
undefined4 FUN_0018a629(int *param_1,undefined4 *param_2)
{
int iVar1;
undefined4 uVar2;
undefined4 *puVar3;
iVar1 = *param_1;
*param_1 = iVar1 + 1;
puVar3 = (undefined4 *)FUN_00181ae2(DAT_001b6240,iVar1);
if (puVar3 == (undefined4 *)0x0) {
uVar2 = 0xffffffff;
}
else {
*param_2 = puVar3[1... | (translation_unit "undefined4 FUN_0018a629(int *param_1,undefined4 *param_2)\n\n{\n int iVar1;\n undefined4 uVar2;\n undefined4 *puVar3;\n \n iVar1 = *param_1;\n *param_1 = iVar1 + 1;\n puVar3 = (undefined4 *)FUN_00181ae2(DAT_001b6240,iVar1);\n if (puVar3 == (undefined4 *)0x0) {\n uVar2 = 0xffffffff;\n }\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX]
LEA ECX,[RAX + 0x1]
MOV RDX,qword ptr [RBP + -0x18]
MOV dword ptr [RDX],ECX
MOV RDX,qword ptr [0x001b6240]
MOV ESI,EAX
MOV RDI,RDX
CALL 0x00181ae2
MOV qword ptr [RBP ... |
int function_1(int *state,int *rwx)
{
int var_1;
int *var_3;
int *rwx_local;
int *state_local;
type_1 *type_1;
var_1 = *state;
*state = var_1 + 1;
var_3 = (int *)var_2(fds,var_1);
if (var_3 == (int *)0x0) {
var_1 = -1;
}
else {
*rwx = var_3[1];
var_1 = *var_3;
}
return var_1;
... | (translation_unit "int next_fd(int *state,int *rwx)\n\n{\n int iVar1;\n int *piVar2;\n int *rwx_local;\n int *state_local;\n fd *fd;\n \n iVar1 = *state;\n *state = iVar1 + 1;\n piVar2 = (int *)index234(fds,iVar1);\n if (piVar2 == (int *)0x0) {\n iVar1 = -1;\n }\n else {\n *rwx = piVar2[1];\n iVar1... | (translation_unit "int function_1(int *state,int *rwx)\n\n{\n int var_1;\n int *var_3;\n int *rwx_local;\n int *state_local;\n type_1 *type_1;\n \n var_1 = *state;\n *state = var_1 + 1;\n var_3 = (int *)var_2(fds,var_1);\n if (var_3 == (int *)0x0) {\n var_1 = -1;\n }\n else {\n *rwx = var_3[1];\n v... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
985_puttytel_and_puttytel_strip.c | columns_set_cols | FUN_0014f608 | columns_set_cols |
void columns_set_cols(Columns *cols,gint ncols,gint *percentages)
{
GType GVar1;
undefined8 *puVar2;
undefined8 uVar3;
GList *pGVar4;
gint *percentages_local;
gint ncols_local;
Columns *cols_local;
gint i;
gboolean __r;
GTypeInstance *__inst;
GType __t;
ColumnsChild *childdata;
if (cols =... |
void FUN_0014f608(long *param_1,int param_2,long param_3)
{
long lVar1;
undefined8 *puVar2;
undefined8 uVar3;
int local_28;
int local_24;
if (param_1 == (long *)0x0) {
g_return_if_fail_warning(0,"columns_set_cols","cols != NULL");
}
else {
lVar1 = FUN_0014ebf9();
if (param_1 == (long *)... | (translation_unit "void FUN_0014f608(long *param_1,int param_2,long param_3)\n\n{\n long lVar1;\n undefined8 *puVar2;\n undefined8 uVar3;\n int local_28;\n int local_24;\n \n if (param_1 == (long *)0x0) {\n g_return_if_fail_warning(0,"columns_set_cols","cols != NULL");\n }\n else {\n lVar1 = FUN_0014ebf9... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
MOV qword ptr [RBP + -0x38],RDX
CMP qword ptr [RBP + -0x28],0x0
JNZ 0x0014f63f
LEA RDX,[0x1a0f18]
LEA RSI,[0x1a1060]
MOV EDI,0x0
CALL 0x00110210
JMP 0x0014f7bb
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x18],RA... |
void function_1(type_1 *var_1,type_2 var_7,type_2 *var_8)
{
type_3 var_4;
type_4 *var_10;
type_4 uVar3;
type_5 *pGVar4;
type_2 *percentages_local;
type_2 ncols_local;
type_1 *cols_local;
type_2 var_11;
type_6 var_6;
type_7 *__inst;
type_3 __t;
type_8 *childdata;
if (var_1 == (type_1 *)0x0... | (translation_unit "void columns_set_cols(Columns *cols,gint ncols,gint *percentages)\n\n{\n GType GVar1;\n undefined8 *puVar2;\n undefined8 uVar3;\n GList *pGVar4;\n gint *percentages_local;\n gint ncols_local;\n Columns *cols_local;\n gint i;\n gboolean __r;\n GTypeInstance *__inst;\n GType __t;\n ColumnsC... | (translation_unit "void function_1(type_1 *var_1,type_2 var_7,type_2 *var_8)\n\n{\n type_3 var_4;\n type_4 *var_10;\n type_4 uVar3;\n type_5 *pGVar4;\n type_2 *percentages_local;\n type_2 ncols_local;\n type_1 *cols_local;\n type_2 var_11;\n type_6 var_6;\n type_7 *__inst;\n type_3 __t;\n type_8 *childdata;... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
1272_pscp_and_pscp_strip.c | cloexec | FUN_00184e4c | cloexec |
void cloexec(int fd)
{
uint uVar1;
int iVar2;
int *piVar3;
char *pcVar4;
int fd_local;
int fdflags;
uVar1 = fcntl64(fd,1);
if ((int)uVar1 < 0) {
piVar3 = __errno_location();
pcVar4 = strerror(*piVar3);
fprintf(stderr,"%d: fcntl(F_GETFD): %s\n",(ulong)(uint)fd,pcVar4);
... |
void FUN_00184e4c(uint param_1)
{
uint uVar1;
int iVar2;
int *piVar3;
char *pcVar4;
uVar1 = fcntl64(param_1,1);
if ((int)uVar1 < 0) {
piVar3 = __errno_location();
pcVar4 = strerror(*piVar3);
fprintf(stderr,"%d: fcntl(F_GETFD): %s\n",(ulong)param_1,pcVar4);
/* WARNING: Su... | (translation_unit "void FUN_00184e4c(uint param_1)\n\n{\n uint uVar1;\n int iVar2;\n int *piVar3;\n char *pcVar4;\n \n uVar1 = fcntl64(param_1,1);\n if ((int)uVar1 < 0) {\n piVar3 = __errno_location();\n pcVar4 = strerror(*piVar3);\n fprintf(stderr,"%d: fcntl(F_GETFD): %s\n",(ulong)param_1,pcVar4);\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x14],EDI
MOV EAX,dword ptr [RBP + -0x14]
MOV ESI,0x1
MOV EDI,EAX
MOV EAX,0x0
CALL 0x00107680
MOV dword ptr [RBP + -0x4],EAX
CMP dword ptr [RBP + -0x4],0x0
JNS 0x00184ead
CALL 0x001070c0
MOV EAX,dword ptr [RAX]
MOV EDI,EAX
CALL 0x00107810
MOV RCX,RAX
MOV RAX,qword... |
void function_1(int fd)
{
type_1 var_6;
int var_7;
int *piVar3;
char *pcVar4;
int fd_local;
int fdflags;
var_6 = var_1(fd,1);
if ((int)var_6 < 0) {
piVar3 = var_2();
pcVar4 = var_3(*piVar3);
var_4(stderr,"%d: fcntl(F_GETFD): %s\n",(type_2)(type_1)fd,pcVar4);
/* WARNI... | (translation_unit "void cloexec(int fd)\n\n{\n uint uVar1;\n int iVar2;\n int *piVar3;\n char *pcVar4;\n int fd_local;\n int fdflags;\n \n uVar1 = fcntl64(fd,1);\n if ((int)uVar1 < 0) {\n piVar3 = __errno_location();\n pcVar4 = strerror(*piVar3);\n fprintf(stderr,"%d: fcntl(F_GETFD): %s\n",(ulong)(uin... | (translation_unit "void function_1(int fd)\n\n{\n type_1 var_6;\n int var_7;\n int *piVar3;\n char *pcVar4;\n int fd_local;\n int fdflags;\n \n var_6 = var_1(fd,1);\n if ((int)var_6 < 0) {\n piVar3 = var_2();\n pcVar4 = var_3(*piVar3);\n var_4(stderr,"%d: fcntl(F_GETFD): %s\n",(type_2)(type_1)fd,pcVar... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declarat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.