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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
1911_putty_and_putty_strip.c | unifont_destroy | FUN_001bf38a | unifont_destroy |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void unifont_destroy(unifont *font)
{
unifont *font_local;
(*font->vt->destroy)(font);
return;
}
|
void FUN_001bf38a(long *param_1)
{
(**(code **)(*param_1 + 0x10))(param_1);
return;
}
| (translation_unit "void FUN_001bf38a(long *param_1)\n\n{\n (**(code **)(*param_1 + 0x10))(param_1);\n return;\n}\n\n" (function_definition "void FUN_001bf38a(long *param_1)\n\n{\n (**(code **)(*param_1 + 0x10))(param_1);\n return;\n}" primitive_type (function_declarator "FUN_001bf38a(long *param_1)" identifier (par... | 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 RAX,qword ptr [RAX + 0x10]
MOV RDX,qword ptr [RBP + -0x8]
MOV RDI,RDX
CALL RAX
NOP
LEAVE
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *font)
{
type_1 *font_local;
(*font->vt->destroy)(font);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid unifont_destroy(unifont *font)\n\n{\n unifont *font_local;\n \n (*font->vt->destroy)(font);\n return;\n}\n\n" comment (function_definition "void unifont_destroy(unifont *font)\n\n{\n unifont *font_local;\n \n (*fo... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *font)\n\n{\n type_1 *font_local;\n \n (*font->vt->destroy)(font);\n return;\n}\n\n" comment (function_definition "void function_1(type_1 *font)\n\n{\n type_1 *font_local;\n \n (*font->vt->destro... | (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... |
2292_putty_and_putty_strip.c | dummy_plug_log | FUN_001dadcc | dummy_plug_log |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void dummy_plug_log(Plug p,int type,SockAddr addr,int port,char *error_msg,int error_code)
{
int error_code_local;
char *error_msg_local;
SockAddr addr_local;
int port_local;
int type_local;
Plug p_local;
return;
}
|
void FUN_001dadcc(void)
{
return;
}
| (translation_unit "void FUN_001dadcc(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_001dadcc(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_001dadcc(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV qword ptr [RBP + -0x18],RDX
MOV dword ptr [RBP + -0x10],ECX
MOV qword ptr [RBP + -0x20],R8
MOV dword ptr [RBP + -0x24],R9D
NOP
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 p,int type,type_2 addr,int port,char *error_msg,int error_code)
{
int error_code_local;
char *error_msg_local;
type_2 addr_local;
int port_local;
int type_local;
type_1 p_local;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid dummy_plug_log(Plug p,int type,SockAddr addr,int port,char *error_msg,int error_code)\n\n{\n int error_code_local;\n char *error_msg_local;\n SockAddr addr_local;\n int port_local;\n int type_local;\n Plug p_local;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 p,int type,type_2 addr,int port,char *error_msg,int error_code)\n\n{\n int error_code_local;\n char *error_msg_local;\n type_2 addr_local;\n int port_local;\n int type_local;\n type_1 p_local;\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declar... |
2026_putty_and_putty_strip.c | get_clip | FUN_001ca1be | get_clip |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void get_clip(void *frontend,wchar_t **p,wchar_t *len)
{
wchar_t *len_local;
wchar_t **p_local;
void *frontend_local;
gui_data *inst;
if (p != (wchar_t **)0x0) {
*p = *(wchar_t **)((long)frontend + 0xd18);
*len = *(wchar_t ... |
void FUN_001ca1be(long param_1,undefined8 *param_2,undefined4 *param_3)
{
if (param_2 != (undefined8 *)0x0) {
*param_2 = *(undefined8 *)(param_1 + 0xd18);
*param_3 = *(undefined4 *)(param_1 + 0xd20);
}
return;
}
| (translation_unit "void FUN_001ca1be(long param_1,undefined8 *param_2,undefined4 *param_3)\n\n{\n if (param_2 != (undefined8 *)0x0) {\n *param_2 = *(undefined8 *)(param_1 + 0xd18);\n *param_3 = *(undefined4 *)(param_1 + 0xd20);\n }\n return;\n}\n\n" (function_definition "void FUN_001ca1be(long param_1,undefine... | PUSH RBP
MOV RBP,RSP
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
CMP qword ptr [RBP + -0x20],0x0
JZ 0x001ca1ff
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RAX + 0xd18]
MOV RAX,qword ptr [RBP + -0x20]... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *frontend,type_1 **var_1,type_1 *len)
{
type_1 *len_local;
type_1 **p_local;
void *frontend_local;
type_2 *inst;
if (var_1 != (type_1 **)0x0) {
*var_1 = *(type_1 **)((long)frontend + 0xd18);
*len = *(ty... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid get_clip(void *frontend,wchar_t **p,wchar_t *len)\n\n{\n wchar_t *len_local;\n wchar_t **p_local;\n void *frontend_local;\n gui_data *inst;\n \n if (p != (wchar_t **)0x0) {\n *p = *(wchar_t **)((long)frontend + ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *frontend,type_1 **var_1,type_1 *len)\n\n{\n type_1 *len_local;\n type_1 **p_local;\n void *frontend_local;\n type_2 *inst;\n \n if (var_1 != (type_1 **)0x0) {\n *var_1 = *(type_1 **)((long)front... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator... |
2279_putty_and_putty_strip.c | x11_error_handler | FUN_001da298 | x11_error_handler |
int x11_error_handler(Display *thisdisp,XErrorEvent *err)
{
int iVar1;
XErrorEvent *err_local;
Display *thisdisp_local;
int i;
i = 0;
while( true ) {
if (nerrs <= i) {
iVar1 = (*orig_x11_error_handler)(thisdisp,err);
return iVar1;
}
if (((thisdisp == errs[i].display) && (err->se... |
undefined8 FUN_001da298(long param_1,long param_2)
{
undefined8 uVar1;
int local_c;
local_c = 0;
while( true ) {
if (DAT_00236378 <= local_c) {
uVar1 = (*DAT_00236330)(param_1,param_2);
return uVar1;
}
if (((param_1 == *(long *)((long)local_c * 0x18 + DAT_00236380)) &&
(*(lo... | (translation_unit "undefined8 FUN_001da298(long param_1,long param_2)\n\n{\n undefined8 uVar1;\n int local_c;\n \n local_c = 0;\n while( true ) {\n if (DAT_00236378 <= local_c) {\n uVar1 = (*DAT_00236330)(param_1,param_2);\n return uVar1;\n }\n if (((param_1 == *(long *)((long)local_c * 0x18 + D... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x4],0x0
JMP 0x001da340
MOV RCX,qword ptr [0x00236380]
MOV EAX,dword ptr [RBP + -0x4]
MOVSXD RDX,EAX
MOV RAX,RDX
ADD RAX,RAX
ADD RAX,RDX
SHL RAX,0x3
ADD RAX,RCX
MOV RAX,qword ptr [RAX]
CMP qword ptr [... |
int function_1(type_1 *var_3,type_2 *err)
{
int iVar1;
type_2 *err_local;
type_1 *thisdisp_local;
int var_2;
var_2 = 0;
while( true ) {
if (var_1 <= var_2) {
iVar1 = (*orig_x11_error_handler)(var_3,err);
return iVar1;
}
if (((var_3 == errs[var_2].display) && (err->serial == errs... | (translation_unit "int x11_error_handler(Display *thisdisp,XErrorEvent *err)\n\n{\n int iVar1;\n XErrorEvent *err_local;\n Display *thisdisp_local;\n int i;\n \n i = 0;\n while( true ) {\n if (nerrs <= i) {\n iVar1 = (*orig_x11_error_handler)(thisdisp,err);\n return iVar1;\n }\n if (((thisdisp... | (translation_unit "int function_1(type_1 *var_3,type_2 *err)\n\n{\n int iVar1;\n type_2 *err_local;\n type_1 *thisdisp_local;\n int var_2;\n \n var_2 = 0;\n while( true ) {\n if (var_1 <= var_2) {\n iVar1 = (*orig_x11_error_handler)(var_3,err);\n return iVar1;\n }\n if (((var_3 == errs[var_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: (type_identifier) declarator: (pointe... |
1898_putty_and_putty_strip.c | pangofont_destroy | FUN_001be271 | pangofont_destroy |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void pangofont_destroy(unifont *font)
{
undefined8 uVar1;
unifont *font_local;
pangofont *pfont;
pango_font_description_free(font[1].vt);
safefree(font[2].vt);
uVar1._0_4_ = font[1].public_charset;
uVar1._4_4_ = font[1].width;
... |
void FUN_001be271(long param_1)
{
pango_font_description_free(*(undefined8 *)(param_1 + 0x28));
FUN_0012e243(*(undefined8 *)(param_1 + 0x50));
g_object_unref(*(undefined8 *)(param_1 + 0x30));
FUN_0012e243(param_1);
return;
}
| (translation_unit "void FUN_001be271(long param_1)\n\n{\n pango_font_description_free(*(undefined8 *)(param_1 + 0x28));\n FUN_0012e243(*(undefined8 *)(param_1 + 0x50));\n g_object_unref(*(undefined8 *)(param_1 + 0x30));\n FUN_0012e243(param_1);\n return;\n}\n\n" (function_definition "void FUN_001be271(long param_1... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x28]
MOV RDI,RAX
CALL 0x00114c00
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x50]
MOV RDI,RAX
CALL 0x0012e243
MOV RAX,qwo... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *font)
{
type_2 uVar1;
type_1 *font_local;
type_3 *pfont;
var_1(font[1].vt);
var_2(font[2].vt);
uVar1._0_4_ = font[1].public_charset;
uVar1._4_4_ = font[1].width;
var_3(uVar1);
var_2(font);
return;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid pangofont_destroy(unifont *font)\n\n{\n undefined8 uVar1;\n unifont *font_local;\n pangofont *pfont;\n \n pango_font_description_free(font[1].vt);\n safefree(font[2].vt);\n uVar1._0_4_ = font[1].public_charset;\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *font)\n\n{\n type_2 uVar1;\n type_1 *font_local;\n type_3 *pfont;\n \n var_1(font[1].vt);\n var_2(font[2].vt);\n uVar1._0_4_ = font[1].public_charset;\n uVar1._4_4_ = font[1].width;\n var_3(uV... | (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... |
1913_putty_and_putty_strip.c | unifont_draw_combining | FUN_001bf40e | unifont_draw_combining |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void unifont_draw_combining
(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_... |
void FUN_001bf40e(undefined8 param_1,long *param_2,undefined4 param_3,undefined4 param_4,
undefined8 param_5,undefined4 param_6,undefined4 param_7,undefined4 param_8,
undefined4 param_9)
{
(**(code **)(*param_2 + 0x28))
(param_1,param_2,param_3,param_4,param_5,param_6,p... | (translation_unit "void FUN_001bf40e(undefined8 param_1,long *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 (**(code **)(*param_2 + 0x28))\n (param_1,param_2,param_3,p... | 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 RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x28]
MOV R9D,d... |
/* 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;
t... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid unifont_draw_combining\n (unifont_drawctx *ctx,unifont *font,wchar_t x,wchar_t y,wchar_t *string,wchar_t len,\n wchar_t wide,wchar_t bold,wchar_t cellwidth)\n\n{\n wchar_t len_local;\n wchar... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1\n (type_1 *ctx,type_2 *font,type_3 x,type_3 y,type_3 *string,type_3 len,\n 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_l... | (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... |
2222_putty_and_putty_strip.c | serial_select_result | FUN_001d6a53 | serial_select_result |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void serial_select_result(int fd,int event)
{
long lVar1;
wchar_t wVar2;
ssize_t sVar3;
int *piVar4;
long in_FS_OFFSET;
int event_local;
int fd_local;
int finished;
int ret;
Serial serial;
char buf [4096];
lVar1 = *(l... |
void FUN_001d6a53(undefined4 param_1,int param_2)
{
undefined4 uVar1;
ulong uVar2;
int *piVar3;
long in_FS_OFFSET;
undefined4 local_102c;
int local_1028;
int local_1024;
undefined8 *local_1020;
undefined local_1018 [4104];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_1028... | (translation_unit "void FUN_001d6a53(undefined4 param_1,int param_2)\n\n{\n undefined4 uVar1;\n ulong uVar2;\n int *piVar3;\n long in_FS_OFFSET;\n undefined4 local_102c;\n int local_1028;\n int local_1024;\n undefined8 *local_1020;\n undefined local_1018 [4104];\n long local_10;\n \n local_10 = *(long *)(in... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x1030
MOV dword ptr [RBP + -0x1024],EDI
MOV dword ptr [RBP + -0x1028],ESI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x1020],0x0
MOV RAX,qword ptr [0x00236320]
LEA RCX,[RBP + -0x1024]
LEA RDX,[0x1d6146]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x001ae6... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(int fd,int var_4)
{
long var_16;
type_1 wVar2;
ssize_t sVar3;
int *piVar4;
long var_1;
int event_local;
int fd_local;
int var_13;
int var_6;
type_2 var_3;
char buf [4096];
var_16 = *(long *)(var_1 + 0x... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid serial_select_result(int fd,int event)\n\n{\n long lVar1;\n wchar_t wVar2;\n ssize_t sVar3;\n int *piVar4;\n long in_FS_OFFSET;\n int event_local;\n int fd_local;\n int finished;\n int ret;\n Serial serial;\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(int fd,int var_4)\n\n{\n long var_16;\n type_1 wVar2;\n ssize_t sVar3;\n int *piVar4;\n long var_1;\n int event_local;\n int fd_local;\n int var_13;\n int var_6;\n type_2 var_3;\n char buf [4096];\n... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_... |
1955_putty_and_putty_strip.c | do_cmdline | FUN_001c3e8b | do_cmdline |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
int do_cmdline(int argc,char **argv,int do_everything,int *allow_launch,Conf *conf)
{
int iVar1;
long lVar2;
char *pcVar3;
char **ppcVar4;
int iVar5;
char *pcVar6;
FontSpec *pFVar7;
Filename *value;
long in_FS_OFFS... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
undefined4
FUN_001c3e8b(int param_1,undefined8 *param_2,int param_3,undefined8 param_4,undefined8 param_5)
{
int iVar1;
undefined8 *puVar2;
int iVar3;
undefined8 uVar4;
undefined8 uVar5;
long in_FS_OFFSET;
double dVar6... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined4\nFUN_001c3e8b(int param_1,undefined8 *param_2,int param_3,undefined8 param_4,undefined8 param_5)\n\n{\n int iVar1;\n undefined8 *puVar2;\n int iVar3;\n undefined8 uVar4;\n undefined8 uVar5;\n long... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xb0
MOV dword ptr [RBP + -0x94],EDI
MOV qword ptr [RBP + -0xa0],RSI
MOV dword ptr [RBP + -0x98],EDX
MOV qword ptr [RBP + -0xa8],RCX
MOV qword ptr [RBP + -0xb0],R8
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x88],0x0
JMP 0x001c4e4c
ADD qword... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
int function_1(int argc,char **argv,int var_8,int *allow_launch,type_1 *conf)
{
int var_3;
long var_34;
char *pcVar3;
char **ppcVar4;
int var_7;
char *pcVar6;
type_2 *pFVar7;
type_3 *value;
long var_1;
double dVa... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nint do_cmdline(int argc,char **argv,int do_everything,int *allow_launch,Conf *conf)\n\n{\n int iVar1;\n long lVar2;\n char *pcVar3;\n char **ppcVar4;\n int iVar5;\n char *pcVar6;\n FontSpec *pFVar7;\n File... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nint function_1(int argc,char **argv,int var_8,int *allow_launch,type_1 *conf)\n\n{\n int var_3;\n long var_34;\n char *pcVar3;\n char **ppcVar4;\n int var_7;\n char *pcVar6;\n type_2 *pFVar7;\n type_3 *val... | (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: ... |
2264_putty_and_putty_strip.c | enum_settings_next | FUN_001d90cc | enum_settings_next |
char * enum_settings_next(void *handle,char *buffer,int buflen)
{
long lVar1;
int iVar2;
int iVar3;
int iVar4;
size_t sVar5;
char *__src;
dirent64 *pdVar6;
long in_FS_OFFSET;
int buflen_local;
char *buffer_local;
void *handle_local;
int maxlen;
int len;
int thislen;
char *fullpath;
DIR... |
char * FUN_001d90cc(DIR *param_1,char *param_2,int param_3)
{
int iVar1;
int iVar2;
int iVar3;
size_t sVar4;
char *__src;
dirent64 *pdVar5;
long in_FS_OFFSET;
int local_d4;
char *local_c8;
undefined local_a8 [24];
uint local_90;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
... | (translation_unit "char * FUN_001d90cc(DIR *param_1,char *param_2,int param_3)\n\n{\n int iVar1;\n int iVar2;\n int iVar3;\n size_t sVar4;\n char *__src;\n dirent64 *pdVar5;\n long in_FS_OFFSET;\n int local_d4;\n char *local_c8;\n undefined local_a8 [24];\n uint local_90;\n long local_10;\n \n local_10 = ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xf0
MOV qword ptr [RBP + -0xd8],RDI
MOV qword ptr [RBP + -0xe0],RSI
MOV dword ptr [RBP + -0xe4],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0xd8]
MOV qword ptr [RBP + -0xb8],RAX
MOV ESI,0x0
MOV EDI,0x4
CALL 0x001d8145
MOV qword ptr [... |
char * function_1(void *handle,char *buffer,int buflen)
{
long var_16;
int var_7;
int var_8;
int var_10;
size_t sVar5;
char *__src;
type_1 *var_5;
long var_1;
int buflen_local;
char *buffer_local;
void *handle_local;
int var_9;
int len;
int thislen;
char *var_13;
type_2 *dp;
type_3 *... | (translation_unit "char * enum_settings_next(void *handle,char *buffer,int buflen)\n\n{\n long lVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n size_t sVar5;\n char *__src;\n dirent64 *pdVar6;\n long in_FS_OFFSET;\n int buflen_local;\n char *buffer_local;\n void *handle_local;\n int maxlen;\n int len;\n in... | (translation_unit "char * function_1(void *handle,char *buffer,int buflen)\n\n{\n long var_16;\n int var_7;\n int var_8;\n int var_10;\n size_t sVar5;\n char *__src;\n type_1 *var_5;\n long var_1;\n int buflen_local;\n char *buffer_local;\n void *handle_local;\n int var_9;\n int len;\n int thislen;\n cha... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primi... |
2236_putty_and_putty_strip.c | serial_exitcode | FUN_001d6ed8 | serial_exitcode |
int serial_exitcode(void *handle)
{
int iVar1;
void *handle_local;
Serial serial;
if (*(int *)((long)handle + 8) < 0) {
iVar1 = 0x7fffffff;
}
else {
iVar1 = -1;
}
return iVar1;
}
|
undefined8 FUN_001d6ed8(long param_1)
{
undefined8 uVar1;
if (*(int *)(param_1 + 8) < 0) {
uVar1 = 0x7fffffff;
}
else {
uVar1 = 0xffffffff;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_001d6ed8(long param_1)\n\n{\n undefined8 uVar1;\n \n if (*(int *)(param_1 + 8) < 0) {\n uVar1 = 0x7fffffff;\n }\n else {\n uVar1 = 0xffffffff;\n }\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_001d6ed8(long param_1)\n\n{\n undefined8 uVar1;\n \n if (*(int... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x8]
TEST EAX,EAX
JS 0x001d6efa
MOV EAX,0xffffffff
JMP 0x001d6eff
MOV EAX,0x7fffffff
POP RBP
RET |
int function_1(void *handle)
{
int iVar1;
void *handle_local;
type_1 serial;
if (*(int *)((long)handle + 8) < 0) {
iVar1 = 0x7fffffff;
}
else {
iVar1 = -1;
}
return iVar1;
}
| (translation_unit "int serial_exitcode(void *handle)\n\n{\n int iVar1;\n void *handle_local;\n Serial serial;\n \n if (*(int *)((long)handle + 8) < 0) {\n iVar1 = 0x7fffffff;\n }\n else {\n iVar1 = -1;\n }\n return iVar1;\n}\n\n" (function_definition "int serial_exitcode(void *handle)\n\n{\n int iVar1;\... | (translation_unit "int function_1(void *handle)\n\n{\n int iVar1;\n void *handle_local;\n type_1 serial;\n \n if (*(int *)((long)handle + 8) < 0) {\n iVar1 = 0x7fffffff;\n }\n else {\n iVar1 = -1;\n }\n return iVar1;\n}\n\n" (function_definition "int function_1(void *handle)\n\n{\n int iVar1;\n void *h... | (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... |
1958_putty_and_putty_strip.c | get_label_text_dimensions | FUN_001c517f | get_label_text_dimensions |
void get_label_text_dimensions(char *text,int *width,int *height)
{
long lVar1;
undefined8 uVar2;
undefined8 uVar3;
long in_FS_OFFSET;
int *height_local;
int *width_local;
char *text_local;
GtkWidget *label;
PangoLayout *layout;
PangoRectangle_conflict logrect;
lVar1 = *(long *)(in_FS_OFFSET ... |
void FUN_001c517f(undefined8 param_1,int *param_2,int *param_3)
{
undefined8 uVar1;
undefined8 uVar2;
long in_FS_OFFSET;
undefined local_28 [8];
int local_20;
int local_1c;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
uVar1 = gtk_label_new(param_1);
uVar2 = gtk_label_get_type();
... | (translation_unit "void FUN_001c517f(undefined8 param_1,int *param_2,int *param_3)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n undefined local_28 [8];\n int local_20;\n int local_1c;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n uVar1 = gtk_label_new(param_1);\n u... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV qword ptr [RBP + -0x48],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x38]
MOV RDI,RAX
CALL 0x00114cc0
MOV qword ptr [RBP + -0x30],RAX
CALL 0x00114460
MOV RDX,RAX... |
void function_1(char *text,int *var_7,int *var_8)
{
long var_11;
type_1 uVar2;
type_1 uVar3;
long var_1;
int *height_local;
int *width_local;
char *text_local;
type_2 *label;
type_3 *layout;
type_4 logrect;
var_11 = *(long *)(var_1 + 0x28);
uVar2 = var_2(text);
uVar3 = var_3();
uVar3 = ... | (translation_unit "void get_label_text_dimensions(char *text,int *width,int *height)\n\n{\n long lVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n long in_FS_OFFSET;\n int *height_local;\n int *width_local;\n char *text_local;\n GtkWidget *label;\n PangoLayout *layout;\n PangoRectangle_conflict logrect;\n \n ... | (translation_unit "void function_1(char *text,int *var_7,int *var_8)\n\n{\n long var_11;\n type_1 uVar2;\n type_1 uVar3;\n long var_1;\n int *height_local;\n int *width_local;\n char *text_local;\n type_2 *label;\n type_3 *layout;\n type_4 logrect;\n \n var_11 = *(long *)(var_1 + 0x28);\n uVar2 = var_2(tex... | (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_... |
2005_putty_and_putty_strip.c | exit_callback | FUN_001c8951 | exit_callback |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void exit_callback(void *vinst)
{
int iVar1;
int iVar2;
void *vinst_local;
wchar_t exitcode;
wchar_t close_on_exit;
gui_data *inst;
if (*(int *)((long)vinst + 0xdb0) == 0) {
iVar1 = (**(code **)(*(long *)((long)vinst + 0xd9... |
void FUN_001c8951(long param_1)
{
int iVar1;
int iVar2;
if (*(int *)(param_1 + 0xdb0) == 0) {
iVar1 = (**(code **)(*(long *)(param_1 + 0xd90) + 0x48))(*(undefined8 *)(param_1 + 0xd98));
if (-1 < iVar1) {
*(undefined4 *)(param_1 + 0xdb0) = 1;
iVar2 = FUN_0011a4c1(*(undefined8 *)(param_1 + ... | (translation_unit "void FUN_001c8951(long param_1)\n\n{\n int iVar1;\n int iVar2;\n \n if (*(int *)(param_1 + 0xdb0) == 0) {\n iVar1 = (**(code **)(*(long *)(param_1 + 0xd90) + 0x48))(*(undefined8 *)(param_1 + 0xd98));\n if (-1 < iVar1) {\n *(undefined4 *)(param_1 + 0xdb0) = 1;\n iVar2 = FUN_0011a4c... | 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 + 0xdb0]
TEST EAX,EAX
JNZ 0x001c8a90
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0xd90]
MOV RAX,qword ptr [RAX + 0x48]
MOV RD... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *vinst)
{
int var_1;
int var_3;
void *vinst_local;
type_1 exitcode;
type_1 close_on_exit;
type_2 *inst;
if (*(int *)((long)vinst + 0xdb0) == 0) {
var_1 = (**(type_3 **)(*(long *)((long)vinst + 0xd90) + ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid exit_callback(void *vinst)\n\n{\n int iVar1;\n int iVar2;\n void *vinst_local;\n wchar_t exitcode;\n wchar_t close_on_exit;\n gui_data *inst;\n \n if (*(int *)((long)vinst + 0xdb0) == 0) {\n iVar1 = (**(code *... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *vinst)\n\n{\n int var_1;\n int var_3;\n void *vinst_local;\n type_1 exitcode;\n type_1 close_on_exit;\n type_2 *inst;\n \n if (*(int *)((long)vinst + 0xdb0) == 0) {\n var_1 = (**(type_3 **)(*(... | (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... |
2166_putty_and_putty_strip.c | pollwrap_fd_cmp | FUN_001d4570 | pollwrap_fd_cmp |
int pollwrap_fd_cmp(void *av,void *bv)
{
uint uVar1;
void *bv_local;
void *av_local;
pollwrap_fdtopos *a;
pollwrap_fdtopos *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < *bv) {
uVar1 = 0xffffffff;
}
else {
... |
ulong FUN_001d4570(int *param_1,int *param_2)
{
ulong uVar1;
if (*param_1 < *param_2) {
uVar1 = 0xffffffff;
}
else {
uVar1 = (ulong)(*param_2 < *param_1);
}
return uVar1;
}
| (translation_unit "ulong FUN_001d4570(int *param_1,int *param_2)\n\n{\n ulong uVar1;\n \n if (*param_1 < *param_2) {\n uVar1 = 0xffffffff;\n }\n else {\n uVar1 = (ulong)(*param_2 < *param_1);\n }\n return uVar1;\n}\n\n" (function_definition "ulong FUN_001d4570(int *param_1,int *param_2)\n\n{\n ulong uVar1... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EDX,dword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RA... |
int function_1(void *av,void *bv)
{
type_1 uVar1;
void *bv_local;
void *av_local;
type_2 *a;
type_2 *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < *bv) {
uVar1 = 0xffffffff;
}
else {
/* WARN... | (translation_unit "int pollwrap_fd_cmp(void *av,void *bv)\n\n{\n uint uVar1;\n void *bv_local;\n void *av_local;\n pollwrap_fdtopos *a;\n pollwrap_fdtopos *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n uVar1 =... | (translation_unit "int function_1(void *av,void *bv)\n\n{\n type_1 uVar1;\n void *bv_local;\n void *av_local;\n type_2 *a;\n type_2 *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n uVar1 = 0xffffffff;\n }\n el... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
2094_putty_and_putty_strip.c | filename_from_str | FUN_001d0112 | filename_from_str |
Filename * filename_from_str(char *str)
{
Filename *pFVar1;
char *pcVar2;
char *str_local;
Filename *ret;
pFVar1 = (Filename *)safemalloc(1,8);
pcVar2 = dupstr(str);
pFVar1->path = pcVar2;
return pFVar1;
}
|
undefined8 * FUN_001d0112(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_001d0112(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_001d0112(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 *str)
{
type_1 *pFVar1;
char *pcVar2;
char *str_local;
type_1 *ret;
pFVar1 = (type_1 *)var_1(1,8);
pcVar2 = var_2(str);
pFVar1->path = pcVar2;
return pFVar1;
}
| (translation_unit "Filename * filename_from_str(char *str)\n\n{\n Filename *pFVar1;\n char *pcVar2;\n char *str_local;\n Filename *ret;\n \n pFVar1 = (Filename *)safemalloc(1,8);\n pcVar2 = dupstr(str);\n pFVar1->path = pcVar2;\n return pFVar1;\n}\n\n" (function_definition "Filename * filename_from_str(char *s... | (translation_unit "type_1 * function_1(char *str)\n\n{\n type_1 *pFVar1;\n char *pcVar2;\n char *str_local;\n type_1 *ret;\n \n pFVar1 = (type_1 *)var_1(1,8);\n pcVar2 = var_2(str);\n pFVar1->path = pcVar2;\n return pFVar1;\n}\n\n" (function_definition "type_1 * function_1(char *str)\n\n{\n type_1 *pFVar1;\n ... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decl... |
1924_putty_and_putty_strip.c | fontinfo_selorder_compare | FUN_001bf9f5 | fontinfo_selorder_compare |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
wchar_t fontinfo_selorder_compare(void *av,void *bv)
{
wchar_t wVar1;
void *bv_local;
void *av_local;
wchar_t i;
fontinfo *a;
fontinfo *b;
wVar1 = strnullcasecmp(*(char **)((long)av + 8),*(char **)((long)bv + 8));
if (wVar1 =... |
int FUN_001bf9f5(long param_1,long param_2)
{
int iVar1;
iVar1 = FUN_001bf880(*(undefined8 *)(param_1 + 8),*(undefined8 *)(param_2 + 8));
if (iVar1 == 0) {
if (((*(uint *)(param_2 + 0x2c) ^ *(uint *)(param_1 + 0x2c)) & 7) == 0) {
iVar1 = FUN_001bf880(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(... | (translation_unit "int FUN_001bf9f5(long param_1,long param_2)\n\n{\n int iVar1;\n \n iVar1 = FUN_001bf880(*(undefined8 *)(param_1 + 8),*(undefined8 *)(param_2 + 8));\n if (iVar1 == 0) {\n if (((*(uint *)(param_2 + 0x2c) ^ *(uint *)(param_1 + 0x2c)) & 7) == 0) {\n iVar1 = FUN_001bf880(*(undefined8 *)(param_... | 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 + 0x8]
MOV RAX,qword ptr [RBP + -0x10]
MO... |
/* 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;
var_2 = var_1(*(char **)((long)av + 8),*(char **)((long)bv + 8));
if (var_2 == L'\0') {
if (((*(type_3 *... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nwchar_t fontinfo_selorder_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 wVar1 = strnullcasecmp(*(char **)((long)av + 8),*(char **)... | (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 var_2 = var_1(*(char **)((long)av + 8),*(char **)((long)bv + 8));\n if (var_2 =... | (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... |
2284_putty_and_putty_strip.c | mk_wcswidth | FUN_001da74c | mk_wcswidth |
int mk_wcswidth(uint *pwcs,size_t n)
{
int iVar1;
size_t n_local;
uint *pwcs_local;
int width;
int w;
width = 0;
n_local = n;
pwcs_local = pwcs;
while( true ) {
if (*pwcs_local == 0) {
return width;
}
if (n_local == 0) break;
iVar1 = mk_wcwidth(*pwcs_local);
if (iVar1 < ... |
int FUN_001da74c(int *param_1,long param_2)
{
int iVar1;
long local_28;
int *local_20;
int local_10;
local_10 = 0;
local_28 = param_2;
local_20 = param_1;
while( true ) {
if (*local_20 == 0) {
return local_10;
}
if (local_28 == 0) break;
iVar1 = FUN_001da6cf(*local_20);
if... | (translation_unit "int FUN_001da74c(int *param_1,long param_2)\n\n{\n int iVar1;\n long local_28;\n int *local_20;\n int local_10;\n \n local_10 = 0;\n local_28 = param_2;\n local_20 = param_1;\n while( true ) {\n if (*local_20 == 0) {\n return local_10;\n }\n if (local_28 == 0) break;\n iVar1... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x8],0x0
JMP 0x001da78d
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX]
MOV EDI,EAX
CALL 0x001da6cf
MOV dword ptr [RBP + -0x4],EAX
CMP dword ptr [RBP + -0x4],0x0
JNS 0x001da782
MOV EAX,0xfffff... |
int function_1(type_1 *pwcs,size_t n)
{
int var_3;
size_t var_1;
type_1 *var_5;
int var_4;
int w;
var_4 = 0;
var_1 = n;
var_5 = pwcs;
while( true ) {
if (*var_5 == 0) {
return var_4;
}
if (var_1 == 0) break;
var_3 = var_2(*var_5);
if (var_3 < 0) {
return -1;
}
... | (translation_unit "int mk_wcswidth(uint *pwcs,size_t n)\n\n{\n int iVar1;\n size_t n_local;\n uint *pwcs_local;\n int width;\n int w;\n \n width = 0;\n n_local = n;\n pwcs_local = pwcs;\n while( true ) {\n if (*pwcs_local == 0) {\n return width;\n }\n if (n_local == 0) break;\n iVar1 = mk_wcw... | (translation_unit "int function_1(type_1 *pwcs,size_t n)\n\n{\n int var_3;\n size_t var_1;\n type_1 *var_5;\n int var_4;\n int w;\n \n var_4 = 0;\n var_1 = n;\n var_5 = pwcs;\n while( true ) {\n if (*var_5 == 0) {\n return var_4;\n }\n if (var_1 == 0) break;\n var_3 = var_2(*var_5);\n if (... | (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... |
2098_putty_and_putty_strip.c | filename_is_null | FUN_001d01ae | filename_is_null |
int filename_is_null(Filename *fn)
{
Filename *fn_local;
return (int)(*fn->path == '\0');
}
|
bool FUN_001d01ae(undefined8 *param_1)
{
return *(char *)*param_1 == '\0';
}
| (translation_unit "bool FUN_001d01ae(undefined8 *param_1)\n\n{\n return *(char *)*param_1 == '\0';\n}\n\n" (function_definition "bool FUN_001d01ae(undefined8 *param_1)\n\n{\n return *(char *)*param_1 == '\0';\n}" primitive_type (function_declarator "FUN_001d01ae(undefined8 *param_1)" identifier (parameter_list "(unde... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOVZX EAX,byte ptr [RAX]
TEST AL,AL
SETZ AL
MOVZX EAX,AL
POP RBP
RET |
int function_1(type_1 *fn)
{
type_1 *fn_local;
return (int)(*fn->path == '\0');
}
| (translation_unit "int filename_is_null(Filename *fn)\n\n{\n Filename *fn_local;\n \n return (int)(*fn->path == '\0');\n}\n\n" (function_definition "int filename_is_null(Filename *fn)\n\n{\n Filename *fn_local;\n \n return (int)(*fn->path == '\0');\n}" primitive_type (function_declarator "filename_is_null(Filenam... | (translation_unit "int function_1(type_1 *fn)\n\n{\n type_1 *fn_local;\n \n return (int)(*fn->path == '\0');\n}\n\n" (function_definition "int function_1(type_1 *fn)\n\n{\n type_1 *fn_local;\n \n return (int)(*fn->path == '\0');\n}" primitive_type (function_declarator "function_1(type_1 *fn)" identifier (paramete... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
2104_putty_and_putty_strip.c | pgp_fingerprints | FUN_001d0364 | pgp_fingerprints |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void pgp_fingerprints(void)
{
fwrite("These are the fingerprints of the PuTTY PGP Master Keys. They can\nbe used to establish a trust path from this executable to another\none. See the manual for more information.\n(Note: these fingerprin... |
void FUN_001d0364(void)
{
fwrite("These are the fingerprints of the PuTTY PGP Master Keys. They can\nbe used to establish a trust path from this executable to another\none. See the manual for more information.\n(Note: these fingerprints have nothing to do with SSH!)\n\nPuTTY Master Key as of 2015 (RSA, 4096-bit):\n... | (translation_unit "void FUN_001d0364(void)\n\n{\n fwrite("These are the fingerprints of the PuTTY PGP Master Keys. They can\nbe used to establish a trust path from this executable to another\none. See the manual for more information.\n(Note: these fingerprints have nothing to do with SSH!)\n\nPuTTY Master Key as of 20... | PUSH RBP
MOV RBP,RSP
MOV RAX,qword ptr [0x002359c0]
MOV RCX,RAX
MOV EDX,0x208
MOV ESI,0x1
LEA RDI,[0x2167c8]
CALL 0x00116000
NOP
POP RBP
RET |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
var_1("These are the fingerprints of the PuTTY PGP Master Keys. They can\nbe used to establish a trust path from this executable to another\none. See the manual for more information.\n(Note: these fingerprints have... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid pgp_fingerprints(void)\n\n{\n fwrite("These are the fingerprints of the PuTTY PGP Master Keys. They can\nbe used to establish a trust path from this executable to another\none. See the manual for more information.\n... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n var_1("These are the fingerprints of the PuTTY PGP Master Keys. They can\nbe used to establish a trust path from this executable to another\none. See the manual for more information.\n(Note: ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list... |
1921_putty_and_putty_strip.c | strnullcasecmp | FUN_001bf880 | strnullcasecmp |
wchar_t strnullcasecmp(char *a,char *b)
{
wchar_t wVar1;
char *b_local;
char *a_local;
wchar_t i;
wVar1 = (uint)(b == (char *)0x0) - (uint)(a == (char *)0x0);
if (wVar1 == L'\0') {
if (a == (char *)0x0) {
wVar1 = L'\0';
}
else {
wVar1 = g_ascii_strcasecmp(a,b);
}
}
retur... |
ulong FUN_001bf880(long param_1,long param_2)
{
ulong uVar1;
uint uVar2;
uVar2 = (uint)(param_2 == 0) - (uint)(param_1 == 0);
if (uVar2 == 0) {
if (param_1 == 0) {
uVar1 = 0;
}
else {
uVar1 = g_ascii_strcasecmp(param_1,param_2);
}
}
else {
uVar1 = (ulong)uVar2;
}
ret... | (translation_unit "ulong FUN_001bf880(long param_1,long param_2)\n\n{\n ulong uVar1;\n uint uVar2;\n \n uVar2 = (uint)(param_2 == 0) - (uint)(param_1 == 0);\n if (uVar2 == 0) {\n if (param_1 == 0) {\n uVar1 = 0;\n }\n else {\n uVar1 = g_ascii_strcasecmp(param_1,param_2);\n }\n }\n else {\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
CMP qword ptr [RBP + -0x20],0x0
SETZ AL
MOVZX EDX,AL
CMP qword ptr [RBP + -0x18],0x0
SETZ AL
MOVZX EAX,AL
SUB EDX,EAX
MOV EAX,EDX
MOV dword ptr [RBP + -0x4],EAX
CMP dword ptr [RBP + -0x4],0x0
JZ 0x001bf8b8
MOV EAX,dword pt... |
type_1 function_1(char *var_2,char *var_1)
{
type_1 var_3;
char *b_local;
char *a_local;
type_1 i;
var_3 = (uint)(var_1 == (char *)0x0) - (uint)(var_2 == (char *)0x0);
if (var_3 == L'\0') {
if (var_2 == (char *)0x0) {
var_3 = L'\0';
}
else {
var_3 = var_4(var_2,var_1);
}
}... | (translation_unit "wchar_t strnullcasecmp(char *a,char *b)\n\n{\n wchar_t wVar1;\n char *b_local;\n char *a_local;\n wchar_t i;\n \n wVar1 = (uint)(b == (char *)0x0) - (uint)(a == (char *)0x0);\n if (wVar1 == L'\0') {\n if (a == (char *)0x0) {\n wVar1 = L'\0';\n }\n else {\n wVar1 = g_ascii_st... | (translation_unit "type_1 function_1(char *var_2,char *var_1)\n\n{\n type_1 var_3;\n char *b_local;\n char *a_local;\n type_1 i;\n \n var_3 = (uint)(var_1 == (char *)0x0) - (uint)(var_2 == (char *)0x0);\n if (var_3 == L'\0') {\n if (var_2 == (char *)0x0) {\n var_3 = L'\0';\n }\n else {\n var_3... | (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))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
1902_putty_and_putty_strip.c | pangofont_draw_internal | FUN_001be44e | pangofont_draw_internal |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void pangofont_draw_internal
(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 combining)
{
int iVar1;
long lVar2;
bool b... |
void FUN_001be44e(int *param_1,long param_2,int param_3,int param_4,undefined4 *param_5,int param_6,
int param_7,int param_8,int param_9,int param_10)
{
bool bVar1;
int iVar2;
int iVar3;
int iVar4;
undefined8 uVar5;
undefined8 uVar6;
long lVar7;
long in_FS_OFFSET;
undefined4 *local_... | (translation_unit "void FUN_001be44e(int *param_1,long param_2,int param_3,int param_4,undefined4 *param_5,int param_6,\n int param_7,int param_8,int param_9,int param_10)\n\n{\n bool bVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n undefined8 uVar5;\n undefined8 uVar6;\n long lVar7;\n long in_FS... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xa0
MOV qword ptr [RBP + -0x78],RDI
MOV qword ptr [RBP + -0x80],RSI
MOV dword ptr [RBP + -0x84],EDX
MOV dword ptr [RBP + -0x88],ECX
MOV qword ptr [RBP + -0x90],R8
MOV dword ptr [RBP + -0x94],R9D
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP +... |
/* 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 var_5,type_3 *string,type_3 var_13,
type_3 var_3,type_3 var_9,type_3 var_4,type_3 var_20)
{
int var_32;
long var_18;
bool bVar3;
type_3 var_28;
ty... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid pangofont_draw_internal\n (unifont_drawctx *ctx,unifont *font,wchar_t x,wchar_t y,wchar_t *string,wchar_t len,\n wchar_t wide,wchar_t bold,wchar_t cellwidth,wchar_t combining)\n\n{\n int iVar... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1\n (type_1 *ctx,type_2 *font,type_3 x,type_3 var_5,type_3 *string,type_3 var_13,\n type_3 var_3,type_3 var_9,type_3 var_4,type_3 var_20)\n\n{\n int var_32;\n long var_18;\n bool b... | (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... |
2300_putty_and_putty_strip.c | x11_setup_display | FUN_001db2f6 | x11_setup_display |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
X11Display * x11_setup_display(char *display,Conf *conf)
{
char *__s;
long lVar1;
int iVar2;
X11Display *disp_00;
SockAddr pSVar3;
char *pcVar4;
SockAddr cmp;
_STACK *p_Var5;
long in_FS_OFFSET;
Conf *conf_local;
char *disp... |
int * FUN_001db2f6(char *param_1,undefined8 param_2)
{
int iVar1;
char *pcVar2;
int *piVar3;
undefined8 uVar4;
long in_FS_OFFSET;
undefined **local_70;
char *local_68;
char *local_60;
char *local_58;
char *local_50;
long local_48;
int *local_40;
char *local_38;
char *local_30;
long local... | (translation_unit "int * FUN_001db2f6(char *param_1,undefined8 param_2)\n\n{\n int iVar1;\n char *pcVar2;\n int *piVar3;\n undefined8 uVar4;\n long in_FS_OFFSET;\n undefined **local_70;\n char *local_68;\n char *local_60;\n char *local_58;\n char *local_50;\n long local_48;\n int *local_40;\n char *local_3... | 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 ESI,0x50
MOV EDI,0x1
CALL 0x0012e037
MOV qword ptr [RBP + -0x38],RAX
CMP qword ptr [RBP + -0x78],0x0
JZ 0x001db33a
MOV RAX,qword ptr [RBP + -0x78]... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(char *var_3,type_2 *conf)
{
char *var_13;
long var_27;
int var_16;
type_1 *disp_00;
type_3 pSVar3;
char *var_9;
type_3 type_7;
type_4 *p_Var5;
long var_1;
type_2 *conf_local;
char *display_local;
type... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nX11Display * x11_setup_display(char *display,Conf *conf)\n\n{\n char *__s;\n long lVar1;\n int iVar2;\n X11Display *disp_00;\n SockAddr pSVar3;\n char *pcVar4;\n SockAddr cmp;\n _STACK *p_Var5;\n long in_FS_OFFSET;\n... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(char *var_3,type_2 *conf)\n\n{\n char *var_13;\n long var_27;\n int var_16;\n type_1 *disp_00;\n type_3 pSVar3;\n char *var_9;\n type_3 type_7;\n type_4 *p_Var5;\n long var_1;\n type_2 *conf_loca... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration t... |
2285_putty_and_putty_strip.c | mk_wcwidth_cjk | FUN_001da7ad | mk_wcwidth_cjk |
int mk_wcwidth_cjk(uint ucs)
{
int iVar1;
uint ucs_local;
iVar1 = bisearch(ucs,mk_wcwidth_cjk::ambiguous,0xb2);
if (iVar1 == 0) {
iVar1 = mk_wcwidth(ucs);
}
else {
iVar1 = 2;
}
return iVar1;
}
|
undefined8 FUN_001da7ad(undefined4 param_1)
{
int iVar1;
undefined8 uVar2;
iVar1 = FUN_001da615(param_1,&DAT_0021a180,0xb2);
if (iVar1 == 0) {
uVar2 = FUN_001da6cf(param_1);
}
else {
uVar2 = 2;
}
return uVar2;
}
| (translation_unit "undefined8 FUN_001da7ad(undefined4 param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n iVar1 = FUN_001da615(param_1,&DAT_0021a180,0xb2);\n if (iVar1 == 0) {\n uVar2 = FUN_001da6cf(param_1);\n }\n else {\n uVar2 = 2;\n }\n return uVar2;\n}\n\n" (function_definition "undefined8 FUN_001da... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x8
MOV dword ptr [RBP + -0x4],EDI
MOV EAX,dword ptr [RBP + -0x4]
MOV EDX,0xb2
LEA RSI,[0x21a180]
MOV EDI,EAX
CALL 0x001da615
TEST EAX,EAX
JZ 0x001da7d9
MOV EAX,0x2
JMP 0x001da7e3
MOV EAX,dword ptr [RBP + -0x4]
MOV EDI,EAX
CALL 0x001da6cf
LEAVE
RET |
int function_1(type_1 ucs)
{
int var_2;
type_1 ucs_local;
var_2 = var_1(ucs,function_1::ambiguous,0xb2);
if (var_2 == 0) {
var_2 = var_3(ucs);
}
else {
var_2 = 2;
}
return var_2;
}
| (translation_unit "int mk_wcwidth_cjk(uint ucs)\n\n{\n int iVar1;\n uint ucs_local;\n \n iVar1 = bisearch(ucs,mk_wcwidth_cjk::ambiguous,0xb2);\n if (iVar1 == 0) {\n iVar1 = mk_wcwidth(ucs);\n }\n else {\n iVar1 = 2;\n }\n return iVar1;\n}\n\n" (function_definition "int mk_wcwidth_cjk(uint ucs)\n\n{\n in... | (translation_unit "int function_1(type_1 ucs)\n\n{\n int var_2;\n type_1 ucs_local;\n \n var_2 = var_1(ucs,function_1::ambiguous,0xb2);\n if (var_2 == 0) {\n var_2 = var_3(ucs);\n }\n else {\n var_2 = 2;\n }\n return var_2;\n}\n\n" (function_definition "int function_1(type_1 ucs)\n\n{\n int var_2;\n ty... | (translation_unit (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)) (declarat... |
2003_putty_and_putty_strip.c | motion_event | FUN_001c87a5 | motion_event |
/* WARNING: Enum "GdkEventType": Some values do not have unique names */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
gint motion_event(GtkWidget *widget,GdkEventMotion *event,gpointer data)
{
double dVar1;
double dVar2;
uint uVar3;
uint uVar4;
uint uVar5;
uint uVar6;
int iV... |
undefined8 FUN_001c87a5(undefined8 param_1,long param_2,long param_3)
{
double dVar1;
double dVar2;
uint uVar3;
uint uVar4;
uint uVar5;
uint uVar6;
int iVar7;
int iVar8;
int iVar9;
int iVar10;
undefined4 uVar11;
undefined4 local_28;
*(undefined4 *)(param_3 + 0x22e0) = *(undefined4 *)(para... | (translation_unit "undefined8 FUN_001c87a5(undefined8 param_1,long param_2,long param_3)\n\n{\n double dVar1;\n double dVar2;\n uint uVar3;\n uint uVar4;\n uint uVar5;\n uint uVar6;\n int iVar7;\n int iVar8;\n int iVar9;\n int iVar10;\n undefined4 uVar11;\n undefined4 local_28;\n \n *(undefined4 *)(param_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x30]
MOV EDX,dword ptr [RAX + 0x14]
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x22e0],EDX
... |
/* WARNING: Enum "GdkEventType": Some values do not have unique names */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_2 *widget,type_3 *event,type_4 data)
{
double var_4;
double var_5;
type_5 var_6;
type_5 var_7;
type_5 var_9;
type_5 var_8;
int iVar7;
... | (translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ngint motion_event(GtkWidget *widget,GdkEventMotion *event,gpointer data)\n\n{\n double dVar1;\n double dVar2;\n uint uVar3;\n uint uVar4;\n uint u... | (translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 *widget,type_3 *event,type_4 data)\n\n{\n double var_4;\n double var_5;\n type_5 var_6;\n type_5 var_7;\n type_5 var_9;\n... | (translation_unit (comment) (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... |
1996_putty_and_putty_strip.c | draw_area | FUN_001c6154 | draw_area |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
gint draw_area(GtkWidget *widget,cairo_t *cr,gpointer data)
{
long lVar1;
long in_FS_OFFSET;
gpointer data_local;
cairo_t *cr_local;
GtkWidget *widget_local;
gui_data *inst;
GdkRectangle_conflict dirtyrect;
lVar1 = *(long *)(... |
undefined8 FUN_001c6154(undefined8 param_1,undefined8 param_2,long param_3)
{
long in_FS_OFFSET;
int local_28;
int local_24;
int local_20;
int local_1c;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (*(long *)(param_3 + 0x60) != 0) {
gdk_cairo_get_clip_rectangle(param_2,&local_28... | (translation_unit "undefined8 FUN_001c6154(undefined8 param_1,undefined8 param_2,long param_3)\n\n{\n long in_FS_OFFSET;\n int local_28;\n int local_24;\n int local_20;\n int local_1c;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (*(long *)(param_3 + 0x60) != 0) {\n gdk_cairo_get_cl... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV qword ptr [RBP + -0x48],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x48]
MOV qword ptr [RBP + -0x28],RAX
MOV RAX,qword ptr [RBP + -0x28]
MOV RAX,qword ptr [RAX ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_2 *widget,type_3 *cr,type_4 data)
{
long var_6;
long var_1;
type_4 data_local;
type_3 *cr_local;
type_2 *widget_local;
type_5 *inst;
type_6 dirtyrect;
var_6 = *(long *)(var_1 + 0x28);
if (*(long *)((l... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ngint draw_area(GtkWidget *widget,cairo_t *cr,gpointer data)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n gpointer data_local;\n cairo_t *cr_local;\n GtkWidget *widget_local;\n gui_data *inst;\n GdkRectangle_conflict dirty... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 *widget,type_3 *cr,type_4 data)\n\n{\n long var_6;\n long var_1;\n type_4 data_local;\n type_3 *cr_local;\n type_2 *widget_local;\n type_5 *inst;\n type_6 dirtyrect;\n \n var_6 = *(long *)(va... | (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... |
2303_putty_and_putty_strip.c | x11_get_auth_from_authfile | FUN_001dbd93 | x11_get_auth_from_authfile |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void x11_get_auth_from_authfile(X11Display *disp,char *authfilename)
{
long lVar1;
bool bVar2;
bool bVar3;
bool bVar4;
int iVar5;
uint uVar6;
uint uVar7;
int iVar8;
FILE *__stream;
char *__s1;
char *b;
uchar *puVar9;
l... |
void FUN_001dbd93(int *param_1,char *param_2)
{
bool bVar1;
bool bVar2;
bool bVar3;
int iVar4;
uint uVar5;
uint uVar6;
int iVar7;
FILE *__stream;
char *__s1;
char *pcVar8;
undefined8 uVar9;
long in_FS_OFFSET;
uint local_a8;
int local_a0;
int local_9c;
char *local_88;
uint local_68 [4... | (translation_unit "void FUN_001dbd93(int *param_1,char *param_2)\n\n{\n bool bVar1;\n bool bVar2;\n bool bVar3;\n int iVar4;\n uint uVar5;\n uint uVar6;\n int iVar7;\n FILE *__stream;\n char *__s1;\n char *pcVar8;\n undefined8 uVar9;\n long in_FS_OFFSET;\n uint local_a8;\n int local_a0;\n int local_9c;\n... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0xa8
MOV qword ptr [RBP + -0xa8],RDI
MOV qword ptr [RBP + -0xb0],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x9c],0x0
MOV RAX,qword ptr [RBP + -0xa8]
MOV EAX,dword ptr [RAX]
TEST EAX,EAX
JNZ 0x001dbdf1
MOV RAX,qword ptr [RBP + ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *disp,char *authfilename)
{
long var_27;
bool bVar2;
bool bVar3;
bool bVar4;
int var_3;
type_2 var_9;
type_2 var_10;
int var_15;
type_3 *var_5;
char *var_22;
char *b;
type_4 *puVar9;
long var_1;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid x11_get_auth_from_authfile(X11Display *disp,char *authfilename)\n\n{\n long lVar1;\n bool bVar2;\n bool bVar3;\n bool bVar4;\n int iVar5;\n uint uVar6;\n uint uVar7;\n int iVar8;\n FILE *__stream;\n char *__s1;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *disp,char *authfilename)\n\n{\n long var_27;\n bool bVar2;\n bool bVar3;\n bool bVar4;\n int var_3;\n type_2 var_9;\n type_2 var_10;\n int var_15;\n type_3 *var_5;\n char *var_22;\n char *b;... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator... |
2296_putty_and_putty_strip.c | dummy_plug_accepting | FUN_001dae21 | dummy_plug_accepting |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int dummy_plug_accepting(Plug p,accept_fn_t constructor,accept_ctx_t ctx)
{
accept_ctx_t ctx_local;
accept_fn_t constructor_local;
Plug p_local;
return 1;
}
|
undefined8 FUN_001dae21(void)
{
return 1;
}
| (translation_unit "undefined8 FUN_001dae21(void)\n\n{\n return 1;\n}\n\n" (function_definition "undefined8 FUN_001dae21(void)\n\n{\n return 1;\n}" type_identifier (function_declarator "FUN_001dae21(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV EAX,0x1
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 p,type_2 constructor,type_3 ctx)
{
type_3 ctx_local;
type_2 constructor_local;
type_1 p_local;
return 1;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint dummy_plug_accepting(Plug p,accept_fn_t constructor,accept_ctx_t ctx)\n\n{\n accept_ctx_t ctx_local;\n accept_fn_t constructor_local;\n Plug p_local;\n \n return 1;\n}\n\n" comment (function_definition "int dummy_plu... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 p,type_2 constructor,type_3 ctx)\n\n{\n type_3 ctx_local;\n type_2 constructor_local;\n type_1 p_local;\n \n return 1;\n}\n\n" comment (function_definition "int function_1(type_1 p,type_2 constructo... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_decla... |
2013_putty_and_putty_strip.c | colour_to_css | FUN_001c8d0c | colour_to_css |
char * colour_to_css(GdkColor *col)
{
long lVar1;
char *pcVar2;
long in_FS_OFFSET;
GdkColor *col_local;
GdkRGBA rgba;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
rgba.red = (double)col->red / DAT_002163d0;
rgba.green = (double)col->green / DAT_002163d0;
rgba.blue = (double)col->blue / DAT_002163d0;
... |
void FUN_001c8d0c(long param_1)
{
long in_FS_OFFSET;
double local_38;
double local_30;
double local_28;
undefined8 local_20;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_38 = (double)*(ushort *)(param_1 + 4) / DAT_002163d0;
local_30 = (double)*(ushort *)(param_1 + 6) / DAT_0021... | (translation_unit "void FUN_001c8d0c(long param_1)\n\n{\n long in_FS_OFFSET;\n double local_38;\n double local_30;\n double local_28;\n undefined8 local_20;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_38 = (double)*(ushort *)(param_1 + 4) / DAT_002163d0;\n local_30 = (double)*(ush... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x38]
MOVZX EAX,word ptr [RAX + 0x4]
MOVZX EAX,AX
CVTSI2SD XMM0,EAX
MOVSD XMM1,qword ptr [0x002163d0]
DIVSD XMM0,XMM1
MOVSD qword ptr [RBP + -0x30],XMM0
MOV ... |
char * function_1(type_1 *col)
{
long var_4;
char *pcVar2;
long var_1;
type_1 *col_local;
type_2 rgba;
var_4 = *(long *)(var_1 + 0x28);
rgba.red = (double)col->red / var_2;
rgba.green = (double)col->green / var_2;
rgba.blue = (double)col->blue / var_2;
rgba.alpha = DAT_002163c0;
pcVar2 = (cha... | (translation_unit "char * colour_to_css(GdkColor *col)\n\n{\n long lVar1;\n char *pcVar2;\n long in_FS_OFFSET;\n GdkColor *col_local;\n GdkRGBA rgba;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n rgba.red = (double)col->red / DAT_002163d0;\n rgba.green = (double)col->green / DAT_002163d0;\n rgba.blue = (doub... | (translation_unit "char * function_1(type_1 *col)\n\n{\n long var_4;\n char *pcVar2;\n long var_1;\n type_1 *col_local;\n type_2 rgba;\n \n var_4 = *(long *)(var_1 + 0x28);\n rgba.red = (double)col->red / var_2;\n rgba.green = (double)col->green / var_2;\n rgba.blue = (double)col->blue / var_2;\n rgba.alpha ... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decl... |
2009_putty_and_putty_strip.c | set_busy_status | FUN_001c8b3c | set_busy_status |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void set_busy_status(void *frontend,wchar_t status)
{
wchar_t status_local;
void *frontend_local;
gui_data *inst;
*(wchar_t *)((long)frontend + 0xd64) = status;
update_mouseptr((gui_data *)frontend);
return;
}
|
void FUN_001c8b3c(long param_1,undefined4 param_2)
{
*(undefined4 *)(param_1 + 0xd64) = param_2;
FUN_001c5d2b(param_1);
return;
}
| (translation_unit "void FUN_001c8b3c(long param_1,undefined4 param_2)\n\n{\n *(undefined4 *)(param_1 + 0xd64) = param_2;\n FUN_001c5d2b(param_1);\n return;\n}\n\n" (function_definition "void FUN_001c8b3c(long param_1,undefined4 param_2)\n\n{\n *(undefined4 *)(param_1 + 0xd64) = param_2;\n FUN_001c5d2b(param_1);\n ... | 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 + 0xd64],EDX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x001c5d2b
NOP
L... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *frontend,type_1 status)
{
type_1 status_local;
void *frontend_local;
type_2 *inst;
*(type_1 *)((long)frontend + 0xd64) = status;
var_1((type_2 *)frontend);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid set_busy_status(void *frontend,wchar_t status)\n\n{\n wchar_t status_local;\n void *frontend_local;\n gui_data *inst;\n \n *(wchar_t *)((long)frontend + 0xd64) = status;\n update_mouseptr((gui_data *)frontend);\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *frontend,type_1 status)\n\n{\n type_1 status_local;\n void *frontend_local;\n type_2 *inst;\n \n *(type_1 *)((long)frontend + 0xd64) = status;\n var_1((type_2 *)frontend);\n return;\n}\n\n" commen... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator... |
2032_putty_and_putty_strip.c | scrollbar_moved | FUN_001ca49e | scrollbar_moved |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void scrollbar_moved(GtkAdjustment *adj,gpointer data)
{
int iVar1;
double dVar2;
gpointer data_local;
GtkAdjustment *adj_local;
gui_data *inst;
iVar1 = conf_get_int(*(Conf **)((long)data + 0x22d0),0x6d);
if ((iVar1 != 0) && (*... |
void FUN_001ca49e(undefined8 param_1,long param_2)
{
int iVar1;
double dVar2;
iVar1 = FUN_0011a4c1(*(undefined8 *)(param_2 + 0x22d0),0x6d);
if ((iVar1 != 0) && (*(int *)(param_2 + 0xd5c) == 0)) {
dVar2 = (double)gtk_adjustment_get_value(param_1);
FUN_001aa1b4(*(undefined8 *)(param_2 + 0xda0),1,(int... | (translation_unit "void FUN_001ca49e(undefined8 param_1,long param_2)\n\n{\n int iVar1;\n double dVar2;\n \n iVar1 = FUN_0011a4c1(*(undefined8 *)(param_2 + 0x22d0),0x6d);\n if ((iVar1 != 0) && (*(int *)(param_2 + 0xd5c) == 0)) {\n dVar2 = (double)gtk_adjustment_get_value(param_1);\n FUN_001aa1b4(*(undefined8... | 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 + 0x22d0]
MOV ESI,0x6d
MOV RDI,RAX
CALL 0x0011a4c1
TEST EAX,EAX
JZ 0x001ca50a
MOV RAX,qword ptr [RBP + -0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *adj,type_2 data)
{
int var_2;
double dVar2;
type_2 data_local;
type_1 *adj_local;
type_3 *inst;
var_2 = var_1(*(type_4 **)((long)data + 0x22d0),0x6d);
if ((var_2 != 0) && (*(int *)((long)data + 0xd5c) ==... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid scrollbar_moved(GtkAdjustment *adj,gpointer data)\n\n{\n int iVar1;\n double dVar2;\n gpointer data_local;\n GtkAdjustment *adj_local;\n gui_data *inst;\n \n iVar1 = conf_get_int(*(Conf **)((long)data + 0x22d0),0x... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *adj,type_2 data)\n\n{\n int var_2;\n double dVar2;\n type_2 data_local;\n type_1 *adj_local;\n type_3 *inst;\n \n var_2 = var_1(*(type_4 **)((long)data + 0x22d0),0x6d);\n if ((var_2 != 0) && (*... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato... |
2212_putty_and_putty_strip.c | next_fd | FUN_001d601e | next_fd |
/* WARNING: Enum "GIOFlags": Some values do not have unique names */
int next_fd(int *state,int *rwx)
{
int iVar1;
int *piVar2;
int *rwx_local;
int *state_local;
fd *fd;
iVar1 = *state;
*state = iVar1 + 1;
piVar2 = (int *)index234(fds,iVar1);
if (piVar2 == (int *)0x0) {
iVar1 = -1;
}
els... |
undefined4 FUN_001d601e(int *param_1,undefined4 *param_2)
{
int iVar1;
undefined4 uVar2;
undefined4 *puVar3;
iVar1 = *param_1;
*param_1 = iVar1 + 1;
puVar3 = (undefined4 *)FUN_001ae2e9(DAT_00236318,iVar1);
if (puVar3 == (undefined4 *)0x0) {
uVar2 = 0xffffffff;
}
else {
*param_2 = puVar3[1... | (translation_unit "undefined4 FUN_001d601e(int *param_1,undefined4 *param_2)\n\n{\n int iVar1;\n undefined4 uVar2;\n undefined4 *puVar3;\n \n iVar1 = *param_1;\n *param_1 = iVar1 + 1;\n puVar3 = (undefined4 *)FUN_001ae2e9(DAT_00236318,iVar1);\n if (puVar3 == (undefined4 *)0x0) {\n uVar2 = 0xffffffff;\n }\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX]
LEA ECX,[RAX + 0x1]
MOV RDX,qword ptr [RBP + -0x18]
MOV dword ptr [RDX],ECX
MOV RDX,qword ptr [0x00236318]
MOV ESI,EAX
MOV RDI,RDX
CALL 0x001ae2e9
MOV qword ptr [RBP ... |
/* WARNING: Enum "GIOFlags": Some values do not have unique names */
int function_1(int *state,int *rwx)
{
int var_1;
int *var_3;
int *rwx_local;
int *state_local;
type_1 *type_1;
var_1 = *state;
*state = var_1 + 1;
var_3 = (int *)var_2(fds,var_1);
if (var_3 == (int *)0x0) {
var_1 = -1;
}
... | (translation_unit "/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nint next_fd(int *state,int *rwx)\n\n{\n int iVar1;\n int *piVar2;\n int *rwx_local;\n int *state_local;\n fd *fd;\n \n iVar1 = *state;\n *state = iVar1 + 1;\n piVar2 = (int *)index234(fds,iVar1);\n if (piVar2 == (int *)... | (translation_unit "/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nint function_1(int *state,int *rwx)\n\n{\n int var_1;\n int *var_3;\n int *rwx_local;\n int *state_local;\n type_1 *type_1;\n \n var_1 = *state;\n *state = var_1 + 1;\n var_3 = (int *)var_2(fds,var_1);\n if (var_3 == (i... | (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:... |
2180_putty_and_putty_strip.c | printer_start_enum | FUN_001d4b91 | printer_start_enum |
printer_enum * printer_start_enum(int *nprinters_ptr)
{
int *nprinters_ptr_local;
*nprinters_ptr = 0;
return (printer_enum *)0x0;
}
|
undefined8 FUN_001d4b91(undefined4 *param_1)
{
*param_1 = 0;
return 0;
}
| (translation_unit "undefined8 FUN_001d4b91(undefined4 *param_1)\n\n{\n *param_1 = 0;\n return 0;\n}\n\n" (function_definition "undefined8 FUN_001d4b91(undefined4 *param_1)\n\n{\n *param_1 = 0;\n return 0;\n}" type_identifier (function_declarator "FUN_001d4b91(undefined4 *param_1)" identifier (parameter_list "(undef... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX],0x0
MOV EAX,0x0
POP RBP
RET |
type_1 * function_1(int *nprinters_ptr)
{
int *nprinters_ptr_local;
*nprinters_ptr = 0;
return (type_1 *)0x0;
}
| (translation_unit "printer_enum * printer_start_enum(int *nprinters_ptr)\n\n{\n int *nprinters_ptr_local;\n \n *nprinters_ptr = 0;\n return (printer_enum *)0x0;\n}\n\n" (function_definition "printer_enum * printer_start_enum(int *nprinters_ptr)\n\n{\n int *nprinters_ptr_local;\n \n *nprinters_ptr = 0;\n return ... | (translation_unit "type_1 * function_1(int *nprinters_ptr)\n\n{\n int *nprinters_ptr_local;\n \n *nprinters_ptr = 0;\n return (type_1 *)0x0;\n}\n\n" (function_definition "type_1 * function_1(int *nprinters_ptr)\n\n{\n int *nprinters_ptr_local;\n \n *nprinters_ptr = 0;\n return (type_1 *)0x0;\n}" type_identifier... | (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... |
2052_putty_and_putty_strip.c | modalfatalbox | FUN_001cbad0 | modalfatalbox |
void modalfatalbox(char *p,...)
{
char in_AL;
undefined8 in_RCX;
undefined8 in_RDX;
undefined8 in_RSI;
undefined8 in_R8;
undefined8 in_R9;
undefined8 in_XMM0_Qa;
undefined8 in_XMM1_Qa;
undefined8 in_XMM2_Qa;
undefined8 in_XMM3_Qa;
undefined8 in_XMM4_Qa;
undefined8 in_XMM5_Qa;
undefined8 in_X... |
void FUN_001cbad0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,
undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8,
char *param_9,undefined8 param_10,undefined8 param_11,undefined8 param_12,
undefined8 param_13,u... | (translation_unit "void FUN_001cbad0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8,\n char *param_9,undefined8 param_10,undefined8 param_11,undefined8 param_12,\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xe0
MOV qword ptr [RBP + -0xd8],RDI
MOV qword ptr [RBP + -0xa8],RSI
MOV qword ptr [RBP + -0xa0],RDX
MOV qword ptr [RBP + -0x98],RCX
MOV qword ptr [RBP + -0x90],R8
MOV qword ptr [RBP + -0x88],R9
TEST AL,AL
JZ 0x001cbb29
MOVAPS xmmword ptr [RBP + -0x80],XMM0
MOVAPS xmmword ptr [RBP + -0x70],... |
void function_1(char *p,...)
{
char var_1;
type_1 in_RCX;
type_1 in_RDX;
type_1 in_RSI;
type_1 in_R8;
type_1 in_R9;
type_1 in_XMM0_Qa;
type_1 in_XMM1_Qa;
type_1 in_XMM2_Qa;
type_1 in_XMM3_Qa;
type_1 in_XMM4_Qa;
type_1 in_XMM5_Qa;
type_1 in_XMM6_Qa;
type_1 in_XMM7_Qa;
char *p_local;
typ... | (translation_unit "void modalfatalbox(char *p,...)\n\n{\n char in_AL;\n undefined8 in_RCX;\n undefined8 in_RDX;\n undefined8 in_RSI;\n undefined8 in_R8;\n undefined8 in_R9;\n undefined8 in_XMM0_Qa;\n undefined8 in_XMM1_Qa;\n undefined8 in_XMM2_Qa;\n undefined8 in_XMM3_Qa;\n undefined8 in_XMM4_Qa;\n undefine... | (translation_unit "void function_1(char *p,...)\n\n{\n char var_1;\n type_1 in_RCX;\n type_1 in_RDX;\n type_1 in_RSI;\n type_1 in_R8;\n type_1 in_R9;\n type_1 in_XMM0_Qa;\n type_1 in_XMM1_Qa;\n type_1 in_XMM2_Qa;\n type_1 in_XMM3_Qa;\n type_1 in_XMM4_Qa;\n type_1 in_XMM5_Qa;\n type_1 in_XMM6_Qa;\n type_1 ... | (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))) (variadic_parameter))) body: (compound_statement (declaration type:... |
2277_putty_and_putty_strip.c | cp_enumerate | FUN_001da21a | cp_enumerate |
char * cp_enumerate(wchar_t index)
{
int iVar1;
char *pcVar2;
wchar_t index_local;
wchar_t charset;
iVar1 = charset_localenc_nth(index);
if (iVar1 == 0) {
iVar1 = charset_localenc_nth(index + L'\xffffffff');
if (iVar1 == 0) {
pcVar2 = (char *)0x0;
}
else {
pcVar2 = "Use font... |
char * FUN_001da21a(int param_1)
{
int iVar1;
char *pcVar2;
iVar1 = FUN_00116bd5(param_1);
if (iVar1 == 0) {
iVar1 = FUN_00116bd5(param_1 + -1);
if (iVar1 == 0) {
pcVar2 = (char *)0x0;
}
else {
pcVar2 = "Use font encoding";
}
}
else {
pcVar2 = (char *)FUN_00116a75(iV... | (translation_unit "char * FUN_001da21a(int param_1)\n\n{\n int iVar1;\n char *pcVar2;\n \n iVar1 = FUN_00116bd5(param_1);\n if (iVar1 == 0) {\n iVar1 = FUN_00116bd5(param_1 + -1);\n if (iVar1 == 0) {\n pcVar2 = (char *)0x0;\n }\n else {\n pcVar2 = "Use font encoding";\n }\n }\n else {\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x14],EDI
MOV EAX,dword ptr [RBP + -0x14]
MOV EDI,EAX
CALL 0x00116bd5
MOV dword ptr [RBP + -0x4],EAX
CMP dword ptr [RBP + -0x4],0x0
JNZ 0x001da259
MOV EAX,dword ptr [RBP + -0x14]
SUB EAX,0x1
MOV EDI,EAX
CALL 0x00116bd5
TEST EAX,EAX
JZ 0x001da252
LEA RAX,[0x217740]... |
char * function_1(type_1 var_3)
{
int var_2;
char *pcVar2;
type_1 index_local;
type_1 charset;
var_2 = var_1(var_3);
if (var_2 == 0) {
var_2 = var_1(var_3 + L'\xffffffff');
if (var_2 == 0) {
pcVar2 = (char *)0x0;
}
else {
pcVar2 = "Use font encoding";
}
}
else {
... | (translation_unit "char * cp_enumerate(wchar_t index)\n\n{\n int iVar1;\n char *pcVar2;\n wchar_t index_local;\n wchar_t charset;\n \n iVar1 = charset_localenc_nth(index);\n if (iVar1 == 0) {\n iVar1 = charset_localenc_nth(index + L'\xffffffff');\n if (iVar1 == 0) {\n pcVar2 = (char *)0x0;\n }\n ... | (translation_unit "char * function_1(type_1 var_3)\n\n{\n int var_2;\n char *pcVar2;\n type_1 index_local;\n type_1 charset;\n \n var_2 = var_1(var_3);\n if (var_2 == 0) {\n var_2 = var_1(var_3 + L'\xffffffff');\n if (var_2 == 0) {\n pcVar2 = (char *)0x0;\n }\n else {\n pcVar2 = "Use font e... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) de... |
2209_putty_and_putty_strip.c | uxsel_init | FUN_001d5ee3 | uxsel_init |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* WARNING: Enum "GIOFlags": Some values do not have unique names */
void uxsel_init(void)
{
fds = newtree234(uxsel_fd_cmp);
return;
}
|
void FUN_001d5ee3(void)
{
DAT_00236318 = FUN_001ad414(FUN_001d5e41);
return;
}
| (translation_unit "void FUN_001d5ee3(void)\n\n{\n DAT_00236318 = FUN_001ad414(FUN_001d5e41);\n return;\n}\n\n" (function_definition "void FUN_001d5ee3(void)\n\n{\n DAT_00236318 = FUN_001ad414(FUN_001d5e41);\n return;\n}" primitive_type (function_declarator "FUN_001d5ee3(void)" identifier (parameter_list "(void)" ( ... | PUSH RBP
MOV RBP,RSP
LEA RDI,[0x1d5e41]
CALL 0x001ad414
MOV qword ptr [0x00236318],RAX
NOP
POP RBP
RET |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* WARNING: Enum "GIOFlags": Some values do not have unique names */
void function_1(void)
{
fds = var_1(uxsel_fd_cmp);
return;
}
| (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nvoid uxsel_init(void)\n\n{\n fds = newtree234(uxsel_fd_cmp);\n return;\n}\n\n" comment comment (function_definition "void uxsel_init(void)\n\n{\n fd... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nvoid function_1(void)\n\n{\n fds = var_1(uxsel_fd_cmp);\n return;\n}\n\n" comment comment (function_definition "void function_1(void)\n\n{\n fds = v... | (translation_unit (comment) (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_... |
2202_putty_and_putty_strip.c | cfgbox | FUN_001d5afb | cfgbox |
int cfgbox(Conf *conf)
{
int iVar1;
char *title_00;
Conf *conf_local;
int ret;
char *title;
title_00 = dupcat(appname," Configuration",0);
iVar1 = do_config_box(title_00,conf,0,0);
safefree(title_00);
return iVar1;
}
|
undefined4 FUN_001d5afb(undefined8 param_1)
{
undefined4 uVar1;
undefined8 uVar2;
uVar2 = FUN_0012cfff(PTR_s_PuTTY_0022de40," Configuration",0);
uVar1 = FUN_001b7ba8(uVar2,param_1,0,0);
FUN_0012e243(uVar2);
return uVar1;
}
| (translation_unit "undefined4 FUN_001d5afb(undefined8 param_1)\n\n{\n undefined4 uVar1;\n undefined8 uVar2;\n \n uVar2 = FUN_0012cfff(PTR_s_PuTTY_0022de40," Configuration",0);\n uVar1 = FUN_001b7ba8(uVar2,param_1,0,0);\n FUN_0012e243(uVar2);\n return uVar1;\n}\n\n" (function_definition "undefined4 FUN_001d5afb(u... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [0x0022de40]
MOV EDX,0x0
LEA RSI,[0x216ff0]
MOV RDI,RAX
MOV EAX,0x0
CALL 0x0012cfff
MOV qword ptr [RBP + -0x8],RAX
MOV RSI,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RBP + -0x8]
MOV ECX,0x0
MOV EDX,0x0
MOV RDI,RAX
CALL 0x001b7ba8
MOV dw... |
int function_1(type_1 *conf)
{
int iVar1;
char *title_00;
type_1 *conf_local;
int ret;
char *title;
title_00 = var_1(appname," Configuration",0);
iVar1 = var_2(title_00,conf,0,0);
var_3(title_00);
return iVar1;
}
| (translation_unit "int cfgbox(Conf *conf)\n\n{\n int iVar1;\n char *title_00;\n Conf *conf_local;\n int ret;\n char *title;\n \n title_00 = dupcat(appname," Configuration",0);\n iVar1 = do_config_box(title_00,conf,0,0);\n safefree(title_00);\n return iVar1;\n}\n\n" (function_definition "int cfgbox(Conf *conf)... | (translation_unit "int function_1(type_1 *conf)\n\n{\n int iVar1;\n char *title_00;\n type_1 *conf_local;\n int ret;\n char *title;\n \n title_00 = var_1(appname," Configuration",0);\n iVar1 = var_2(title_00,conf,0,0);\n var_3(title_00);\n return iVar1;\n}\n\n" (function_definition "int function_1(type_1 *con... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) de... |
2048_putty_and_putty_strip.c | do_text_internal | FUN_001cac64 | do_text_internal |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void do_text_internal(Context ctx,wchar_t x,wchar_t y,wchar_t *text,wchar_t len,ulong attr,
wchar_t lattr)
{
long lVar1;
wchar_t wVar2;
bool bVar3;
int iVar4;
wchar_t wVar5;
undefined8 uVar6;
bool bVar7;
ulo... |
void FUN_001cac64(long *param_1,int param_2,int param_3,undefined8 param_4,int param_5,ulong param_6
,uint param_7)
{
long lVar1;
uint uVar2;
bool bVar3;
int iVar4;
uint uVar5;
undefined8 uVar6;
bool bVar7;
int local_64;
int local_54;
int local_48;
uint local_44;
uint local_40... | (translation_unit "void FUN_001cac64(long *param_1,int param_2,int param_3,undefined8 param_4,int param_5,ulong param_6\n ,uint param_7)\n\n{\n long lVar1;\n uint uVar2;\n bool bVar3;\n int iVar4;\n uint uVar5;\n undefined8 uVar6;\n bool bVar7;\n int local_64;\n int local_54;\n int local_48;\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x48],RDI
MOV dword ptr [RBP + -0x4c],ESI
MOV dword ptr [RBP + -0x50],EDX
MOV qword ptr [RBP + -0x58],RCX
MOV dword ptr [RBP + -0x5c],R8D
MOV qword ptr [RBP + -0x68],R9
MOV RAX,qword ptr [RBP + -0x48]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ctx,type_2 var_14,type_2 var_20,type_2 *text,type_2 len,type_3 var_5,
type_2 var_13)
{
long var_2;
type_2 wVar2;
bool var_6;
int var_4;
type_2 var_11;
type_4 uVar6;
bool bVar7;
type_3 ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid do_text_internal(Context ctx,wchar_t x,wchar_t y,wchar_t *text,wchar_t len,ulong attr,\n wchar_t lattr)\n\n{\n long lVar1;\n wchar_t wVar2;\n bool bVar3;\n int iVar4;\n wchar_t wVar5;\n undefine... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ctx,type_2 var_14,type_2 var_20,type_2 *text,type_2 len,type_3 var_5,\n type_2 var_13)\n\n{\n long var_2;\n type_2 wVar2;\n bool var_6;\n int var_4;\n type_2 var_11;\n type_4 u... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_decla... |
2075_putty_and_putty_strip.c | update_savedsess_menu | FUN_001cd3bc | update_savedsess_menu |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void update_savedsess_menu(GtkMenuItem *menuitem,gpointer data)
{
long lVar1;
undefined8 uVar2;
char *pcVar3;
undefined8 uVar4;
long in_FS_OFFSET;
gpointer data_local;
GtkMenuItem *menuitem_local;
wchar_t i;
gui_data *inst;
... |
void FUN_001cd3bc(undefined8 param_1,long param_2)
{
undefined8 uVar1;
undefined8 uVar2;
undefined8 uVar3;
long in_FS_OFFSET;
int local_54;
int local_38 [2];
long local_30;
long local_20;
local_20 = *(long *)(in_FS_OFFSET + 0x28);
uVar1 = gtk_container_get_type();
uVar1 = g_type_check_instanc... | (translation_unit "void FUN_001cd3bc(undefined8 param_1,long param_2)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n long in_FS_OFFSET;\n int local_54;\n int local_38 [2];\n long local_30;\n long local_20;\n \n local_20 = *(long *)(in_FS_OFFSET + 0x28);\n uVar1 = gtk_container_get_type();... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x58
MOV qword ptr [RBP + -0x58],RDI
MOV qword ptr [RBP + -0x60],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x60]
MOV qword ptr [RBP + -0x48],RAX
CALL 0x00114a90
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x48]
MOV RAX,qword ptr... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *menuitem,type_2 data)
{
long var_14;
type_3 uVar2;
char *pcVar3;
type_3 uVar4;
long var_1;
type_2 data_local;
type_1 *menuitem_local;
type_4 var_6;
type_5 *inst;
type_6 *menuitem_1;
type_6 *menuitem... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid update_savedsess_menu(GtkMenuItem *menuitem,gpointer data)\n\n{\n long lVar1;\n undefined8 uVar2;\n char *pcVar3;\n undefined8 uVar4;\n long in_FS_OFFSET;\n gpointer data_local;\n GtkMenuItem *menuitem_local;\n w... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *menuitem,type_2 data)\n\n{\n long var_14;\n type_3 uVar2;\n char *pcVar3;\n type_3 uVar4;\n long var_1;\n type_2 data_local;\n type_1 *menuitem_local;\n type_4 var_6;\n type_5 *inst;\n type_6... | (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... |
2004_putty_and_putty_strip.c | frontend_keypress | FUN_001c8922 | frontend_keypress |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void frontend_keypress(void *handle)
{
void *handle_local;
gui_data *inst;
if (*(int *)((long)handle + 0xdb0) != 0) {
cleanup_exit(0);
}
return;
}
|
void FUN_001c8922(long param_1)
{
if (*(int *)(param_1 + 0xdb0) != 0) {
FUN_001d5a88(0);
}
return;
}
| (translation_unit "void FUN_001c8922(long param_1)\n\n{\n if (*(int *)(param_1 + 0xdb0) != 0) {\n FUN_001d5a88(0);\n }\n return;\n}\n\n" (function_definition "void FUN_001c8922(long param_1)\n\n{\n if (*(int *)(param_1 + 0xdb0) != 0) {\n FUN_001d5a88(0);\n }\n return;\n}" primitive_type (function_declarator... | 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 + 0xdb0]
TEST EAX,EAX
JZ 0x001c894e
MOV EDI,0x0
CALL 0x001d5a88
NOP
LEAVE
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *handle)
{
void *handle_local;
type_1 *inst;
if (*(int *)((long)handle + 0xdb0) != 0) {
var_1(0);
}
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid frontend_keypress(void *handle)\n\n{\n void *handle_local;\n gui_data *inst;\n \n if (*(int *)((long)handle + 0xdb0) != 0) {\n cleanup_exit(0);\n }\n return;\n}\n\n" comment (function_definition "void frontend_k... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *handle)\n\n{\n void *handle_local;\n type_1 *inst;\n \n if (*(int *)((long)handle + 0xdb0) != 0) {\n var_1(0);\n }\n return;\n}\n\n" comment (function_definition "void function_1(void *handle)\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... |
2293_putty_and_putty_strip.c | dummy_plug_closing | FUN_001dade9 | dummy_plug_closing |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void dummy_plug_closing(Plug p,char *error_msg,int error_code,int calling_back)
{
int calling_back_local;
int error_code_local;
char *error_msg_local;
Plug p_local;
return;
}
|
void FUN_001dade9(void)
{
return;
}
| (translation_unit "void FUN_001dade9(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_001dade9(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_001dade9(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV dword ptr [RBP + -0x18],ECX
NOP
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 p,char *error_msg,int error_code,int calling_back)
{
int calling_back_local;
int error_code_local;
char *error_msg_local;
type_1 p_local;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid dummy_plug_closing(Plug p,char *error_msg,int error_code,int calling_back)\n\n{\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n Plug p_local;\n \n return;\n}\n\n" comment (function_defi... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 p,char *error_msg,int error_code,int calling_back)\n\n{\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n type_1 p_local;\n \n return;\n}\n\n" comment (function_definiti... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator:... |
2090_putty_and_putty_strip.c | gss_init | FUN_001cfc13 | gss_init |
void gss_init(ssh_gss_library *lib,void *dlhandle,int id,char *msg)
{
t_gss_delete_sec_context p_Var1;
t_gss_display_status p_Var2;
t_gss_get_mic p_Var3;
t_gss_import_name p_Var4;
t_gss_init_sec_context p_Var5;
t_gss_release_buffer p_Var6;
t_gss_release_cred p_Var7;
t_gss_release_name p_Var8;
char *... |
void FUN_001cfc13(undefined4 *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)
{
undefined8 uVar1;
*param_1 = param_3;
*(undefined8 *)(param_1 + 2) = param_4;
*(undefined8 *)(param_1 + 0x28) = param_2;
uVar1 = dlsym(param_2,"gss_delete_sec_context");
*(undefined8 *)(param_1 + 0x18) = u... | (translation_unit "void FUN_001cfc13(undefined4 *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)\n\n{\n undefined8 uVar1;\n \n *param_1 = param_3;\n *(undefined8 *)(param_1 + 2) = param_4;\n *(undefined8 *)(param_1 + 0x28) = param_2;\n uVar1 = dlsym(param_2,"gss_delete_sec_context");\n *(undefi... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV qword ptr [RBP + -0x20],RCX
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr [RBP + -0x14]
MOV dword ptr [RAX],EDX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RBP + -0x20]
MOV qword... |
void function_1(type_1 *lib,void *dlhandle,int id,char *msg)
{
type_2 p_Var1;
type_3 p_Var2;
type_4 p_Var3;
type_5 p_Var4;
type_6 p_Var5;
type_7 p_Var6;
type_8 p_Var7;
type_9 p_Var8;
char *msg_local;
int id_local;
void *dlhandle_local;
type_1 *lib_local;
lib->id = id;
lib->gsslogmsg = m... | (translation_unit "void gss_init(ssh_gss_library *lib,void *dlhandle,int id,char *msg)\n\n{\n t_gss_delete_sec_context p_Var1;\n t_gss_display_status p_Var2;\n t_gss_get_mic p_Var3;\n t_gss_import_name p_Var4;\n t_gss_init_sec_context p_Var5;\n t_gss_release_buffer p_Var6;\n t_gss_release_cred p_Var7;\n t_gss_r... | (translation_unit "void function_1(type_1 *lib,void *dlhandle,int id,char *msg)\n\n{\n type_2 p_Var1;\n type_3 p_Var2;\n type_4 p_Var3;\n type_5 p_Var4;\n type_6 p_Var5;\n type_7 p_Var6;\n type_8 p_Var7;\n type_9 p_Var8;\n char *msg_local;\n int id_local;\n void *dlhandle_local;\n type_1 *lib_local;\n \n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
2249_putty_and_putty_strip.c | write_setting_i | FUN_001d8812 | write_setting_i |
void write_setting_i(void *handle,char *key,int value)
{
int value_local;
char *key_local;
void *handle_local;
FILE *fp;
fprintf((FILE *)handle,"%s=%d\n",key,(ulong)(uint)value);
return;
}
|
void FUN_001d8812(FILE *param_1,undefined8 param_2,uint param_3)
{
fprintf(param_1,"%s=%d\n",param_2,(ulong)param_3);
return;
}
| (translation_unit "void FUN_001d8812(FILE *param_1,undefined8 param_2,uint param_3)\n\n{\n fprintf(param_1,"%s=%d\n",param_2,(ulong)param_3);\n return;\n}\n\n" (function_definition "void FUN_001d8812(FILE *param_1,undefined8 param_2,uint param_3)\n\n{\n fprintf(param_1,"%s=%d\n",param_2,(ulong)param_3);\n return;\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV ECX,dword ptr [RBP + -0x24]
MOV RDX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x8]
LEA RSI,[0x217560]
MOV RDI,RAX
M... |
void function_1(void *handle,char *key,int value)
{
int value_local;
char *key_local;
void *handle_local;
type_1 *fp;
var_1((type_1 *)handle,"%s=%d\n",key,(type_2)(type_3)value);
return;
}
| (translation_unit "void write_setting_i(void *handle,char *key,int value)\n\n{\n int value_local;\n char *key_local;\n void *handle_local;\n FILE *fp;\n \n fprintf((FILE *)handle,"%s=%d\n",key,(ulong)(uint)value);\n return;\n}\n\n" (function_definition "void write_setting_i(void *handle,char *key,int value)\n\n{... | (translation_unit "void function_1(void *handle,char *key,int value)\n\n{\n int value_local;\n char *key_local;\n void *handle_local;\n type_1 *fp;\n \n var_1((type_1 *)handle,"%s=%d\n",key,(type_2)(type_3)value);\n return;\n}\n\n" (function_definition "void function_1(void *handle,char *key,int value)\n\n{\n i... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
2170_putty_and_putty_strip.c | pollwrap_add_fd_events | FUN_001d46b7 | pollwrap_add_fd_events |
void pollwrap_add_fd_events(pollwrapper *pw,int fd,int events)
{
long lVar1;
size_t sVar2;
pollfd *ppVar3;
pollwrap_fdtopos *ppVar4;
long in_FS_OFFSET;
int events_local;
int fd_local;
pollwrapper *pw_local;
pollwrap_fdtopos *f2p;
size_t index;
pollwrap_fdtopos *added;
pollwrap_fdtopos f2p_find... |
void FUN_001d46b7(long *param_1,int param_2,ushort param_3)
{
long lVar1;
long lVar2;
int *piVar3;
long in_FS_OFFSET;
int *local_40;
int local_28 [6];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (param_2 < 0) {
/* WARNING: Subroutine does not return */
__a... | (translation_unit "void FUN_001d46b7(long *param_1,int param_2,ushort param_3)\n\n{\n long lVar1;\n long lVar2;\n int *piVar3;\n long in_FS_OFFSET;\n int *local_40;\n int local_28 [6];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (param_2 < 0) {\n /* WARNING: Subrou... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x48],RDI
MOV dword ptr [RBP + -0x4c],ESI
MOV dword ptr [RBP + -0x50],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
CMP dword ptr [RBP + -0x4c],0x0
JNS 0x001d46fd
LEA RCX,[0x216e60]
MOV EDX,0x39
LEA RSI,[0x216e20]
LEA RDI,[0x216e2e]
CA... |
void function_1(type_1 *pw,int var_2,int events)
{
long var_11;
size_t var_7;
type_2 *ppVar3;
type_3 *var_10;
long var_1;
int events_local;
int fd_local;
type_1 *pw_local;
type_3 *var_5;
size_t index;
type_3 *added;
type_3 f2p_find;
var_11 = *(long *)(var_1 + 0x28);
if (var_2 < 0) {
... | (translation_unit "void pollwrap_add_fd_events(pollwrapper *pw,int fd,int events)\n\n{\n long lVar1;\n size_t sVar2;\n pollfd *ppVar3;\n pollwrap_fdtopos *ppVar4;\n long in_FS_OFFSET;\n int events_local;\n int fd_local;\n pollwrapper *pw_local;\n pollwrap_fdtopos *f2p;\n size_t index;\n pollwrap_fdtopos *add... | (translation_unit "void function_1(type_1 *pw,int var_2,int events)\n\n{\n long var_11;\n size_t var_7;\n type_2 *ppVar3;\n type_3 *var_10;\n long var_1;\n int events_local;\n int fd_local;\n type_1 *pw_local;\n type_3 *var_5;\n size_t index;\n type_3 *added;\n type_3 f2p_find;\n \n var_11 = *(long *)(var... | (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... |
1978_putty_and_putty_strip.c | logevent | FUN_001c593c | logevent |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void logevent(void *frontend,char *string)
{
char *string_local;
void *frontend_local;
gui_data *inst;
log_eventlog(*(void **)((long)frontend + 0xda8),string);
logevent_dlg(*(void **)((long)frontend + 0x22d8),string);
return;
}
|
void FUN_001c593c(long param_1,undefined8 param_2)
{
FUN_00128a9c(*(undefined8 *)(param_1 + 0xda8),param_2);
FUN_001bac2d(*(undefined8 *)(param_1 + 0x22d8),param_2);
return;
}
| (translation_unit "void FUN_001c593c(long param_1,undefined8 param_2)\n\n{\n FUN_00128a9c(*(undefined8 *)(param_1 + 0xda8),param_2);\n FUN_001bac2d(*(undefined8 *)(param_1 + 0x22d8),param_2);\n return;\n}\n\n" (function_definition "void FUN_001c593c(long param_1,undefined8 param_2)\n\n{\n FUN_00128a9c(*(undefined8 ... | 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 RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0xda8]
MOV RDX,qword ptr [RBP + -0x20]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00128a9c
MOV RAX,qword ptr [RBP +... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *frontend,char *string)
{
char *string_local;
void *frontend_local;
type_1 *inst;
var_1(*(void **)((long)frontend + 0xda8),string);
var_2(*(void **)((long)frontend + 0x22d8),string);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid logevent(void *frontend,char *string)\n\n{\n char *string_local;\n void *frontend_local;\n gui_data *inst;\n \n log_eventlog(*(void **)((long)frontend + 0xda8),string);\n logevent_dlg(*(void **)((long)frontend + 0x... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *frontend,char *string)\n\n{\n char *string_local;\n void *frontend_local;\n type_1 *inst;\n \n var_1(*(void **)((long)frontend + 0xda8),string);\n var_2(*(void **)((long)frontend + 0x22d8),string);... | (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:... |
2141_putty_and_putty_strip.c | sk_tcp_close | FUN_001d257b | sk_tcp_close |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
/* WARNING: Enum "GIOFlags": Some values do not have unique names */
void sk_tcp_close(Socket sock)
{
Socket sock_local;
Actual_Socket_conflict s;
if (sock[0x13] != (socket_function_table *)0x0) {
sk_tcp_close((Socket)sock[0x13]);
... |
void FUN_001d257b(long param_1)
{
if (*(long *)(param_1 + 0x98) != 0) {
FUN_001d257b(*(undefined8 *)(param_1 + 0x98));
}
FUN_0012dba4(param_1 + 0x20);
FUN_001d5fa9(*(undefined4 *)(param_1 + 0x10));
FUN_001af5c6(DAT_002362f0,param_1);
close(*(int *)(param_1 + 0x10));
if (*(long *)(param_1 + 0x78) != ... | (translation_unit "void FUN_001d257b(long param_1)\n\n{\n if (*(long *)(param_1 + 0x98) != 0) {\n FUN_001d257b(*(undefined8 *)(param_1 + 0x98));\n }\n FUN_0012dba4(param_1 + 0x20);\n FUN_001d5fa9(*(undefined4 *)(param_1 + 0x10));\n FUN_001af5c6(DAT_002362f0,param_1);\n close(*(int *)(param_1 + 0x10));\n if (*... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x98]
TEST RAX,RAX
JZ 0x001d25b2
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x98]
MOV RDI,RAX
CALL 0x001d257b
MOV RAX,qwor... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
/* WARNING: Enum "GIOFlags": Some values do not have unique names */
void function_1(type_1 var_2)
{
type_1 sock_local;
type_2 s;
if (var_2[0x13] != (type_3 *)0x0) {
function_1((type_1)var_2[0x13]);
}
var_1((type_4 *)(var_2 + 4... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nvoid sk_tcp_close(Socket sock)\n\n{\n Socket sock_local;\n Actual_Socket_conflict s;\n \n if (sock[0x13] != (socket_function_table *)0x0) {\n sk_tcp... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nvoid function_1(type_1 var_2)\n\n{\n type_1 sock_local;\n type_2 s;\n \n if (var_2[0x13] != (type_3 *)0x0) {\n function_1((type_1)var_2[0x13]);\n }... | (translation_unit (comment) (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: (i... |
2105_putty_and_putty_strip.c | cloexec | FUN_001d038b | cloexec |
void cloexec(int fd)
{
uint uVar1;
int iVar2;
int *piVar3;
char *pcVar4;
int fd_local;
int fdflags;
uVar1 = fcntl64(fd,1);
if ((int)uVar1 < 0) {
piVar3 = __errno_location();
pcVar4 = strerror(*piVar3);
fprintf(stderr,"%d: fcntl(F_GETFD): %s\n",(ulong)(uint)fd,pcVar4);
... |
void FUN_001d038b(uint param_1)
{
uint uVar1;
int iVar2;
int *piVar3;
char *pcVar4;
uVar1 = fcntl64(param_1,1);
if ((int)uVar1 < 0) {
piVar3 = __errno_location();
pcVar4 = strerror(*piVar3);
fprintf(stderr,"%d: fcntl(F_GETFD): %s\n",(ulong)param_1,pcVar4);
/* WARNING: Su... | (translation_unit "void FUN_001d038b(uint param_1)\n\n{\n uint uVar1;\n int iVar2;\n int *piVar3;\n char *pcVar4;\n \n uVar1 = fcntl64(param_1,1);\n if ((int)uVar1 < 0) {\n piVar3 = __errno_location();\n pcVar4 = strerror(*piVar3);\n fprintf(stderr,"%d: fcntl(F_GETFD): %s\n",(ulong)param_1,pcVar4);\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x14],EDI
MOV EAX,dword ptr [RBP + -0x14]
MOV ESI,0x1
MOV EDI,EAX
MOV EAX,0x0
CALL 0x00115af0
MOV dword ptr [RBP + -0x4],EAX
CMP dword ptr [RBP + -0x4],0x0
JNS 0x001d03ec
CALL 0x00114070
MOV EAX,dword ptr [RAX]
MOV EDI,EAX
CALL 0x001144f0
MOV RCX,RAX
MOV RAX,qword... |
void function_1(int fd)
{
type_1 var_6;
int var_7;
int *piVar3;
char *pcVar4;
int fd_local;
int fdflags;
var_6 = var_1(fd,1);
if ((int)var_6 < 0) {
piVar3 = var_2();
pcVar4 = var_3(*piVar3);
var_4(stderr,"%d: fcntl(F_GETFD): %s\n",(type_2)(type_1)fd,pcVar4);
/* WARNI... | (translation_unit "void cloexec(int fd)\n\n{\n uint uVar1;\n int iVar2;\n int *piVar3;\n char *pcVar4;\n int fd_local;\n int fdflags;\n \n uVar1 = fcntl64(fd,1);\n if ((int)uVar1 < 0) {\n piVar3 = __errno_location();\n pcVar4 = strerror(*piVar3);\n fprintf(stderr,"%d: fcntl(F_GETFD): %s\n",(ulong)(uin... | (translation_unit "void function_1(int fd)\n\n{\n type_1 var_6;\n int var_7;\n int *piVar3;\n char *pcVar4;\n int fd_local;\n int fdflags;\n \n var_6 = var_1(fd,1);\n if ((int)var_6 < 0) {\n piVar3 = var_2();\n pcVar4 = var_3(*piVar3);\n var_4(stderr,"%d: fcntl(F_GETFD): %s\n",(type_2)(type_1)fd,pcVar... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declarat... |
1969_putty_and_putty_strip.c | platform_default_filename | FUN_001c5746 | platform_default_filename |
Filename * platform_default_filename(char *name)
{
int iVar1;
Filename *pFVar2;
char *name_local;
iVar1 = strcmp(name,"LogFileName");
if (iVar1 == 0) {
pFVar2 = filename_from_str("putty.log");
}
else {
pFVar2 = filename_from_str("");
}
return pFVar2;
}
|
void FUN_001c5746(char *param_1)
{
int iVar1;
iVar1 = strcmp(param_1,"LogFileName");
if (iVar1 == 0) {
FUN_001d0112("putty.log");
}
else {
FUN_001d0112(&DAT_00215a52);
}
return;
}
| (translation_unit "void FUN_001c5746(char *param_1)\n\n{\n int iVar1;\n \n iVar1 = strcmp(param_1,"LogFileName");\n if (iVar1 == 0) {\n FUN_001d0112("putty.log");\n }\n else {\n FUN_001d0112(&DAT_00215a52);\n }\n return;\n}\n\n" (function_definition "void FUN_001c5746(char *param_1)\n\n{\n int iVar1;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
LEA RSI,[0x215a53]
MOV RDI,RAX
CALL 0x001156d0
TEST EAX,EAX
JNZ 0x001c5777
LEA RDI,[0x215a5f]
CALL 0x001d0112
JMP 0x001c5783
LEA RDI,[0x215a52]
CALL 0x001d0112
LEAVE
RET |
type_1 * function_1(char *name)
{
int var_2;
type_1 *pFVar2;
char *name_local;
var_2 = var_1(name,"LogFileName");
if (var_2 == 0) {
pFVar2 = var_3("putty.log");
}
else {
pFVar2 = var_3("");
}
return pFVar2;
}
| (translation_unit "Filename * platform_default_filename(char *name)\n\n{\n int iVar1;\n Filename *pFVar2;\n char *name_local;\n \n iVar1 = strcmp(name,"LogFileName");\n if (iVar1 == 0) {\n pFVar2 = filename_from_str("putty.log");\n }\n else {\n pFVar2 = filename_from_str("");\n }\n return pFVar2;\n}\n\n... | (translation_unit "type_1 * function_1(char *name)\n\n{\n int var_2;\n type_1 *pFVar2;\n char *name_local;\n \n var_2 = var_1(name,"LogFileName");\n if (var_2 == 0) {\n pFVar2 = var_3("putty.log");\n }\n else {\n pFVar2 = var_3("");\n }\n return pFVar2;\n}\n\n" (function_definition "type_1 * function_1(... | (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... |
2099_putty_and_putty_strip.c | filename_free | FUN_001d01ca | filename_free |
void filename_free(Filename *fn)
{
Filename *fn_local;
safefree(fn->path);
safefree(fn);
return;
}
|
void FUN_001d01ca(undefined8 *param_1)
{
FUN_0012e243(*param_1);
FUN_0012e243(param_1);
return;
}
| (translation_unit "void FUN_001d01ca(undefined8 *param_1)\n\n{\n FUN_0012e243(*param_1);\n FUN_0012e243(param_1);\n return;\n}\n\n" (function_definition "void FUN_001d01ca(undefined8 *param_1)\n\n{\n FUN_0012e243(*param_1);\n FUN_0012e243(param_1);\n return;\n}" primitive_type (function_declarator "FUN_001d01ca(u... | 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 0x0012e243
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0012e243
NOP
LEAVE
RET |
void function_1(type_1 *fn)
{
type_1 *fn_local;
var_1(fn->path);
var_1(fn);
return;
}
| (translation_unit "void filename_free(Filename *fn)\n\n{\n Filename *fn_local;\n \n safefree(fn->path);\n safefree(fn);\n return;\n}\n\n" (function_definition "void filename_free(Filename *fn)\n\n{\n Filename *fn_local;\n \n safefree(fn->path);\n safefree(fn);\n return;\n}" primitive_type (function_declarator... | (translation_unit "void function_1(type_1 *fn)\n\n{\n type_1 *fn_local;\n \n var_1(fn->path);\n var_1(fn);\n return;\n}\n\n" (function_definition "void function_1(type_1 *fn)\n\n{\n type_1 *fn_local;\n \n var_1(fn->path);\n var_1(fn);\n return;\n}" primitive_type (function_declarator "function_1(type_1 *fn)" ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
2049_putty_and_putty_strip.c | do_text | FUN_001cb417 | do_text |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void do_text(Context ctx,wchar_t x,wchar_t y,wchar_t *text,wchar_t len,ulong attr,wchar_t lattr)
{
long lVar1;
int iVar2;
ulong attr_local;
wchar_t len_local;
wchar_t *text_local;
wchar_t y_local;
wchar_t x_local;
Context ctx_lo... |
void FUN_001cb417(long *param_1,int param_2,int param_3,undefined8 param_4,int param_5,ulong param_6
,uint param_7)
{
long lVar1;
int iVar2;
int local_44;
int local_34;
int local_1c;
lVar1 = *param_1;
FUN_001cac64(param_1,param_2,param_3,param_4,param_5,param_6,param_7);
if ((param... | (translation_unit "void FUN_001cb417(long *param_1,int param_2,int param_3,undefined8 param_4,int param_5,ulong param_6\n ,uint param_7)\n\n{\n long lVar1;\n int iVar2;\n int local_44;\n int local_34;\n int local_1c;\n \n lVar1 = *param_1;\n FUN_001cac64(param_1,param_2,param_3,param_4,param_5,p... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
MOV dword ptr [RBP + -0x30],EDX
MOV qword ptr [RBP + -0x38],RCX
MOV dword ptr [RBP + -0x3c],R8D
MOV qword ptr [RBP + -0x48],R9
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ctx,type_2 var_4,type_2 var_13,type_2 *text,type_2 var_7,type_3 var_2,type_2 var_3)
{
long var_5;
int var_10;
type_3 attr_local;
type_2 var_11;
type_2 *text_local;
type_2 y_local;
type_2 var_6;
type_1 ctx_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid do_text(Context ctx,wchar_t x,wchar_t y,wchar_t *text,wchar_t len,ulong attr,wchar_t lattr)\n\n{\n long lVar1;\n int iVar2;\n ulong attr_local;\n wchar_t len_local;\n wchar_t *text_local;\n wchar_t y_local;\n wcha... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ctx,type_2 var_4,type_2 var_13,type_2 *text,type_2 var_7,type_3 var_2,type_2 var_3)\n\n{\n long var_5;\n int var_10;\n type_3 attr_local;\n type_2 var_11;\n type_2 *text_local;\n type_2 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: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_decla... |
2014_putty_and_putty_strip.c | set_gtk_widget_background | FUN_001c8db6 | set_gtk_widget_background |
void set_gtk_widget_background(GtkWidget *widget,GdkColor *col)
{
undefined8 uVar1;
char *__ptr;
char *__ptr_00;
undefined8 uVar2;
undefined8 uVar3;
GdkColor *col_local;
GtkWidget *widget_local;
GtkCssProvider *provider;
char *col_css;
char *data;
GtkStyleContext *context;
uVar1 = gtk_css_p... |
void FUN_001c8db6(undefined8 param_1,undefined8 param_2)
{
undefined8 uVar1;
void *__ptr;
void *__ptr_00;
undefined8 uVar2;
undefined8 uVar3;
uVar1 = gtk_css_provider_new();
__ptr = (void *)FUN_001c8d0c(param_2);
__ptr_00 = (void *)FUN_0012d477("#drawing-area, #top-level { background-color: %s; }\n... | (translation_unit "void FUN_001c8db6(undefined8 param_1,undefined8 param_2)\n\n{\n undefined8 uVar1;\n void *__ptr;\n void *__ptr_00;\n undefined8 uVar2;\n undefined8 uVar3;\n \n uVar1 = gtk_css_provider_new();\n __ptr = (void *)FUN_001c8d0c(param_2);\n __ptr_00 = (void *)FUN_0012d477("#drawing-area, #top-leve... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
CALL 0x00115d90
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP + -0x30]
MOV RDI,RAX
CALL 0x001c8d0c
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RAX
LEA RDI,[0x215ed0]
MOV EAX,0x0
CALL 0x... |
void function_1(type_1 *widget,type_2 *col)
{
type_3 uVar1;
char *__ptr;
char *__ptr_00;
type_3 uVar2;
type_3 uVar3;
type_2 *col_local;
type_1 *widget_local;
type_4 *provider;
char *col_css;
char *data;
type_5 *context;
uVar1 = var_1();
__ptr = var_2(col);
__ptr_00 = var_3("#drawing-are... | (translation_unit "void set_gtk_widget_background(GtkWidget *widget,GdkColor *col)\n\n{\n undefined8 uVar1;\n char *__ptr;\n char *__ptr_00;\n undefined8 uVar2;\n undefined8 uVar3;\n GdkColor *col_local;\n GtkWidget *widget_local;\n GtkCssProvider *provider;\n char *col_css;\n char *data;\n GtkStyleContext *... | (translation_unit "void function_1(type_1 *widget,type_2 *col)\n\n{\n type_3 uVar1;\n char *__ptr;\n char *__ptr_00;\n type_3 uVar2;\n type_3 uVar3;\n type_2 *col_local;\n type_1 *widget_local;\n type_4 *provider;\n char *col_css;\n char *data;\n type_5 *context;\n \n uVar1 = var_1();\n __ptr = var_2(col)... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
2200_putty_and_putty_strip.c | cleanup_exit | FUN_001d5a88 | cleanup_exit |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void cleanup_exit(int code)
{
int code_local;
sk_cleanup();
random_save_seed();
/* WARNING: Subroutine does not return */
exit(code);
}
|
void FUN_001d5a88(int param_1)
{
FUN_001d0b9a();
FUN_001d4275();
/* WARNING: Subroutine does not return */
exit(param_1);
}
| (translation_unit "void FUN_001d5a88(int param_1)\n\n{\n FUN_001d0b9a();\n FUN_001d4275();\n /* WARNING: Subroutine does not return */\n exit(param_1);\n}\n\n" (function_definition "void FUN_001d5a88(int param_1)\n\n{\n FUN_001d0b9a();\n FUN_001d4275();\n /* WARNING: Subroutin... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV dword ptr [RBP + -0x4],EDI
CALL 0x001d0b9a
CALL 0x001d4275
MOV EAX,dword ptr [RBP + -0x4]
MOV EDI,EAX
CALL 0x00115370 |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(int code)
{
int code_local;
var_1();
var_2();
/* WARNING: Subroutine does not return */
var_3(code);
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid cleanup_exit(int code)\n\n{\n int code_local;\n \n sk_cleanup();\n random_save_seed();\n /* WARNING: Subroutine does not return */\n exit(code);\n}\n\n" comment (function_definition "void cleanup_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(int code)\n\n{\n int code_local;\n \n var_1();\n var_2();\n /* WARNING: Subroutine does not return */\n var_3(code);\n}\n\n" comment (function_definition "void function_1(int code)\n\n{... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) ... |
2194_putty_and_putty_strip.c | sk_localproxy_write_eof | FUN_001d5123 | sk_localproxy_write_eof |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sk_localproxy_write_eof(Socket s)
{
Socket s_local;
Local_Proxy_Socket ps;
if (*(int *)(s + 0xe) != 0) {
/* WARNING: Subroutine does not return */
__assert_fail("ps->outgoingeof == EOF_NO","unix/uxproxy.c",... |
void FUN_001d5123(long param_1)
{
if (*(int *)(param_1 + 0x70) != 0) {
/* WARNING: Subroutine does not return */
__assert_fail("ps->outgoingeof == EOF_NO","unix/uxproxy.c",0xcc,"sk_localproxy_write_eof");
}
*(undefined4 *)(param_1 + 0x70) = 1;
FUN_001d4ed1(param_1);
return;
}
| (translation_unit "void FUN_001d5123(long param_1)\n\n{\n if (*(int *)(param_1 + 0x70) != 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("ps->outgoingeof == EOF_NO","unix/uxproxy.c",0xcc,"sk_localproxy_write_eof");\n }\n *(undefined4 *)(param_1 + 0x70) = 1;\n FUN_001d4ed1(par... | 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 + 0x70]
TEST EAX,EAX
JZ 0x001d5161
LEA RCX,[0x216f90]
MOV EDX,0xcc
LEA RSI,[0x216ec0]
LEA RDI,[0x216ecf]
CALL 0x00114a00
MOV RAX,qword pt... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_1)
{
type_1 s_local;
type_2 ps;
if (*(int *)(var_1 + 0xe) != 0) {
/* WARNING: Subroutine does not return */
var_2("ps->outgoingeof == EOF_NO","unix/uxproxy.c",0xcc,"sk_localproxy_write... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sk_localproxy_write_eof(Socket s)\n\n{\n Socket s_local;\n Local_Proxy_Socket ps;\n \n if (*(int *)(s + 0xe) != 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("ps->outgoingeof ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_1)\n\n{\n type_1 s_local;\n type_2 ps;\n \n if (*(int *)(var_1 + 0xe) != 0) {\n /* WARNING: Subroutine does not return */\n var_2("ps->outgoingeof == EOF_NO","unix/uxproxy.... | (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)... |
2231_putty_and_putty_strip.c | serial_sendok | FUN_001d6e69 | serial_sendok |
int serial_sendok(void *handle)
{
void *handle_local;
return 1;
}
|
undefined8 FUN_001d6e69(void)
{
return 1;
}
| (translation_unit "undefined8 FUN_001d6e69(void)\n\n{\n return 1;\n}\n\n" (function_definition "undefined8 FUN_001d6e69(void)\n\n{\n return 1;\n}" type_identifier (function_declarator "FUN_001d6e69(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_sendok(void *handle)\n\n{\n void *handle_local;\n \n return 1;\n}\n\n" (function_definition "int serial_sendok(void *handle)\n\n{\n void *handle_local;\n \n return 1;\n}" primitive_type (function_declarator "serial_sendok(void *handle)" identifier (parameter_list "(void *handle)" ( (... | (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... |
2132_putty_and_putty_strip.c | sk_addrcopy | FUN_001d12a4 | sk_addrcopy |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sk_addrcopy(SockAddr addr,char *buf)
{
addrinfo *paVar1;
undefined8 uVar2;
int iVar3;
char *buf_local;
SockAddr addr_local;
int family;
SockAddrStep step;
paVar1 = addr->ais;
if (addr->superfamily == ADDRTYPE_UNSPEC) {... |
void FUN_001d12a4(long param_1,undefined8 *param_2)
{
long lVar1;
undefined8 uVar2;
int iVar3;
lVar1 = *(long *)(param_1 + 0x18);
if (*(int *)(param_1 + 0x10) == 0) {
iVar3 = 0;
}
else if (*(int *)(param_1 + 0x10) == 1) {
iVar3 = 1;
}
else if (lVar1 == 0) {
iVar3 = 2;
}
else {
... | (translation_unit "void FUN_001d12a4(long param_1,undefined8 *param_2)\n\n{\n long lVar1;\n undefined8 uVar2;\n int iVar3;\n \n lVar1 = *(long *)(param_1 + 0x18);\n if (*(int *)(param_1 + 0x10) == 0) {\n iVar3 = 0;\n }\n else if (*(int *)(param_1 + 0x10) == 1) {\n iVar3 = 1;\n }\n else if (lVar1 == 0) {... | 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 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 0x001d12fe
MOV RA... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 addr,char *var_6)
{
type_2 *var_3;
type_3 uVar2;
int var_4;
char *buf_local;
type_1 addr_local;
int family;
type_4 step;
var_3 = addr->ais;
if (addr->superfamily == var_1) {
var_4 = 0;
}
else ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sk_addrcopy(SockAddr addr,char *buf)\n\n{\n addrinfo *paVar1;\n undefined8 uVar2;\n int iVar3;\n char *buf_local;\n SockAddr addr_local;\n int family;\n SockAddrStep step;\n \n paVar1 = addr->ais;\n if (addr->s... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 addr,char *var_6)\n\n{\n type_2 *var_3;\n type_3 uVar2;\n int var_4;\n char *buf_local;\n type_1 addr_local;\n int family;\n type_4 step;\n \n var_3 = addr->ais;\n if (addr->superfamily == var... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator:... |
2156_putty_and_putty_strip.c | platform_get_x11_unix_address | FUN_001d3a7f | platform_get_x11_unix_address |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
SockAddr platform_get_x11_unix_address(char *sockpath,int displaynum)
{
SockAddr __s;
int displaynum_local;
char *sockpath_local;
int n;
SockAddr ret;
__s = (SockAddr)safemalloc(1,0x220);
memset(__s,0,0x220);
__s->superfamily... |
undefined4 * FUN_001d3a7f(long param_1,uint param_2)
{
undefined4 *__s;
uint local_14;
__s = (undefined4 *)FUN_0012e037(1,0x220);
memset(__s,0,0x220);
__s[4] = 1;
if (param_1 == 0) {
local_14 = snprintf((char *)(__s + 8),0x200,"%s%d","/tmp/.X11-unix/X",(ulong)param_2);
}
else {
local_14 = s... | (translation_unit "undefined4 * FUN_001d3a7f(long param_1,uint param_2)\n\n{\n undefined4 *__s;\n uint local_14;\n \n __s = (undefined4 *)FUN_0012e037(1,0x220);\n memset(__s,0,0x220);\n __s[4] = 1;\n if (param_1 == 0) {\n local_14 = snprintf((char *)(__s + 8),0x200,"%s%d","/tmp/.X11-unix/X",(ulong)param_2);\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV ESI,0x220
MOV EDI,0x1
CALL 0x0012e037
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,0x220
MOV ESI,0x0
MOV RDI,RAX
CALL 0x00114850
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x10],0x1
CM... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(char *var_3,int displaynum)
{
type_1 __s;
int displaynum_local;
char *sockpath_local;
int var_5;
type_1 ret;
__s = (type_1)var_1(1,0x220);
var_2(__s,0,0x220);
__s->superfamily = ABOUT_TO;
if (var_3 == (cha... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nSockAddr platform_get_x11_unix_address(char *sockpath,int displaynum)\n\n{\n SockAddr __s;\n int displaynum_local;\n char *sockpath_local;\n int n;\n SockAddr ret;\n \n __s = (SockAddr)safemalloc(1,0x220);\n memset(__... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(char *var_3,int displaynum)\n\n{\n type_1 __s;\n int displaynum_local;\n char *sockpath_local;\n int var_5;\n type_1 ret;\n \n __s = (type_1)var_1(1,0x220);\n var_2(__s,0,0x220);\n __s->superfamily ... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator... |
2318_putty_and_putty_strip.c | x11_dehexify | FUN_001dd317 | x11_dehexify |
void * x11_dehexify(char *hex,int *outlen)
{
long lVar1;
size_t sVar2;
long in_FS_OFFSET;
int *outlen_local;
char *hex_local;
uint val;
int i;
int len;
uchar *ret;
char bytestr [3];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
sVar2 = strlen(hex);
len = (int)(sVar2 >> 1);
ret = (uchar *)safe... |
long FUN_001dd317(char *param_1,int *param_2)
{
size_t sVar1;
long in_FS_OFFSET;
undefined4 local_2c;
int local_28;
int local_24;
long local_20;
char local_13;
char local_12;
undefined local_11;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
sVar1 = strlen(param_1);
local_24 = ... | (translation_unit "long FUN_001dd317(char *param_1,int *param_2)\n\n{\n size_t sVar1;\n long in_FS_OFFSET;\n undefined4 local_2c;\n int local_28;\n int local_24;\n long local_20;\n char local_13;\n char local_12;\n undefined local_11;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n sVar1... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x38]
MOV RDI,RAX
CALL 0x00114630
SHR RAX,0x1
MOV dword ptr [RBP + -0x1c],EAX
MOV EAX,dword ptr [RBP + -0x1c]
CDQE
MOV ESI,0x... |
void * function_1(char *hex,int *outlen)
{
long var_8;
size_t var_3;
long var_1;
int *outlen_local;
char *hex_local;
type_1 val;
int var_5;
int var_6;
type_2 *ret;
char bytestr [3];
var_8 = *(long *)(var_1 + 0x28);
var_3 = var_2(hex);
var_6 = (int)(var_3 >> 1);
ret = (type_2 *)var_4((lo... | (translation_unit "void * x11_dehexify(char *hex,int *outlen)\n\n{\n long lVar1;\n size_t sVar2;\n long in_FS_OFFSET;\n int *outlen_local;\n char *hex_local;\n uint val;\n int i;\n int len;\n uchar *ret;\n char bytestr [3];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n sVar2 = strlen(hex);\n len = (int)(... | (translation_unit "void * function_1(char *hex,int *outlen)\n\n{\n long var_8;\n size_t var_3;\n long var_1;\n int *outlen_local;\n char *hex_local;\n type_1 val;\n int var_5;\n int var_6;\n type_2 *ret;\n char bytestr [3];\n \n var_8 = *(long *)(var_1 + 0x28);\n var_3 = var_2(hex);\n var_6 = (int)(var_3 ... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primi... |
2068_putty_and_putty_strip.c | change_settings_menuitem | FUN_001cc73d | change_settings_menuitem |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void change_settings_menuitem(GtkMenuItem *item,gpointer data)
{
Conf *conf;
int iVar1;
wchar_t r;
int iVar2;
wchar_t wVar3;
wchar_t wVar4;
char *title_00;
Conf *conf_00;
char *pcVar5;
char *pcVar6;
FontSpec *pFVar7;
boo... |
void FUN_001cc73d(undefined8 param_1,undefined8 *param_2)
{
undefined8 uVar1;
undefined4 uVar2;
int iVar3;
undefined4 uVar4;
int iVar5;
undefined4 uVar6;
undefined8 uVar7;
undefined8 uVar8;
char *pcVar9;
char *pcVar10;
undefined8 uVar11;
undefined8 *puVar12;
long lVar13;
bool bVar14;
int... | (translation_unit "void FUN_001cc73d(undefined8 param_1,undefined8 *param_2)\n\n{\n undefined8 uVar1;\n undefined4 uVar2;\n int iVar3;\n undefined4 uVar4;\n int iVar5;\n undefined4 uVar6;\n undefined8 uVar7;\n undefined8 uVar8;\n char *pcVar9;\n char *pcVar10;\n undefined8 uVar11;\n undefined8 *puVar12;\n ... | PUSH RBP
MOV RBP,RSP
PUSH R12
PUSH RBX
SUB RSP,0x50
MOV qword ptr [RBP + -0x58],RDI
MOV qword ptr [RBP + -0x60],RSI
MOV RAX,qword ptr [RBP + -0x60]
MOV qword ptr [RBP + -0x40],RAX
MOV RAX,qword ptr [RBP + -0x40]
MOV EAX,dword ptr [RAX + 0x22e4]
TEST EAX,EAX
JNZ 0x001ccf33
MOV RAX,qword ptr [RBP + -0x40]
MOV dword ptr [... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *item,type_2 data)
{
type_3 *conf;
int var_4;
type_4 r;
int var_14;
type_4 wVar3;
type_4 wVar4;
char *title_00;
type_3 *conf_00;
char *var_27;
char *pcVar6;
type_5 *pFVar7;
bool bVar8;
type_2 dat... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid change_settings_menuitem(GtkMenuItem *item,gpointer data)\n\n{\n Conf *conf;\n int iVar1;\n wchar_t r;\n int iVar2;\n wchar_t wVar3;\n wchar_t wVar4;\n char *title_00;\n Conf *conf_00;\n char *pcVar5;\n char *p... | (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_3 *conf;\n int var_4;\n type_4 r;\n int var_14;\n type_4 wVar3;\n type_4 wVar4;\n char *title_00;\n type_3 *conf_00;\n char *var_27;\n char *pcVar6;\n type_5 *p... | (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... |
2224_putty_and_putty_strip.c | serial_try_write | FUN_001d6c55 | serial_try_write |
void serial_try_write(Serial serial)
{
int iVar1;
ssize_t sVar2;
int *piVar3;
long in_FS_OFFSET;
Serial serial_local;
int len;
int ret;
void *data;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (serial->fd < 0) {
/* WARNING: Subroutine does not return */
... |
void FUN_001d6c55(long param_1)
{
int iVar1;
ssize_t sVar2;
int *piVar3;
long in_FS_OFFSET;
int local_20;
int local_1c;
void *local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (*(int *)(param_1 + 8) < 0) {
/* WARNING: Subroutine does not return */
__... | (translation_unit "void FUN_001d6c55(long param_1)\n\n{\n int iVar1;\n ssize_t sVar2;\n int *piVar3;\n long in_FS_OFFSET;\n int local_20;\n int local_1c;\n void *local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (*(int *)(param_1 + 8) < 0) {\n /* WARNING: Subr... | 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
MOV RAX,qword ptr [RBP + -0x28]
MOV EAX,dword ptr [RAX + 0x8]
TEST EAX,EAX
JNS 0x001d6d1a
LEA RCX,[0x217260]
MOV EDX,0x1b6
LEA RSI,[0x2171fd]
LEA RDI,[0x21720a]
CALL 0x00114a00
MOV RA... |
void function_1(type_1 serial)
{
int var_4;
ssize_t sVar2;
int *piVar3;
long var_1;
type_1 serial_local;
int len;
int var_7;
void *data;
long var_13;
var_13 = *(long *)(var_1 + 0x28);
if (serial->fd < 0) {
/* WARNING: Subroutine does not return */
var_2("serial->fd >= ... | (translation_unit "void serial_try_write(Serial serial)\n\n{\n int iVar1;\n ssize_t sVar2;\n int *piVar3;\n long in_FS_OFFSET;\n Serial serial_local;\n int len;\n int ret;\n void *data;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (serial->fd < 0) {\n /* WARNING: ... | (translation_unit "void function_1(type_1 serial)\n\n{\n int var_4;\n ssize_t sVar2;\n int *piVar3;\n long var_1;\n type_1 serial_local;\n int len;\n int var_7;\n void *data;\n long var_13;\n \n var_13 = *(long *)(var_1 + 0x28);\n if (serial->fd < 0) {\n /* WARNING: Subroutine does not re... | (translation_unit (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)) (declarat... |
2322_putty_and_putty_strip.c | stat64 | FUN_001dd870 | stat64 |
int stat64(char *__file,stat64 *__buf)
{
int iVar1;
iVar1 = __xstat64(1,__file,__buf);
return iVar1;
}
|
void FUN_001dd870(char *param_1,stat64 *param_2)
{
__xstat64(1,param_1,param_2);
return;
}
| (translation_unit "void FUN_001dd870(char *param_1,stat64 *param_2)\n\n{\n __xstat64(1,param_1,param_2);\n return;\n}\n\n" (function_definition "void FUN_001dd870(char *param_1,stat64 *param_2)\n\n{\n __xstat64(1,param_1,param_2);\n return;\n}" primitive_type (function_declarator "FUN_001dd870(char *param_1,stat64 ... | MOV RDX,RSI
MOV RSI,RDI
MOV EDI,0x1
JMP 0x00115750 |
int function_1(char *__file,function_1 *__buf)
{
int iVar1;
iVar1 = var_1(1,__file,__buf);
return iVar1;
}
| (translation_unit "int stat64(char *__file,stat64 *__buf)\n\n{\n int iVar1;\n \n iVar1 = __xstat64(1,__file,__buf);\n return iVar1;\n}\n\n" (function_definition "int stat64(char *__file,stat64 *__buf)\n\n{\n int iVar1;\n \n iVar1 = __xstat64(1,__file,__buf);\n return iVar1;\n}" primitive_type (function_declarat... | (translation_unit "int function_1(char *__file,function_1 *__buf)\n\n{\n int iVar1;\n \n iVar1 = var_1(1,__file,__buf);\n return iVar1;\n}\n\n" (function_definition "int function_1(char *__file,function_1 *__buf)\n\n{\n int iVar1;\n \n iVar1 = var_1(1,__file,__buf);\n return iVar1;\n}" primitive_type (function_... | (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... |
1931_putty_and_putty_strip.c | unifontsel_draw_preview_text | FUN_001c065e | unifontsel_draw_preview_text |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void unifontsel_draw_preview_text(unifontsel_internal *fs)
{
long lVar1;
long lVar2;
undefined8 uVar3;
long in_FS_OFFSET;
unifontsel_internal *fs_local;
GdkWindow *target;
cairo_region_t *region;
unifont_drawctx dctx;
lVar1... |
void FUN_001c065e(long param_1)
{
long lVar1;
undefined8 uVar2;
long in_FS_OFFSET;
int local_68 [2];
undefined8 local_60;
undefined8 local_58;
undefined8 local_20;
undefined8 local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
lVar1 = gtk_widget_get_window(*(undefined8 *)(para... | (translation_unit "void FUN_001c065e(long param_1)\n\n{\n long lVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n int local_68 [2];\n undefined8 local_60;\n undefined8 local_58;\n undefined8 local_20;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n lVar1 = gtk_widget... | PUSH RBP
MOV RBP,RSP
ADD RSP,-0x80
MOV qword ptr [RBP + -0x78],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x78]
MOV RAX,qword ptr [RAX + 0x80]
MOV RDI,RAX
CALL 0x001145f0
MOV qword ptr [RBP + -0x70],RAX
CMP qword ptr [RBP + -0x70],0x0
JZ 0x001c0772
MOV dword ptr... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *fs)
{
long var_14;
long var_3;
type_2 uVar3;
long var_1;
type_1 *fs_local;
type_3 *target;
type_4 *region;
type_5 dctx;
var_14 = *(long *)(var_1 + 0x28);
var_3 = var_2(fs->preview_area);
if (var_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid unifontsel_draw_preview_text(unifontsel_internal *fs)\n\n{\n long lVar1;\n long lVar2;\n undefined8 uVar3;\n long in_FS_OFFSET;\n unifontsel_internal *fs_local;\n GdkWindow *target;\n cairo_region_t *region;\n un... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *fs)\n\n{\n long var_14;\n long var_3;\n type_2 uVar3;\n long var_1;\n type_1 *fs_local;\n type_3 *target;\n type_4 *region;\n type_5 dctx;\n \n var_14 = *(long *)(var_1 + 0x28);\n var_3 = va... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_ty... |
2034_putty_and_putty_strip.c | sys_cursor | FUN_001ca551 | sys_cursor |
void sys_cursor(void *frontend,wchar_t x,wchar_t y)
{
wchar_t y_local;
wchar_t x_local;
void *frontend_local;
return;
}
|
void FUN_001ca551(void)
{
return;
}
| (translation_unit "void FUN_001ca551(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_001ca551(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_001ca551(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV dword ptr [RBP + -0x10],EDX
NOP
POP RBP
RET |
void function_1(void *frontend,type_1 x,type_1 y)
{
type_1 y_local;
type_1 x_local;
void *frontend_local;
return;
}
| (translation_unit "void sys_cursor(void *frontend,wchar_t x,wchar_t y)\n\n{\n wchar_t y_local;\n wchar_t x_local;\n void *frontend_local;\n \n return;\n}\n\n" (function_definition "void sys_cursor(void *frontend,wchar_t x,wchar_t y)\n\n{\n wchar_t y_local;\n wchar_t x_local;\n void *frontend_local;\n \n retur... | (translation_unit "void function_1(void *frontend,type_1 x,type_1 y)\n\n{\n type_1 y_local;\n type_1 x_local;\n void *frontend_local;\n \n return;\n}\n\n" (function_definition "void function_1(void *frontend,type_1 x,type_1 y)\n\n{\n type_1 y_local;\n type_1 x_local;\n void *frontend_local;\n \n return;\n}" p... | (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: (identif... |
2297_putty_and_putty_strip.c | x11_invent_fake_auth | FUN_001dae38 | x11_invent_fake_auth |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
X11FakeAuth * x11_invent_fake_auth(tree234 *authtree,int authtype)
{
uchar uVar1;
int iVar2;
X11FakeAuth *e;
uchar *puVar3;
X11FakeAuth *pXVar4;
tree234 *ptVar5;
char *pcVar6;
int authtype_local;
tree234 *authtree_local;
int... |
int * FUN_001dae38(undefined8 param_1,int param_2)
{
undefined uVar1;
int *piVar2;
undefined8 uVar3;
int *piVar4;
int local_14;
piVar2 = (int *)FUN_0012e037(1,0x50);
if (param_2 == 1) {
*piVar2 = 1;
piVar2[4] = 0x10;
uVar3 = FUN_0012e037((long)piVar2[4],1);
*(undefined8 *)(piVar2 + 2)... | (translation_unit "int * FUN_001dae38(undefined8 param_1,int param_2)\n\n{\n undefined uVar1;\n int *piVar2;\n undefined8 uVar3;\n int *piVar4;\n int local_14;\n \n piVar2 = (int *)FUN_0012e037(1,0x50);\n if (param_2 == 1) {\n *piVar2 = 1;\n piVar2[4] = 0x10;\n uVar3 = FUN_0012e037((long)piVar2[4],1);\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV ESI,0x50
MOV EDI,0x1
CALL 0x0012e037
MOV qword ptr [RBP + -0x8],RAX
CMP dword ptr [RBP + -0x1c],0x1
JNZ 0x001daf07
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX],0x1
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RA... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 *authtree,int var_2)
{
type_3 uVar1;
int iVar2;
type_1 *var_6;
type_3 *puVar3;
type_1 *var_7;
type_2 *ptVar5;
char *pcVar6;
int authtype_local;
type_2 *authtree_local;
int var_3;
type_1 *auth;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nX11FakeAuth * x11_invent_fake_auth(tree234 *authtree,int authtype)\n\n{\n uchar uVar1;\n int iVar2;\n X11FakeAuth *e;\n uchar *puVar3;\n X11FakeAuth *pXVar4;\n tree234 *ptVar5;\n char *pcVar6;\n int authtype_local;\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *authtree,int var_2)\n\n{\n type_3 uVar1;\n int iVar2;\n type_1 *var_6;\n type_3 *puVar3;\n type_1 *var_7;\n type_2 *ptVar5;\n char *pcVar6;\n int authtype_local;\n type_2 *authtree_local;\... | (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 ... |
2189_putty_and_putty_strip.c | sk_localproxy_plug | FUN_001d4da4 | sk_localproxy_plug |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
Plug sk_localproxy_plug(Socket s,Plug p)
{
socket_function_table *psVar1;
Plug p_local;
Socket s_local;
Local_Proxy_Socket ps;
Plug ret;
psVar1 = s[4];
if (p != (Plug)0x0) {
s[4] = (socket_function_table *)p;
}
return (... |
undefined8 FUN_001d4da4(long param_1,long param_2)
{
undefined8 uVar1;
uVar1 = *(undefined8 *)(param_1 + 0x20);
if (param_2 != 0) {
*(long *)(param_1 + 0x20) = param_2;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_001d4da4(long param_1,long param_2)\n\n{\n undefined8 uVar1;\n \n uVar1 = *(undefined8 *)(param_1 + 0x20);\n if (param_2 != 0) {\n *(long *)(param_1 + 0x20) = param_2;\n }\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_001d4da4(long param_1,long param_2)\n\n{\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x20]
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x20],0x0
JZ 0x001d4dd7
MOV RAX,qword ptr [RBP + -0x10]... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_2 s,type_1 var_1)
{
type_3 *psVar1;
type_1 p_local;
type_2 s_local;
type_4 ps;
type_1 ret;
psVar1 = s[4];
if (var_1 != (type_1)0x0) {
s[4] = (type_3 *)var_1;
}
return (type_1)psVar1;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nPlug sk_localproxy_plug(Socket s,Plug p)\n\n{\n socket_function_table *psVar1;\n Plug p_local;\n Socket s_local;\n Local_Proxy_Socket ps;\n Plug ret;\n \n psVar1 = s[4];\n if (p != (Plug)0x0) {\n s[4] = (socket_fun... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 s,type_1 var_1)\n\n{\n type_3 *psVar1;\n type_1 p_local;\n type_2 s_local;\n type_4 ps;\n type_1 ret;\n \n psVar1 = s[4];\n if (var_1 != (type_1)0x0) {\n s[4] = (type_3 *)var_1;\n }\n ret... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compou... |
2124_putty_and_putty_strip.c | sk_getaddr | FUN_001d0f08 | sk_getaddr |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sk_getaddr(SockAddr addr,char *buf,int buflen)
{
int iVar1;
int buflen_local;
char *buf_local;
SockAddr addr_local;
if ((addr->superfamily == ADDRTYPE_UNSPEC) || (addr->superfamily == ABOUT_TO)) {
strncpy(buf,addr->hostnam... |
void FUN_001d0f08(long param_1,char *param_2,socklen_t param_3)
{
int iVar1;
if ((*(int *)(param_1 + 0x10) == 0) || (*(int *)(param_1 + 0x10) == 1)) {
strncpy(param_2,(char *)(param_1 + 0x20),(long)(int)param_3);
param_2[(long)(int)param_3 + -1] = '\0';
}
else {
iVar1 = getnameinfo(*(sockaddr *... | (translation_unit "void FUN_001d0f08(long param_1,char *param_2,socklen_t param_3)\n\n{\n int iVar1;\n \n if ((*(int *)(param_1 + 0x10) == 0) || (*(int *)(param_1 + 0x10) == 1)) {\n strncpy(param_2,(char *)(param_1 + 0x20),(long)(int)param_3);\n param_2[(long)(int)param_3 + -1] = '\0';\n }\n else {\n iVar... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x10]
TEST EAX,EAX
JZ 0x001d0f32
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x10]
CMP EAX,0x1
JNZ 0x001d0f64
MOV EAX,dword... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 addr,char *buf,int var_7)
{
int var_5;
int buflen_local;
char *buf_local;
type_1 addr_local;
if ((addr->superfamily == var_1) || (addr->superfamily == var_2)) {
var_3(buf,addr->hostname,(long)var_7);
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sk_getaddr(SockAddr addr,char *buf,int buflen)\n\n{\n int iVar1;\n int buflen_local;\n char *buf_local;\n SockAddr addr_local;\n \n if ((addr->superfamily == ADDRTYPE_UNSPEC) || (addr->superfamily == ABOUT_TO)) {\n... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 addr,char *buf,int var_7)\n\n{\n int var_5;\n int buflen_local;\n char *buf_local;\n type_1 addr_local;\n \n if ((addr->superfamily == var_1) || (addr->superfamily == var_2)) {\n var_3(buf,addr... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator:... |
2272_putty_and_putty_strip.c | is_dbcs_leadbyte | FUN_001d9ae4 | is_dbcs_leadbyte |
wchar_t is_dbcs_leadbyte(wchar_t codepage,char byte)
{
char byte_local;
wchar_t codepage_local;
return L'\0';
}
|
undefined8 FUN_001d9ae4(void)
{
return 0;
}
| (translation_unit "undefined8 FUN_001d9ae4(void)\n\n{\n return 0;\n}\n\n" (function_definition "undefined8 FUN_001d9ae4(void)\n\n{\n return 0;\n}" type_identifier (function_declarator "FUN_001d9ae4(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n ... | PUSH RBP
MOV RBP,RSP
MOV dword ptr [RBP + -0x4],EDI
MOV EAX,ESI
MOV byte ptr [RBP + -0x8],AL
MOV EAX,0x0
POP RBP
RET |
type_1 function_1(type_1 codepage,char byte)
{
char byte_local;
type_1 codepage_local;
return L'\0';
}
| (translation_unit "wchar_t is_dbcs_leadbyte(wchar_t codepage,char byte)\n\n{\n char byte_local;\n wchar_t codepage_local;\n \n return L'\0';\n}\n\n" (function_definition "wchar_t is_dbcs_leadbyte(wchar_t codepage,char byte)\n\n{\n char byte_local;\n wchar_t codepage_local;\n \n return L'\0';\n}" type_identifier... | (translation_unit "type_1 function_1(type_1 codepage,char byte)\n\n{\n char byte_local;\n type_1 codepage_local;\n \n return L'\0';\n}\n\n" (function_definition "type_1 function_1(type_1 codepage,char byte)\n\n{\n char byte_local;\n type_1 codepage_local;\n \n return L'\0';\n}" type_identifier (function_declara... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statemen... |
1954_putty_and_putty_strip.c | version | FUN_001c3e09 | version |
void version(FILE *fp)
{
int iVar1;
char *ptr;
FILE *fp_local;
char *buildinfo_text;
ptr = buildinfo("\n");
iVar1 = fprintf((FILE *)fp,"%s: %s\n%s\n",appname,"Release 0.70",ptr);
if (-1 < iVar1) {
iVar1 = fflush((FILE *)fp);
if (-1 < iVar1) {
safefree(ptr);
return;
}
}
per... |
void FUN_001c3e09(FILE *param_1)
{
int iVar1;
undefined8 uVar2;
uVar2 = FUN_0012e98c(&DAT_002157dc);
iVar1 = fprintf(param_1,"%s: %s\n%s\n",PTR_s_PuTTY_0022de40,"Release 0.70",uVar2);
if (-1 < iVar1) {
iVar1 = fflush(param_1);
if (-1 < iVar1) {
FUN_0012e243(uVar2);
return;
}
}
... | (translation_unit "void FUN_001c3e09(FILE *param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n uVar2 = FUN_0012e98c(&DAT_002157dc);\n iVar1 = fprintf(param_1,"%s: %s\n%s\n",PTR_s_PuTTY_0022de40,"Release 0.70",uVar2);\n if (-1 < iVar1) {\n iVar1 = fflush(param_1);\n if (-1 < iVar1) {\n FUN_0012e243(uVar... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
LEA RDI,[0x2157dc]
CALL 0x0012e98c
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [0x0022de40]
MOV RCX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RBP + -0x18]
MOV R8,RCX
LEA RCX,[0x21aac0]
LEA RSI,[0x2157de]
MOV RDI,RAX
MOV EAX,0x0
CALL 0x00115770
TEST ... |
void function_1(type_1 *fp)
{
int var_3;
char *ptr;
type_1 *fp_local;
char *buildinfo_text;
ptr = var_1("\n");
var_3 = var_2((type_1 *)fp,"%s: %s\n%s\n",appname,"Release 0.70",ptr);
if (-1 < var_3) {
var_3 = var_4((type_1 *)fp);
if (-1 < var_3) {
var_5(ptr);
return;
}
}
va... | (translation_unit "void version(FILE *fp)\n\n{\n int iVar1;\n char *ptr;\n FILE *fp_local;\n char *buildinfo_text;\n \n ptr = buildinfo("\n");\n iVar1 = fprintf((FILE *)fp,"%s: %s\n%s\n",appname,"Release 0.70",ptr);\n if (-1 < iVar1) {\n iVar1 = fflush((FILE *)fp);\n if (-1 < iVar1) {\n safefree(ptr)... | (translation_unit "void function_1(type_1 *fp)\n\n{\n int var_3;\n char *ptr;\n type_1 *fp_local;\n char *buildinfo_text;\n \n ptr = var_1("\n");\n var_3 = var_2((type_1 *)fp,"%s: %s\n%s\n",appname,"Release 0.70",ptr);\n if (-1 < var_3) {\n var_3 = var_4((type_1 *)fp);\n if (-1 < var_3) {\n var_5(ptr... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) de... |
2006_putty_and_putty_strip.c | notify_remote_exit | FUN_001c8a93 | notify_remote_exit |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void notify_remote_exit(void *frontend)
{
void *frontend_local;
gui_data *inst;
queue_toplevel_callback(exit_callback,frontend);
return;
}
|
void FUN_001c8a93(undefined8 param_1)
{
FUN_00116708(FUN_001c8951,param_1);
return;
}
| (translation_unit "void FUN_001c8a93(undefined8 param_1)\n\n{\n FUN_00116708(FUN_001c8951,param_1);\n return;\n}\n\n" (function_definition "void FUN_001c8a93(undefined8 param_1)\n\n{\n FUN_00116708(FUN_001c8951,param_1);\n return;\n}" primitive_type (function_declarator "FUN_001c8a93(undefined8 param_1)" identifier... | 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 RSI,RAX
LEA RDI,[0x1c8951]
CALL 0x00116708
NOP
LEAVE
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *frontend)
{
void *frontend_local;
type_1 *inst;
var_1(exit_callback,frontend);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid notify_remote_exit(void *frontend)\n\n{\n void *frontend_local;\n gui_data *inst;\n \n queue_toplevel_callback(exit_callback,frontend);\n return;\n}\n\n" comment (function_definition "void notify_remote_exit(void *f... | (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 var_1(exit_callback,frontend);\n return;\n}\n\n" comment (function_definition "void function_1(void *frontend)\n\n{\n void *frontend_loca... | (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... |
2161_putty_and_putty_strip.c | random_save_seed | FUN_001d4275 | random_save_seed |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void random_save_seed(void)
{
long in_FS_OFFSET;
int len;
void *data;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (random_active != 0) {
random_get_savedata(&data,&len);
write_random_seed(data,len);
... |
void FUN_001d4275(void)
{
long in_FS_OFFSET;
undefined4 local_1c;
undefined8 local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (DAT_00235d40 != 0) {
FUN_00184996(&local_18,&local_1c);
FUN_001d9901(local_18,local_1c);
FUN_0012e243(local_18);
}
if (local_10 != *(long ... | (translation_unit "void FUN_001d4275(void)\n\n{\n long in_FS_OFFSET;\n undefined4 local_1c;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (DAT_00235d40 != 0) {\n FUN_00184996(&local_18,&local_1c);\n FUN_001d9901(local_18,local_1c);\n FUN_0012e243(local_18);... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [0x00235d40]
TEST EAX,EAX
JZ 0x001d42c6
LEA RDX,[RBP + -0x14]
LEA RAX,[RBP + -0x10]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00184996
MOV EDX,dword ptr [RBP + -0x14]
MOV RAX,qword ptr [RBP + -0x10]
MOV ESI,E... |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
long var_1;
int len;
void *data;
long var_6;
var_6 = *(long *)(var_1 + 0x28);
if (var_2 != 0) {
var_3(&data,&len);
var_4(data,len);
var_5(data);
}
if (var_6 != *(long *)(var_1 + 0x28)) ... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid random_save_seed(void)\n\n{\n long in_FS_OFFSET;\n int len;\n void *data;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (random_active != 0) {\n random_get_savedata(&data,&len);\n ... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n long var_1;\n int len;\n void *data;\n long var_6;\n \n var_6 = *(long *)(var_1 + 0x28);\n if (var_2 != 0) {\n var_3(&data,&len);\n var_4(data,len);\n var_5(data);\n }\n if (... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: ... |
2211_putty_and_putty_strip.c | uxsel_del | FUN_001d5fa9 | uxsel_del |
/* WARNING: Enum "GIOFlags": Some values do not have unique names */
void uxsel_del(int fd)
{
int fd_local;
fd *oldfd;
fd_local = fd;
oldfd = (fd *)find234(fds,&fd_local,uxsel_fd_findcmp);
if (oldfd != (fd *)0x0) {
if (oldfd->id != (uxsel_id *)0x0) {
uxsel_input_remove(oldfd->id);
}
de... |
void FUN_001d5fa9(undefined4 param_1)
{
undefined4 local_1c [3];
long local_10;
local_1c[0] = param_1;
local_10 = FUN_001ae652(DAT_00236318,local_1c,FUN_001d5e92);
if (local_10 != 0) {
if (*(long *)(local_10 + 0x10) != 0) {
FUN_001b2810(*(undefined8 *)(local_10 + 0x10));
}
FUN_001af5c6(... | (translation_unit "void FUN_001d5fa9(undefined4 param_1)\n\n{\n undefined4 local_1c [3];\n long local_10;\n \n local_1c[0] = param_1;\n local_10 = FUN_001ae652(DAT_00236318,local_1c,FUN_001d5e92);\n if (local_10 != 0) {\n if (*(long *)(local_10 + 0x10) != 0) {\n FUN_001b2810(*(undefined8 *)(local_10 + 0x1... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x14],EDI
MOV RAX,qword ptr [0x00236318]
LEA RCX,[RBP + -0x14]
LEA RDX,[0x1d5e92]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x001ae652
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JZ 0x001d601b
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x10]
TEST... |
/* WARNING: Enum "GIOFlags": Some values do not have unique names */
void function_1(int type_1)
{
int fd_local;
type_1 *var_2;
fd_local = type_1;
var_2 = (type_1 *)var_1(fds,&fd_local,uxsel_fd_findcmp);
if (var_2 != (type_1 *)0x0) {
if (var_2->id != (type_2 *)0x0) {
var_3(var_2->id);
}
... | (translation_unit "/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nvoid uxsel_del(int fd)\n\n{\n int fd_local;\n fd *oldfd;\n \n fd_local = fd;\n oldfd = (fd *)find234(fds,&fd_local,uxsel_fd_findcmp);\n if (oldfd != (fd *)0x0) {\n if (oldfd->id != (uxsel_id *)0x0) {\n uxsel_input_r... | (translation_unit "/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nvoid function_1(int type_1)\n\n{\n int fd_local;\n type_1 *var_2;\n \n fd_local = type_1;\n var_2 = (type_1 *)var_1(fds,&fd_local,uxsel_fd_findcmp);\n if (var_2 != (type_1 *)0x0) {\n if (var_2->id != (type_2 *)0x0) {\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) ... |
1901_putty_and_putty_strip.c | pango_cairo_draw_layout | FUN_001be404 | pango_cairo_draw_layout |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void pango_cairo_draw_layout(unifont_drawctx *ctx,gint x,gint y,PangoLayout *layout)
{
PangoLayout *layout_local;
gint y_local;
gint x_local;
unifont_drawctx *ctx_local;
cairo_move_to((double)x,(double)y,(ctx->u).cairo.cr);
pango... |
void FUN_001be404(long param_1,int param_2,int param_3,undefined8 param_4)
{
cairo_move_to((double)param_2,(double)param_3,*(undefined8 *)(param_1 + 0x10));
pango_cairo_show_layout(*(undefined8 *)(param_1 + 0x10),param_4);
return;
}
| (translation_unit "void FUN_001be404(long param_1,int param_2,int param_3,undefined8 param_4)\n\n{\n cairo_move_to((double)param_2,(double)param_3,*(undefined8 *)(param_1 + 0x10));\n pango_cairo_show_layout(*(undefined8 *)(param_1 + 0x10),param_4);\n return;\n}\n\n" (function_definition "void FUN_001be404(long param... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV dword ptr [RBP + -0x10],EDX
MOV qword ptr [RBP + -0x18],RCX
CVTSI2SD XMM1,dword ptr [RBP + -0x10]
CVTSI2SD XMM0,dword ptr [RBP + -0xc]
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x10]
MOV RDI,RAX
CALL 0x0011... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *ctx,type_2 x,type_2 y,type_3 *layout)
{
type_3 *layout_local;
type_2 y_local;
type_2 x_local;
type_1 *ctx_local;
var_1((double)x,(double)y,(ctx->u).cairo.cr);
var_2((ctx->u).cairo.cr,layout);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid pango_cairo_draw_layout(unifont_drawctx *ctx,gint x,gint y,PangoLayout *layout)\n\n{\n PangoLayout *layout_local;\n gint y_local;\n gint x_local;\n unifont_drawctx *ctx_local;\n \n cairo_move_to((double)x,(double)y... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *ctx,type_2 x,type_2 y,type_3 *layout)\n\n{\n type_3 *layout_local;\n type_2 y_local;\n type_2 x_local;\n type_1 *ctx_local;\n \n var_1((double)x,(double)y,(ctx->u).cairo.cr);\n var_2((ctx->u).ca... | (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... |
2253_putty_and_putty_strip.c | get_setting | FUN_001d8a5e | get_setting |
char * get_setting(char *key)
{
long lVar1;
void *pvVar2;
char *pcVar3;
long in_FS_OFFSET;
char *key_local;
skeyval *ret;
skeyval tmp;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
tmp.key = key;
if (xrmtree != (tree234 *)0x0) {
pvVar2 = find234(xrmtree,&tmp,(cmpfn234)0x0);
if (pvVar2 != (voi... |
undefined8 FUN_001d8a5e(undefined8 param_1)
{
long lVar1;
undefined8 uVar2;
long in_FS_OFFSET;
undefined8 local_28 [3];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_28[0] = param_1;
if (DAT_00236328 != 0) {
lVar1 = FUN_001ae652(DAT_00236328,local_28,0);
if (lVar1 != 0) {
... | (translation_unit "undefined8 FUN_001d8a5e(undefined8 param_1)\n\n{\n long lVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n undefined8 local_28 [3];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_28[0] = param_1;\n if (DAT_00236328 != 0) {\n lVar1 = FUN_001ae652(DAT_00236328,local... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [0x00236328]
TEST RAX,RAX
JZ 0x001d8abd
MOV RAX,qword ptr [0x00236328]
LEA RCX,[RBP + -0x20]
MOV EDX,... |
char * function_1(char *key)
{
long var_6;
void *var_4;
char *pcVar3;
long var_1;
char *key_local;
type_1 *ret;
type_1 tmp;
var_6 = *(long *)(var_1 + 0x28);
tmp.key = key;
if (var_2 != (type_2 *)0x0) {
var_4 = var_3(var_2,&tmp,(type_3)0x0);
if (var_4 != (void *)0x0) {
pcVar3 = *(c... | (translation_unit "char * get_setting(char *key)\n\n{\n long lVar1;\n void *pvVar2;\n char *pcVar3;\n long in_FS_OFFSET;\n char *key_local;\n skeyval *ret;\n skeyval tmp;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n tmp.key = key;\n if (xrmtree != (tree234 *)0x0) {\n pvVar2 = find234(xrmtree,&tmp,(cmpfn... | (translation_unit "char * function_1(char *key)\n\n{\n long var_6;\n void *var_4;\n char *pcVar3;\n long var_1;\n char *key_local;\n type_1 *ret;\n type_1 tmp;\n \n var_6 = *(long *)(var_1 + 0x28);\n tmp.key = key;\n if (var_2 != (type_2 *)0x0) {\n var_4 = var_3(var_2,&tmp,(type_3)0x0);\n if (var_4 != ... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decla... |
2268_putty_and_putty_strip.c | store_host_key | FUN_001d9599 | store_host_key |
void store_host_key(char *hostname,int port,char *keytype,char *key)
{
int iVar1;
char *__filename;
int *piVar2;
char *pcVar3;
char *pcVar4;
FILE *__stream;
size_t sVar5;
char *pcVar6;
char *key_local;
char *keytype_local;
int port_local;
char *hostname_local;
int headerlen;
FILE *wfp;
c... |
void FUN_001d9599(undefined8 param_1,undefined4 param_2,undefined8 param_3,undefined8 param_4)
{
int iVar1;
char *__filename;
int *piVar2;
undefined8 uVar3;
long lVar4;
char *pcVar5;
FILE *__stream;
char *__s;
size_t sVar6;
char *pcVar7;
FILE *local_48;
__filename = (char *)FUN_001d8145(2,0... | (translation_unit "void FUN_001d9599(undefined8 param_1,undefined4 param_2,undefined8 param_3,undefined8 param_4)\n\n{\n int iVar1;\n char *__filename;\n int *piVar2;\n undefined8 uVar3;\n long lVar4;\n char *pcVar5;\n FILE *__stream;\n char *__s;\n size_t sVar6;\n char *pcVar7;\n FILE *local_48;\n \n __fi... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x58],RDI
MOV dword ptr [RBP + -0x5c],ESI
MOV qword ptr [RBP + -0x68],RDX
MOV qword ptr [RBP + -0x70],RCX
MOV ESI,0x0
MOV EDI,0x2
CALL 0x001d8145
MOV qword ptr [RBP + -0x38],RAX
MOV RAX,qword ptr [RBP + -0x38]
LEA RSI,[0x217525]
MOV RDI,RAX
CALL 0x00115210
MOV qwo... |
void function_1(char *hostname,int port,char *keytype,char *key)
{
int var_16;
char *__filename;
int *piVar2;
char *pcVar3;
char *var_5;
type_1 *var_12;
size_t sVar5;
char *var_14;
char *key_local;
char *keytype_local;
int port_local;
char *hostname_local;
int headerlen;
type_1 *var_8;
c... | (translation_unit "void store_host_key(char *hostname,int port,char *keytype,char *key)\n\n{\n int iVar1;\n char *__filename;\n int *piVar2;\n char *pcVar3;\n char *pcVar4;\n FILE *__stream;\n size_t sVar5;\n char *pcVar6;\n char *key_local;\n char *keytype_local;\n int port_local;\n char *hostname_local;\n... | (translation_unit "void function_1(char *hostname,int port,char *keytype,char *key)\n\n{\n int var_16;\n char *__filename;\n int *piVar2;\n char *pcVar3;\n char *var_5;\n type_1 *var_12;\n size_t sVar5;\n char *var_14;\n char *key_local;\n char *keytype_local;\n int port_local;\n char *hostname_local;\n in... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifi... |
2053_putty_and_putty_strip.c | cmdline_error | FUN_001cbbc6 | cmdline_error |
void cmdline_error(char *p,...)
{
char in_AL;
undefined8 in_RCX;
undefined8 in_RDX;
undefined8 in_RSI;
undefined8 in_R8;
undefined8 in_R9;
undefined8 in_XMM0_Qa;
undefined8 in_XMM1_Qa;
undefined8 in_XMM2_Qa;
undefined8 in_XMM3_Qa;
undefined8 in_XMM4_Qa;
undefined8 in_XMM5_Qa;
undefined8 in_X... |
void FUN_001cbbc6(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,
undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8,
char *param_9,undefined8 param_10,undefined8 param_11,undefined8 param_12,
undefined8 param_13,u... | (translation_unit "void FUN_001cbbc6(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8,\n char *param_9,undefined8 param_10,undefined8 param_11,undefined8 param_12,\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xe0
MOV qword ptr [RBP + -0xd8],RDI
MOV qword ptr [RBP + -0xa8],RSI
MOV qword ptr [RBP + -0xa0],RDX
MOV qword ptr [RBP + -0x98],RCX
MOV qword ptr [RBP + -0x90],R8
MOV qword ptr [RBP + -0x88],R9
TEST AL,AL
JZ 0x001cbc1f
MOVAPS xmmword ptr [RBP + -0x80],XMM0
MOVAPS xmmword ptr [RBP + -0x70],... |
void function_1(char *p,...)
{
char var_1;
type_1 in_RCX;
type_1 in_RDX;
type_1 in_RSI;
type_1 in_R8;
type_1 in_R9;
type_1 in_XMM0_Qa;
type_1 in_XMM1_Qa;
type_1 in_XMM2_Qa;
type_1 in_XMM3_Qa;
type_1 in_XMM4_Qa;
type_1 in_XMM5_Qa;
type_1 in_XMM6_Qa;
type_1 in_XMM7_Qa;
char *p_local;
typ... | (translation_unit "void cmdline_error(char *p,...)\n\n{\n char in_AL;\n undefined8 in_RCX;\n undefined8 in_RDX;\n undefined8 in_RSI;\n undefined8 in_R8;\n undefined8 in_R9;\n undefined8 in_XMM0_Qa;\n undefined8 in_XMM1_Qa;\n undefined8 in_XMM2_Qa;\n undefined8 in_XMM3_Qa;\n undefined8 in_XMM4_Qa;\n undefine... | (translation_unit "void function_1(char *p,...)\n\n{\n char var_1;\n type_1 in_RCX;\n type_1 in_RDX;\n type_1 in_RSI;\n type_1 in_R8;\n type_1 in_R9;\n type_1 in_XMM0_Qa;\n type_1 in_XMM1_Qa;\n type_1 in_XMM2_Qa;\n type_1 in_XMM3_Qa;\n type_1 in_XMM4_Qa;\n type_1 in_XMM5_Qa;\n type_1 in_XMM6_Qa;\n type_1 ... | (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))) (variadic_parameter))) body: (compound_statement (declaration type:... |
2045_putty_and_putty_strip.c | draw_stretch_before | FUN_001caa42 | draw_stretch_before |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void draw_stretch_before(draw_ctx *dctx,wchar_t x,wchar_t y,wchar_t w,wchar_t wdouble,wchar_t h,
wchar_t hdouble,wchar_t hbothalf)
{
... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void FUN_001caa42(long param_1,int param_2,int param_3,undefined8 param_4,int param_5,int param_6,
int param_7,int param_8)
{
long in_FS_OFFSET;
undefined8 local_48;
undefined8 local_40;
undefined8 local_38;... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_001caa42(long param_1,int param_2,int param_3,undefined8 param_4,int param_5,int param_6,\n int param_7,int param_8)\n\n{\n long in_FS_OFFSET;\n undefined8 local_48;\n undefined8 local_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x48],RDI
MOV dword ptr [RBP + -0x4c],ESI
MOV dword ptr [RBP + -0x50],EDX
MOV dword ptr [RBP + -0x54],ECX
MOV dword ptr [RBP + -0x58],R8D
MOV dword ptr [RBP + -0x5c],R9D
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP ... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *dctx,type_2 x,type_2 var_7,type_2 w,type_2 var_3,type_2 var_6,
type_2 var_4,type_2 var_5)
{
long var_9;
lon... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid draw_stretch_before(draw_ctx *dctx,wchar_t x,wchar_t y,wchar_t w,wchar_t wdouble,wchar_t h,\n wchar_t hdouble,w... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *dctx,type_2 x,type_2 var_7,type_2 w,type_2 var_3,type_2 var_6,\n type_2 var_4,type_2 var_5)\... | (translation_unit (comment) (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)... |
1905_putty_and_putty_strip.c | pangofont_enum_fonts | FUN_001be9cf | pangofont_enum_fonts |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void pangofont_enum_fonts(GtkWidget *widget,fontsel_add_entry callback,void *callback_ctx)
{
long lVar1;
int iVar2;
wchar_t wVar3;
uint uVar4;
long in_FS_OFFSET;
void *callback_ctx_local;
fontsel_add_entry callback_local;
GtkWid... |
void FUN_001be9cf(undefined8 param_1,code *param_2,undefined8 param_3)
{
int iVar1;
uint uVar2;
long in_FS_OFFSET;
int local_11c;
int local_118;
int local_114 [7];
long local_f8;
long local_f0;
int *local_e8;
long local_e0;
long local_d8;
undefined8 local_d0;
undefined8 local_c8;
undefined... | (translation_unit "void FUN_001be9cf(undefined8 param_1,code *param_2,undefined8 param_3)\n\n{\n int iVar1;\n uint uVar2;\n long in_FS_OFFSET;\n int local_11c;\n int local_118;\n int local_114 [7];\n long local_f8;\n long local_f0;\n int *local_e8;\n long local_e0;\n long local_d8;\n undefined8 local_d0;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x140
MOV qword ptr [RBP + -0x128],RDI
MOV qword ptr [RBP + -0x130],RSI
MOV qword ptr [RBP + -0x138],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x128]
MOV RDI,RAX
CALL 0x001157b0
MOV qword ptr [RBP + -0xd8],RAX
CMP qword ptr [RBP + -... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *widget,type_2 callback,void *callback_ctx)
{
long var_34;
int var_10;
type_3 wVar3;
type_4 var_30;
long var_1;
void *callback_ctx_local;
type_2 callback_local;
type_1 *widget_local;
type_3 var_8;
type... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid pangofont_enum_fonts(GtkWidget *widget,fontsel_add_entry callback,void *callback_ctx)\n\n{\n long lVar1;\n int iVar2;\n wchar_t wVar3;\n uint uVar4;\n long in_FS_OFFSET;\n void *callback_ctx_local;\n fontsel_add_e... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *widget,type_2 callback,void *callback_ctx)\n\n{\n long var_34;\n int var_10;\n type_3 wVar3;\n type_4 var_30;\n long var_1;\n void *callback_ctx_local;\n type_2 callback_local;\n type_1 *widget... | (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... |
2304_putty_and_putty_strip.c | x11_log | FUN_001dc327 | x11_log |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void x11_log(Plug p,int type,SockAddr addr,int port,char *error_msg,int error_code)
{
int error_code_local;
char *error_msg_local;
SockAddr addr_local;
int port_local;
int type_local;
Plug p_local;
return;
}
|
void FUN_001dc327(void)
{
return;
}
| (translation_unit "void FUN_001dc327(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_001dc327(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_001dc327(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV qword ptr [RBP + -0x18],RDX
MOV dword ptr [RBP + -0x10],ECX
MOV qword ptr [RBP + -0x20],R8
MOV dword ptr [RBP + -0x24],R9D
NOP
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 p,int type,type_2 addr,int port,char *error_msg,int error_code)
{
int error_code_local;
char *error_msg_local;
type_2 addr_local;
int port_local;
int type_local;
type_1 p_local;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid x11_log(Plug p,int type,SockAddr addr,int port,char *error_msg,int error_code)\n\n{\n int error_code_local;\n char *error_msg_local;\n SockAddr addr_local;\n int port_local;\n int type_local;\n Plug p_local;\n \n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 p,int type,type_2 addr,int port,char *error_msg,int error_code)\n\n{\n int error_code_local;\n char *error_msg_local;\n type_2 addr_local;\n int port_local;\n int type_local;\n type_1 p_local;\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declar... |
1998_putty_and_putty_strip.c | input_method_commit_event | FUN_001c8110 | input_method_commit_event |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void input_method_commit_event(GtkIMContext *imc,gchar *str,gpointer data)
{
size_t sVar1;
gpointer data_local;
gchar *str_local;
GtkIMContext *imc_local;
gui_data *inst;
if (*(long *)((long)data + 0xd88) != 0) {
sVar1 = strl... |
void FUN_001c8110(undefined8 param_1,char *param_2,long param_3)
{
size_t sVar1;
if (*(long *)(param_3 + 0xd88) != 0) {
sVar1 = strlen(param_2);
FUN_00127e5a(*(undefined8 *)(param_3 + 0xd88),0x37,param_2,sVar1 & 0xffffffff,1);
}
FUN_001c5e3e(param_3,0);
FUN_0019c796(*(undefined8 *)(param_3 + 0xda... | (translation_unit "void FUN_001c8110(undefined8 param_1,char *param_2,long param_3)\n\n{\n size_t sVar1;\n \n if (*(long *)(param_3 + 0xd88) != 0) {\n sVar1 = strlen(param_2);\n FUN_00127e5a(*(undefined8 *)(param_3 + 0xd88),0x37,param_2,sVar1 & 0xffffffff,1);\n }\n FUN_001c5e3e(param_3,0);\n FUN_0019c796(*(... | 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 + -0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0xd88]
TEST RAX,RAX
JZ 0x001c816c
MOV RAX,qword ptr [RBP + -0x20]
MOV R... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *imc,type_2 *str,type_3 data)
{
size_t sVar1;
type_3 data_local;
type_2 *str_local;
type_1 *imc_local;
type_4 *inst;
if (*(long *)((long)data + 0xd88) != 0) {
sVar1 = var_1(str);
var_2(*(void **)((l... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid input_method_commit_event(GtkIMContext *imc,gchar *str,gpointer data)\n\n{\n size_t sVar1;\n gpointer data_local;\n gchar *str_local;\n GtkIMContext *imc_local;\n gui_data *inst;\n \n if (*(long *)((long)data + 0x... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *imc,type_2 *str,type_3 data)\n\n{\n size_t sVar1;\n type_3 data_local;\n type_2 *str_local;\n type_1 *imc_local;\n type_4 *inst;\n \n if (*(long *)((long)data + 0xd88) != 0) {\n sVar1 = var_1... | (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... |
1976_putty_and_putty_strip.c | from_backend_eof | FUN_001c58c9 | from_backend_eof |
wchar_t from_backend_eof(void *frontend)
{
void *frontend_local;
return L'\x01';
}
|
undefined8 FUN_001c58c9(void)
{
return 1;
}
| (translation_unit "undefined8 FUN_001c58c9(void)\n\n{\n return 1;\n}\n\n" (function_definition "undefined8 FUN_001c58c9(void)\n\n{\n return 1;\n}" type_identifier (function_declarator "FUN_001c58c9(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 |
type_1 function_1(void *frontend)
{
void *frontend_local;
return L'\x01';
}
| (translation_unit "wchar_t from_backend_eof(void *frontend)\n\n{\n void *frontend_local;\n \n return L'\x01';\n}\n\n" (function_definition "wchar_t from_backend_eof(void *frontend)\n\n{\n void *frontend_local;\n \n return L'\x01';\n}" type_identifier (function_declarator "from_backend_eof(void *frontend)" identif... | (translation_unit "type_1 function_1(void *frontend)\n\n{\n void *frontend_local;\n \n return L'\x01';\n}\n\n" (function_definition "type_1 function_1(void *frontend)\n\n{\n void *frontend_local;\n \n return L'\x01';\n}" type_identifier (function_declarator "function_1(void *frontend)" identifier (parameter_list ... | (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: (primitive_type) de... |
2134_putty_and_putty_strip.c | sk_addr_dup | FUN_001d13bc | sk_addr_dup |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
SockAddr sk_addr_dup(SockAddr addr)
{
SockAddr addr_local;
addr->refcount = addr->refcount + 1;
return addr;
}
|
int * FUN_001d13bc(int *param_1)
{
*param_1 = *param_1 + 1;
return param_1;
}
| (translation_unit "int * FUN_001d13bc(int *param_1)\n\n{\n *param_1 = *param_1 + 1;\n return param_1;\n}\n\n" (function_definition "int * FUN_001d13bc(int *param_1)\n\n{\n *param_1 = *param_1 + 1;\n return param_1;\n}" primitive_type (pointer_declarator "* FUN_001d13bc(int *param_1)" * (function_declarator "FUN_001... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX]
LEA EDX,[RAX + 0x1]
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX],EDX
MOV RAX,qword ptr [RBP + -0x8]
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_1 addr)
{
type_1 addr_local;
addr->refcount = addr->refcount + 1;
return addr;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nSockAddr sk_addr_dup(SockAddr addr)\n\n{\n SockAddr addr_local;\n \n addr->refcount = addr->refcount + 1;\n return addr;\n}\n\n" comment (function_definition "SockAddr sk_addr_dup(SockAddr addr)\n\n{\n SockAddr addr_loca... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_1 addr)\n\n{\n type_1 addr_local;\n \n addr->refcount = addr->refcount + 1;\n return addr;\n}\n\n" comment (function_definition "type_1 function_1(type_1 addr)\n\n{\n type_1 addr_local;\n \n addr... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier... |
2163_putty_and_putty_strip.c | noise_regular | FUN_001d4332 | noise_regular |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void noise_regular(void)
{
long lVar1;
int iVar2;
ssize_t sVar3;
long in_FS_OFFSET;
int fd;
int ret;
rusage rusage;
char buf [512];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
iVar2 = open64("/proc/meminfo",0);
if (-1 <... |
void FUN_001d4332(void)
{
int iVar1;
ulong uVar2;
long in_FS_OFFSET;
rusage local_2a8;
undefined local_218 [520];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
iVar1 = open64("/proc/meminfo",0);
if (-1 < iVar1) {
while (uVar2 = read(iVar1,local_218,0x200), 0 < (int)uVar2) {
... | (translation_unit "void FUN_001d4332(void)\n\n{\n int iVar1;\n ulong uVar2;\n long in_FS_OFFSET;\n rusage local_2a8;\n undefined local_218 [520];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n iVar1 = open64("/proc/meminfo",0);\n if (-1 < iVar1) {\n while (uVar2 = read(iVar1,local_218,0... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x2b0
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV ESI,0x0
LEA RDI,[0x216dfc]
MOV EAX,0x0
CALL 0x00115c40
MOV dword ptr [RBP + -0x2a8],EAX
CMP dword ptr [RBP + -0x2a8],0x0
JS 0x001d43c2
JMP 0x001d438a
MOV EDX,dword ptr [RBP + -0x2a4]
LEA RAX,[RBP + -0x210]
MOV ... |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
long var_8;
int var_3;
ssize_t sVar3;
long var_1;
int fd;
int ret;
type_1 type_1;
char buf [512];
var_8 = *(long *)(var_1 + 0x28);
var_3 = var_2("/proc/meminfo",0);
if (-1 < var_3) {
whil... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid noise_regular(void)\n\n{\n long lVar1;\n int iVar2;\n ssize_t sVar3;\n long in_FS_OFFSET;\n int fd;\n int ret;\n rusage rusage;\n char buf [512];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n iVar2 = open... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n long var_8;\n int var_3;\n ssize_t sVar3;\n long var_1;\n int fd;\n int ret;\n type_1 type_1;\n char buf [512];\n \n var_8 = *(long *)(var_1 + 0x28);\n var_3 = var_2("/proc/meminfo"... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: ... |
2062_putty_and_putty_strip.c | clear_scrollback_menuitem | FUN_001cc5b7 | clear_scrollback_menuitem |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void clear_scrollback_menuitem(GtkMenuItem *item,gpointer data)
{
gpointer data_local;
GtkMenuItem *item_local;
gui_data *inst;
term_clrsb(*(Terminal **)((long)data + 0xda0));
return;
}
|
void FUN_001cc5b7(undefined8 param_1,long param_2)
{
FUN_0019d492(*(undefined8 *)(param_2 + 0xda0));
return;
}
| (translation_unit "void FUN_001cc5b7(undefined8 param_1,long param_2)\n\n{\n FUN_0019d492(*(undefined8 *)(param_2 + 0xda0));\n return;\n}\n\n" (function_definition "void FUN_001cc5b7(undefined8 param_1,long param_2)\n\n{\n FUN_0019d492(*(undefined8 *)(param_2 + 0xda0));\n return;\n}" primitive_type (function_declar... | 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 + 0xda0]
MOV RDI,RAX
CALL 0x0019d492
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;
var_1(*(type_4 **)((long)data + 0xda0));
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid clear_scrollback_menuitem(GtkMenuItem *item,gpointer data)\n\n{\n gpointer data_local;\n GtkMenuItem *item_local;\n gui_data *inst;\n \n term_clrsb(*(Terminal **)((long)data + 0xda0));\n return;\n}\n\n" comment (fu... | (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 var_1(*(type_4 **)((long)data + 0xda0));\n return;\n}\n\n" comment (function_definition "void function_1(typ... | (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... |
2298_putty_and_putty_strip.c | x11_free_fake_auth | FUN_001db11f | x11_free_fake_auth |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void x11_free_fake_auth(X11FakeAuth *auth)
{
void *ptr;
X11FakeAuth *auth_local;
XDMSeen *seen;
if (auth->data != (uchar *)0x0) {
smemclr(auth->data,(long)auth->datalen);
}
safefree(auth->data);
safefree(auth->protoname);
... |
void FUN_001db11f(long param_1)
{
long lVar1;
if (*(long *)(param_1 + 8) != 0) {
FUN_0012e30b(*(undefined8 *)(param_1 + 8),(long)*(int *)(param_1 + 0x10));
}
FUN_0012e243(*(undefined8 *)(param_1 + 8));
FUN_0012e243(*(undefined8 *)(param_1 + 0x18));
FUN_0012e243(*(undefined8 *)(param_1 + 0x20));
F... | (translation_unit "void FUN_001db11f(long param_1)\n\n{\n long lVar1;\n \n if (*(long *)(param_1 + 8) != 0) {\n FUN_0012e30b(*(undefined8 *)(param_1 + 8),(long)*(int *)(param_1 + 0x10));\n }\n FUN_0012e243(*(undefined8 *)(param_1 + 8));\n FUN_0012e243(*(undefined8 *)(param_1 + 0x18));\n FUN_0012e243(*(undefin... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x8]
TEST RAX,RAX
JZ 0x001db155
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x10]
MOVSXD RDX,EAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x8]
MOV RSI,RDX
MOV RDI,RAX
C... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *auth)
{
void *var_4;
type_1 *auth_local;
type_2 *seen;
if (auth->data != (type_3 *)0x0) {
var_1(auth->data,(long)auth->datalen);
}
var_2(auth->data);
var_2(auth->protoname);
var_2(auth->datastring)... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid x11_free_fake_auth(X11FakeAuth *auth)\n\n{\n void *ptr;\n X11FakeAuth *auth_local;\n XDMSeen *seen;\n \n if (auth->data != (uchar *)0x0) {\n smemclr(auth->data,(long)auth->datalen);\n }\n safefree(auth->data);\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *auth)\n\n{\n void *var_4;\n type_1 *auth_local;\n type_2 *seen;\n \n if (auth->data != (type_3 *)0x0) {\n var_1(auth->data,(long)auth->datalen);\n }\n var_2(auth->data);\n var_2(auth->proton... | (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... |
2270_putty_and_putty_strip.c | write_random_seed | FUN_001d9901 | write_random_seed |
void write_random_seed(void *data,int len)
{
char *__file;
int *piVar1;
char *pcVar2;
char *ptr;
ssize_t sVar3;
int len_local;
void *data_local;
int fd;
int ret;
char *fname;
char *dir;
char *errmsg;
__file = make_filename(3,(char *)0x0);
fd = open64(__file,0x41,0x180);
len_local = le... |
void FUN_001d9901(void *param_1,int param_2)
{
char *__file;
int *piVar1;
char *pcVar2;
undefined8 uVar3;
long lVar4;
ssize_t sVar5;
int local_34;
void *local_30;
int local_28;
__file = (char *)FUN_001d8145(3,0);
local_28 = open64(__file,0x41,0x180);
local_34 = param_2;
local_30 = param_1... | (translation_unit "void FUN_001d9901(void *param_1,int param_2)\n\n{\n char *__file;\n int *piVar1;\n char *pcVar2;\n undefined8 uVar3;\n long lVar4;\n ssize_t sVar5;\n int local_34;\n void *local_30;\n int local_28;\n \n __file = (char *)FUN_001d8145(3,0);\n local_28 = open64(__file,0x41,0x180);\n local_3... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
MOV ESI,0x0
MOV EDI,0x3
CALL 0x001d8145
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX,0x180
MOV ESI,0x41
MOV RDI,RAX
MOV EAX,0x0
CALL 0x00115c40
MOV dword ptr [RBP + -0x20],EAX
CMP dword ptr [RBP ... |
void function_1(void *data,int len)
{
char *__file;
int *piVar1;
char *pcVar2;
char *var_9;
ssize_t sVar3;
int var_10;
void *data_local;
int var_3;
int ret;
char *fname;
char *dir;
char *errmsg;
__file = var_1(3,(char *)0x0);
var_3 = var_2(__file,0x41,0x180);
var_10 = len;
data_loca... | (translation_unit "void write_random_seed(void *data,int len)\n\n{\n char *__file;\n int *piVar1;\n char *pcVar2;\n char *ptr;\n ssize_t sVar3;\n int len_local;\n void *data_local;\n int fd;\n int ret;\n char *fname;\n char *dir;\n char *errmsg;\n \n __file = make_filename(3,(char *)0x0);\n fd = open64(_... | (translation_unit "void function_1(void *data,int len)\n\n{\n char *__file;\n int *piVar1;\n char *pcVar2;\n char *var_9;\n ssize_t sVar3;\n int var_10;\n void *data_local;\n int var_3;\n int ret;\n char *fname;\n char *dir;\n char *errmsg;\n \n __file = var_1(3,(char *)0x0);\n var_3 = var_2(__file,0x41,... | (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... |
2144_putty_and_putty_strip.c | try_send | FUN_001d2a5a | try_send |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void try_send(Actual_Socket_conflict s)
{
int iVar1;
ssize_t sVar2;
int *piVar3;
long in_FS_OFFSET;
Actual_Socket_conflict s_local;
int len;
int urgentflag;
int nsent;
int err;
void *data;
long local_10;
local_10 = *(... |
void FUN_001d2a5a(long param_1)
{
int iVar1;
ssize_t sVar2;
int *piVar3;
long in_FS_OFFSET;
int local_28;
int local_24;
int local_20;
int local_1c;
void *local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
while( true ) {
if (*(int *)(param_1 + 0x4c) == 0) {
iVar1 ... | (translation_unit "void FUN_001d2a5a(long param_1)\n\n{\n int iVar1;\n ssize_t sVar2;\n int *piVar3;\n long in_FS_OFFSET;\n int local_28;\n int local_24;\n int local_20;\n int local_1c;\n void *local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n while( true ) {\n if (*(int *)(pa... | 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
JMP 0x001d2bc6
MOV RAX,qword ptr [RBP + -0x28]
MOV EAX,dword ptr [RAX + 0x4c]
TEST EAX,EAX
JZ 0x001d2aa4
MOV dword ptr [RBP + -0x1c],0x1
MOV RAX,qword ptr [RBP + -0x28]
MOV EAX,dword ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 s)
{
int var_3;
ssize_t sVar2;
int *piVar3;
long var_1;
type_1 s_local;
int var_12;
int urgentflag;
int var_10;
int var_15;
void *data;
long var_17;
var_17 = *(long *)(var_1 + 0x28);
while( tr... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid try_send(Actual_Socket_conflict s)\n\n{\n int iVar1;\n ssize_t sVar2;\n int *piVar3;\n long in_FS_OFFSET;\n Actual_Socket_conflict s_local;\n int len;\n int urgentflag;\n int nsent;\n int err;\n void *data;\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 s)\n\n{\n int var_3;\n ssize_t sVar2;\n int *piVar3;\n long var_1;\n type_1 s_local;\n int var_12;\n int urgentflag;\n int var_10;\n int var_15;\n void *data;\n long var_17;\n \n var_17 = *... | (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))... |
2088_putty_and_putty_strip.c | agent_query | FUN_001cf62f | agent_query |
/* WARNING: Enum "GIOFlags": Some values do not have unique names */
agent_pending_query *
agent_query(void *in,int inlen,void **out,int *outlen,_func_void_void_ptr_void_ptr_int *callback,
void *callback_ctx)
{
long lVar1;
int iVar2;
int iVar3;
char *__s;
size_t sVar4;
ssize_t sVar5;
agent_p... |
int * FUN_001cf62f(long param_1,int param_2,undefined8 *param_3,int *param_4,long param_5,
undefined8 param_6)
{
int iVar1;
int iVar2;
char *__s;
size_t sVar3;
ssize_t sVar4;
int *piVar5;
long in_FS_OFFSET;
int local_a4;
sockaddr local_88 [7];
long local_10;
local_10 = *(lon... | (translation_unit "int * FUN_001cf62f(long param_1,int param_2,undefined8 *param_3,int *param_4,long param_5,\n undefined8 param_6)\n\n{\n int iVar1;\n int iVar2;\n char *__s;\n size_t sVar3;\n ssize_t sVar4;\n int *piVar5;\n long in_FS_OFFSET;\n int local_a4;\n sockaddr local_88 [7];\n long ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xd0
MOV qword ptr [RBP + -0xa8],RDI
MOV dword ptr [RBP + -0xac],ESI
MOV qword ptr [RBP + -0xb8],RDX
MOV qword ptr [RBP + -0xc0],RCX
MOV qword ptr [RBP + -0xc8],R8
MOV qword ptr [RBP + -0xd0],R9
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RDI,[0x216410]
CALL 0... |
/* WARNING: Enum "GIOFlags": Some values do not have unique names */
type_1 *
function_1(void *in,int var_15,void **out,int *outlen,type_2 *var_19,
void *callback_ctx)
{
long var_27;
int var_7;
int var_13;
char *var_3;
size_t var_5;
ssize_t sVar5;
type_1 *conn_00;
long var_1;
void *callb... | (translation_unit "/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nagent_pending_query *\nagent_query(void *in,int inlen,void **out,int *outlen,_func_void_void_ptr_void_ptr_int *callback,\n void *callback_ctx)\n\n{\n long lVar1;\n int iVar2;\n int iVar3;\n char *__s;\n size_t sVar... | (translation_unit "/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\ntype_1 *\nfunction_1(void *in,int var_15,void **out,int *outlen,type_2 *var_19,\n void *callback_ctx)\n\n{\n long var_27;\n int var_7;\n int var_13;\n char *var_3;\n size_t var_5;\n ssize_t sVar5;\n type_1 *conn_... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration t... |
2252_putty_and_putty_strip.c | provide_xrm_string | FUN_001d88ad | provide_xrm_string |
void provide_xrm_string(char *string)
{
undefined8 *e;
void *pvVar1;
ushort **ppuVar2;
char *pcVar3;
char *string_local;
char *p;
char *q;
skeyval *xrms;
char *key;
skeyval *ret;
p = strchr(string,0x3a);
if (p == (char *)0x0) {
fprintf(stderr,"pterm: expected a colon in resource string ... |
void FUN_001d88ad(char *param_1)
{
undefined8 *puVar1;
void *__dest;
ushort **ppuVar2;
undefined8 uVar3;
long lVar4;
char *local_30;
byte *local_28;
local_30 = strchr(param_1,0x3a);
if (local_30 == (char *)0x0) {
fprintf(stderr,"pterm: expected a colon in resource string \"%s\"\n",param_1);
... | (translation_unit "void FUN_001d88ad(char *param_1)\n\n{\n undefined8 *puVar1;\n void *__dest;\n ushort **ppuVar2;\n undefined8 uVar3;\n long lVar4;\n char *local_30;\n byte *local_28;\n \n local_30 = strchr(param_1,0x3a);\n if (local_30 == (char *)0x0) {\n fprintf(stderr,"pterm: expected a colon in resour... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV RAX,qword ptr [RBP + -0x38]
MOV ESI,0x3a
MOV RDI,RAX
CALL 0x00114540
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x28],RAX
CMP qword ptr [RBP + -0x20],0x0
JNZ 0x001d8901
MOV RAX,qword ptr [0x002359e0]
MOV RDX... |
void function_1(char *var_4)
{
type_1 *e;
void *var_13;
type_2 **ppuVar2;
char *pcVar3;
char *string_local;
char *var_2;
char *var_7;
type_3 *xrms;
char *key;
type_3 *ret;
var_2 = var_1(var_4,0x3a);
if (var_2 == (char *)0x0) {
var_3(stderr,"pterm: expected a colon in resource string \"%... | (translation_unit "void provide_xrm_string(char *string)\n\n{\n undefined8 *e;\n void *pvVar1;\n ushort **ppuVar2;\n char *pcVar3;\n char *string_local;\n char *p;\n char *q;\n skeyval *xrms;\n char *key;\n skeyval *ret;\n \n p = strchr(string,0x3a);\n if (p == (char *)0x0) {\n fprintf(stderr,"pterm: ex... | (translation_unit "void function_1(char *var_4)\n\n{\n type_1 *e;\n void *var_13;\n type_2 **ppuVar2;\n char *pcVar3;\n char *string_local;\n char *var_2;\n char *var_7;\n type_3 *xrms;\n char *key;\n type_3 *ret;\n \n var_2 = var_1(var_4,0x3a);\n if (var_2 == (char *)0x0) {\n var_3(stderr,"pterm: expec... | (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: (type_identifier) de... |
1984_putty_and_putty_strip.c | set_zorder | FUN_001c5ae1 | set_zorder |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void set_zorder(void *frontend,wchar_t top)
{
undefined8 uVar1;
wchar_t top_local;
void *frontend_local;
gui_data *inst;
if (top == L'\0') {
/* WARNING: Load size is inaccurate */
uVar1 = gtk_widget_get_wind... |
void FUN_001c5ae1(undefined8 *param_1,int param_2)
{
undefined8 uVar1;
if (param_2 == 0) {
uVar1 = gtk_widget_get_window(*param_1);
gdk_window_lower(uVar1);
}
else {
uVar1 = gtk_widget_get_window(*param_1);
gdk_window_raise(uVar1);
}
return;
}
| (translation_unit "void FUN_001c5ae1(undefined8 *param_1,int param_2)\n\n{\n undefined8 uVar1;\n \n if (param_2 == 0) {\n uVar1 = gtk_widget_get_window(*param_1);\n gdk_window_lower(uVar1);\n }\n else {\n uVar1 = gtk_widget_get_window(*param_1);\n gdk_window_raise(uVar1);\n }\n return;\n}\n\n" (funct... | 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
CMP dword ptr [RBP + -0x1c],0x0
JZ 0x001c5b17
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x001145f0
MOV RDI,RAX
CALL 0x00114bb0
JM... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *frontend,type_1 var_1)
{
type_2 uVar1;
type_1 top_local;
void *frontend_local;
type_3 *inst;
if (var_1 == L'\0') {
/* WARNING: Load size is inaccurate */
uVar1 = var_2(*frontend);
v... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid set_zorder(void *frontend,wchar_t top)\n\n{\n undefined8 uVar1;\n wchar_t top_local;\n void *frontend_local;\n gui_data *inst;\n \n if (top == L'\0') {\n /* WARNING: Load size is inaccurate */\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *frontend,type_1 var_1)\n\n{\n type_2 uVar1;\n type_1 top_local;\n void *frontend_local;\n type_3 *inst;\n \n if (var_1 == L'\0') {\n /* WARNING: Load size is inaccurate */\n u... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator... |
2117_putty_and_putty_strip.c | cmpfortree | FUN_001d0abd | cmpfortree |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int cmpfortree(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
int as;
int bs;
Actual_Socket_conflict a;
Actual_Socket_conflict b;
if (*(int *)((long)av + 0x10) < *(int *)((long)bv + 0x10)) {
iVar1 = -1;
... |
undefined8 FUN_001d0abd(ulong param_1,ulong 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 if (param_1 < param_2) {
uVar1 = 0xffffffff;
}
else... | (translation_unit "undefined8 FUN_001d0abd(ulong param_1,ulong 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 if (param_1 < param_2) {\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x30]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX + 0x10]
MOV dword ptr [RBP + -0x18],EAX
MOV RAX,qword... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *var_1,void *var_2)
{
int iVar1;
void *bv_local;
void *av_local;
int as;
int bs;
type_1 a;
type_1 b;
if (*(int *)((long)var_1 + 0x10) < *(int *)((long)var_2 + 0x10)) {
iVar1 = -1;
}
else if (*(int ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint cmpfortree(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n int as;\n int bs;\n Actual_Socket_conflict a;\n Actual_Socket_conflict b;\n \n if (*(int *)((long)av + 0x10) < *(int *)((long)... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *var_1,void *var_2)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n int as;\n int bs;\n type_1 a;\n type_1 b;\n \n if (*(int *)((long)var_1 + 0x10) < *(int *)((long)var_2 + 0x10)) {\n i... | (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:... |
2058_putty_and_putty_strip.c | find_app_menu_bar | FUN_001cc175 | find_app_menu_bar |
void find_app_menu_bar(GtkWidget *widget,gpointer data)
{
GType GVar1;
gpointer data_local;
GtkWidget *widget_local;
gboolean __r;
find_app_menu_bar_ctx *ctx;
GTypeInstance *__inst;
GType __t;
/* WARNING: Load size is inaccurate */
if (widget != *data) {
GVar1 = gtk_menu_bar... |
void FUN_001cc175(long *param_1,long *param_2)
{
long lVar1;
int local_24;
if (param_1 != (long *)*param_2) {
lVar1 = gtk_menu_bar_get_type();
if (param_1 == (long *)0x0) {
local_24 = 0;
}
else if ((*param_1 == 0) || (lVar1 != *(long *)*param_1)) {
local_24 = g_type_check_instance... | (translation_unit "void FUN_001cc175(long *param_1,long *param_2)\n\n{\n long lVar1;\n int local_24;\n \n if (param_1 != (long *)*param_2) {\n lVar1 = gtk_menu_bar_get_type();\n if (param_1 == (long *)0x0) {\n local_24 = 0;\n }\n else if ((*param_1 == 0) || (lVar1 != *(long *)*param_1)) {\n lo... | 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 + -0x30]
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
CMP qword ptr [RBP + -0x28],RAX
JZ 0x001cc209
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x... |
void function_1(type_1 *var_1,type_2 data)
{
type_3 var_3;
type_2 data_local;
type_1 *widget_local;
type_4 var_5;
type_5 *ctx;
type_6 *__inst;
type_3 __t;
/* WARNING: Load size is inaccurate */
if (var_1 != *data) {
var_3 = var_2();
if (var_1 == (type_1 *)0x0) {
va... | (translation_unit "void find_app_menu_bar(GtkWidget *widget,gpointer data)\n\n{\n GType GVar1;\n gpointer data_local;\n GtkWidget *widget_local;\n gboolean __r;\n find_app_menu_bar_ctx *ctx;\n GTypeInstance *__inst;\n GType __t;\n \n /* WARNING: Load size is inaccurate */\n if (widget != *da... | (translation_unit "void function_1(type_1 *var_1,type_2 data)\n\n{\n type_3 var_3;\n type_2 data_local;\n type_1 *widget_local;\n type_4 var_5;\n type_5 *ctx;\n type_6 *__inst;\n type_3 __t;\n \n /* WARNING: Load size is inaccurate */\n if (var_1 != *data) {\n var_3 = var_2();\n if (va... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
2106_putty_and_putty_strip.c | noncloexec | FUN_001d0448 | noncloexec |
void noncloexec(int fd)
{
uint uVar1;
int iVar2;
int *piVar3;
char *pcVar4;
int fd_local;
int fdflags;
uVar1 = fcntl64(fd,1);
if ((int)uVar1 < 0) {
piVar3 = __errno_location();
pcVar4 = strerror(*piVar3);
fprintf(stderr,"%d: fcntl(F_GETFD): %s\n",(ulong)(uint)fd,pcVar4);
... |
void FUN_001d0448(uint param_1)
{
uint uVar1;
int iVar2;
int *piVar3;
char *pcVar4;
uVar1 = fcntl64(param_1,1);
if ((int)uVar1 < 0) {
piVar3 = __errno_location();
pcVar4 = strerror(*piVar3);
fprintf(stderr,"%d: fcntl(F_GETFD): %s\n",(ulong)param_1,pcVar4);
/* WARNING: Su... | (translation_unit "void FUN_001d0448(uint param_1)\n\n{\n uint uVar1;\n int iVar2;\n int *piVar3;\n char *pcVar4;\n \n uVar1 = fcntl64(param_1,1);\n if ((int)uVar1 < 0) {\n piVar3 = __errno_location();\n pcVar4 = strerror(*piVar3);\n fprintf(stderr,"%d: fcntl(F_GETFD): %s\n",(ulong)param_1,pcVar4);\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x14],EDI
MOV EAX,dword ptr [RBP + -0x14]
MOV ESI,0x1
MOV EDI,EAX
MOV EAX,0x0
CALL 0x00115af0
MOV dword ptr [RBP + -0x4],EAX
CMP dword ptr [RBP + -0x4],0x0
JNS 0x001d04a9
CALL 0x00114070
MOV EAX,dword ptr [RAX]
MOV EDI,EAX
CALL 0x001144f0
MOV RCX,RAX
MOV RAX,qword... |
void function_1(int fd)
{
type_1 var_6;
int var_7;
int *piVar3;
char *pcVar4;
int fd_local;
int fdflags;
var_6 = var_1(fd,1);
if ((int)var_6 < 0) {
piVar3 = var_2();
pcVar4 = var_3(*piVar3);
var_4(stderr,"%d: fcntl(F_GETFD): %s\n",(type_2)(type_1)fd,pcVar4);
/* WARNI... | (translation_unit "void noncloexec(int fd)\n\n{\n uint uVar1;\n int iVar2;\n int *piVar3;\n char *pcVar4;\n int fd_local;\n int fdflags;\n \n uVar1 = fcntl64(fd,1);\n if ((int)uVar1 < 0) {\n piVar3 = __errno_location();\n pcVar4 = strerror(*piVar3);\n fprintf(stderr,"%d: fcntl(F_GETFD): %s\n",(ulong)(... | (translation_unit "void function_1(int fd)\n\n{\n type_1 var_6;\n int var_7;\n int *piVar3;\n char *pcVar4;\n int fd_local;\n int fdflags;\n \n var_6 = var_1(fd,1);\n if ((int)var_6 < 0) {\n piVar3 = var_2();\n pcVar4 = var_3(*piVar3);\n var_4(stderr,"%d: fcntl(F_GETFD): %s\n",(type_2)(type_1)fd,pcVar... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declarat... |
2042_putty_and_putty_strip.c | draw_clip | FUN_001ca89e | draw_clip |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void draw_clip(draw_ctx *dctx,wchar_t x,wchar_t y,wchar_t w,wchar_t h)
{
wchar_t h_local;
wchar_t w_local;
wchar_t y_local;
wchar_t x_local;
draw_ctx *dctx_local;
if ((dctx->uctx).type == ADDRTYPE_UNSPEC) {
cairo_reset_clip((... |
void FUN_001ca89e(long param_1,int param_2,int param_3,int param_4,int param_5)
{
if (*(int *)(param_1 + 8) == 0) {
cairo_reset_clip(*(undefined8 *)(param_1 + 0x18));
cairo_new_path(*(undefined8 *)(param_1 + 0x18));
cairo_rectangle((double)param_2,(double)param_3,(double)param_4,(double)param_5,
... | (translation_unit "void FUN_001ca89e(long param_1,int param_2,int param_3,int param_4,int param_5)\n\n{\n if (*(int *)(param_1 + 8) == 0) {\n cairo_reset_clip(*(undefined8 *)(param_1 + 0x18));\n cairo_new_path(*(undefined8 *)(param_1 + 0x18));\n cairo_rectangle((double)param_2,(double)param_3,(double)param_4,... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV dword ptr [RBP + -0x10],EDX
MOV dword ptr [RBP + -0x14],ECX
MOV dword ptr [RBP + -0x18],R8D
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x8]
TEST EAX,EAX
JNZ 0x001ca916
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *dctx,type_2 x,type_2 y,type_2 w,type_2 h)
{
type_2 h_local;
type_2 w_local;
type_2 y_local;
type_2 x_local;
type_1 *dctx_local;
if ((dctx->uctx).type == var_1) {
var_2((dctx->uctx).u.cairo.cr);
var... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid draw_clip(draw_ctx *dctx,wchar_t x,wchar_t y,wchar_t w,wchar_t h)\n\n{\n wchar_t h_local;\n wchar_t w_local;\n wchar_t y_local;\n wchar_t x_local;\n draw_ctx *dctx_local;\n \n if ((dctx->uctx).type == ADDRTYPE_UNS... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *dctx,type_2 x,type_2 y,type_2 w,type_2 h)\n\n{\n type_2 h_local;\n type_2 w_local;\n type_2 y_local;\n type_2 x_local;\n type_1 *dctx_local;\n \n if ((dctx->uctx).type == var_1) {\n var_2((dc... | (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... |
1897_putty_and_putty_strip.c | pangofont_create_fallback | FUN_001be1c9 | pangofont_create_fallback |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
unifont * pangofont_create_fallback
(GtkWidget *widget,wchar_t height,wchar_t wide,wchar_t bold,wchar_t shadowoffset
,wchar_t shadowalways)
{
PangoFontDescription *desc_00;
unifont *puVar1;
PangoCon... |
undefined8
FUN_001be1c9(undefined8 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5
,undefined4 param_6)
{
long lVar1;
undefined8 uVar2;
long lVar3;
lVar1 = pango_font_description_from_string("Monospace");
if (lVar1 == 0) {
uVar2 = 0;
}
else {
lVar3 = g... | (translation_unit "undefined8\nFUN_001be1c9(undefined8 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5\n ,undefined4 param_6)\n\n{\n long lVar1;\n undefined8 uVar2;\n long lVar3;\n \n lVar1 = pango_font_description_from_string("Monospace");\n if (lVar1 == 0) {\n uVar2 = ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV dword ptr [RBP + -0x20],EDX
MOV dword ptr [RBP + -0x24],ECX
MOV dword ptr [RBP + -0x28],R8D
MOV dword ptr [RBP + -0x2c],R9D
LEA RDI,[0x214d74]
CALL 0x00115ca0
MOV qword ptr [RBP + -0x10],RAX
CMP qword ptr [RBP + -0x10]... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1
(type_2 *widget,type_3 var_7,type_3 wide,type_3 bold,type_3 shadowoffset
,type_3 shadowalways)
{
type_4 *var_2;
type_1 *puVar1;
type_5 *var_4;
type_3 shadowalways_local;
type... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nunifont * pangofont_create_fallback\n (GtkWidget *widget,wchar_t height,wchar_t wide,wchar_t bold,wchar_t shadowoffset\n ,wchar_t shadowalways)\n\n{\n PangoFontDescription *desc_00;\n u... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1\n (type_2 *widget,type_3 var_7,type_3 wide,type_3 bold,type_3 shadowoffset\n ,type_3 shadowalways)\n\n{\n type_4 *var_2;\n type_1 *puVar1;\n type_5 *var_4;\n type_... | (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 ... |
1987_putty_and_putty_strip.c | is_iconic | FUN_001c5bc1 | is_iconic |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
wchar_t is_iconic(void *frontend)
{
int iVar1;
undefined8 uVar2;
void *frontend_local;
gui_data *inst;
/* WARNING: Load size is inaccurate */
uVar2 = gtk_widget_get_window(*frontend);
iVar1 = gdk_window_is_vie... |
bool FUN_001c5bc1(undefined8 *param_1)
{
int iVar1;
undefined8 uVar2;
uVar2 = gtk_widget_get_window(*param_1);
iVar1 = gdk_window_is_viewable(uVar2);
return iVar1 == 0;
}
| (translation_unit "bool FUN_001c5bc1(undefined8 *param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n uVar2 = gtk_widget_get_window(*param_1);\n iVar1 = gdk_window_is_viewable(uVar2);\n return iVar1 == 0;\n}\n\n" (function_definition "bool FUN_001c5bc1(undefined8 *param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x001145f0
MOV RDI,RAX
CALL 0x00114ab0
TEST EAX,EAX
SETZ AL
MOVZX EAX,AL
LEAVE
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(void *frontend)
{
int var_3;
type_2 uVar2;
void *frontend_local;
type_3 *inst;
/* WARNING: Load size is inaccurate */
uVar2 = var_1(*frontend);
var_3 = var_2(uVar2);
return (type_1)(var_3 =... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nwchar_t is_iconic(void *frontend)\n\n{\n int iVar1;\n undefined8 uVar2;\n void *frontend_local;\n gui_data *inst;\n \n /* WARNING: Load size is inaccurate */\n uVar2 = gtk_widget_get_window(*frontend)... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(void *frontend)\n\n{\n int var_3;\n type_2 uVar2;\n void *frontend_local;\n type_3 *inst;\n \n /* WARNING: Load size is inaccurate */\n uVar2 = var_1(*frontend);\n var_3 = var_2(uVa... | (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))))) body: (compound_statement (declaration type: (primitiv... |
1964_putty_and_putty_strip.c | our_dialog_add_to_content_area | FUN_001c54c2 | our_dialog_add_to_content_area |
void our_dialog_add_to_content_area
(GtkWindow *dlg,GtkWidget *w,gboolean expand,gboolean fill,guint padding)
{
undefined8 uVar1;
undefined8 uVar2;
guint padding_local;
gboolean fill_local;
gboolean expand_local;
GtkWidget *w_local;
GtkWindow *dlg_local;
GtkBox *vbox;
uVar1 = gtk_b... |
void FUN_001c54c2(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined4 param_4,
undefined4 param_5)
{
undefined8 uVar1;
undefined8 uVar2;
uVar1 = gtk_box_get_type();
uVar2 = gtk_bin_get_type();
uVar2 = g_type_check_instance_cast(param_1,uVar2);
uVar2 = gtk_bin_get_child(... | (translation_unit "void FUN_001c54c2(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined4 param_4,\n undefined4 param_5)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n \n uVar1 = gtk_box_get_type();\n uVar2 = gtk_bin_get_type();\n uVar2 = g_type_check_instance_cast(param_1,uVar2);\n... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x38
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV dword ptr [RBP + -0x34],EDX
MOV dword ptr [RBP + -0x38],ECX
MOV dword ptr [RBP + -0x3c],R8D
CALL 0x00114f10
MOV RBX,RAX
CALL 0x001152d0
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x28]
MOV RSI,RDX
MOV RDI,RAX
CALL ... |
void function_1
(type_1 *dlg,type_2 *w,type_3 expand,type_3 fill,type_4 padding)
{
type_5 uVar1;
type_5 uVar2;
type_4 padding_local;
type_3 fill_local;
type_3 expand_local;
type_2 *w_local;
type_1 *dlg_local;
type_6 *vbox;
uVar1 = var_1();
uVar2 = var_2();
uVar2 = var_3(dlg,uVa... | (translation_unit "void our_dialog_add_to_content_area\n (GtkWindow *dlg,GtkWidget *w,gboolean expand,gboolean fill,guint padding)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n guint padding_local;\n gboolean fill_local;\n gboolean expand_local;\n GtkWidget *w_local;\n GtkWindow *dlg_local;\n Gtk... | (translation_unit "void function_1\n (type_1 *dlg,type_2 *w,type_3 expand,type_3 fill,type_4 padding)\n\n{\n type_5 uVar1;\n type_5 uVar2;\n type_4 padding_local;\n type_3 fill_local;\n type_3 expand_local;\n type_2 *w_local;\n type_1 *dlg_local;\n type_6 *vbox;\n \n uVar1 = var_1();\n uVar2 = ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
2126_putty_and_putty_strip.c | sk_addr_needs_port | FUN_001d107e | sk_addr_needs_port |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int sk_addr_needs_port(SockAddr addr)
{
int iVar1;
SockAddr addr_local;
if ((addr->superfamily == ADDRTYPE_UNSPEC) || (addr->superfamily == ABOUT_TO)) {
iVar1 = 0;
}
else {
iVar1 = 1;
}
return iVar1;
}
|
undefined8 FUN_001d107e(long param_1)
{
undefined8 uVar1;
if ((*(int *)(param_1 + 0x10) == 0) || (*(int *)(param_1 + 0x10) == 1)) {
uVar1 = 0;
}
else {
uVar1 = 1;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_001d107e(long param_1)\n\n{\n undefined8 uVar1;\n \n if ((*(int *)(param_1 + 0x10) == 0) || (*(int *)(param_1 + 0x10) == 1)) {\n uVar1 = 0;\n }\n else {\n uVar1 = 1;\n }\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_001d107e(long param_1)\n\n{\n undefined8 ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x10]
TEST EAX,EAX
JZ 0x001d109d
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x10]
CMP EAX,0x1
JNZ 0x001d10a4
MOV EAX,0x0
JMP 0x001d10a9
MOV EAX,0x1
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 addr)
{
int iVar1;
type_1 addr_local;
if ((addr->superfamily == var_1) || (addr->superfamily == var_2)) {
iVar1 = 0;
}
else {
iVar1 = 1;
}
return iVar1;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint sk_addr_needs_port(SockAddr addr)\n\n{\n int iVar1;\n SockAddr addr_local;\n \n if ((addr->superfamily == ADDRTYPE_UNSPEC) || (addr->superfamily == ABOUT_TO)) {\n iVar1 = 0;\n }\n else {\n iVar1 = 1;\n }\n r... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 addr)\n\n{\n int iVar1;\n type_1 addr_local;\n \n if ((addr->superfamily == var_1) || (addr->superfamily == var_2)) {\n iVar1 = 0;\n }\n else {\n iVar1 = 1;\n }\n return iVar1;\n}\n\n" comm... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier))... |
2018_putty_and_putty_strip.c | store_cutbuffer | FUN_001c9369 | store_cutbuffer |
void store_cutbuffer(char *ptr,wchar_t len)
{
undefined8 uVar1;
wchar_t len_local;
char *ptr_local;
Display *disp;
uVar1 = gdk_display_get_default();
uVar1 = gdk_x11_display_get_xdisplay(uVar1);
XRotateBuffers(uVar1,1);
XStoreBytes(uVar1,ptr,len);
return;
}
|
void FUN_001c9369(undefined8 param_1,undefined4 param_2)
{
undefined8 uVar1;
uVar1 = gdk_display_get_default();
uVar1 = gdk_x11_display_get_xdisplay(uVar1);
XRotateBuffers(uVar1,1);
XStoreBytes(uVar1,param_1,param_2);
return;
}
| (translation_unit "void FUN_001c9369(undefined8 param_1,undefined4 param_2)\n\n{\n undefined8 uVar1;\n \n uVar1 = gdk_display_get_default();\n uVar1 = gdk_x11_display_get_xdisplay(uVar1);\n XRotateBuffers(uVar1,1);\n XStoreBytes(uVar1,param_1,param_2);\n return;\n}\n\n" (function_definition "void FUN_001c9369(un... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
CALL 0x00114df0
MOV RDI,RAX
CALL 0x00115fa0
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV ESI,0x1
MOV RDI,RAX
CALL 0x00114590
MOV EDX,dword ptr [RBP + -0x1c]
MOV RCX,qword ptr [RBP + -0x18]
MOV RAX,qwor... |
void function_1(char *ptr,type_1 len)
{
type_2 uVar1;
type_1 len_local;
char *ptr_local;
type_3 *disp;
uVar1 = var_1();
uVar1 = var_2(uVar1);
var_3(uVar1,1);
var_4(uVar1,ptr,len);
return;
}
| (translation_unit "void store_cutbuffer(char *ptr,wchar_t len)\n\n{\n undefined8 uVar1;\n wchar_t len_local;\n char *ptr_local;\n Display *disp;\n \n uVar1 = gdk_display_get_default();\n uVar1 = gdk_x11_display_get_xdisplay(uVar1);\n XRotateBuffers(uVar1,1);\n XStoreBytes(uVar1,ptr,len);\n return;\n}\n\n" (fu... | (translation_unit "void function_1(char *ptr,type_1 len)\n\n{\n type_2 uVar1;\n type_1 len_local;\n char *ptr_local;\n type_3 *disp;\n \n uVar1 = var_1();\n uVar1 = var_2(uVar1);\n var_3(uVar1,1);\n var_4(uVar1,ptr,len);\n return;\n}\n\n" (function_definition "void function_1(char *ptr,type_1 len)\n\n{\n typ... | (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: (identif... |
1991_putty_and_putty_strip.c | delete_window | FUN_001c5cc7 | delete_window |
/* WARNING: Enum "GdkEventType": Some values do not have unique names */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
gint delete_window(GtkWidget *widget,GdkEvent *event,gpointer data)
{
int iVar1;
gpointer data_local;
GdkEvent *event_local;
GtkWidget *widget_local;
gui_data *i... |
undefined8 FUN_001c5cc7(undefined8 param_1,undefined8 param_2,long param_3)
{
int iVar1;
if (((*(int *)(param_3 + 0xdb0) == 0) &&
(iVar1 = FUN_0011a4c1(*(undefined8 *)(param_3 + 0x22d0),5), iVar1 != 0)) &&
(iVar1 = FUN_001b95b2(param_3), iVar1 == 0)) {
return 1;
}
return 0;
}
| (translation_unit "undefined8 FUN_001c5cc7(undefined8 param_1,undefined8 param_2,long param_3)\n\n{\n int iVar1;\n \n if (((*(int *)(param_3 + 0xdb0) == 0) &&\n (iVar1 = FUN_0011a4c1(*(undefined8 *)(param_3 + 0x22d0),5), iVar1 != 0)) &&\n (iVar1 = FUN_001b95b2(param_3), iVar1 == 0)) {\n return 1;\n }\n ... | 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 + -0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0xdb0]
TEST EAX,EAX
JNZ 0x001c5d24
MOV RAX,qword ptr [RBP + -0x8]
MOV R... |
/* WARNING: Enum "GdkEventType": Some values do not have unique names */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_2 *widget,type_3 *event,type_4 data)
{
int var_2;
type_4 data_local;
type_3 *event_local;
type_2 *widget_local;
type_5 *inst;
if (((*... | (translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ngint delete_window(GtkWidget *widget,GdkEvent *event,gpointer data)\n\n{\n int iVar1;\n gpointer data_local;\n GdkEvent *event_local;\n GtkWidget *... | (translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 *widget,type_3 *event,type_4 data)\n\n{\n int var_2;\n type_4 data_local;\n type_3 *event_local;\n type_2 *widget_local;\n... | (translation_unit (comment) (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... |
2038_putty_and_putty_strip.c | free_ctx | FUN_001ca65b | free_ctx |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void free_ctx(Context ctx)
{
Context ctx_local;
draw_ctx *dctx;
if (*(int *)((long)ctx + 8) == 0) {
cairo_destroy(*(undefined8 *)((long)ctx + 0x18));
}
safefree(ctx);
return;
}
|
void FUN_001ca65b(long param_1)
{
if (*(int *)(param_1 + 8) == 0) {
cairo_destroy(*(undefined8 *)(param_1 + 0x18));
}
FUN_0012e243(param_1);
return;
}
| (translation_unit "void FUN_001ca65b(long param_1)\n\n{\n if (*(int *)(param_1 + 8) == 0) {\n cairo_destroy(*(undefined8 *)(param_1 + 0x18));\n }\n FUN_0012e243(param_1);\n return;\n}\n\n" (function_definition "void FUN_001ca65b(long param_1)\n\n{\n if (*(int *)(param_1 + 8) == 0) {\n cairo_destroy(*(undefin... | 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 + 0x8]
TEST EAX,EAX
JNZ 0x001ca68a
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x18]
MOV RDI,RAX
CALL 0x00115740
MOV RAX,qwor... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ctx)
{
type_1 ctx_local;
type_2 *dctx;
if (*(int *)((long)ctx + 8) == 0) {
var_1(*(type_3 *)((long)ctx + 0x18));
}
var_2(ctx);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid free_ctx(Context ctx)\n\n{\n Context ctx_local;\n draw_ctx *dctx;\n \n if (*(int *)((long)ctx + 8) == 0) {\n cairo_destroy(*(undefined8 *)((long)ctx + 0x18));\n }\n safefree(ctx);\n return;\n}\n\n" comment (fun... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ctx)\n\n{\n type_1 ctx_local;\n type_2 *dctx;\n \n if (*(int *)((long)ctx + 8) == 0) {\n var_1(*(type_3 *)((long)ctx + 0x18));\n }\n var_2(ctx);\n return;\n}\n\n" comment (function_definition ... | (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)... |
2220_putty_and_putty_strip.c | serial_free | FUN_001d69e6 | serial_free |
void serial_free(void *handle)
{
void *handle_local;
Serial serial;
serial_close((Serial)handle);
bufchain_clear((bufchain *)((long)handle + 0x18));
safefree(handle);
return;
}
|
void FUN_001d69e6(long param_1)
{
FUN_001d69b3(param_1);
FUN_0012dba4(param_1 + 0x18);
FUN_0012e243(param_1);
return;
}
| (translation_unit "void FUN_001d69e6(long param_1)\n\n{\n FUN_001d69b3(param_1);\n FUN_0012dba4(param_1 + 0x18);\n FUN_0012e243(param_1);\n return;\n}\n\n" (function_definition "void FUN_001d69e6(long param_1)\n\n{\n FUN_001d69b3(param_1);\n FUN_0012dba4(param_1 + 0x18);\n FUN_0012e243(param_1);\n return;\n}" p... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x001d69b3
MOV RAX,qword ptr [RBP + -0x8]
ADD RAX,0x18
MOV RDI,RAX
CALL 0x0012dba4
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0012e243
N... |
void function_1(void *handle)
{
void *handle_local;
type_1 serial;
var_1((type_1)handle);
var_2((type_2 *)((long)handle + 0x18));
var_3(handle);
return;
}
| (translation_unit "void serial_free(void *handle)\n\n{\n void *handle_local;\n Serial serial;\n \n serial_close((Serial)handle);\n bufchain_clear((bufchain *)((long)handle + 0x18));\n safefree(handle);\n return;\n}\n\n" (function_definition "void serial_free(void *handle)\n\n{\n void *handle_local;\n Serial se... | (translation_unit "void function_1(void *handle)\n\n{\n void *handle_local;\n type_1 serial;\n \n var_1((type_1)handle);\n var_2((type_2 *)((long)handle + 0x18));\n var_3(handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle)\n\n{\n void *handle_local;\n type_1 serial;\n \n var_1((typ... | (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... |
2143_putty_and_putty_strip.c | socket_error_callback | FUN_001d29cf | socket_error_callback |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void socket_error_callback(void *vs)
{
undefined4 uVar1;
code *pcVar2;
void *pvVar3;
char *pcVar4;
void *vs_local;
Actual_Socket_conflict s;
pvVar3 = find234(sktree,vs,(cmpfn234)0x0);
if ((pvVar3 != (void *)0x0) && (*(int *)(... |
void FUN_001d29cf(long param_1)
{
undefined4 uVar1;
code *pcVar2;
long lVar3;
char *pcVar4;
lVar3 = FUN_001ae652(DAT_002362f0,param_1,0);
if ((lVar3 != 0) && (*(int *)(param_1 + 0x60) != 0)) {
pcVar2 = *(code **)(**(long **)(param_1 + 0x18) + 8);
uVar1 = *(undefined4 *)(param_1 + 0x60);
pcV... | (translation_unit "void FUN_001d29cf(long param_1)\n\n{\n undefined4 uVar1;\n code *pcVar2;\n long lVar3;\n char *pcVar4;\n \n lVar3 = FUN_001ae652(DAT_002362f0,param_1,0);\n if ((lVar3 != 0) && (*(int *)(param_1 + 0x60) != 0)) {\n pcVar2 = *(code **)(**(long **)(param_1 + 0x18) + 8);\n uVar1 = *(undefined... | PUSH RBP
MOV RBP,RSP
PUSH R12
PUSH RBX
SUB RSP,0x20
MOV qword ptr [RBP + -0x28],RDI
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [0x002362f0]
MOV RCX,qword ptr [RBP + -0x18]
MOV EDX,0x0
MOV RSI,RCX
MOV RDI,RAX
CALL 0x001ae652
TEST RAX,RAX
JZ 0x001d2a50
MOV RAX,qword ptr [RBP + -0x18... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *vs)
{
type_1 uVar1;
type_2 *pcVar2;
void *var_2;
char *pcVar4;
void *vs_local;
type_3 s;
var_2 = var_1(sktree,vs,(type_4)0x0);
if ((var_2 != (void *)0x0) && (*(int *)((long)vs + 0x60) != 0)) {
pcVar2... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid socket_error_callback(void *vs)\n\n{\n undefined4 uVar1;\n code *pcVar2;\n void *pvVar3;\n char *pcVar4;\n void *vs_local;\n Actual_Socket_conflict s;\n \n pvVar3 = find234(sktree,vs,(cmpfn234)0x0);\n if ((pvVar... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *vs)\n\n{\n type_1 uVar1;\n type_2 *pcVar2;\n void *var_2;\n char *pcVar4;\n void *vs_local;\n type_3 s;\n \n var_2 = var_1(sktree,vs,(type_4)0x0);\n if ((var_2 != (void *)0x0) && (*(int *)((long... | (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: (type_iden... |
1992_putty_and_putty_strip.c | update_mouseptr | FUN_001c5d2b | update_mouseptr |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void update_mouseptr(gui_data *inst)
{
wchar_t wVar1;
GdkCursor *pGVar2;
undefined8 uVar3;
gui_data *inst_local;
wVar1 = inst->busy_status;
if (wVar1 == L'\0') {
if (inst->mouseptr_visible == L'\0') {
pGVar2 = inst->bla... |
void FUN_001c5d2b(long param_1)
{
int iVar1;
undefined8 uVar2;
undefined8 uVar3;
iVar1 = *(int *)(param_1 + 0xd64);
if (iVar1 == 0) {
if (*(int *)(param_1 + 0xd60) == 0) {
uVar2 = *(undefined8 *)(param_1 + 0xb0);
uVar3 = gtk_widget_get_window(*(undefined8 *)(param_1 + 8));
gdk_windo... | (translation_unit "void FUN_001c5d2b(long param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n \n iVar1 = *(int *)(param_1 + 0xd64);\n if (iVar1 == 0) {\n if (*(int *)(param_1 + 0xd60) == 0) {\n uVar2 = *(undefined8 *)(param_1 + 0xb0);\n uVar3 = gtk_widget_get_window(*(undefined8 *)(p... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x18
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0xd64]
TEST EAX,EAX
JZ 0x001c5d5c
TEST EAX,EAX
JS 0x001c5e17
CMP EAX,0x2
JG 0x001c5e17
JMP 0x001c5def
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0xd60]
TEST EAX,EAX
JNZ 0x001... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *inst)
{
type_2 var_1;
type_3 *pGVar2;
type_4 uVar3;
type_1 *inst_local;
var_1 = inst->busy_status;
if (var_1 == L'\0') {
if (inst->mouseptr_visible == L'\0') {
pGVar2 = inst->blankcursor;
u... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid update_mouseptr(gui_data *inst)\n\n{\n wchar_t wVar1;\n GdkCursor *pGVar2;\n undefined8 uVar3;\n gui_data *inst_local;\n \n wVar1 = inst->busy_status;\n if (wVar1 == L'\0') {\n if (inst->mouseptr_visible == L'\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *inst)\n\n{\n type_2 var_1;\n type_3 *pGVar2;\n type_4 uVar3;\n type_1 *inst_local;\n \n var_1 = inst->busy_status;\n if (var_1 == L'\0') {\n if (inst->mouseptr_visible == L'\0') {\n pGVa... | (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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.