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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
1995_putty_and_putty_strip.c | cairo_setup_dctx | FUN_001c60d3 | cairo_setup_dctx |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void cairo_setup_dctx(draw_ctx *dctx)
{
draw_ctx *dctx_local;
cairo_get_matrix((dctx->uctx).u.cairo.cr,(undefined *)((long)&(dctx->uctx).u + 0x10));
cairo_set_line_width(DAT_002163c0,(dctx->uctx).u.cairo.cr);
cairo_set_line_cap((dctx... |
void FUN_001c60d3(long param_1)
{
cairo_get_matrix(*(undefined8 *)(param_1 + 0x18),param_1 + 0x20);
cairo_set_line_width(DAT_002163c0,*(undefined8 *)(param_1 + 0x18));
cairo_set_line_cap(*(undefined8 *)(param_1 + 0x18),2);
cairo_set_line_join(*(undefined8 *)(param_1 + 0x18),0);
cairo_set_antialias(*(undefin... | (translation_unit "void FUN_001c60d3(long param_1)\n\n{\n cairo_get_matrix(*(undefined8 *)(param_1 + 0x18),param_1 + 0x20);\n cairo_set_line_width(DAT_002163c0,*(undefined8 *)(param_1 + 0x18));\n cairo_set_line_cap(*(undefined8 *)(param_1 + 0x18),2);\n cairo_set_line_join(*(undefined8 *)(param_1 + 0x18),0);\n cair... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
LEA RDX,[RAX + 0x20]
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x18]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00115010
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x18]
MOVSD XMM0,qword ptr [0x002163c0]
MOV R... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *dctx)
{
type_1 *dctx_local;
var_1((dctx->uctx).u.cairo.cr,(type_2 *)((long)&(dctx->uctx).u + 0x10));
var_2(DAT_002163c0,(dctx->uctx).u.cairo.cr);
var_3((dctx->uctx).u.cairo.cr,2);
var_4((dctx->uctx).u.cairo.... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid cairo_setup_dctx(draw_ctx *dctx)\n\n{\n draw_ctx *dctx_local;\n \n cairo_get_matrix((dctx->uctx).u.cairo.cr,(undefined *)((long)&(dctx->uctx).u + 0x10));\n cairo_set_line_width(DAT_002163c0,(dctx->uctx).u.cairo.cr);\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *dctx)\n\n{\n type_1 *dctx_local;\n \n var_1((dctx->uctx).u.cairo.cr,(type_2 *)((long)&(dctx->uctx).u + 0x10));\n var_2(DAT_002163c0,(dctx->uctx).u.cairo.cr);\n var_3((dctx->uctx).u.cairo.cr,2);\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: (type_ide... |
2121_putty_and_putty_strip.c | sk_namelookup | FUN_001d0beb | sk_namelookup |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
SockAddr sk_namelookup(char *host,char **canonicalname,int address_family)
{
long lVar1;
int __ecode;
SockAddr __s;
char *pcVar2;
size_t sVar3;
long in_FS_OFFSET;
int address_family_local;
char **canonicalname_local;
char *hos... |
undefined4 * FUN_001d0beb(char *param_1,undefined8 *param_2,int param_3)
{
int __ecode;
undefined4 *__s;
char *pcVar1;
size_t sVar2;
undefined8 uVar3;
long in_FS_OFFSET;
addrinfo local_2048;
char local_2018 [8191];
undefined local_19;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
... | (translation_unit "undefined4 * FUN_001d0beb(char *param_1,undefined8 *param_2,int param_3)\n\n{\n int __ecode;\n undefined4 *__s;\n char *pcVar1;\n size_t sVar2;\n undefined8 uVar3;\n long in_FS_OFFSET;\n addrinfo local_2048;\n char local_2018 [8191];\n undefined local_19;\n long local_10;\n \n local_10 = ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x2080
MOV qword ptr [RBP + -0x2068],RDI
MOV qword ptr [RBP + -0x2070],RSI
MOV dword ptr [RBP + -0x2074],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV ESI,0x220
MOV EDI,0x1
CALL 0x0012e037
MOV qword ptr [RBP + -0x2050],RAX
MOV RAX,qword ptr [RBP + -0x2050]
M... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(char *host,char **canonicalname,int var_4)
{
long var_14;
int var_8;
type_1 __s;
char *pcVar2;
size_t var_11;
long var_1;
int address_family_local;
char **canonicalname_local;
char *host_local;
int err;
t... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nSockAddr sk_namelookup(char *host,char **canonicalname,int address_family)\n\n{\n long lVar1;\n int __ecode;\n SockAddr __s;\n char *pcVar2;\n size_t sVar3;\n long in_FS_OFFSET;\n int address_family_local;\n char **ca... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(char *host,char **canonicalname,int var_4)\n\n{\n long var_14;\n int var_8;\n type_1 __s;\n char *pcVar2;\n size_t var_11;\n long var_1;\n int address_family_local;\n char **canonicalname_local;\n c... | (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... |
2262_putty_and_putty_strip.c | del_settings | FUN_001d9053 | del_settings |
void del_settings(char *sessionname)
{
char *__name;
char *sessionname_local;
char *filename;
__name = make_filename(5,sessionname);
unlink(__name);
safefree(__name);
return;
}
|
void FUN_001d9053(undefined8 param_1)
{
char *__name;
__name = (char *)FUN_001d8145(5,param_1);
unlink(__name);
FUN_0012e243(__name);
return;
}
| (translation_unit "void FUN_001d9053(undefined8 param_1)\n\n{\n char *__name;\n \n __name = (char *)FUN_001d8145(5,param_1);\n unlink(__name);\n FUN_0012e243(__name);\n return;\n}\n\n" (function_definition "void FUN_001d9053(undefined8 param_1)\n\n{\n char *__name;\n \n __name = (char *)FUN_001d8145(5,param_1)... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RAX
MOV EDI,0x5
CALL 0x001d8145
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x001146d0
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0012e243
NOP
LEAVE
RET |
void function_1(char *sessionname)
{
char *__name;
char *sessionname_local;
char *filename;
__name = var_1(5,sessionname);
var_2(__name);
var_3(__name);
return;
}
| (translation_unit "void del_settings(char *sessionname)\n\n{\n char *__name;\n char *sessionname_local;\n char *filename;\n \n __name = make_filename(5,sessionname);\n unlink(__name);\n safefree(__name);\n return;\n}\n\n" (function_definition "void del_settings(char *sessionname)\n\n{\n char *__name;\n char *... | (translation_unit "void function_1(char *sessionname)\n\n{\n char *__name;\n char *sessionname_local;\n char *filename;\n \n __name = var_1(5,sessionname);\n var_2(__name);\n var_3(__name);\n return;\n}\n\n" (function_definition "void function_1(char *sessionname)\n\n{\n char *__name;\n char *sessionname_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))))) body: (compound_statement (declaration type: (primitive_type) dec... |
2108_putty_and_putty_strip.c | no_nonblock | FUN_001d05c9 | no_nonblock |
int no_nonblock(int fd)
{
uint uVar1;
int iVar2;
int *piVar3;
char *pcVar4;
int fd_local;
int fdflags;
uVar1 = fcntl64(fd,3);
if ((int)uVar1 < 0) {
piVar3 = __errno_location();
pcVar4 = strerror(*piVar3);
fprintf(stderr,"%d: fcntl(F_GETFL): %s\n",(ulong)(uint)fd,pcVar4);
... |
uint FUN_001d05c9(uint param_1)
{
uint uVar1;
int iVar2;
int *piVar3;
char *pcVar4;
uVar1 = fcntl64(param_1,3);
if ((int)uVar1 < 0) {
piVar3 = __errno_location();
pcVar4 = strerror(*piVar3);
fprintf(stderr,"%d: fcntl(F_GETFL): %s\n",(ulong)param_1,pcVar4);
/* WARNING: Su... | (translation_unit "uint FUN_001d05c9(uint param_1)\n\n{\n uint uVar1;\n int iVar2;\n int *piVar3;\n char *pcVar4;\n \n uVar1 = fcntl64(param_1,3);\n if ((int)uVar1 < 0) {\n piVar3 = __errno_location();\n pcVar4 = strerror(*piVar3);\n fprintf(stderr,"%d: fcntl(F_GETFL): %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,0x3
MOV EDI,EAX
MOV EAX,0x0
CALL 0x00115af0
MOV dword ptr [RBP + -0x4],EAX
CMP dword ptr [RBP + -0x4],0x0
JNS 0x001d062a
CALL 0x00114070
MOV EAX,dword ptr [RAX]
MOV EDI,EAX
CALL 0x001144f0
MOV RCX,RAX
MOV RAX,qword... |
int 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,3);
if ((int)var_6 < 0) {
piVar3 = var_2();
pcVar4 = var_3(*piVar3);
var_4(stderr,"%d: fcntl(F_GETFL): %s\n",(type_2)(type_1)fd,pcVar4);
/* WARNIN... | (translation_unit "int no_nonblock(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,3);\n if ((int)uVar1 < 0) {\n piVar3 = __errno_location();\n pcVar4 = strerror(*piVar3);\n fprintf(stderr,"%d: fcntl(F_GETFL): %s\n",(ulong)(... | (translation_unit "int 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,3);\n if ((int)var_6 < 0) {\n piVar3 = var_2();\n pcVar4 = var_3(*piVar3);\n var_4(stderr,"%d: fcntl(F_GETFL): %s\n",(type_2)(type_1)fd,pcVar4... | (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... |
2066_putty_and_putty_strip.c | about_menuitem | FUN_001cc6db | about_menuitem |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void about_menuitem(GtkMenuItem *item,gpointer data)
{
gpointer data_local;
GtkMenuItem *item_local;
gui_data *inst;
/* WARNING: Load size is inaccurate */
about_box(*data);
return;
}
|
void FUN_001cc6db(undefined8 param_1,undefined8 *param_2)
{
FUN_001b9d45(*param_2);
return;
}
| (translation_unit "void FUN_001cc6db(undefined8 param_1,undefined8 *param_2)\n\n{\n FUN_001b9d45(*param_2);\n return;\n}\n\n" (function_definition "void FUN_001cc6db(undefined8 param_1,undefined8 *param_2)\n\n{\n FUN_001b9d45(*param_2);\n return;\n}" primitive_type (function_declarator "FUN_001cc6db(undefined8 para... | 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 + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x001b9d45
NOP
LEAVE
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *item,type_2 data)
{
type_2 data_local;
type_1 *item_local;
type_3 *inst;
/* WARNING: Load size is inaccurate */
var_1(*data);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid about_menuitem(GtkMenuItem *item,gpointer data)\n\n{\n gpointer data_local;\n GtkMenuItem *item_local;\n gui_data *inst;\n \n /* WARNING: Load size is inaccurate */\n about_box(*data);\n return;\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *item,type_2 data)\n\n{\n type_2 data_local;\n type_1 *item_local;\n type_3 *inst;\n \n /* WARNING: Load size is inaccurate */\n var_1(*data);\n return;\n}\n\n" comment (functio... | (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... |
1993_putty_and_putty_strip.c | show_mouseptr | FUN_001c5e3e | show_mouseptr |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void show_mouseptr(gui_data *inst,wchar_t show)
{
int iVar1;
wchar_t show_local;
gui_data *inst_local;
iVar1 = conf_get_int(inst->conf,0x7d);
show_local = show;
if (iVar1 == 0) {
show_local = L'\x01';
}
inst->mouseptr_vis... |
void FUN_001c5e3e(long param_1,undefined4 param_2)
{
int iVar1;
undefined4 local_14;
iVar1 = FUN_0011a4c1(*(undefined8 *)(param_1 + 0x22d0),0x7d);
local_14 = param_2;
if (iVar1 == 0) {
local_14 = 1;
}
*(undefined4 *)(param_1 + 0xd60) = local_14;
FUN_001c5d2b(param_1);
return;
}
| (translation_unit "void FUN_001c5e3e(long param_1,undefined4 param_2)\n\n{\n int iVar1;\n undefined4 local_14;\n \n iVar1 = FUN_0011a4c1(*(undefined8 *)(param_1 + 0x22d0),0x7d);\n local_14 = param_2;\n if (iVar1 == 0) {\n local_14 = 1;\n }\n *(undefined4 *)(param_1 + 0xd60) = local_14;\n FUN_001c5d2b(param_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x22d0]
MOV ESI,0x7d
MOV RDI,RAX
CALL 0x0011a4c1
TEST EAX,EAX
JNZ 0x001c5e70
MOV dword ptr [RBP + -0xc],0x1
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr [RBP + -0xc... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *inst,type_2 show)
{
int var_2;
type_2 show_local;
type_1 *inst_local;
var_2 = var_1(inst->conf,0x7d);
show_local = show;
if (var_2 == 0) {
show_local = L'\x01';
}
inst->mouseptr_visible = show_loca... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid show_mouseptr(gui_data *inst,wchar_t show)\n\n{\n int iVar1;\n wchar_t show_local;\n gui_data *inst_local;\n \n iVar1 = conf_get_int(inst->conf,0x7d);\n show_local = show;\n if (iVar1 == 0) {\n show_local = L'\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *inst,type_2 show)\n\n{\n int var_2;\n type_2 show_local;\n type_1 *inst_local;\n \n var_2 = var_1(inst->conf,0x7d);\n show_local = show;\n if (var_2 == 0) {\n show_local = L'\x01';\n }\n in... | (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... |
2187_putty_and_putty_strip.c | localproxy_errfd_cmp | FUN_001d4d05 | localproxy_errfd_cmp |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int localproxy_errfd_cmp(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
Local_Proxy_Socket a;
Local_Proxy_Socket b;
if (*(int *)((long)av + 0x10) < *(int *)((long)bv + 0x10)) {
iVar1 = -1;
}
else if (*(in... |
undefined8 FUN_001d4d05(long param_1,long param_2)
{
undefined8 uVar1;
if (*(int *)(param_1 + 0x10) < *(int *)(param_2 + 0x10)) {
uVar1 = 0xffffffff;
}
else if (*(int *)(param_2 + 0x10) < *(int *)(param_1 + 0x10)) {
uVar1 = 1;
}
else {
uVar1 = 0;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_001d4d05(long param_1,long param_2)\n\n{\n undefined8 uVar1;\n \n if (*(int *)(param_1 + 0x10) < *(int *)(param_2 + 0x10)) {\n uVar1 = 0xffffffff;\n }\n else if (*(int *)(param_2 + 0x10) < *(int *)(param_1 + 0x10)) {\n uVar1 = 1;\n }\n else {\n uVar1 = 0;\n }\n return... | 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 + 0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ... |
/* 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;
if (*(int *)((long)av + 0x10) < *(int *)((long)bv + 0x10)) {
iVar1 = -1;
}
else if (*(int *)((long)bv + 0x10) < *(int *)((... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint localproxy_errfd_cmp(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n Local_Proxy_Socket a;\n Local_Proxy_Socket b;\n \n if (*(int *)((long)av + 0x10) < *(int *)((long)bv + 0x10)) {\n i... | (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 if (*(int *)((long)av + 0x10) < *(int *)((long)bv + 0x10)) {\n iVar1 = -1;\n }\n else if (*(int ... | (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:... |
2110_putty_and_putty_strip.c | fontspec_new | FUN_001d0729 | 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_001d0729(undefined8 param_1)
{
undefined8 *puVar1;
undefined8 uVar2;
puVar1 = (undefined8 *)FUN_0012e037(1,8);
uVar2 = FUN_0012cfa3(param_1);
*puVar1 = uVar2;
return puVar1;
}
| (translation_unit "undefined8 * FUN_001d0729(undefined8 param_1)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n \n puVar1 = (undefined8 *)FUN_0012e037(1,8);\n uVar2 = FUN_0012cfa3(param_1);\n *puVar1 = uVar2;\n return puVar1;\n}\n\n" (function_definition "undefined8 * FUN_001d0729(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 0x0012e037
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RDI,RAX
CALL 0x0012cfa3
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... |
1956_putty_and_putty_strip.c | make_gtk_toplevel_window | FUN_001c4e7f | make_gtk_toplevel_window |
GtkWidget * make_gtk_toplevel_window(void *frontend)
{
GtkWidget *pGVar1;
void *frontend_local;
pGVar1 = (GtkWidget *)gtk_window_new(0);
return pGVar1;
}
|
void FUN_001c4e7f(void)
{
gtk_window_new(0);
return;
}
| (translation_unit "void FUN_001c4e7f(void)\n\n{\n gtk_window_new(0);\n return;\n}\n\n" (function_definition "void FUN_001c4e7f(void)\n\n{\n gtk_window_new(0);\n return;\n}" primitive_type (function_declarator "FUN_001c4e7f(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV EDI,0x0
CALL 0x00115260
LEAVE
RET |
type_1 * function_1(void *frontend)
{
type_1 *pGVar1;
void *frontend_local;
pGVar1 = (type_1 *)var_1(0);
return pGVar1;
}
| (translation_unit "GtkWidget * make_gtk_toplevel_window(void *frontend)\n\n{\n GtkWidget *pGVar1;\n void *frontend_local;\n \n pGVar1 = (GtkWidget *)gtk_window_new(0);\n return pGVar1;\n}\n\n" (function_definition "GtkWidget * make_gtk_toplevel_window(void *frontend)\n\n{\n GtkWidget *pGVar1;\n void *frontend_lo... | (translation_unit "type_1 * function_1(void *frontend)\n\n{\n type_1 *pGVar1;\n void *frontend_local;\n \n pGVar1 = (type_1 *)var_1(0);\n return pGVar1;\n}\n\n" (function_definition "type_1 * function_1(void *frontend)\n\n{\n type_1 *pGVar1;\n void *frontend_local;\n \n pGVar1 = (type_1 *)var_1(0);\n return p... | (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... |
1942_putty_and_putty_strip.c | unifontsel_configure_area | FUN_001c1b1c | unifontsel_configure_area |
/* WARNING: Enum "GdkEventType": Some values do not have unique names */
gint unifontsel_configure_area(GtkWidget *widget,GdkEventConfigure *event,gpointer data)
{
undefined8 uVar1;
gpointer data_local;
GdkEventConfigure *event_local;
GtkWidget *widget_local;
uVar1 = gtk_widget_get_window(widget);
gdk... |
undefined8 FUN_001c1b1c(undefined8 param_1)
{
undefined8 uVar1;
uVar1 = gtk_widget_get_window(param_1);
gdk_window_invalidate_rect(uVar1,0,0);
return 1;
}
| (translation_unit "undefined8 FUN_001c1b1c(undefined8 param_1)\n\n{\n undefined8 uVar1;\n \n uVar1 = gtk_widget_get_window(param_1);\n gdk_window_invalidate_rect(uVar1,0,0);\n return 1;\n}\n\n" (function_definition "undefined8 FUN_001c1b1c(undefined8 param_1)\n\n{\n undefined8 uVar1;\n \n uVar1 = gtk_widget_get... | 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 RDI,RAX
CALL 0x001145f0
MOV EDX,0x0
MOV ESI,0x0
MOV RDI,RAX
CALL 0x001159e0
MOV EAX,0x1
LEAVE
RET |
/* WARNING: Enum "GdkEventType": Some values do not have unique names */
type_1 function_1(type_2 *widget,type_3 *event,type_4 data)
{
type_5 uVar1;
type_4 data_local;
type_3 *event_local;
type_2 *widget_local;
uVar1 = var_1(widget);
var_2(uVar1,0,0);
return 1;
}
| (translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n\ngint unifontsel_configure_area(GtkWidget *widget,GdkEventConfigure *event,gpointer data)\n\n{\n undefined8 uVar1;\n gpointer data_local;\n GdkEventConfigure *event_local;\n GtkWidget *widget_local;\n \n uVar1 = gtk_widg... | (translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n\ntype_1 function_1(type_2 *widget,type_3 *event,type_4 data)\n\n{\n type_5 uVar1;\n type_4 data_local;\n type_3 *event_local;\n type_2 *widget_local;\n \n uVar1 = var_1(widget);\n var_2(uVar1,0,0);\n return 1;\n}\n\n" ... | (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... |
1927_putty_and_putty_strip.c | unifontsel_setup_stylelist | FUN_001bfdcb | unifontsel_setup_stylelist |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void unifontsel_setup_stylelist(unifontsel_internal *fs,wchar_t start,wchar_t end)
{
long lVar1;
bool bVar2;
wchar_t wVar3;
long in_FS_OFFSET;
wchar_t end_local;
wchar_t start_local;
unifontsel_internal *fs_local;
wchar_t i;
w... |
void FUN_001bfdcb(long param_1,int param_2,int param_3)
{
bool bVar1;
int iVar2;
long in_FS_OFFSET;
int local_64;
int local_60;
int local_5c;
int local_58;
undefined8 local_50;
long local_48;
long local_40;
undefined local_38 [40];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);... | (translation_unit "void FUN_001bfdcb(long param_1,int param_2,int param_3)\n\n{\n bool bVar1;\n int iVar2;\n long in_FS_OFFSET;\n int local_64;\n int local_60;\n int local_5c;\n int local_58;\n undefined8 local_50;\n long local_48;\n long local_40;\n undefined local_38 [40];\n long local_10;\n \n local_10... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x68],RDI
MOV dword ptr [RBP + -0x6c],ESI
MOV dword ptr [RBP + -0x70],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x54],0xffffffff
MOV dword ptr [RBP + -0x50],0xffffffff
MOV dword ptr [RBP + -0x4c],0x0
MOV qword... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *fs,type_2 start,type_2 var_4)
{
long var_14;
bool bVar2;
type_2 var_8;
long var_1;
type_2 end_local;
type_2 start_local;
type_1 *fs_local;
type_2 var_3;
type_2 var_13;
type_2 minpos;
type_2 var_12;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid unifontsel_setup_stylelist(unifontsel_internal *fs,wchar_t start,wchar_t end)\n\n{\n long lVar1;\n bool bVar2;\n wchar_t wVar3;\n long in_FS_OFFSET;\n wchar_t end_local;\n wchar_t start_local;\n unifontsel_interna... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *fs,type_2 start,type_2 var_4)\n\n{\n long var_14;\n bool bVar2;\n type_2 var_8;\n long var_1;\n type_2 end_local;\n type_2 start_local;\n type_1 *fs_local;\n type_2 var_3;\n type_2 var_13;\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))) (parameter_declaration type: (type_identifier) declarato... |
2162_putty_and_putty_strip.c | noise_get_light | FUN_001d42dd | noise_get_light |
void noise_get_light(_func_void_void_ptr_int *func)
{
long lVar1;
long in_FS_OFFSET;
_func_void_void_ptr_int *func_local;
timeval tv;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
gettimeofday((timeval *)&tv,(__timezone_ptr_t)0x0);
(*func)(&tv,0x10);
if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {
... |
void FUN_001d42dd(code *param_1)
{
long in_FS_OFFSET;
timeval local_28;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
gettimeofday(&local_28,(__timezone_ptr_t)0x0);
(*param_1)(&local_28,0x10);
if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {
/* WARNING: Subroutine doe... | (translation_unit "void FUN_001d42dd(code *param_1)\n\n{\n long in_FS_OFFSET;\n timeval local_28;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n gettimeofday(&local_28,(__timezone_ptr_t)0x0);\n (*param_1)(&local_28,0x10);\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 RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RAX,[RBP + -0x20]
MOV ESI,0x0
MOV RDI,RAX
CALL 0x00115ae0
LEA RDX,[RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x28]
MOV ESI,0x10
MOV RDI,RDX
CALL RAX
NOP
MOV RAX,qword ptr [RBP + -0x8... |
void function_1(type_1 *func)
{
long var_3;
long var_1;
type_1 *func_local;
type_2 tv;
var_3 = *(long *)(var_1 + 0x28);
var_2((type_2 *)&tv,(type_3)0x0);
(*func)(&tv,0x10);
if (var_3 != *(long *)(var_1 + 0x28)) {
/* WARNING: Subroutine does not return */
var_4();
}
retur... | (translation_unit "void noise_get_light(_func_void_void_ptr_int *func)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n _func_void_void_ptr_int *func_local;\n timeval tv;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n gettimeofday((timeval *)&tv,(__timezone_ptr_t)0x0);\n (*func)(&tv,0x10);\n if (lVar1 != *(long *)(in... | (translation_unit "void function_1(type_1 *func)\n\n{\n long var_3;\n long var_1;\n type_1 *func_local;\n type_2 tv;\n \n var_3 = *(long *)(var_1 + 0x28);\n var_2((type_2 *)&tv,(type_3)0x0);\n (*func)(&tv,0x10);\n if (var_3 != *(long *)(var_1 + 0x28)) {\n /* WARNING: Subroutine does not retu... | (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... |
2095_putty_and_putty_strip.c | filename_copy | FUN_001d014d | filename_copy |
Filename * filename_copy(Filename *fn)
{
Filename *pFVar1;
Filename *fn_local;
pFVar1 = filename_from_str(fn->path);
return pFVar1;
}
|
void FUN_001d014d(undefined8 *param_1)
{
FUN_001d0112(*param_1);
return;
}
| (translation_unit "void FUN_001d014d(undefined8 *param_1)\n\n{\n FUN_001d0112(*param_1);\n return;\n}\n\n" (function_definition "void FUN_001d014d(undefined8 *param_1)\n\n{\n FUN_001d0112(*param_1);\n return;\n}" primitive_type (function_declarator "FUN_001d014d(undefined8 *param_1)" identifier (parameter_list "(un... | 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]
MOV RDI,RAX
CALL 0x001d0112
LEAVE
RET |
type_1 * function_1(type_1 *fn)
{
type_1 *pFVar1;
type_1 *fn_local;
pFVar1 = var_1(fn->path);
return pFVar1;
}
| (translation_unit "Filename * filename_copy(Filename *fn)\n\n{\n Filename *pFVar1;\n Filename *fn_local;\n \n pFVar1 = filename_from_str(fn->path);\n return pFVar1;\n}\n\n" (function_definition "Filename * filename_copy(Filename *fn)\n\n{\n Filename *pFVar1;\n Filename *fn_local;\n \n pFVar1 = filename_from_st... | (translation_unit "type_1 * function_1(type_1 *fn)\n\n{\n type_1 *pFVar1;\n type_1 *fn_local;\n \n pFVar1 = var_1(fn->path);\n return pFVar1;\n}\n\n" (function_definition "type_1 * function_1(type_1 *fn)\n\n{\n type_1 *pFVar1;\n type_1 *fn_local;\n \n pFVar1 = var_1(fn->path);\n return pFVar1;\n}" type_identi... | (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)))))) body: (compound_statement (dec... |
2278_putty_and_putty_strip.c | decode_codepage | FUN_001da265 | decode_codepage |
wchar_t decode_codepage(char *cp_name)
{
wchar_t wVar1;
char *cp_name_local;
if ((cp_name == (char *)0x0) || (*cp_name == '\0')) {
wVar1 = L'7';
}
else {
wVar1 = charset_from_localenc(cp_name);
}
return wVar1;
}
|
undefined8 FUN_001da265(char *param_1)
{
undefined8 uVar1;
if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {
uVar1 = 0x37;
}
else {
uVar1 = FUN_00116aca(param_1);
}
return uVar1;
}
| (translation_unit "undefined8 FUN_001da265(char *param_1)\n\n{\n undefined8 uVar1;\n \n if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n uVar1 = 0x37;\n }\n else {\n uVar1 = FUN_00116aca(param_1);\n }\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_001da265(char *param_1)\n\n{\n undefi... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
CMP qword ptr [RBP + -0x8],0x0
JZ 0x001da283
MOV RAX,qword ptr [RBP + -0x8]
MOVZX EAX,byte ptr [RAX]
TEST AL,AL
JNZ 0x001da28a
MOV EAX,0x37
JMP 0x001da296
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00116aca
LEAVE
RET |
type_1 function_1(char *var_1)
{
type_1 wVar1;
char *cp_name_local;
if ((var_1 == (char *)0x0) || (*var_1 == '\0')) {
wVar1 = L'7';
}
else {
wVar1 = var_2(var_1);
}
return wVar1;
}
| (translation_unit "wchar_t decode_codepage(char *cp_name)\n\n{\n wchar_t wVar1;\n char *cp_name_local;\n \n if ((cp_name == (char *)0x0) || (*cp_name == '\0')) {\n wVar1 = L'7';\n }\n else {\n wVar1 = charset_from_localenc(cp_name);\n }\n return wVar1;\n}\n\n" (function_definition "wchar_t decode_codepage... | (translation_unit "type_1 function_1(char *var_1)\n\n{\n type_1 wVar1;\n char *cp_name_local;\n \n if ((var_1 == (char *)0x0) || (*var_1 == '\0')) {\n wVar1 = L'7';\n }\n else {\n wVar1 = var_2(var_1);\n }\n return wVar1;\n}\n\n" (function_definition "type_1 function_1(char *var_1)\n\n{\n type_1 wVar1;\n... | (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... |
1922_putty_and_putty_strip.c | fontinfo_realname_compare | FUN_001bf8db | fontinfo_realname_compare |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
wchar_t fontinfo_realname_compare(void *av,void *bv)
{
wchar_t wVar1;
void *bv_local;
void *av_local;
wchar_t i;
fontinfo *a;
fontinfo *b;
/* WARNING: Load size is inaccurate */
/* WARNING:... |
int FUN_001bf8db(undefined8 *param_1,undefined8 *param_2)
{
int iVar1;
iVar1 = FUN_001bf880(*param_1,*param_2);
if (iVar1 == 0) {
if (((*(uint *)((long)param_2 + 0x2c) ^ *(uint *)((long)param_1 + 0x2c)) & 7) == 0) {
iVar1 = 0;
}
else if ((*(uint *)((long)param_1 + 0x2c) & 7) < (*(uint *)((l... | (translation_unit "int FUN_001bf8db(undefined8 *param_1,undefined8 *param_2)\n\n{\n int iVar1;\n \n iVar1 = FUN_001bf880(*param_1,*param_2);\n if (iVar1 == 0) {\n if (((*(uint *)((long)param_2 + 0x2c) ^ *(uint *)((long)param_1 + 0x2c)) & 7) == 0) {\n iVar1 = 0;\n }\n else if ((*(uint *)((long)param_1 ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x30]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(void *av,void *bv)
{
type_1 var_2;
void *bv_local;
void *av_local;
type_1 i;
type_2 *a;
type_2 *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccura... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nwchar_t fontinfo_realname_compare(void *av,void *bv)\n\n{\n wchar_t wVar1;\n void *bv_local;\n void *av_local;\n wchar_t i;\n fontinfo *a;\n fontinfo *b;\n \n /* WARNING: Load size is inaccurate */\n... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(void *av,void *bv)\n\n{\n type_1 var_2;\n void *bv_local;\n void *av_local;\n type_1 i;\n type_2 *a;\n type_2 *b;\n \n /* WARNING: Load size is inaccurate */\n /*... | (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... |
2230_putty_and_putty_strip.c | serial_connected | FUN_001d6e5a | serial_connected |
int serial_connected(void *handle)
{
void *handle_local;
return 1;
}
|
undefined8 FUN_001d6e5a(void)
{
return 1;
}
| (translation_unit "undefined8 FUN_001d6e5a(void)\n\n{\n return 1;\n}\n\n" (function_definition "undefined8 FUN_001d6e5a(void)\n\n{\n return 1;\n}" type_identifier (function_declarator "FUN_001d6e5a(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,0x1
POP RBP
RET |
int function_1(void *handle)
{
void *handle_local;
return 1;
}
| (translation_unit "int serial_connected(void *handle)\n\n{\n void *handle_local;\n \n return 1;\n}\n\n" (function_definition "int serial_connected(void *handle)\n\n{\n void *handle_local;\n \n return 1;\n}" primitive_type (function_declarator "serial_connected(void *handle)" identifier (parameter_list "(void *han... | (translation_unit "int function_1(void *handle)\n\n{\n void *handle_local;\n \n return 1;\n}\n\n" (function_definition "int function_1(void *handle)\n\n{\n void *handle_local;\n \n return 1;\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... |
2125_putty_and_putty_strip.c | sk_extractaddr_tmp | FUN_001d0fca | sk_extractaddr_tmp |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
SockAddr_tag *
sk_extractaddr_tmp(SockAddr_tag *__return_storage_ptr__,SockAddr addr,SockAddrStep *step)
{
long lVar1;
undefined4 uVar2;
long lVar3;
SockAddr pSVar4;
SockAddr_tag *pSVar5;
SockAddr_tag *pSVar6;
long in_FS_OFFSET;
... |
undefined8 * FUN_001d0fca(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3)
{
long lVar1;
undefined8 *puVar2;
undefined8 *puVar3;
long in_FS_OFFSET;
undefined8 local_238 [69];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
puVar2 = param_2;
puVar3 = local_238;
for (lVar1 =... | (translation_unit "undefined8 * FUN_001d0fca(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3)\n\n{\n long lVar1;\n undefined8 *puVar2;\n undefined8 *puVar3;\n long in_FS_OFFSET;\n undefined8 local_238 [69];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n puVar2 = param_2;\n puVa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x250
MOV qword ptr [RBP + -0x238],RDI
MOV qword ptr [RBP + -0x240],RSI
MOV qword ptr [RBP + -0x248],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RDX,qword ptr [RBP + -0x240]
LEA RAX,[RBP + -0x230]
MOV RSI,RDX
MOV EDX,0x44
MOV RDI,RAX
MOV RCX,RDX
MOVSQ.REP ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 *
function_1(type_1 *__return_storage_ptr__,type_2 addr,type_3 *step)
{
long var_4;
type_4 uVar2;
long var_2;
type_2 pSVar4;
type_1 *pSVar5;
type_1 *pSVar6;
long var_1;
type_3 *step_local;
type_2 addr_local;
type_1 to... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nSockAddr_tag *\nsk_extractaddr_tmp(SockAddr_tag *__return_storage_ptr__,SockAddr addr,SockAddrStep *step)\n\n{\n long lVar1;\n undefined4 uVar2;\n long lVar3;\n SockAddr pSVar4;\n SockAddr_tag *pSVar5;\n SockAddr_tag *p... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 *\nfunction_1(type_1 *__return_storage_ptr__,type_2 addr,type_3 *step)\n\n{\n long var_4;\n type_4 uVar2;\n long var_2;\n type_2 pSVar4;\n type_1 *pSVar5;\n type_1 *pSVar6;\n long var_1;\n type_3 *step_local;\n... | (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 ... |
2155_putty_and_putty_strip.c | get_hostname | FUN_001d39ea | get_hostname |
/* WARNING: Unknown calling convention */
char * get_hostname(void)
{
int iVar1;
int *piVar2;
size_t sVar3;
int len;
char *hostname;
len = 0x80;
hostname = (char *)0x0;
while( true ) {
len = len * 2;
hostname = (char *)saferealloc(hostname,(long)len,1);
iVar1 = gethostname(hostname,(lo... |
char * FUN_001d39ea(void)
{
int iVar1;
int *piVar2;
size_t sVar3;
int local_14;
char *local_10;
local_14 = 0x80;
local_10 = (char *)0x0;
while( true ) {
local_14 = local_14 * 2;
local_10 = (char *)FUN_0012e12e(local_10,(long)local_14,1);
iVar1 = gethostname(local_10,(long)local_14);
... | (translation_unit "char * FUN_001d39ea(void)\n\n{\n int iVar1;\n int *piVar2;\n size_t sVar3;\n int local_14;\n char *local_10;\n \n local_14 = 0x80;\n local_10 = (char *)0x0;\n while( true ) {\n local_14 = local_14 * 2;\n local_10 = (char *)FUN_0012e12e(local_10,(long)local_14,1);\n iVar1 = gethostna... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV dword ptr [RBP + -0xc],0x80
MOV qword ptr [RBP + -0x8],0x0
SHL dword ptr [RBP + -0xc],0x1
MOV EAX,dword ptr [RBP + -0xc]
MOVSXD RCX,EAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,0x1
MOV RSI,RCX
MOV RDI,RAX
CALL 0x0012e12e
MOV qword ptr [RBP + -0x8],RAX
MOV EAX,dword ptr [RBP + -0xc]
M... |
/* WARNING: Unknown calling convention */
char * function_1(void)
{
int var_4;
int *piVar2;
size_t var_7;
int var_1;
char *hostname;
var_1 = 0x80;
hostname = (char *)0x0;
while( true ) {
var_1 = var_1 * 2;
hostname = (char *)var_2(hostname,(long)var_1,1);
var_4 = var_3(hostname,(long)v... | (translation_unit "/* WARNING: Unknown calling convention */\n\nchar * get_hostname(void)\n\n{\n int iVar1;\n int *piVar2;\n size_t sVar3;\n int len;\n char *hostname;\n \n len = 0x80;\n hostname = (char *)0x0;\n while( true ) {\n len = len * 2;\n hostname = (char *)saferealloc(hostname,(long)len,1);\n ... | (translation_unit "/* WARNING: Unknown calling convention */\n\nchar * function_1(void)\n\n{\n int var_4;\n int *piVar2;\n size_t var_7;\n int var_1;\n char *hostname;\n \n var_1 = 0x80;\n hostname = (char *)0x0;\n while( true ) {\n var_1 = var_1 * 2;\n hostname = (char *)var_2(hostname,(long)var_1,1);\n... | (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: (primitive_type) declarator: (ident... |
2183_putty_and_putty_strip.c | localproxy_fromfd_cmp | FUN_001d4bc7 | localproxy_fromfd_cmp |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int localproxy_fromfd_cmp(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
Local_Proxy_Socket a;
Local_Proxy_Socket b;
if (*(int *)((long)av + 0xc) < *(int *)((long)bv + 0xc)) {
iVar1 = -1;
}
else if (*(int... |
undefined8 FUN_001d4bc7(long param_1,long param_2)
{
undefined8 uVar1;
if (*(int *)(param_1 + 0xc) < *(int *)(param_2 + 0xc)) {
uVar1 = 0xffffffff;
}
else if (*(int *)(param_2 + 0xc) < *(int *)(param_1 + 0xc)) {
uVar1 = 1;
}
else {
uVar1 = 0;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_001d4bc7(long param_1,long param_2)\n\n{\n undefined8 uVar1;\n \n if (*(int *)(param_1 + 0xc) < *(int *)(param_2 + 0xc)) {\n uVar1 = 0xffffffff;\n }\n else if (*(int *)(param_2 + 0xc) < *(int *)(param_1 + 0xc)) {\n uVar1 = 1;\n }\n else {\n uVar1 = 0;\n }\n return uVa... | 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 + 0xc]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword p... |
/* 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;
if (*(int *)((long)av + 0xc) < *(int *)((long)bv + 0xc)) {
iVar1 = -1;
}
else if (*(int *)((long)bv + 0xc) < *(int *)((lon... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint localproxy_fromfd_cmp(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n Local_Proxy_Socket a;\n Local_Proxy_Socket b;\n \n if (*(int *)((long)av + 0xc) < *(int *)((long)bv + 0xc)) {\n iV... | (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 if (*(int *)((long)av + 0xc) < *(int *)((long)bv + 0xc)) {\n iVar1 = -1;\n }\n else if (*(int *)... | (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:... |
2057_putty_and_putty_strip.c | setup_fonts_ucs | FUN_001cbd2c | setup_fonts_ucs |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * setup_fonts_ucs(gui_data *inst)
{
long lVar1;
wchar_t wVar2;
wchar_t wVar3;
wchar_t utf8_override;
FontSpec *pFVar4;
char *pcVar5;
long in_FS_OFFSET;
gui_data *inst_local;
wchar_t i;
wchar_t shadowbold;
wchar_t shad... |
undefined8 FUN_001cbd2c(long param_1)
{
int iVar1;
undefined4 uVar2;
undefined4 uVar3;
undefined4 uVar4;
undefined8 *puVar5;
undefined8 uVar6;
long in_FS_OFFSET;
int local_6c;
long local_58 [5];
long local_30;
local_30 = *(long *)(in_FS_OFFSET + 0x28);
iVar1 = FUN_0011a4c1(*(undefined8 *)(p... | (translation_unit "undefined8 FUN_001cbd2c(long param_1)\n\n{\n int iVar1;\n undefined4 uVar2;\n undefined4 uVar3;\n undefined4 uVar4;\n undefined8 *puVar5;\n undefined8 uVar6;\n long in_FS_OFFSET;\n int local_6c;\n long local_58 [5];\n long local_30;\n \n local_30 = *(long *)(in_FS_OFFSET + 0x28);\n iVar1... | PUSH RBP
MOV RBP,RSP
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x68
MOV qword ptr [RBP + -0x78],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x28],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x78]
MOV RAX,qword ptr [RAX + 0x22d0]
MOV ESI,0xb1
MOV RDI,RAX
CALL 0x0011a4c1
MOV dword ptr [RBP + -0x60],EAX
MOV RAX,qword ptr... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * function_1(type_1 *inst)
{
long var_11;
type_2 var_6;
type_2 wVar3;
type_2 utf8_override;
type_3 *pFVar4;
char *pcVar5;
long var_1;
type_1 *inst_local;
type_2 var_8;
type_2 shadowbold;
type_2 shadowboldoffset;
typ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * setup_fonts_ucs(gui_data *inst)\n\n{\n long lVar1;\n wchar_t wVar2;\n wchar_t wVar3;\n wchar_t utf8_override;\n FontSpec *pFVar4;\n char *pcVar5;\n long in_FS_OFFSET;\n gui_data *inst_local;\n wchar_t i;\n wc... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * function_1(type_1 *inst)\n\n{\n long var_11;\n type_2 var_6;\n type_2 wVar3;\n type_2 utf8_override;\n type_3 *pFVar4;\n char *pcVar5;\n long var_1;\n type_1 *inst_local;\n type_2 var_8;\n type_2 shadowbold;\... | (translation_unit (comment) (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)))))) body: (compound_state... |
2260_putty_and_putty_strip.c | write_setting_filename | FUN_001d8f9a | write_setting_filename |
void write_setting_filename(void *handle,char *name,Filename *result)
{
Filename *result_local;
char *name_local;
void *handle_local;
write_setting_s(handle,name,result->path);
return;
}
|
void FUN_001d8f9a(undefined8 param_1,undefined8 param_2,undefined8 *param_3)
{
FUN_001d87d3(param_1,param_2,*param_3);
return;
}
| (translation_unit "void FUN_001d8f9a(undefined8 param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n FUN_001d87d3(param_1,param_2,*param_3);\n return;\n}\n\n" (function_definition "void FUN_001d8f9a(undefined8 param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n FUN_001d87d3(param_1,param_2,*param_3);\n return;... | 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 + -0x18]
MOV RDX,qword ptr [RAX]
MOV RCX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x001d87d3
NOP
LEAVE
RET |
void function_1(void *handle,char *name,type_1 *result)
{
type_1 *result_local;
char *name_local;
void *handle_local;
var_1(handle,name,result->path);
return;
}
| (translation_unit "void write_setting_filename(void *handle,char *name,Filename *result)\n\n{\n Filename *result_local;\n char *name_local;\n void *handle_local;\n \n write_setting_s(handle,name,result->path);\n return;\n}\n\n" (function_definition "void write_setting_filename(void *handle,char *name,Filename *re... | (translation_unit "void function_1(void *handle,char *name,type_1 *result)\n\n{\n type_1 *result_local;\n char *name_local;\n void *handle_local;\n \n var_1(handle,name,result->path);\n return;\n}\n\n" (function_definition "void function_1(void *handle,char *name,type_1 *result)\n\n{\n type_1 *result_local;\n c... | (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_... |
2033_putty_and_putty_strip.c | show_scrollbar | FUN_001ca50d | show_scrollbar |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void show_scrollbar(gui_data *inst,gboolean visible)
{
gboolean visible_local;
gui_data *inst_local;
inst->sbar_visible = visible;
if (visible == 0) {
gtk_widget_hide(inst->sbar);
}
else {
gtk_widget_show(inst->sbar);
}... |
void FUN_001ca50d(long param_1,int param_2)
{
*(int *)(param_1 + 0x18) = param_2;
if (param_2 == 0) {
gtk_widget_hide(*(undefined8 *)(param_1 + 0x10));
}
else {
gtk_widget_show(*(undefined8 *)(param_1 + 0x10));
}
return;
}
| (translation_unit "void FUN_001ca50d(long param_1,int param_2)\n\n{\n *(int *)(param_1 + 0x18) = param_2;\n if (param_2 == 0) {\n gtk_widget_hide(*(undefined8 *)(param_1 + 0x10));\n }\n else {\n gtk_widget_show(*(undefined8 *)(param_1 + 0x10));\n }\n return;\n}\n\n" (function_definition "void FUN_001ca50d(l... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr [RBP + -0xc]
MOV dword ptr [RAX + 0x18],EDX
CMP dword ptr [RBP + -0xc],0x0
JZ 0x001ca53e
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x10]
MOV RDI,RAX
CALL 0x00115... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *inst,type_2 var_1)
{
type_2 visible_local;
type_1 *inst_local;
inst->sbar_visible = var_1;
if (var_1 == 0) {
var_2(inst->sbar);
}
else {
var_3(inst->sbar);
}
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid show_scrollbar(gui_data *inst,gboolean visible)\n\n{\n gboolean visible_local;\n gui_data *inst_local;\n \n inst->sbar_visible = visible;\n if (visible == 0) {\n gtk_widget_hide(inst->sbar);\n }\n else {\n g... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *inst,type_2 var_1)\n\n{\n type_2 visible_local;\n type_1 *inst_local;\n \n inst->sbar_visible = var_1;\n if (var_1 == 0) {\n var_2(inst->sbar);\n }\n else {\n var_3(inst->sbar);\n }\n re... | (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... |
1957_putty_and_putty_strip.c | main | FUN_001c4e97 | main |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int main(int argc,char **argv)
{
char **ppcVar1;
int iVar2;
char *pcVar3;
size_t n;
long in_FS_OFFSET;
char **argv_local;
int argc_local;
int allow_launch;
int need_config_box;
int i;
int oldargc;
Conf *conf;
long loca... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
undefined8 FUN_001c4e97(int param_1,undefined8 *param_2)
{
undefined8 *puVar1;
int iVar2;
undefined8 uVar3;
size_t sVar4;
long in_FS_OFFSET;
undefined8 *local_48;
int local_3c;
int local_38;
int local_34;
int loc... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined8 FUN_001c4e97(int param_1,undefined8 *param_2)\n\n{\n undefined8 *puVar1;\n int iVar2;\n undefined8 uVar3;\n size_t sVar4;\n long in_FS_OFFSET;\n undefined8 *local_48;\n int local_3c;\n int local... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x38
MOV dword ptr [RBP + -0x34],EDI
MOV qword ptr [RBP + -0x40],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
LEA RSI,[0x215958]
MOV EDI,0x0
CALL 0x00114e50
MOV EDI,0x1
CALL 0x001d5de6
MOV RAX,qword ptr [RBP + -0x40]
MOV RAX,qword ptr [RAX]
MOV qword ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(int argc,char **argv)
{
char **ppcVar1;
int var_16;
char *pcVar3;
size_t n;
long var_1;
char **argv_local;
int var_6;
int var_22;
int var_29;
int var_7;
int var_11;
type_1 *conf;
long var_33;
var_33... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint main(int argc,char **argv)\n\n{\n char **ppcVar1;\n int iVar2;\n char *pcVar3;\n size_t n;\n long in_FS_OFFSET;\n char **argv_local;\n int argc_local;\n int allow_launch;\n int need_config_box;\n int i;\n int o... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(int argc,char **argv)\n\n{\n char **ppcVar1;\n int var_16;\n char *pcVar3;\n size_t n;\n long var_1;\n char **argv_local;\n int var_6;\n int var_22;\n int var_29;\n int var_7;\n int var_11;\n type_1... | (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: (pointer_declarator declarator: ... |
2030_putty_and_putty_strip.c | set_title_and_icon | FUN_001ca330 | set_title_and_icon |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void set_title_and_icon(void *frontend,char *title,char *icon)
{
char *pcVar1;
char *icon_local;
char *title_local;
void *frontend_local;
gui_data *inst;
safefree(*(void **)((long)frontend + 0xd70));
pcVar1 = dupstr(title);
*... |
void FUN_001ca330(long param_1,undefined8 param_2,undefined8 param_3)
{
undefined8 uVar1;
FUN_0012e243(*(undefined8 *)(param_1 + 0xd70));
uVar1 = FUN_0012cfa3(param_2);
*(undefined8 *)(param_1 + 0xd70) = uVar1;
FUN_0012e243(*(undefined8 *)(param_1 + 0xd78));
uVar1 = FUN_0012cfa3(param_3);
*(undefined... | (translation_unit "void FUN_001ca330(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n undefined8 uVar1;\n \n FUN_0012e243(*(undefined8 *)(param_1 + 0xd70));\n uVar1 = FUN_0012cfa3(param_2);\n *(undefined8 *)(param_1 + 0xd70) = uVar1;\n FUN_0012e243(*(undefined8 *)(param_1 + 0xd78));\n uVar1 = FUN_0012c... | 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 RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0xd70]
MOV RDI,RAX
CALL 0x0012e243
MOV RAX,qword ptr [RBP + -0x20]
MOV ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *frontend,char *title,char *icon)
{
char *pcVar1;
char *icon_local;
char *title_local;
void *frontend_local;
type_1 *inst;
var_1(*(void **)((long)frontend + 0xd70));
pcVar1 = var_2(title);
*(char **)((lon... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid set_title_and_icon(void *frontend,char *title,char *icon)\n\n{\n char *pcVar1;\n char *icon_local;\n char *title_local;\n void *frontend_local;\n gui_data *inst;\n \n safefree(*(void **)((long)frontend + 0xd70));\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *frontend,char *title,char *icon)\n\n{\n char *pcVar1;\n char *icon_local;\n char *title_local;\n void *frontend_local;\n type_1 *inst;\n \n var_1(*(void **)((long)frontend + 0xd70));\n pcVar1 = v... | (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:... |
2023_putty_and_putty_strip.c | request_paste | FUN_001c9ab4 | request_paste |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void request_paste(void *frontend)
{
void *frontend_local;
gui_data *inst;
if (*(int *)((long)frontend + 0xd10) == 0) {
gtk_selection_convert
(*(undefined8 *)((long)frontend + 8),1,utf8_string_atom,
*(u... |
void FUN_001c9ab4(long param_1)
{
if (*(int *)(param_1 + 0xd10) == 0) {
gtk_selection_convert
(*(undefined8 *)(param_1 + 8),1,DAT_00236350,*(undefined4 *)(param_1 + 0x22e0));
}
else {
gtk_selection_convert(*(undefined8 *)(param_1 + 8),1,0x1f,*(undefined4 *)(param_1 + 0x22e0));
}
return... | (translation_unit "void FUN_001c9ab4(long param_1)\n\n{\n if (*(int *)(param_1 + 0xd10) == 0) {\n gtk_selection_convert\n (*(undefined8 *)(param_1 + 8),1,DAT_00236350,*(undefined4 *)(param_1 + 0x22e0));\n }\n else {\n gtk_selection_convert(*(undefined8 *)(param_1 + 8),1,0x1f,*(undefined4 *)(param_... | 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 + 0xd10]
TEST EAX,EAX
JNZ 0x001c9afe
MOV RAX,qword ptr [RBP + -0x8]
MOV ECX,dword ptr [RAX + 0x22e0]
MOV RDX,qword ptr [0x00236350]
MOV R... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *frontend)
{
void *frontend_local;
type_1 *inst;
if (*(int *)((long)frontend + 0xd10) == 0) {
var_1
(*(type_2 *)((long)frontend + 8),1,utf8_string_atom,
*(type_3 *)((long)frontend +... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid request_paste(void *frontend)\n\n{\n void *frontend_local;\n gui_data *inst;\n \n if (*(int *)((long)frontend + 0xd10) == 0) {\n gtk_selection_convert\n (*(undefined8 *)((long)frontend + 8),1,utf8_str... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *frontend)\n\n{\n void *frontend_local;\n type_1 *inst;\n \n if (*(int *)((long)frontend + 0xd10) == 0) {\n var_1\n (*(type_2 *)((long)frontend + 8),1,utf8_string_atom,\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... |
1903_putty_and_putty_strip.c | pangofont_draw_text | FUN_001be8b5 | pangofont_draw_text |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void pangofont_draw_text(unifont_drawctx *ctx,unifont *font,wchar_t x,wchar_t y,wchar_t *string,
wchar_t len,wchar_t wide,wchar_t bold,wchar_t cellwidth)
{
wchar_t len_local;
wchar_t *string_local;
wchar_t y_local;... |
void FUN_001be8b5(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined4 param_4,
undefined8 param_5,undefined4 param_6,undefined4 param_7,undefined4 param_8,
undefined4 param_9)
{
FUN_001be44e(param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,0);... | (translation_unit "void FUN_001be8b5(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined4 param_4,\n undefined8 param_5,undefined4 param_6,undefined4 param_7,undefined4 param_8,\n undefined4 param_9)\n\n{\n FUN_001be44e(param_1,param_2,param_3,param_4,param_5,param_6,para... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV dword ptr [RBP + -0x18],ECX
MOV qword ptr [RBP + -0x20],R8
MOV dword ptr [RBP + -0x24],R9D
MOV R9D,dword ptr [RBP + -0x24]
MOV R8,qword ptr [RBP + -0x20]
MOV ECX,dword ptr [RBP + -0x18]
M... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *ctx,type_2 *font,type_3 x,type_3 y,type_3 *string,
type_3 len,type_3 wide,type_3 bold,type_3 cellwidth)
{
type_3 len_local;
type_3 *string_local;
type_3 y_local;
type_3 x_local;
type_2 *... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid pangofont_draw_text(unifont_drawctx *ctx,unifont *font,wchar_t x,wchar_t y,wchar_t *string,\n wchar_t len,wchar_t wide,wchar_t bold,wchar_t cellwidth)\n\n{\n wchar_t len_local;\n wchar_t *string_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *ctx,type_2 *font,type_3 x,type_3 y,type_3 *string,\n type_3 len,type_3 wide,type_3 bold,type_3 cellwidth)\n\n{\n type_3 len_local;\n type_3 *string_local;\n type_3 y_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))) (parameter_declaration type: (type_identifier) declarato... |
2221_putty_and_putty_strip.c | serial_reconfig | FUN_001d6a25 | serial_reconfig |
void serial_reconfig(void *handle,Conf *conf)
{
Conf *conf_local;
void *handle_local;
Serial serial;
serial_configure((Serial)handle,conf);
return;
}
|
void FUN_001d6a25(undefined8 param_1,undefined8 param_2)
{
FUN_001d6190(param_1,param_2);
return;
}
| (translation_unit "void FUN_001d6a25(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_001d6190(param_1,param_2);\n return;\n}\n\n" (function_definition "void FUN_001d6a25(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_001d6190(param_1,param_2);\n return;\n}" primitive_type (function_declarator "FUN_001d6a25(und... | 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 RDX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x001d6190
NOP
LEAVE
RET |
void function_1(void *handle,type_1 *conf)
{
type_1 *conf_local;
void *handle_local;
type_2 serial;
var_1((type_2)handle,conf);
return;
}
| (translation_unit "void serial_reconfig(void *handle,Conf *conf)\n\n{\n Conf *conf_local;\n void *handle_local;\n Serial serial;\n \n serial_configure((Serial)handle,conf);\n return;\n}\n\n" (function_definition "void serial_reconfig(void *handle,Conf *conf)\n\n{\n Conf *conf_local;\n void *handle_local;\n Ser... | (translation_unit "void function_1(void *handle,type_1 *conf)\n\n{\n type_1 *conf_local;\n void *handle_local;\n type_2 serial;\n \n var_1((type_2)handle,conf);\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 type_2 serial;\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... |
1959_putty_and_putty_strip.c | string_width | FUN_001c5266 | string_width |
int string_width(char *text)
{
long in_FS_OFFSET;
char *text_local;
int ret;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
get_label_text_dimensions(text,&ret,(int *)0x0);
if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {
/* WARNING: Subroutine does not return */
_... |
undefined4 FUN_001c5266(undefined8 param_1)
{
long in_FS_OFFSET;
undefined4 local_14;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_001c517f(param_1,&local_14,0);
if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {
/* WARNING: Subroutine does not return */
__stack_... | (translation_unit "undefined4 FUN_001c5266(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 FUN_001c517f(param_1,&local_14,0);\n if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {\n /* WARNING: Subroutine doe... | 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
LEA RCX,[RBP + -0xc]
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX,0x0
MOV RSI,RCX
MOV RDI,RAX
CALL 0x001c517f
MOV EAX,dword ptr [RBP + -0xc]
MOV RDX,qword ptr [RBP + -0x8]
XOR RDX,qword pt... |
int function_1(char *text)
{
long var_1;
char *text_local;
int ret;
long var_3;
var_3 = *(long *)(var_1 + 0x28);
var_2(text,&ret,(int *)0x0);
if (var_3 != *(long *)(var_1 + 0x28)) {
/* WARNING: Subroutine does not return */
var_4();
}
return ret;
}
| (translation_unit "int string_width(char *text)\n\n{\n long in_FS_OFFSET;\n char *text_local;\n int ret;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n get_label_text_dimensions(text,&ret,(int *)0x0);\n if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {\n /* WARNING: Subrou... | (translation_unit "int function_1(char *text)\n\n{\n long var_1;\n char *text_local;\n int ret;\n long var_3;\n \n var_3 = *(long *)(var_1 + 0x28);\n var_2(text,&ret,(int *)0x0);\n if (var_3 != *(long *)(var_1 + 0x28)) {\n /* WARNING: Subroutine does not return */\n var_4();\n }\n return... | (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: (sized_type_specifie... |
2195_putty_and_putty_strip.c | sk_localproxy_flush | FUN_001d517b | sk_localproxy_flush |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sk_localproxy_flush(Socket s)
{
Socket s_local;
return;
}
|
void FUN_001d517b(void)
{
return;
}
| (translation_unit "void FUN_001d517b(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_001d517b(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_001d517b(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
NOP
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 s)
{
type_1 s_local;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sk_localproxy_flush(Socket s)\n\n{\n Socket s_local;\n \n return;\n}\n\n" comment (function_definition "void sk_localproxy_flush(Socket s)\n\n{\n Socket s_local;\n \n return;\n}" primitive_type (function_declarator... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 s)\n\n{\n type_1 s_local;\n \n return;\n}\n\n" comment (function_definition "void function_1(type_1 s)\n\n{\n type_1 s_local;\n \n return;\n}" primitive_type (function_declarator "function_1(type_... | (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)... |
1909_putty_and_putty_strip.c | unifont_do_prefix | FUN_001bf1a2 | unifont_do_prefix |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * unifont_do_prefix(char *name,wchar_t *start,wchar_t *end)
{
int iVar1;
int iVar2;
size_t sVar3;
wchar_t *end_local;
wchar_t *start_local;
char *name_local;
wchar_t i;
wchar_t colonpos;
sVar3 = strcspn(name,":");
iV... |
char * FUN_001bf1a2(char *param_1,uint *param_2,uint *param_3)
{
int iVar1;
int iVar2;
size_t sVar3;
uint local_10;
sVar3 = strcspn(param_1,":");
iVar1 = (int)sVar3;
if (param_1[iVar1] == '\0') {
*param_2 = 0;
*param_3 = 2;
}
else {
for (local_10 = 0; local_10 < 2; local_10 = local_10... | (translation_unit "char * FUN_001bf1a2(char *param_1,uint *param_2,uint *param_3)\n\n{\n int iVar1;\n int iVar2;\n size_t sVar3;\n uint local_10;\n \n sVar3 = strcspn(param_1,":");\n iVar1 = (int)sVar3;\n if (param_1[iVar1] == '\0') {\n *param_2 = 0;\n *param_3 = 2;\n }\n else {\n for (local_10 = 0; ... | 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 RAX,qword ptr [RBP + -0x18]
LEA RSI,[0x214d6b]
MOV RDI,RAX
CALL 0x00114120
MOV dword ptr [RBP + -0x4],EAX
MOV EAX,dword ptr [RBP + -0x4]
MOVSXD RDX,EAX
MOV RAX,qword ptr [RBP + -0x18]
AD... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * function_1(char *var_7,type_1 *start,type_1 *end)
{
int iVar1;
int var_6;
size_t var_4;
type_1 *end_local;
type_1 *start_local;
char *name_local;
type_1 var_2;
type_1 colonpos;
var_4 = var_1(var_7,":");
iVar1 = (in... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * unifont_do_prefix(char *name,wchar_t *start,wchar_t *end)\n\n{\n int iVar1;\n int iVar2;\n size_t sVar3;\n wchar_t *end_local;\n wchar_t *start_local;\n char *name_local;\n wchar_t i;\n wchar_t colonpos;\n \n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * function_1(char *var_7,type_1 *start,type_1 *end)\n\n{\n int iVar1;\n int var_6;\n size_t var_4;\n type_1 *end_local;\n type_1 *start_local;\n char *name_local;\n type_1 var_2;\n type_1 colonpos;\n \n var_4 =... | (translation_unit (comment) (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 ty... |
2051_putty_and_putty_strip.c | make_mouse_ptr | FUN_001cba9d | make_mouse_ptr |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
GdkCursor * make_mouse_ptr(gui_data *inst,wchar_t cursor_val)
{
undefined8 uVar1;
GdkCursor *pGVar2;
wchar_t cursor_val_local;
gui_data *inst_local;
cursor_val_local = cursor_val;
if (cursor_val == L'\xffffffff') {
cursor_val... |
void FUN_001cba9d(undefined8 param_1,int param_2)
{
undefined8 uVar1;
undefined4 local_14;
local_14 = param_2;
if (param_2 == -1) {
local_14 = -2;
}
uVar1 = gdk_display_get_default();
gdk_cursor_new_for_display(uVar1,local_14);
return;
}
| (translation_unit "void FUN_001cba9d(undefined8 param_1,int param_2)\n\n{\n undefined8 uVar1;\n undefined4 local_14;\n \n local_14 = param_2;\n if (param_2 == -1) {\n local_14 = -2;\n }\n uVar1 = gdk_display_get_default();\n gdk_cursor_new_for_display(uVar1,local_14);\n return;\n}\n\n" (function_definition ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
CMP dword ptr [RBP + -0xc],-0x1
JNZ 0x001cbab9
MOV dword ptr [RBP + -0xc],0xfffffffe
CALL 0x00114df0
MOV RDX,RAX
MOV EAX,dword ptr [RBP + -0xc]
MOV ESI,EAX
MOV RDI,RDX
CALL 0x001147d0
LEAVE
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 *inst,type_3 var_1)
{
type_4 uVar1;
type_1 *pGVar2;
type_3 cursor_val_local;
type_2 *inst_local;
cursor_val_local = var_1;
if (var_1 == L'\xffffffff') {
cursor_val_local = L'\xfffffffe';
}
uVar1... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nGdkCursor * make_mouse_ptr(gui_data *inst,wchar_t cursor_val)\n\n{\n undefined8 uVar1;\n GdkCursor *pGVar2;\n wchar_t cursor_val_local;\n gui_data *inst_local;\n \n cursor_val_local = cursor_val;\n if (cursor_val == L'... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *inst,type_3 var_1)\n\n{\n type_4 uVar1;\n type_1 *pGVar2;\n type_3 cursor_val_local;\n type_2 *inst_local;\n \n cursor_val_local = var_1;\n if (var_1 == L'\xffffffff') {\n cursor_val_loca... | (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 ... |
1935_putty_and_putty_strip.c | update_for_intended_size | FUN_001c12c4 | update_for_intended_size |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
fontinfo * update_for_intended_size(unifontsel_internal *fs,fontinfo *info)
{
long lVar1;
undefined8 uVar2;
wchar_t wVar3;
fontinfo *pfVar4;
long in_FS_OFFSET;
fontinfo *info_local;
unifontsel_internal *fs_local;
wchar_t pos;
... |
long FUN_001c12c4(long param_1,undefined8 *param_2)
{
int iVar1;
long lVar2;
long in_FS_OFFSET;
int local_6c;
long local_68;
long local_60;
undefined8 local_58;
undefined8 local_50;
undefined8 local_48;
undefined8 local_40;
undefined8 local_38;
undefined4 local_30;
undefined4 uStack_2c;
un... | (translation_unit "long FUN_001c12c4(long param_1,undefined8 *param_2)\n\n{\n int iVar1;\n long lVar2;\n long in_FS_OFFSET;\n int local_6c;\n long local_68;\n long local_60;\n undefined8 local_58;\n undefined8 local_50;\n undefined8 local_48;\n undefined8 local_40;\n undefined8 local_38;\n undefined4 local_... | PUSH RBP
MOV RBP,RSP
ADD RSP,-0x80
MOV qword ptr [RBP + -0x78],RDI
MOV qword ptr [RBP + -0x80],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x80]
MOV RDX,qword ptr [RAX]
MOV RCX,qword ptr [RAX + 0x8]
MOV qword ptr [RBP + -0x50],RDX
MOV qword ptr [RBP + -0x48],RCX
... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 *fs,type_1 *info)
{
long var_9;
type_3 uVar2;
type_4 var_7;
type_1 *pfVar4;
long var_1;
type_1 *info_local;
type_2 *fs_local;
type_4 var_5;
type_1 *var_3;
type_1 *var_8;
type_1 info2;
var_9 ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nfontinfo * update_for_intended_size(unifontsel_internal *fs,fontinfo *info)\n\n{\n long lVar1;\n undefined8 uVar2;\n wchar_t wVar3;\n fontinfo *pfVar4;\n long in_FS_OFFSET;\n fontinfo *info_local;\n unifontsel_internal... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *fs,type_1 *info)\n\n{\n long var_9;\n type_3 uVar2;\n type_4 var_7;\n type_1 *pfVar4;\n long var_1;\n type_1 *info_local;\n type_2 *fs_local;\n type_4 var_5;\n type_1 *var_3;\n type_1 *va... | (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 ... |
2289_putty_and_putty_strip.c | wc_match | FUN_001dab07 | wc_match |
int wc_match(char *wildcard,char *target)
{
int iVar1;
size_t sVar2;
char *target_local;
char *wildcard_local;
int ret;
char *save_w;
char *save_t;
target_local = target;
wildcard_local = wildcard;
if ((*wildcard == '*') || (ret = wc_match_fragment(&wildcard_local,&target_local), 0 < ret)) {
... |
ulong FUN_001dab07(char *param_1,char *param_2)
{
size_t sVar1;
ulong uVar2;
char *local_38;
char *local_30 [2];
uint local_1c;
char *local_18;
char *local_10;
local_38 = param_2;
local_30[0] = param_1;
if ((*param_1 == '*') || (local_1c = FUN_001da88f(local_30,&local_38), 0 < (int)local_1c)) {... | (translation_unit "ulong FUN_001dab07(char *param_1,char *param_2)\n\n{\n size_t sVar1;\n ulong uVar2;\n char *local_38;\n char *local_30 [2];\n uint local_1c;\n char *local_18;\n char *local_10;\n \n local_38 = param_2;\n local_30[0] = param_1;\n if ((*param_1 == '*') || (local_1c = FUN_001da88f(local_30,&l... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr [RBP + -0x28]
MOVZX EAX,byte ptr [RAX]
CMP AL,0x2a
JZ 0x001dac75
LEA RDX,[RBP + -0x30]
LEA RAX,[RBP + -0x28]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x001da88f
MOV dword ptr [RBP + -0x14],EAX
CMP dword ptr [RBP + -0... |
int function_1(char *wildcard,char *target)
{
int iVar1;
size_t var_7;
char *var_5;
char *var_4;
int var_2;
char *save_w;
char *save_t;
var_5 = target;
var_4 = wildcard;
if ((*wildcard == '*') || (var_2 = var_1(&var_4,&var_5), 0 < var_2)) {
do {
if (*var_4 == '\0') {
return (u... | (translation_unit "int wc_match(char *wildcard,char *target)\n\n{\n int iVar1;\n size_t sVar2;\n char *target_local;\n char *wildcard_local;\n int ret;\n char *save_w;\n char *save_t;\n \n target_local = target;\n wildcard_local = wildcard;\n if ((*wildcard == '*') || (ret = wc_match_fragment(&wildcard_local... | (translation_unit "int function_1(char *wildcard,char *target)\n\n{\n int iVar1;\n size_t var_7;\n char *var_5;\n char *var_4;\n int var_2;\n char *save_w;\n char *save_t;\n \n var_5 = target;\n var_4 = wildcard;\n if ((*wildcard == '*') || (var_2 = var_1(&var_4,&var_5), 0 < var_2)) {\n do {\n if (*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_... |
2242_putty_and_putty_strip.c | putty_signal | FUN_001d7d56 | putty_signal |
_func_void_int * putty_signal(int sig,_func_void_int *func)
{
long lVar1;
int iVar2;
long in_FS_OFFSET;
_func_void_int *func_local;
int sig_local;
sigaction sa;
sigaction old;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
sa.__sigaction_handler = (anon_union_8_2_5ad2d23e_for___sigaction_handler)func;
... |
_union_1457 FUN_001d7d56(int param_1,_union_1457 param_2)
{
int iVar1;
long in_FS_OFFSET;
_union_1457 local_148;
sigset_t sStack_140;
undefined4 local_c0;
_union_1457 local_a8 [19];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_148 = param_2;
iVar1 = sigemptyset(&sStack_140);
... | (translation_unit "_union_1457 FUN_001d7d56(int param_1,_union_1457 param_2)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n _union_1457 local_148;\n sigset_t sStack_140;\n undefined4 local_c0;\n _union_1457 local_a8 [19];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_148 = param_2;\n iVa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x150
MOV dword ptr [RBP + -0x144],EDI
MOV qword ptr [RBP + -0x150],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x150]
MOV qword ptr [RBP + -0x140],RAX
LEA RAX,[RBP + -0x140]
ADD RAX,0x8
MOV RDI,RAX
CALL 0x00115420
TEST EAX,EAX
JNS 0x... |
type_1 * function_1(int sig,type_1 *func)
{
long var_4;
int var_3;
long var_1;
type_1 *func_local;
int sig_local;
type_2 sa;
type_2 old;
var_4 = *(long *)(var_1 + 0x28);
sa.__sigaction_handler = (type_3)func;
var_3 = var_2((type_4 *)&sa.sa_mask);
if (var_3 < 0) {
old.__sigaction_handler =... | (translation_unit "_func_void_int * putty_signal(int sig,_func_void_int *func)\n\n{\n long lVar1;\n int iVar2;\n long in_FS_OFFSET;\n _func_void_int *func_local;\n int sig_local;\n sigaction sa;\n sigaction old;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n sa.__sigaction_handler = (anon_union_8_2_5ad2d23e_f... | (translation_unit "type_1 * function_1(int sig,type_1 *func)\n\n{\n long var_4;\n int var_3;\n long var_1;\n type_1 *func_local;\n int sig_local;\n type_2 sa;\n type_2 old;\n \n var_4 = *(long *)(var_1 + 0x28);\n sa.__sigaction_handler = (type_3)func;\n var_3 = var_2((type_4 *)&sa.sa_mask);\n if (var_3 < 0)... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer... |
2111_putty_and_putty_strip.c | fontspec_copy | FUN_001d0764 | fontspec_copy |
FontSpec * fontspec_copy(FontSpec *f)
{
FontSpec *pFVar1;
FontSpec *f_local;
pFVar1 = fontspec_new(f->name);
return pFVar1;
}
|
void FUN_001d0764(undefined8 *param_1)
{
FUN_001d0729(*param_1);
return;
}
| (translation_unit "void FUN_001d0764(undefined8 *param_1)\n\n{\n FUN_001d0729(*param_1);\n return;\n}\n\n" (function_definition "void FUN_001d0764(undefined8 *param_1)\n\n{\n FUN_001d0729(*param_1);\n return;\n}" primitive_type (function_declarator "FUN_001d0764(undefined8 *param_1)" identifier (parameter_list "(un... | 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]
MOV RDI,RAX
CALL 0x001d0729
LEAVE
RET |
type_1 * function_1(type_1 *f)
{
type_1 *pFVar1;
type_1 *f_local;
pFVar1 = var_1(f->name);
return pFVar1;
}
| (translation_unit "FontSpec * fontspec_copy(FontSpec *f)\n\n{\n FontSpec *pFVar1;\n FontSpec *f_local;\n \n pFVar1 = fontspec_new(f->name);\n return pFVar1;\n}\n\n" (function_definition "FontSpec * fontspec_copy(FontSpec *f)\n\n{\n FontSpec *pFVar1;\n FontSpec *f_local;\n \n pFVar1 = fontspec_new(f->name);\n ... | (translation_unit "type_1 * function_1(type_1 *f)\n\n{\n type_1 *pFVar1;\n type_1 *f_local;\n \n pFVar1 = var_1(f->name);\n return pFVar1;\n}\n\n" (function_definition "type_1 * function_1(type_1 *f)\n\n{\n type_1 *pFVar1;\n type_1 *f_local;\n \n pFVar1 = var_1(f->name);\n return pFVar1;\n}" type_identifier (... | (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)))))) body: (compound_statement (dec... |
2174_putty_and_putty_strip.c | pollwrap_poll_timeout | FUN_001d4967 | pollwrap_poll_timeout |
int pollwrap_poll_timeout(pollwrapper *pw,int milliseconds)
{
int iVar1;
int milliseconds_local;
pollwrapper *pw_local;
if (milliseconds < 0) {
/* WARNING: Subroutine does not return */
__assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");
}
iVar1 = po... |
void FUN_001d4967(undefined8 *param_1,int param_2)
{
if (param_2 < 0) {
/* WARNING: Subroutine does not return */
__assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");
}
poll((pollfd *)*param_1,param_1[1],param_2);
return;
}
| (translation_unit "void FUN_001d4967(undefined8 *param_1,int param_2)\n\n{\n if (param_2 < 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");\n }\n poll((pollfd *)*param_1,param_1[1],param_2);\n return;\n}\n\n" (f... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
CMP dword ptr [RBP + -0xc],0x0
JNS 0x001d499b
LEA RCX,[0x216e80]
MOV EDX,0x70
LEA RSI,[0x216e20]
LEA RDI,[0x216e43]
CALL 0x00114a00
MOV RAX,qword ptr [RBP + -0x8]
MOV RCX,qword ptr [RAX + 0x8]
MOV RAX,qword ptr [RBP + -0x8]
... |
int function_1(type_1 *pw,int var_1)
{
int iVar1;
int milliseconds_local;
type_1 *pw_local;
if (var_1 < 0) {
/* WARNING: Subroutine does not return */
var_2("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");
}
iVar1 = var_3((type_2 *)pw->fds,pw->nfd,var_1);
ret... | (translation_unit "int pollwrap_poll_timeout(pollwrapper *pw,int milliseconds)\n\n{\n int iVar1;\n int milliseconds_local;\n pollwrapper *pw_local;\n \n if (milliseconds < 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_... | (translation_unit "int function_1(type_1 *pw,int var_1)\n\n{\n int iVar1;\n int milliseconds_local;\n type_1 *pw_local;\n \n if (var_1 < 0) {\n /* WARNING: Subroutine does not return */\n var_2("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");\n }\n iVar1 = var_3((type_2 *)... | (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... |
2311_putty_and_putty_strip.c | x11_unthrottle | FUN_001dc682 | 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_001dc682(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_001dc682(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 0x001dc6ef
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 0x001dc6f0
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... |
2232_putty_and_putty_strip.c | serial_unthrottle | FUN_001d6e78 | serial_unthrottle |
void serial_unthrottle(void *handle,int backlog)
{
int backlog_local;
void *handle_local;
Serial serial;
*(int *)((long)handle + 0x10) = backlog;
serial_uxsel_setup((Serial)handle);
return;
}
|
void FUN_001d6e78(long param_1,undefined4 param_2)
{
*(undefined4 *)(param_1 + 0x10) = param_2;
FUN_001d6bfb(param_1);
return;
}
| (translation_unit "void FUN_001d6e78(long param_1,undefined4 param_2)\n\n{\n *(undefined4 *)(param_1 + 0x10) = param_2;\n FUN_001d6bfb(param_1);\n return;\n}\n\n" (function_definition "void FUN_001d6e78(long param_1,undefined4 param_2)\n\n{\n *(undefined4 *)(param_1 + 0x10) = param_2;\n FUN_001d6bfb(param_1);\n r... | 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 qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr [RBP + -0x1c]
MOV dword ptr [RAX + 0x10],EDX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x001d6bfb
NOP
LE... |
void function_1(void *handle,int backlog)
{
int backlog_local;
void *handle_local;
type_1 serial;
*(int *)((long)handle + 0x10) = backlog;
var_1((type_1)handle);
return;
}
| (translation_unit "void serial_unthrottle(void *handle,int backlog)\n\n{\n int backlog_local;\n void *handle_local;\n Serial serial;\n \n *(int *)((long)handle + 0x10) = backlog;\n serial_uxsel_setup((Serial)handle);\n return;\n}\n\n" (function_definition "void serial_unthrottle(void *handle,int backlog)\n\n{\n ... | (translation_unit "void function_1(void *handle,int backlog)\n\n{\n int backlog_local;\n void *handle_local;\n type_1 serial;\n \n *(int *)((long)handle + 0x10) = backlog;\n var_1((type_1)handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle,int backlog)\n\n{\n int backlog_local;\n void... | (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... |
2131_putty_and_putty_strip.c | sk_addrtype | FUN_001d1229 | sk_addrtype |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int sk_addrtype(SockAddr addr)
{
int iVar1;
SockAddr addr_local;
int family;
SockAddrStep step;
if (addr->superfamily == ADDRTYPE_UNSPEC) {
iVar1 = 0;
}
else if (addr->superfamily == ABOUT_TO) {
iVar1 = 1;
}
else if... |
undefined8 FUN_001d1229(long param_1)
{
int iVar1;
undefined8 uVar2;
if (*(int *)(param_1 + 0x10) == 0) {
iVar1 = 0;
}
else if (*(int *)(param_1 + 0x10) == 1) {
iVar1 = 1;
}
else if (*(long *)(param_1 + 0x18) == 0) {
iVar1 = 2;
}
else {
iVar1 = *(int *)(*(long *)(param_1 + 0x18) +... | (translation_unit "undefined8 FUN_001d1229(long param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n if (*(int *)(param_1 + 0x10) == 0) {\n iVar1 = 0;\n }\n else if (*(int *)(param_1 + 0x10) == 1) {\n iVar1 = 1;\n }\n else if (*(long *)(param_1 + 0x18) == 0) {\n iVar1 = 2;\n }\n else {\n iVar1 = *(... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x28],RDI
MOV RAX,qword ptr [RBP + -0x28]
MOV RAX,qword ptr [RAX + 0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV dword ptr [RBP + -0x8],0x0
MOV RAX,qword ptr [RBP + -0x28]
MOV EAX,dword ptr [RAX + 0x10]
TEST EAX,EAX
JZ 0x001d127b
MOV RAX,qword ptr [RBP + -0x28]
MOV EAX,dword ptr [... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 addr)
{
int var_3;
type_1 addr_local;
int family;
type_2 step;
if (addr->superfamily == var_1) {
var_3 = 0;
}
else if (addr->superfamily == var_2) {
var_3 = 1;
}
else if (addr->ais == (type_3 *... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint sk_addrtype(SockAddr addr)\n\n{\n int iVar1;\n SockAddr addr_local;\n int family;\n SockAddrStep step;\n \n if (addr->superfamily == ADDRTYPE_UNSPEC) {\n iVar1 = 0;\n }\n else if (addr->superfamily == ABOUT_TO)... | (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 var_3;\n type_1 addr_local;\n int family;\n type_2 step;\n \n if (addr->superfamily == var_1) {\n var_3 = 0;\n }\n else if (addr->superfamily == var_2) {\n var_3 = 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: (primitive_type) declarator: (identifier))... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.