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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
935_puttytel_and_puttytel_strip.c | term_paste_callback | FUN_0014a5d5 | term_paste_callback |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void term_paste_callback(void *vterm)
{
wchar_t wVar1;
int iVar2;
void *vterm_local;
wchar_t n;
Terminal *term;
if (*(int *)((long)vterm + 0x10e8) != 0) {
do {
if (*(int *)((long)vterm + 0x10e8) <= *(int *)((long)vterm ... |
void FUN_0014a5d5(long param_1)
{
int iVar1;
int iVar2;
int local_14;
if (*(int *)(param_1 + 0x10e8) != 0) {
do {
if (*(int *)(param_1 + 0x10e8) <= *(int *)(param_1 + 0x10ec)) {
FUN_001299ed(*(undefined8 *)(param_1 + 0x10e0));
*(undefined8 *)(param_1 + 0x10e0) = 0;
*(undef... | (translation_unit "void FUN_0014a5d5(long param_1)\n\n{\n int iVar1;\n int iVar2;\n int local_14;\n \n if (*(int *)(param_1 + 0x10e8) != 0) {\n do {\n if (*(int *)(param_1 + 0x10e8) <= *(int *)(param_1 + 0x10ec)) {\n FUN_001299ed(*(undefined8 *)(param_1 + 0x10e0));\n *(undefined8 *)(param_1 +... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x10e8]
TEST EAX,EAX
JZ 0x0014a737
JMP 0x0014a6e9
MOV dword ptr [RBP + -0xc],0x0
JMP 0x0014a639
MOV RAX,qword ptr [RBP + -0x8]
MOV RCX,... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *vterm)
{
type_1 wVar1;
int iVar2;
void *vterm_local;
type_1 var_2;
type_2 *term;
if (*(int *)((long)vterm + 0x10e8) != 0) {
do {
if (*(int *)((long)vterm + 0x10e8) <= *(int *)((long)vterm + 0x10ec)... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_paste_callback(void *vterm)\n\n{\n wchar_t wVar1;\n int iVar2;\n void *vterm_local;\n wchar_t n;\n Terminal *term;\n \n if (*(int *)((long)vterm + 0x10e8) != 0) {\n do {\n if (*(int *)((long)vterm + 0... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *vterm)\n\n{\n type_1 wVar1;\n int iVar2;\n void *vterm_local;\n type_1 var_2;\n type_2 *term;\n \n if (*(int *)((long)vterm + 0x10e8) != 0) {\n do {\n if (*(int *)((long)vterm + 0x10e8) <=... | (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... |
537_puttytel_and_puttytel_strip.c | charset_from_mimeenc | FUN_00112c8d | charset_from_mimeenc |
int charset_from_mimeenc(char *name)
{
int iVar1;
int iVar2;
char *name_local;
int i;
char *p;
char *q;
i = 0;
do {
if (0x81 < i) {
return 0;
}
p = name;
for (q = mimeencs[i].name; (*p != '\0' || (*q != '\0')); q = q + 1) {
iVar1 = tolower((uint)(byte)*p);
iVar2 = ... |
undefined4 FUN_00112c8d(byte *param_1)
{
int iVar1;
int iVar2;
int local_2c;
byte *local_28;
byte *local_20;
local_2c = 0;
do {
if (0x81 < local_2c) {
return 0;
}
local_28 = param_1;
for (local_20 = (&PTR_s_ISO_8859_1_001b34e0)[(long)local_2c * 2];
(*local_28 != 0 || (*l... | (translation_unit "undefined4 FUN_00112c8d(byte *param_1)\n\n{\n int iVar1;\n int iVar2;\n int local_2c;\n byte *local_28;\n byte *local_20;\n \n local_2c = 0;\n do {\n if (0x81 < local_2c) {\n return 0;\n }\n local_28 = param_1;\n for (local_20 = (&PTR_s_ISO_8859_1_001b34e0)[(long)local_2c * 2... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x38
MOV qword ptr [RBP + -0x38],RDI
MOV dword ptr [RBP + -0x24],0x0
JMP 0x00112d48
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x20],RAX
MOV EAX,dword ptr [RBP + -0x24]
CDQE
SHL RAX,0x4
MOV RDX,RAX
LEA RAX,[0x1b34e0]
MOV RAX,qword ptr [RDX + RAX*0x1]
MOV qword ptr [RBP +... |
int function_1(char *name)
{
int var_5;
int var_6;
char *name_local;
int var_1;
char *var_4;
char *var_2;
var_1 = 0;
do {
if (0x81 < var_1) {
return 0;
}
var_4 = name;
for (var_2 = mimeencs[var_1].name; (*var_4 != '\0' || (*var_2 != '\0')); var_2 = var_2 + 1) {
var_5 = v... | (translation_unit "int charset_from_mimeenc(char *name)\n\n{\n int iVar1;\n int iVar2;\n char *name_local;\n int i;\n char *p;\n char *q;\n \n i = 0;\n do {\n if (0x81 < i) {\n return 0;\n }\n p = name;\n for (q = mimeencs[i].name; (*p != '\0' || (*q != '\0')); q = q + 1) {\n iVar1 = tolo... | (translation_unit "int function_1(char *name)\n\n{\n int var_5;\n int var_6;\n char *name_local;\n int var_1;\n char *var_4;\n char *var_2;\n \n var_1 = 0;\n do {\n if (0x81 < var_1) {\n return 0;\n }\n var_4 = name;\n for (var_2 = mimeencs[var_1].name; (*var_4 != '\0' || (*var_2 != '\0')); va... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
1163_pscp_and_pscp_strip.c | share_dead_xchannel_respond | FUN_0017a500 | share_dead_xchannel_respond |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void share_dead_xchannel_respond(ssh_sharing_connstate *cs,share_xchannel *xc)
{
long lVar1;
share_xchannel_message *ptr;
bool bVar2;
int iVar3;
long in_FS_OFFSET;
share_xchannel *xc_local;
ssh_sharing_connstate *cs_local;
int d... |
void FUN_0017a500(long param_1,undefined4 *param_2)
{
undefined8 *puVar1;
bool bVar2;
int iVar3;
long in_FS_OFFSET;
undefined local_14;
undefined local_13;
undefined local_12;
undefined local_11;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
bVar2 = false;
while (*(long *)(param... | (translation_unit "void FUN_0017a500(long param_1,undefined4 *param_2)\n\n{\n undefined8 *puVar1;\n bool bVar2;\n int iVar3;\n long in_FS_OFFSET;\n undefined local_14;\n undefined local_13;\n undefined local_12;\n undefined local_11;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n bVar2 =... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x20],0x0
JMP 0x0017a63c
MOV RAX,qword ptr [RBP + -0x30]
MOV RAX,qword ptr [RAX + 0x10]
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,q... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *cs,type_2 *xc)
{
long var_8;
type_3 *ptr;
bool bVar2;
int var_3;
long var_1;
type_2 *xc_local;
type_1 *cs_local;
int delete;
int wantreplypos;
type_3 *msg;
type_4 id [4];
var_8 = *(long *)(var_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_dead_xchannel_respond(ssh_sharing_connstate *cs,share_xchannel *xc)\n\n{\n long lVar1;\n share_xchannel_message *ptr;\n bool bVar2;\n int iVar3;\n long in_FS_OFFSET;\n share_xchannel *xc_local;\n ssh_sharing... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *cs,type_2 *xc)\n\n{\n long var_8;\n type_3 *ptr;\n bool bVar2;\n int var_3;\n long var_1;\n type_2 *xc_local;\n type_1 *cs_local;\n int delete;\n int wantreplypos;\n type_3 *msg;\n type_4 id... | (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... |
1162_pscp_and_pscp_strip.c | share_xchannel_add_message | FUN_0017a461 | share_xchannel_add_message |
share_xchannel_message * share_xchannel_add_message(share_xchannel *xc,int type,int len)
{
share_xchannel_message *psVar1;
int len_local;
int type_local;
share_xchannel *xc_local;
uchar *block;
share_xchannel_message *msg;
psVar1 = (share_xchannel_message *)safemalloc((long)len + 0x20,1);
psVar1->d... |
undefined8 * FUN_0017a461(long param_1,undefined4 param_2,int param_3)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)FUN_0010fdaa((long)param_3 + 0x20,1);
puVar1[2] = puVar1 + 4;
*(int *)(puVar1 + 3) = param_3;
*(undefined4 *)(puVar1 + 1) = param_2;
if (*(long *)(param_1 + 0x18) == 0) {
*(undefined8... | (translation_unit "undefined8 * FUN_0017a461(long param_1,undefined4 param_2,int param_3)\n\n{\n undefined8 *puVar1;\n \n puVar1 = (undefined8 *)FUN_0010fdaa((long)param_3 + 0x20,1);\n puVar1[2] = puVar1 + 4;\n *(int *)(puVar1 + 3) = param_3;\n *(undefined4 *)(puVar1 + 1) = param_2;\n if (*(long *)(param_1 + 0x1... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV dword ptr [RBP + -0x20],EDX
MOV EAX,dword ptr [RBP + -0x20]
CDQE
ADD RAX,0x20
MOV ESI,0x1
MOV RDI,RAX
CALL 0x0010fdaa
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV qword ptr [RBP + -0x8],RAX
MOV R... |
type_1 * function_1(type_2 *xc,int type,int len)
{
type_1 *var_2;
int len_local;
int type_local;
type_2 *xc_local;
type_3 *block;
type_1 *msg;
var_2 = (type_1 *)var_1((long)len + 0x20,1);
var_2->data = (type_3 *)(var_2 + 1);
var_2->datalen = len;
var_2->type = type;
if (xc->msgtail == (type_1... | (translation_unit "share_xchannel_message * share_xchannel_add_message(share_xchannel *xc,int type,int len)\n\n{\n share_xchannel_message *psVar1;\n int len_local;\n int type_local;\n share_xchannel *xc_local;\n uchar *block;\n share_xchannel_message *msg;\n \n psVar1 = (share_xchannel_message *)safemalloc((lon... | (translation_unit "type_1 * function_1(type_2 *xc,int type,int len)\n\n{\n type_1 *var_2;\n int len_local;\n int type_local;\n type_2 *xc_local;\n type_3 *block;\n type_1 *msg;\n \n var_2 = (type_1 *)var_1((long)len + 0x20,1);\n var_2->data = (type_3 *)(var_2 + 1);\n var_2->datalen = len;\n var_2->type = typ... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (pri... |
769_puttytel_and_puttytel_strip.c | raw_send | FUN_0012f1a7 | raw_send |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int raw_send(void *handle,char *buf,int len)
{
undefined4 uVar1;
int iVar2;
int len_local;
char *buf_local;
void *handle_local;
Raw raw;
if (*(long *)((long)handle + 8) == 0) {
iVar2 = 0;
}
else {
uVar1 = (**(code *... |
undefined4 FUN_0012f1a7(long param_1,undefined8 param_2,undefined4 param_3)
{
undefined4 uVar1;
if (*(long *)(param_1 + 8) == 0) {
uVar1 = 0;
}
else {
uVar1 = (**(code **)(**(long **)(param_1 + 8) + 0x10))
(*(undefined8 *)(param_1 + 8),param_2,param_3);
*(undefined4 *)(par... | (translation_unit "undefined4 FUN_0012f1a7(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n undefined4 uVar1;\n \n if (*(long *)(param_1 + 8) == 0) {\n uVar1 = 0;\n }\n else {\n uVar1 = (**(code **)(**(long **)(param_1 + 8) + 0x10))\n (*(undefined8 *)(param_1 + 8),param_2,param... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
TEST RAX,RAX
JNZ 0x0012f1d6
MOV EAX,0x0
JMP 0x0012f209
MOV RAX,qwo... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *handle,char *buf,int len)
{
type_1 uVar1;
int iVar2;
int len_local;
char *buf_local;
void *handle_local;
type_2 raw;
if (*(long *)((long)handle + 8) == 0) {
iVar2 = 0;
}
else {
uVar1 = (**(type_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint raw_send(void *handle,char *buf,int len)\n\n{\n undefined4 uVar1;\n int iVar2;\n int len_local;\n char *buf_local;\n void *handle_local;\n Raw raw;\n \n if (*(long *)((long)handle + 8) == 0) {\n iVar2 = 0;\n }... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *handle,char *buf,int len)\n\n{\n type_1 uVar1;\n int iVar2;\n int len_local;\n char *buf_local;\n void *handle_local;\n type_2 raw;\n \n if (*(long *)((long)handle + 8) == 0) {\n iVar2 = 0;\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))) (parameter_declaration type: (primitive_type) declarator:... |
980_puttytel_and_puttytel_strip.c | columns_base_add | FUN_0014f09b | columns_base_add |
void columns_base_add(GtkContainer *container,GtkWidget *widget)
{
GType GVar1;
Columns *cols_00;
GtkWidget *widget_local;
GtkContainer *container_local;
gboolean __r;
GTypeInstance *__inst;
GType __t;
Columns *cols;
if (container == (GtkContainer *)0x0) {
g_return_if_fail_warning(0,"columns_... |
void FUN_0014f09b(long *param_1,long param_2)
{
long lVar1;
undefined8 uVar2;
int local_24;
if (param_1 == (long *)0x0) {
g_return_if_fail_warning(0,"columns_base_add","container != NULL");
}
else {
lVar1 = FUN_0014ebf9();
if (param_1 == (long *)0x0) {
local_24 = 0;
}
else if ... | (translation_unit "void FUN_0014f09b(long *param_1,long param_2)\n\n{\n long lVar1;\n undefined8 uVar2;\n int local_24;\n \n if (param_1 == (long *)0x0) {\n g_return_if_fail_warning(0,"columns_base_add","container != NULL");\n }\n else {\n lVar1 = FUN_0014ebf9();\n if (param_1 == (long *)0x0) {\n l... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
CMP qword ptr [RBP + -0x28],0x0
JNZ 0x0014f0cf
LEA RDX,[0x1a0eaa]
LEA RSI,[0x1a1020]
MOV EDI,0x0
CALL 0x00110210
JMP 0x0014f1a2
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x18],RAX
CALL 0x0014ebf9
MOV qword ptr ... |
void function_1(type_1 *var_1,type_2 *var_7)
{
type_3 var_4;
type_4 *cols_00;
type_2 *widget_local;
type_1 *container_local;
type_5 var_6;
type_6 *__inst;
type_3 __t;
type_4 *cols;
if (var_1 == (type_1 *)0x0) {
var_2(0,"columns_base_add","container != NULL");
}
else {
var_4 = var_3();... | (translation_unit "void columns_base_add(GtkContainer *container,GtkWidget *widget)\n\n{\n GType GVar1;\n Columns *cols_00;\n GtkWidget *widget_local;\n GtkContainer *container_local;\n gboolean __r;\n GTypeInstance *__inst;\n GType __t;\n Columns *cols;\n \n if (container == (GtkContainer *)0x0) {\n g_ret... | (translation_unit "void function_1(type_1 *var_1,type_2 *var_7)\n\n{\n type_3 var_4;\n type_4 *cols_00;\n type_2 *widget_local;\n type_1 *container_local;\n type_5 var_6;\n type_6 *__inst;\n type_3 __t;\n type_4 *cols;\n \n if (var_1 == (type_1 *)0x0) {\n var_2(0,"columns_base_add","container != NULL");\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: (type_identifier) declarator: (pointe... |
788_puttytel_and_puttytel_strip.c | rlogin_init | FUN_0012f827 | rlogin_init |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * rlogin_init(void *frontend_handle,void **backend_handle,Conf *conf,char *host,int port,
char **realhost,int nodelay,int keepalive)
{
int iVar1;
wchar_t wVar2;
Rlogin rlogin_00;
Conf *pCVar3;
SockAddr addr_00;
... |
long FUN_0012f827(undefined8 param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4,
int param_5,undefined8 *param_6,undefined4 param_7,undefined4 param_8)
{
undefined4 uVar1;
int iVar2;
undefined8 *puVar3;
undefined8 uVar4;
long lVar5;
char *pcVar6;
undefined *puVar7;
int ... | (translation_unit "long FUN_0012f827(undefined8 param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4,\n int param_5,undefined8 *param_6,undefined4 param_7,undefined4 param_8)\n\n{\n undefined4 uVar1;\n int iVar2;\n undefined8 *puVar3;\n undefined8 uVar4;\n long lVar5;\n char *pcVar6;\... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x78
MOV qword ptr [RBP + -0x58],RDI
MOV qword ptr [RBP + -0x60],RSI
MOV qword ptr [RBP + -0x68],RDX
MOV qword ptr [RBP + -0x70],RCX
MOV dword ptr [RBP + -0x74],R8D
MOV qword ptr [RBP + -0x80],R9
MOV ESI,0x40
MOV EDI,0x1
CALL 0x001297e1
MOV qword ptr [RBP + -0x40],RAX
MOV RAX,qword... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * function_1(void *frontend_handle,void **backend_handle,type_1 *conf,char *host,int var_7,
char **realhost,int nodelay,int keepalive)
{
int iVar1;
type_2 var_17;
type_3 rlogin_00;
type_1 *pCVar3;
type_4 addr_00... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * rlogin_init(void *frontend_handle,void **backend_handle,Conf *conf,char *host,int port,\n char **realhost,int nodelay,int keepalive)\n\n{\n int iVar1;\n wchar_t wVar2;\n Rlogin rlogin_00;\n Conf *p... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * function_1(void *frontend_handle,void **backend_handle,type_1 *conf,char *host,int var_7,\n char **realhost,int nodelay,int keepalive)\n\n{\n int iVar1;\n type_2 var_17;\n type_3 rlogin_00;\n type_... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration ty... |
708_puttytel_and_puttytel_strip.c | bufchain_consume | FUN_00129560 | bufchain_consume |
void bufchain_consume(bufchain *ch,int len)
{
bufchain_granule *ptr;
int len_local;
bufchain *ch_local;
int remlen;
bufchain_granule *tmp;
len_local = len;
if (ch->buffersize < len) {
/* WARNING: Subroutine does not return */
__assert_fail("ch->buffersize >= len","misc.c",0x2c... |
void FUN_00129560(long *param_1,int param_2)
{
long *plVar1;
int local_24;
int local_14;
local_24 = param_2;
if (*(int *)(param_1 + 2) < param_2) {
/* WARNING: Subroutine does not return */
__assert_fail("ch->buffersize >= len","misc.c",0x2c4,"bufchain_consume");
}
while( true... | (translation_unit "void FUN_00129560(long *param_1,int param_2)\n\n{\n long *plVar1;\n int local_24;\n int local_14;\n \n local_24 = param_2;\n if (*(int *)(param_1 + 2) < param_2) {\n /* WARNING: Subroutine does not return */\n __assert_fail("ch->buffersize >= len","misc.c",0x2c4,"bufchain_... | 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 EAX,dword ptr [RAX + 0x10]
CMP dword ptr [RBP + -0x1c],EAX
JLE 0x0012968c
LEA RCX,[0x19de10]
MOV EDX,0x2c4
LEA RSI,[0x19dc61]
LEA RDI,[0x19dc7b]
CALL 0x001109a0
MOV EAX,dword ptr [RBP + ... |
void function_1(type_1 *ch,int var_1)
{
type_2 *ptr;
int var_3;
type_1 *ch_local;
int var_5;
type_2 *tmp;
var_3 = var_1;
if (ch->buffersize < var_1) {
/* WARNING: Subroutine does not return */
var_2("ch->buffersize >= len","misc.c",0x2c4,"bufchain_consume");
}
while( true ... | (translation_unit "void bufchain_consume(bufchain *ch,int len)\n\n{\n bufchain_granule *ptr;\n int len_local;\n bufchain *ch_local;\n int remlen;\n bufchain_granule *tmp;\n \n len_local = len;\n if (ch->buffersize < len) {\n /* WARNING: Subroutine does not return */\n __assert_fail("ch->bu... | (translation_unit "void function_1(type_1 *ch,int var_1)\n\n{\n type_2 *ptr;\n int var_3;\n type_1 *ch_local;\n int var_5;\n type_2 *tmp;\n \n var_3 = var_1;\n if (ch->buffersize < var_1) {\n /* WARNING: Subroutine does not return */\n var_2("ch->buffersize >= len","misc.c",0x2c4,"bufchain... | (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... |
1364_pscp_and_pscp_strip.c | uxsel_init | FUN_0018a4ee | uxsel_init |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void uxsel_init(void)
{
fds = newtree234(uxsel_fd_cmp);
return;
}
|
void FUN_0018a4ee(void)
{
DAT_001b6240 = FUN_00180c0d(FUN_0018a44c);
return;
}
| (translation_unit "void FUN_0018a4ee(void)\n\n{\n DAT_001b6240 = FUN_00180c0d(FUN_0018a44c);\n return;\n}\n\n" (function_definition "void FUN_0018a4ee(void)\n\n{\n DAT_001b6240 = FUN_00180c0d(FUN_0018a44c);\n return;\n}" primitive_type (function_declarator "FUN_0018a4ee(void)" identifier (parameter_list "(void)" ( ... | PUSH RBP
MOV RBP,RSP
LEA RDI,[0x18a44c]
CALL 0x00180c0d
MOV qword ptr [0x001b6240],RAX
NOP
POP RBP
RET |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
fds = var_1(uxsel_fd_cmp);
return;
}
| (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid uxsel_init(void)\n\n{\n fds = newtree234(uxsel_fd_cmp);\n return;\n}\n\n" comment (function_definition "void uxsel_init(void)\n\n{\n fds = newtree234(uxsel_fd_cmp);\n return;\n}" primitive_type (function_declarat... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n fds = var_1(uxsel_fd_cmp);\n return;\n}\n\n" comment (function_definition "void function_1(void)\n\n{\n fds = var_1(uxsel_fd_cmp);\n return;\n}" primitive_type (function_declarator "functi... | (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 (assignment_expression left: (identifier) right: (call_expression... |
1479_pscp_and_pscp_strip.c | fstat64 | FUN_00191380 | fstat64 |
int fstat64(int __fd,stat64 *__buf)
{
int iVar1;
iVar1 = __fxstat64(1,__fd,__buf);
return iVar1;
}
|
void FUN_00191380(int param_1,stat64 *param_2)
{
__fxstat64(1,param_1,param_2);
return;
}
| (translation_unit "void FUN_00191380(int param_1,stat64 *param_2)\n\n{\n __fxstat64(1,param_1,param_2);\n return;\n}\n\n" (function_definition "void FUN_00191380(int param_1,stat64 *param_2)\n\n{\n __fxstat64(1,param_1,param_2);\n return;\n}" primitive_type (function_declarator "FUN_00191380(int param_1,stat64 *par... | MOV RDX,RSI
MOV ESI,EDI
MOV EDI,0x1
JMP 0x001074c0 |
int function_1(int __fd,type_1 *__buf)
{
int iVar1;
iVar1 = var_1(1,__fd,__buf);
return iVar1;
}
| (translation_unit "int fstat64(int __fd,stat64 *__buf)\n\n{\n int iVar1;\n \n iVar1 = __fxstat64(1,__fd,__buf);\n return iVar1;\n}\n\n" (function_definition "int fstat64(int __fd,stat64 *__buf)\n\n{\n int iVar1;\n \n iVar1 = __fxstat64(1,__fd,__buf);\n return iVar1;\n}" primitive_type (function_declarator "fsta... | (translation_unit "int function_1(int __fd,type_1 *__buf)\n\n{\n int iVar1;\n \n iVar1 = var_1(1,__fd,__buf);\n return iVar1;\n}\n\n" (function_definition "int function_1(int __fd,type_1 *__buf)\n\n{\n int iVar1;\n \n iVar1 = var_1(1,__fd,__buf);\n return iVar1;\n}" primitive_type (function_declarator "function... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifi... |
1341_pscp_and_pscp_strip.c | pollwrap_poll_endless | FUN_00189406 | pollwrap_poll_endless |
int pollwrap_poll_endless(pollwrapper *pw)
{
int iVar1;
pollwrapper *pw_local;
iVar1 = poll((pollfd *)pw->fds,pw->nfd,-1);
return iVar1;
}
|
void FUN_00189406(undefined8 *param_1)
{
poll((pollfd *)*param_1,param_1[1],-1);
return;
}
| (translation_unit "void FUN_00189406(undefined8 *param_1)\n\n{\n poll((pollfd *)*param_1,param_1[1],-1);\n return;\n}\n\n" (function_definition "void FUN_00189406(undefined8 *param_1)\n\n{\n poll((pollfd *)*param_1,param_1[1],-1);\n return;\n}" primitive_type (function_declarator "FUN_00189406(undefined8 *param_1)"... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RCX,qword ptr [RAX + 0x8]
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV EDX,0xffffffff
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00107640
LEAVE
RET |
int function_1(type_1 *pw)
{
int iVar1;
type_1 *pw_local;
iVar1 = var_1((type_2 *)pw->fds,pw->nfd,-1);
return iVar1;
}
| (translation_unit "int pollwrap_poll_endless(pollwrapper *pw)\n\n{\n int iVar1;\n pollwrapper *pw_local;\n \n iVar1 = poll((pollfd *)pw->fds,pw->nfd,-1);\n return iVar1;\n}\n\n" (function_definition "int pollwrap_poll_endless(pollwrapper *pw)\n\n{\n int iVar1;\n pollwrapper *pw_local;\n \n iVar1 = poll((pollfd... | (translation_unit "int function_1(type_1 *pw)\n\n{\n int iVar1;\n type_1 *pw_local;\n \n iVar1 = var_1((type_2 *)pw->fds,pw->nfd,-1);\n return iVar1;\n}\n\n" (function_definition "int function_1(type_1 *pw)\n\n{\n int iVar1;\n type_1 *pw_local;\n \n iVar1 = var_1((type_2 *)pw->fds,pw->nfd,-1);\n return iVar1;... | (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... |
1202_pscp_and_pscp_strip.c | ltime | FUN_00180776 | ltime |
/* WARNING: Unknown calling convention */
tm * ltime(void)
{
long lVar1;
int iVar2;
int iVar3;
int iVar4;
undefined4 uVar5;
tm *ptVar6;
tm *in_RDI;
long in_FS_OFFSET;
time_t t;
long local_20;
local_20 = *(long *)(in_FS_OFFSET + 0x28);
time(&t);
if (t == -1) {
/* WARNI... |
undefined8 * FUN_00180776(undefined8 *param_1)
{
undefined8 uVar1;
long lVar2;
tm *ptVar3;
long in_FS_OFFSET;
long local_28;
long local_20;
local_20 = *(long *)(in_FS_OFFSET + 0x28);
time(&local_28);
if (local_28 == -1) {
/* WARNING: Subroutine does not return */
__assert_... | (translation_unit "undefined8 * FUN_00180776(undefined8 *param_1)\n\n{\n undefined8 uVar1;\n long lVar2;\n tm *ptVar3;\n long in_FS_OFFSET;\n long local_28;\n long local_20;\n \n local_20 = *(long *)(in_FS_OFFSET + 0x28);\n time(&local_28);\n if (local_28 == -1) {\n /* WARNING: Subroutine d... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x28
MOV qword ptr [RBP + -0x28],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
LEA RAX,[RBP + -0x20]
MOV RDI,RAX
CALL 0x00107550
MOV RAX,qword ptr [RBP + -0x20]
CMP RAX,-0x1
JNZ 0x001807c7
LEA RCX,[0x1a1bbc]
MOV EDX,0xe
LEA RSI,[0x1a1ba3]
LEA RDI,[0x1a... |
/* WARNING: Unknown calling convention */
type_1 * function_1(void)
{
long lVar1;
int iVar2;
int iVar3;
int iVar4;
type_2 uVar5;
type_1 *ptVar6;
type_1 *in_RDI;
long var_1;
type_3 var_3;
long var_6;
var_6 = *(long *)(var_1 + 0x28);
var_2(&var_3);
if (var_3 == -1) {
/*... | (translation_unit "/* WARNING: Unknown calling convention */\n\ntm * ltime(void)\n\n{\n long lVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n undefined4 uVar5;\n tm *ptVar6;\n tm *in_RDI;\n long in_FS_OFFSET;\n time_t t;\n long local_20;\n \n local_20 = *(long *)(in_FS_OFFSET + 0x28);\n time(&t);\n if (t =... | (translation_unit "/* WARNING: Unknown calling convention */\n\ntype_1 * function_1(void)\n\n{\n long lVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n type_2 uVar5;\n type_1 *ptVar6;\n type_1 *in_RDI;\n long var_1;\n type_3 var_3;\n long var_6;\n \n var_6 = *(long *)(var_1 + 0x28);\n var_2(&var_3);\n if (v... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator:... |
1139_pscp_and_pscp_strip.c | share_add_halfchannel | FUN_00178c77 | share_add_halfchannel |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
share_halfchannel * share_add_halfchannel(ssh_sharing_connstate *cs,uint server_id)
{
share_halfchannel *e;
share_halfchannel *psVar1;
uint server_id_local;
ssh_sharing_connstate *cs_local;
share_halfchannel *hc;
e = (share_halfc... |
undefined4 * FUN_00178c77(long param_1,undefined4 param_2)
{
undefined4 *puVar1;
undefined4 *puVar2;
puVar1 = (undefined4 *)FUN_0010fdaa(1,4);
*puVar1 = param_2;
puVar2 = (undefined4 *)FUN_00181a5f(*(undefined8 *)(param_1 + 0x4048),puVar1);
if (puVar1 != puVar2) {
FUN_0010ffb6(puVar1);
puVar1 =... | (translation_unit "undefined4 * FUN_00178c77(long param_1,undefined4 param_2)\n\n{\n undefined4 *puVar1;\n undefined4 *puVar2;\n \n puVar1 = (undefined4 *)FUN_0010fdaa(1,4);\n *puVar1 = param_2;\n puVar2 = (undefined4 *)FUN_00181a5f(*(undefined8 *)(param_1 + 0x4048),puVar1);\n if (puVar1 != puVar2) {\n FUN_00... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV ESI,0x4
MOV EDI,0x1
CALL 0x0010fdaa
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr [RBP + -0x1c]
MOV dword ptr [RAX],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x4048]... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 *cs,type_3 server_id)
{
type_1 *var_3;
type_1 *var_4;
type_3 server_id_local;
type_2 *cs_local;
type_1 *hc;
var_3 = (type_1 *)var_1(1,4);
var_3->server_id = server_id;
var_4 = (type_1 *)var_2(cs->ha... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nshare_halfchannel * share_add_halfchannel(ssh_sharing_connstate *cs,uint server_id)\n\n{\n share_halfchannel *e;\n share_halfchannel *psVar1;\n uint server_id_local;\n ssh_sharing_connstate *cs_local;\n share_halfchannel... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *cs,type_3 server_id)\n\n{\n type_1 *var_3;\n type_1 *var_4;\n type_3 server_id_local;\n type_2 *cs_local;\n type_1 *hc;\n \n var_3 = (type_1 *)var_1(1,4);\n var_3->server_id = server_id;\n ... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration ... |
902_puttytel_and_puttytel_strip.c | term_free | FUN_0013c8f7 | term_free |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void term_free(Terminal *term)
{
beeptime *ptr;
void *ptr_00;
termline *ptVar1;
Terminal *term_local;
wchar_t i;
termline *line;
beeptime *beep;
while( true ) {
ptr_00 = delpos234(term->scrollback,0);
if (ptr_00 == (v... |
void FUN_0013c8f7(long param_1)
{
undefined8 *puVar1;
long lVar2;
undefined4 local_1c;
while( true ) {
lVar2 = FUN_0014e53e(*(undefined8 *)(param_1 + 8),0);
if (lVar2 == 0) break;
FUN_001299ed(lVar2);
}
FUN_0014c46f(*(undefined8 *)(param_1 + 8));
while( true ) {
lVar2 = FUN_0014e53e(*... | (translation_unit "void FUN_0013c8f7(long param_1)\n\n{\n undefined8 *puVar1;\n long lVar2;\n undefined4 local_1c;\n \n while( true ) {\n lVar2 = FUN_0014e53e(*(undefined8 *)(param_1 + 8),0);\n if (lVar2 == 0) break;\n FUN_001299ed(lVar2);\n }\n FUN_0014c46f(*(undefined8 *)(param_1 + 8));\n while( true... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
JMP 0x0013c911
MOV RAX,qword ptr [RBP + -0x10]
MOV RDI,RAX
CALL 0x001299ed
MOV RAX,qword ptr [RBP + -0x28]
MOV RAX,qword ptr [RAX + 0x8]
MOV ESI,0x0
MOV RDI,RAX
CALL 0x0014e53e
MOV qword ptr [RBP + -0x10],RAX
CMP qword ptr [RBP + -0x10],0x0
JNZ 0x0013c90... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *term)
{
type_2 *ptr;
void *var_2;
type_3 *var_5;
type_1 *term_local;
type_4 var_7;
type_3 *line;
type_2 *beep;
while( true ) {
var_2 = var_1(term->scrollback,0);
if (var_2 == (void *)0x0) break... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_free(Terminal *term)\n\n{\n beeptime *ptr;\n void *ptr_00;\n termline *ptVar1;\n Terminal *term_local;\n wchar_t i;\n termline *line;\n beeptime *beep;\n \n while( true ) {\n ptr_00 = delpos234(term->scr... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term)\n\n{\n type_2 *ptr;\n void *var_2;\n type_3 *var_5;\n type_1 *term_local;\n type_4 var_7;\n type_3 *line;\n type_2 *beep;\n \n while( true ) {\n var_2 = var_1(term->scrollback,0);\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_ide... |
657_puttytel_and_puttytel_strip.c | logfopen | FUN_00123fa7 | logfopen |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void logfopen(void *handle)
{
long lVar1;
int iVar2;
char *hostname;
Filename *pFVar3;
FILE *__stream;
long in_FS_OFFSET;
void *handle_local;
int mode;
int logxfovr;
LogContext *ctx;
FILE *fp;
tm tm;
lVar1 = *(long ... |
void FUN_00123fa7(long param_1)
{
undefined4 uVar1;
undefined8 uVar2;
undefined8 uVar3;
long in_FS_OFFSET;
undefined8 local_c8;
undefined8 local_c0;
undefined8 local_b8;
undefined8 local_b0;
undefined8 local_a8;
undefined8 local_a0;
undefined8 local_98;
long local_80;
int local_70;
int loc... | (translation_unit "void FUN_00123fa7(long param_1)\n\n{\n undefined4 uVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n long in_FS_OFFSET;\n undefined8 local_c8;\n undefined8 local_c0;\n undefined8 local_b8;\n undefined8 local_b0;\n undefined8 local_a8;\n undefined8 local_a0;\n undefined8 local_98;\n long loc... | PUSH RBP
MOV RBP,RSP
PUSH R12
PUSH RBX
SUB RSP,0xb0
MOV qword ptr [RBP + -0x78],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x78]
MOV qword ptr [RBP + -0x60],RAX
MOV RAX,qword ptr [RBP + -0x60]
MOV EAX,dword ptr [RAX + 0x8]
TEST EAX,EAX
JNZ 0x0012418c
MOV RAX,qw... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *handle)
{
long var_15;
int var_11;
char *hostname;
type_1 *pFVar3;
type_2 *var_9;
long var_1;
void *handle_local;
int var_13;
int logxfovr;
type_3 *ctx;
type_2 *fp;
type_4 type_4;
var_15 = *(lo... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid logfopen(void *handle)\n\n{\n long lVar1;\n int iVar2;\n char *hostname;\n Filename *pFVar3;\n FILE *__stream;\n long in_FS_OFFSET;\n void *handle_local;\n int mode;\n int logxfovr;\n LogContext *ctx;\n FILE *... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *handle)\n\n{\n long var_15;\n int var_11;\n char *hostname;\n type_1 *pFVar3;\n type_2 *var_9;\n long var_1;\n void *handle_local;\n int var_13;\n int logxfovr;\n type_3 *ctx;\n type_2 *fp;\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: (sized_typ... |
1159_pscp_and_pscp_strip.c | getstring_inner | FUN_0017a2ca | getstring_inner |
int getstring_inner(void *vdata,int datalen,char **out,int *outlen)
{
int iVar1;
uint uVar2;
char *pcVar3;
int *outlen_local;
char **out_local;
int datalen_local;
void *vdata_local;
int len;
uchar *data;
if (datalen < 4) {
iVar1 = 0;
}
else {
/* WARNING: Load size is... |
undefined8 FUN_0017a2ca(byte *param_1,int param_2,undefined8 *param_3,int *param_4)
{
int iVar1;
undefined8 uVar2;
if (param_2 < 4) {
uVar2 = 0;
}
else {
iVar1 = FUN_0010f006((uint)param_1[3] |
(uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[2] << 8);
... | (translation_unit "undefined8 FUN_0017a2ca(byte *param_1,int param_2,undefined8 *param_3,int *param_4)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n if (param_2 < 4) {\n uVar2 = 0;\n }\n else {\n iVar1 = FUN_0010f006((uint)param_1[3] |\n (uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV qword ptr [RBP + -0x28],RDX
MOV qword ptr [RBP + -0x30],RCX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
CMP dword ptr [RBP + -0x1c],0x3
JG 0x0017a2f9
MOV EAX,0x0
JMP 0x0017a3a7
MOV RAX,qword ptr [RBP... |
int function_1(void *var_3,int var_1,char **var_6,int *var_4)
{
int iVar1;
type_1 var_5;
char *pcVar3;
int *outlen_local;
char **out_local;
int datalen_local;
void *vdata_local;
int len;
type_2 *data;
if (var_1 < 4) {
iVar1 = 0;
}
else {
/* WARNING: Load size is inac... | (translation_unit "int getstring_inner(void *vdata,int datalen,char **out,int *outlen)\n\n{\n int iVar1;\n uint uVar2;\n char *pcVar3;\n int *outlen_local;\n char **out_local;\n int datalen_local;\n void *vdata_local;\n int len;\n uchar *data;\n \n if (datalen < 4) {\n iVar1 = 0;\n }\n else {\n ... | (translation_unit "int function_1(void *var_3,int var_1,char **var_6,int *var_4)\n\n{\n int iVar1;\n type_1 var_5;\n char *pcVar3;\n int *outlen_local;\n char **out_local;\n int datalen_local;\n void *vdata_local;\n int len;\n type_2 *data;\n \n if (var_1 < 4) {\n iVar1 = 0;\n }\n else {\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifi... |
1007_puttytel_and_puttytel_strip.c | columns_get_preferred_height_for_width | FUN_00151337 | columns_get_preferred_height_for_width |
void columns_get_preferred_height_for_width(GtkWidget *widget,gint width,gint *min,gint *nat)
{
gint gVar1;
GType GVar2;
Columns *cols_00;
gint *nat_local;
gint *min_local;
gint width_local;
GtkWidget *widget_local;
gboolean __r;
GTypeInstance *__inst;
GType __t;
Columns *cols;
if (widget =... |
void FUN_00151337(long *param_1,undefined4 param_2,undefined4 *param_3,undefined4 *param_4)
{
undefined4 uVar1;
long lVar2;
undefined8 uVar3;
int local_24;
if (param_1 == (long *)0x0) {
g_return_if_fail_warning(0,"columns_get_preferred_height_for_width","widget != NULL");
}
else {
lVar2 = FUN... | (translation_unit "void FUN_00151337(long *param_1,undefined4 param_2,undefined4 *param_3,undefined4 *param_4)\n\n{\n undefined4 uVar1;\n long lVar2;\n undefined8 uVar3;\n int local_24;\n \n if (param_1 == (long *)0x0) {\n g_return_if_fail_warning(0,"columns_get_preferred_height_for_width","widget != NULL");\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
MOV qword ptr [RBP + -0x38],RDX
MOV qword ptr [RBP + -0x40],RCX
CMP qword ptr [RBP + -0x28],0x0
JNZ 0x00151372
LEA RDX,[0x1a0e88]
LEA RSI,[0x1a1180]
MOV EDI,0x0
CALL 0x00110210
JMP 0x00151466
MOV RAX,qword ptr [RBP + -0x28... |
void function_1(type_1 *var_1,type_2 width,type_2 *var_9,type_2 *var_11)
{
type_2 gVar1;
type_3 var_4;
type_4 *cols_00;
type_2 *nat_local;
type_2 *min_local;
type_2 width_local;
type_1 *widget_local;
type_5 var_6;
type_6 *__inst;
type_3 __t;
type_4 *cols;
if (var_1 == (type_1 *)0x0) {
v... | (translation_unit "void columns_get_preferred_height_for_width(GtkWidget *widget,gint width,gint *min,gint *nat)\n\n{\n gint gVar1;\n GType GVar2;\n Columns *cols_00;\n gint *nat_local;\n gint *min_local;\n gint width_local;\n GtkWidget *widget_local;\n gboolean __r;\n GTypeInstance *__inst;\n GType __t;\n C... | (translation_unit "void function_1(type_1 *var_1,type_2 width,type_2 *var_9,type_2 *var_11)\n\n{\n type_2 gVar1;\n type_3 var_4;\n type_4 *cols_00;\n type_2 *nat_local;\n type_2 *min_local;\n type_2 width_local;\n type_1 *widget_local;\n type_5 var_6;\n type_6 *__inst;\n type_3 __t;\n type_4 *cols;\n \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: (type_identifier) declarator: (identi... |
1213_pscp_and_pscp_strip.c | countnode234 | FUN_00180cd7 | countnode234 |
int countnode234(node234_conflict *n)
{
node234_conflict *n_local;
int count;
int i;
count = 0;
if (n == (node234_conflict *)0x0) {
count = 0;
}
else {
for (i = 0; i < 4; i = i + 1) {
count = count + n->counts[i];
}
for (i = 0; i < 3; i = i + 1) {
if (n->elems[i] != (void ... |
int FUN_00180cd7(long param_1)
{
undefined4 local_10;
undefined4 local_c;
local_10 = 0;
if (param_1 == 0) {
local_10 = 0;
}
else {
for (local_c = 0; local_c < 4; local_c = local_c + 1) {
local_10 = local_10 + *(int *)(param_1 + 8 + ((long)local_c + 8) * 4);
}
for (local_c = 0; loc... | (translation_unit "int FUN_00180cd7(long param_1)\n\n{\n undefined4 local_10;\n undefined4 local_c;\n \n local_10 = 0;\n if (param_1 == 0) {\n local_10 = 0;\n }\n else {\n for (local_c = 0; local_c < 4; local_c = local_c + 1) {\n local_10 = local_10 + *(int *)(param_1 + 8 + ((long)local_c + 8) * 4);\n... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x8],0x0
CMP qword ptr [RBP + -0x18],0x0
JNZ 0x00180cf4
MOV EAX,0x0
JMP 0x00180d4e
MOV dword ptr [RBP + -0x4],0x0
JMP 0x00180d16
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX,dword ptr [RBP + -0x4]
MOVSXD RDX,EDX
ADD RDX,0x8
MOV EAX,dword ptr [RAX + R... |
int function_1(type_1 *var_1)
{
type_1 *n_local;
int var_3;
int var_2;
var_3 = 0;
if (var_1 == (type_1 *)0x0) {
var_3 = 0;
}
else {
for (var_2 = 0; var_2 < 4; var_2 = var_2 + 1) {
var_3 = var_3 + var_1->counts[var_2];
}
for (var_2 = 0; var_2 < 3; var_2 = var_2 + 1) {
if (v... | (translation_unit "int countnode234(node234_conflict *n)\n\n{\n node234_conflict *n_local;\n int count;\n int i;\n \n count = 0;\n if (n == (node234_conflict *)0x0) {\n count = 0;\n }\n else {\n for (i = 0; i < 4; i = i + 1) {\n count = count + n->counts[i];\n }\n for (i = 0; i < 3; i = i + 1) ... | (translation_unit "int function_1(type_1 *var_1)\n\n{\n type_1 *n_local;\n int var_3;\n int var_2;\n \n var_3 = 0;\n if (var_1 == (type_1 *)0x0) {\n var_3 = 0;\n }\n else {\n for (var_2 = 0; var_2 < 4; var_2 = var_2 + 1) {\n var_3 = var_3 + var_1->counts[var_2];\n }\n for (var_2 = 0; var_2 < 3;... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
658_puttytel_and_puttytel_strip.c | logfclose | FUN_001241b0 | logfclose |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void logfclose(void *handle)
{
void *handle_local;
LogContext *ctx;
/* WARNING: Load size is inaccurate */
if (*handle != 0) {
/* WARNING: Load size is inaccurate */
fclose(*handle);
*(un... |
void FUN_001241b0(long *param_1)
{
if (*param_1 != 0) {
fclose((FILE *)*param_1);
*param_1 = 0;
}
*(undefined4 *)(param_1 + 1) = 0;
return;
}
| (translation_unit "void FUN_001241b0(long *param_1)\n\n{\n if (*param_1 != 0) {\n fclose((FILE *)*param_1);\n *param_1 = 0;\n }\n *(undefined4 *)(param_1 + 1) = 0;\n return;\n}\n\n" (function_definition "void FUN_001241b0(long *param_1)\n\n{\n if (*param_1 != 0) {\n fclose((FILE *)*param_1);\n *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]
TEST RAX,RAX
JZ 0x001241ea
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x00110fd0
MOV RAX,qword ptr [RBP + -... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *handle)
{
void *handle_local;
type_1 *ctx;
/* WARNING: Load size is inaccurate */
if (*handle != 0) {
/* WARNING: Load size is inaccurate */
var_1(*handle);
*(type_2... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid logfclose(void *handle)\n\n{\n void *handle_local;\n LogContext *ctx;\n \n /* WARNING: Load size is inaccurate */\n if (*handle != 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 *handle)\n\n{\n void *handle_local;\n type_1 *ctx;\n \n /* WARNING: Load size is inaccurate */\n if (*handle != 0) {\n /* WARNING: Load size is inaccurate */\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... |
1295_pscp_and_pscp_strip.c | sockaddr_is_loopback | FUN_00185bd0 | sockaddr_is_loopback |
int sockaddr_is_loopback(sockaddr *sa)
{
sa_family_t sVar1;
int iVar2;
uint32_t uVar3;
uint32_t uVar4;
uint uVar5;
sockaddr *sa_local;
sockaddr_union *u;
in6_addr *__a;
sVar1 = sa->sa_family;
if (sVar1 == 2) {
uVar5 = *(uint *)(sa->sa_data + 2);
uVar3 = htonl(0xff000000);
uVar4 = ht... |
bool FUN_00185bd0(short *param_1)
{
short sVar1;
uint uVar2;
uint32_t uVar3;
uint32_t uVar4;
bool bVar5;
sVar1 = *param_1;
if (sVar1 == 2) {
uVar2 = *(uint *)(param_1 + 2);
uVar3 = htonl(0xff000000);
uVar4 = htonl(0x7f000000);
bVar5 = (uVar2 & uVar3) == uVar4;
}
else if (sVar1 == ... | (translation_unit "bool FUN_00185bd0(short *param_1)\n\n{\n short sVar1;\n uint uVar2;\n uint32_t uVar3;\n uint32_t uVar4;\n bool bVar5;\n \n sVar1 = *param_1;\n if (sVar1 == 2) {\n uVar2 = *(uint *)(param_1 + 2);\n uVar3 = htonl(0xff000000);\n uVar4 = htonl(0x7f000000);\n bVar5 = (uVar2 & uVar3) ==... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x28
MOV qword ptr [RBP + -0x28],RDI
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOVZX EAX,word ptr [RAX]
MOVZX EAX,AX
CMP EAX,0x2
JZ 0x00185c00
CMP EAX,0xa
JZ 0x00185c27
CMP EAX,0x1
JZ 0x00185c76
JMP 0x00185c7d
MOV RAX,qword ptr ... |
int function_1(type_1 *sa)
{
type_2 var_1;
int var_6;
uint32_t var_4;
uint32_t var_5;
type_3 var_3;
type_1 *sa_local;
type_4 *u;
type_5 *__a;
var_1 = sa->sa_family;
if (var_1 == 2) {
var_3 = *(type_3 *)(sa->sa_data + 2);
var_4 = var_2(0xff000000);
var_5 = var_2(0x7f000000);
var_... | (translation_unit "int sockaddr_is_loopback(sockaddr *sa)\n\n{\n sa_family_t sVar1;\n int iVar2;\n uint32_t uVar3;\n uint32_t uVar4;\n uint uVar5;\n sockaddr *sa_local;\n sockaddr_union *u;\n in6_addr *__a;\n \n sVar1 = sa->sa_family;\n if (sVar1 == 2) {\n uVar5 = *(uint *)(sa->sa_data + 2);\n uVar3 = ... | (translation_unit "int function_1(type_1 *sa)\n\n{\n type_2 var_1;\n int var_6;\n uint32_t var_4;\n uint32_t var_5;\n type_3 var_3;\n type_1 *sa_local;\n type_4 *u;\n type_5 *__a;\n \n var_1 = sa->sa_family;\n if (var_1 == 2) {\n var_3 = *(type_3 *)(sa->sa_data + 2);\n var_4 = var_2(0xff000000);\n v... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
1309_pscp_and_pscp_strip.c | sk_getxdmdata | FUN_001870ed | sk_getxdmdata |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void * sk_getxdmdata(void *sock,int *lenp)
{
bool bVar1;
uint uVar2;
char cVar3;
uint16_t uVar4;
int iVar5;
uint32_t uVar6;
__pid_t _Var7;
char *pcVar8;
long in_FS_OFFSET;
int *lenp_local;
void *sock_local;
socklen_t add... |
undefined4 * FUN_001870ed(long *param_1,int *param_2)
{
bool bVar1;
uint uVar2;
undefined uVar3;
uint16_t uVar4;
int iVar5;
uint32_t uVar6;
__pid_t _Var7;
undefined4 *puVar8;
long in_FS_OFFSET;
socklen_t local_c4;
undefined4 *local_c0;
long *local_b8;
char *local_b0;
sockaddr local_a8;
u... | (translation_unit "undefined4 * FUN_001870ed(long *param_1,int *param_2)\n\n{\n bool bVar1;\n uint uVar2;\n undefined uVar3;\n uint16_t uVar4;\n int iVar5;\n uint32_t uVar6;\n __pid_t _Var7;\n undefined4 *puVar8;\n long in_FS_OFFSET;\n socklen_t local_c4;\n undefined4 *local_c0;\n long *local_b8;\n char *l... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0xc8
MOV qword ptr [RBP + -0xc8],RDI
MOV qword ptr [RBP + -0xd0],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0xc8]
MOV qword ptr [RBP + -0xb0],RAX
MOV RAX,qword ptr [RBP + -0xb0]
MOV RAX,qword ptr [RAX]
LEA RDX,[0x1b5780]
CM... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void * function_1(void *sock,int *lenp)
{
bool bVar1;
type_1 uVar2;
char cVar3;
uint16_t var_8;
int var_3;
uint32_t var_6;
type_2 _Var7;
char *pcVar8;
long var_1;
int *lenp_local;
void *sock_local;
type_3 addrlen;
char... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid * sk_getxdmdata(void *sock,int *lenp)\n\n{\n bool bVar1;\n uint uVar2;\n char cVar3;\n uint16_t uVar4;\n int iVar5;\n uint32_t uVar6;\n __pid_t _Var7;\n char *pcVar8;\n long in_FS_OFFSET;\n int *lenp_local;\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid * function_1(void *sock,int *lenp)\n\n{\n bool bVar1;\n type_1 uVar2;\n char cVar3;\n uint16_t var_8;\n int var_3;\n uint32_t var_6;\n type_2 _Var7;\n char *pcVar8;\n long var_1;\n int *lenp_local;\n void *soc... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration ty... |
1416_pscp_and_pscp_strip.c | unmungestr | FUN_0018c886 | unmungestr |
char * unmungestr(char *in)
{
char cVar1;
char cVar2;
size_t sVar3;
char *pcVar4;
char *in_local;
int i;
int j;
char *out;
char *ret;
sVar3 = strlen(in);
pcVar4 = (char *)safemalloc(sVar3 + 1,1);
in_local = in;
out = pcVar4;
while (*in_local != '\0') {
if (((*in_local == '%') && (in... |
char * FUN_0018c886(char *param_1)
{
char cVar1;
char cVar2;
size_t sVar3;
char *pcVar4;
char *local_30;
char *local_18;
sVar3 = strlen(param_1);
pcVar4 = (char *)FUN_0010fdaa(sVar3 + 1,1);
local_30 = param_1;
local_18 = pcVar4;
while (*local_30 != '\0') {
if (((*local_30 == '%') && (loca... | (translation_unit "char * FUN_0018c886(char *param_1)\n\n{\n char cVar1;\n char cVar2;\n size_t sVar3;\n char *pcVar4;\n char *local_30;\n char *local_18;\n \n sVar3 = strlen(param_1);\n pcVar4 = (char *)FUN_0010fdaa(sVar3 + 1,1);\n local_30 = param_1;\n local_18 = pcVar4;\n while (*local_30 != '\0') {\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV RAX,qword ptr [RBP + -0x28]
MOV RDI,RAX
CALL 0x00107260
ADD RAX,0x1
MOV ESI,0x1
MOV RDI,RAX
CALL 0x0010fdaa
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x10],RAX
JMP 0x0018c983
MOV RAX,qword ptr [RBP + -0x28]
M... |
char * function_1(char *in)
{
char var_4;
char var_5;
size_t var_3;
char *pcVar4;
char *var_6;
int i;
int j;
char *var_7;
char *ret;
var_3 = var_1(in);
pcVar4 = (char *)var_2(var_3 + 1,1);
var_6 = in;
var_7 = pcVar4;
while (*var_6 != '\0') {
if (((*var_6 == '%') && (var_6[1] != '\0'... | (translation_unit "char * unmungestr(char *in)\n\n{\n char cVar1;\n char cVar2;\n size_t sVar3;\n char *pcVar4;\n char *in_local;\n int i;\n int j;\n char *out;\n char *ret;\n \n sVar3 = strlen(in);\n pcVar4 = (char *)safemalloc(sVar3 + 1,1);\n in_local = in;\n out = pcVar4;\n while (*in_local != '\0') {... | (translation_unit "char * function_1(char *in)\n\n{\n char var_4;\n char var_5;\n size_t var_3;\n char *pcVar4;\n char *var_6;\n int i;\n int j;\n char *var_7;\n char *ret;\n \n var_3 = var_1(in);\n pcVar4 = (char *)var_2(var_3 + 1,1);\n var_6 = in;\n var_7 = pcVar4;\n while (*var_6 != '\0') {\n if ((... | (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... |
1138_pscp_and_pscp_strip.c | sharestate_free | FUN_00178bb1 | sharestate_free |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sharestate_free(void *v)
{
ssh_sharing_connstate *cs_00;
void *v_local;
ssh_sharing_state *sharestate;
ssh_sharing_connstate *cs;
platform_ssh_share_cleanup(*(char **)((long)v + 8));
while( true ) {
cs_00 = (ssh_sharing_... |
void FUN_00178bb1(long param_1)
{
long lVar1;
FUN_0018c60d(*(undefined8 *)(param_1 + 8));
while( true ) {
lVar1 = FUN_00182d7c(*(undefined8 *)(param_1 + 0x18),0);
if (lVar1 == 0) break;
FUN_001789f1(lVar1);
}
FUN_00180cad(*(undefined8 *)(param_1 + 0x18));
if (*(long *)(param_1 + 0x10) != 0)... | (translation_unit "void FUN_00178bb1(long param_1)\n\n{\n long lVar1;\n \n FUN_0018c60d(*(undefined8 *)(param_1 + 8));\n while( true ) {\n lVar1 = FUN_00182d7c(*(undefined8 *)(param_1 + 0x18),0);\n if (lVar1 == 0) break;\n FUN_001789f1(lVar1);\n }\n FUN_00180cad(*(undefined8 *)(param_1 + 0x18));\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 + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x8]
MOV RDI,RAX
CALL 0x0018c60d
JMP 0x00178be3
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x001789f1
MOV RAX,qword ptr [RBP + -... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *v)
{
type_1 *var_3;
void *v_local;
type_2 *sharestate;
type_1 *cs;
var_1(*(char **)((long)v + 8));
while( true ) {
var_3 = (type_1 *)var_2(*(type_3 **)((long)v + 0x18),0);
if (var_3 == (type_1 *)0x0)... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sharestate_free(void *v)\n\n{\n ssh_sharing_connstate *cs_00;\n void *v_local;\n ssh_sharing_state *sharestate;\n ssh_sharing_connstate *cs;\n \n platform_ssh_share_cleanup(*(char **)((long)v + 8));\n while( true ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *v)\n\n{\n type_1 *var_3;\n void *v_local;\n type_2 *sharestate;\n type_1 *cs;\n \n var_1(*(char **)((long)v + 8));\n while( true ) {\n var_3 = (type_1 *)var_2(*(type_3 **)((long)v + 0x18),0);\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: (type_iden... |
1199_pscp_and_pscp_strip.c | zlib_huflookup | FUN_0017f871 | zlib_huflookup |
int zlib_huflookup(ulong *bitsp,int *nbitsp,zlib_table *tab)
{
zlib_tableentry *pzVar1;
zlib_table *tab_local;
int *nbitsp_local;
ulong *bitsp_local;
int nbits;
ulong bits;
zlib_tableentry *ent;
bits = *bitsp;
nbits = *nbitsp;
tab_local = tab;
while( true ) {
pzVar1 = tab_local->table + (... |
int FUN_0017f871(ulong *param_1,int *param_2,int *param_3)
{
byte *pbVar1;
int *local_40;
int local_1c;
ulong local_18;
local_18 = *param_1;
local_1c = *param_2;
local_40 = param_3;
while( true ) {
pbVar1 = (byte *)(((long)*local_40 & local_18) * 0x10 + *(long *)(local_40 + 2));
if (local_1... | (translation_unit "int FUN_0017f871(ulong *param_1,int *param_2,int *param_3)\n\n{\n byte *pbVar1;\n int *local_40;\n int local_1c;\n ulong local_18;\n \n local_18 = *param_1;\n local_1c = *param_2;\n local_40 = param_3;\n while( true ) {\n pbVar1 = (byte *)(((long)*local_40 & local_18) * 0x10 + *(long *)(l... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV RAX,qword ptr [RBP + -0x28]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x30]
MOV EAX,dword ptr [RAX]
MOV dword ptr [RBP + -0x14],EAX
MOV RAX,qword ptr [RBP + -0... |
int function_1(type_1 *bitsp,int *nbitsp,type_2 *tab)
{
type_3 *pzVar1;
type_2 *var_3;
int *nbitsp_local;
type_1 *bitsp_local;
int var_2;
type_1 var_1;
type_3 *ent;
var_1 = *bitsp;
var_2 = *nbitsp;
var_3 = tab;
while( true ) {
pzVar1 = var_3->table + ((long)var_3->mask & var_1);
if (v... | (translation_unit "int zlib_huflookup(ulong *bitsp,int *nbitsp,zlib_table *tab)\n\n{\n zlib_tableentry *pzVar1;\n zlib_table *tab_local;\n int *nbitsp_local;\n ulong *bitsp_local;\n int nbits;\n ulong bits;\n zlib_tableentry *ent;\n \n bits = *bitsp;\n nbits = *nbitsp;\n tab_local = tab;\n while( true ) {\n... | (translation_unit "int function_1(type_1 *bitsp,int *nbitsp,type_2 *tab)\n\n{\n type_3 *pzVar1;\n type_2 *var_3;\n int *nbitsp_local;\n type_1 *bitsp_local;\n int var_2;\n type_1 var_1;\n type_3 *ent;\n \n var_1 = *bitsp;\n var_2 = *nbitsp;\n var_3 = tab;\n while( true ) {\n pzVar1 = var_3->table + ((lon... | (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... |
1218_pscp_and_pscp_strip.c | index234 | FUN_00181ae2 | index234 |
void * index234(tree234 *t,int index)
{
int iVar1;
int index_local;
tree234 *t_local;
node234_conflict *n;
if (((t->root != (node234_conflict *)0x0) && (-1 < index)) &&
(iVar1 = countnode234(t->root), index < iVar1)) {
n = t->root;
index_local = index;
while( true ) {
while( true )... |
undefined8 FUN_00181ae2(long *param_1,int param_2)
{
int iVar1;
int local_24;
long local_10;
if (((*param_1 != 0) && (-1 < param_2)) && (iVar1 = FUN_00180cd7(*param_1), param_2 < iVar1)) {
local_10 = *param_1;
local_24 = param_2;
while( true ) {
while( true ) {
if (local_10 == 0) ... | (translation_unit "undefined8 FUN_00181ae2(long *param_1,int param_2)\n\n{\n int iVar1;\n int local_24;\n long local_10;\n \n if (((*param_1 != 0) && (-1 < param_2)) && (iVar1 = FUN_00180cd7(*param_1), param_2 < iVar1)) {\n local_10 = *param_1;\n local_24 = param_2;\n while( true ) {\n while( true ) ... | 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 RAX,qword ptr [RAX]
TEST RAX,RAX
JNZ 0x00181b07
MOV EAX,0x0
JMP 0x00181c17
CMP dword ptr [RBP + -0x1c],0x0
JS 0x00181b21
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV RDI,R... |
void * function_1(type_1 *t,int var_1)
{
int var_3;
int var_5;
type_1 *t_local;
type_2 *var_4;
if (((t->root != (type_2 *)0x0) && (-1 < var_1)) &&
(var_3 = var_2(t->root), var_1 < var_3)) {
var_4 = t->root;
var_5 = var_1;
while( true ) {
while( true ) {
if (var_4 == (type_2... | (translation_unit "void * index234(tree234 *t,int index)\n\n{\n int iVar1;\n int index_local;\n tree234 *t_local;\n node234_conflict *n;\n \n if (((t->root != (node234_conflict *)0x0) && (-1 < index)) &&\n (iVar1 = countnode234(t->root), index < iVar1)) {\n n = t->root;\n index_local = index;\n while... | (translation_unit "void * function_1(type_1 *t,int var_1)\n\n{\n int var_3;\n int var_5;\n type_1 *t_local;\n type_2 *var_4;\n \n if (((t->root != (type_2 *)0x0) && (-1 < var_1)) &&\n (var_3 = var_2(t->root), var_1 < var_3)) {\n var_4 = t->root;\n var_5 = var_1;\n while( true ) {\n while( true )... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
1454_pscp_and_pscp_strip.c | x11_free_fake_auth | FUN_0018ec17 | 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_0018ec17(long param_1)
{
long lVar1;
if (*(long *)(param_1 + 8) != 0) {
FUN_0011007e(*(undefined8 *)(param_1 + 8),(long)*(int *)(param_1 + 0x10));
}
FUN_0010ffb6(*(undefined8 *)(param_1 + 8));
FUN_0010ffb6(*(undefined8 *)(param_1 + 0x18));
FUN_0010ffb6(*(undefined8 *)(param_1 + 0x20));
F... | (translation_unit "void FUN_0018ec17(long param_1)\n\n{\n long lVar1;\n \n if (*(long *)(param_1 + 8) != 0) {\n FUN_0011007e(*(undefined8 *)(param_1 + 8),(long)*(int *)(param_1 + 0x10));\n }\n FUN_0010ffb6(*(undefined8 *)(param_1 + 8));\n FUN_0010ffb6(*(undefined8 *)(param_1 + 0x18));\n FUN_0010ffb6(*(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 0x0018ec4d
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... |
1262_pscp_and_pscp_strip.c | filename_copy | FUN_00184c0e | filename_copy |
Filename * filename_copy(Filename *fn)
{
Filename *pFVar1;
Filename *fn_local;
pFVar1 = filename_from_str(fn->path);
return pFVar1;
}
|
void FUN_00184c0e(undefined8 *param_1)
{
FUN_00184bd3(*param_1);
return;
}
| (translation_unit "void FUN_00184c0e(undefined8 *param_1)\n\n{\n FUN_00184bd3(*param_1);\n return;\n}\n\n" (function_definition "void FUN_00184c0e(undefined8 *param_1)\n\n{\n FUN_00184bd3(*param_1);\n return;\n}" primitive_type (function_declarator "FUN_00184c0e(undefined8 *param_1)" identifier (parameter_list "(un... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x00184bd3
LEAVE
RET |
type_1 * function_1(type_1 *fn)
{
type_1 *pFVar1;
type_1 *fn_local;
pFVar1 = var_1(fn->path);
return pFVar1;
}
| (translation_unit "Filename * filename_copy(Filename *fn)\n\n{\n Filename *pFVar1;\n Filename *fn_local;\n \n pFVar1 = filename_from_str(fn->path);\n return pFVar1;\n}\n\n" (function_definition "Filename * filename_copy(Filename *fn)\n\n{\n Filename *pFVar1;\n Filename *fn_local;\n \n pFVar1 = filename_from_st... | (translation_unit "type_1 * function_1(type_1 *fn)\n\n{\n type_1 *pFVar1;\n type_1 *fn_local;\n \n pFVar1 = var_1(fn->path);\n return pFVar1;\n}\n\n" (function_definition "type_1 * function_1(type_1 *fn)\n\n{\n type_1 *pFVar1;\n type_1 *fn_local;\n \n pFVar1 = var_1(fn->path);\n return pFVar1;\n}" type_identi... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (dec... |
1431_pscp_and_pscp_strip.c | write_setting_filename | FUN_0018d7f4 | write_setting_filename |
void write_setting_filename(void *handle,char *name,Filename *result)
{
Filename *result_local;
char *name_local;
void *handle_local;
write_setting_s(handle,name,result->path);
return;
}
|
void FUN_0018d7f4(undefined8 param_1,undefined8 param_2,undefined8 *param_3)
{
FUN_0018d02d(param_1,param_2,*param_3);
return;
}
| (translation_unit "void FUN_0018d7f4(undefined8 param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n FUN_0018d02d(param_1,param_2,*param_3);\n return;\n}\n\n" (function_definition "void FUN_0018d7f4(undefined8 param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n FUN_0018d02d(param_1,param_2,*param_3);\n return;... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [RBP + -0x18]
MOV RDX,qword ptr [RAX]
MOV RCX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x0018d02d
NOP
LEAVE
RET |
void function_1(void *handle,char *name,type_1 *result)
{
type_1 *result_local;
char *name_local;
void *handle_local;
var_1(handle,name,result->path);
return;
}
| (translation_unit "void write_setting_filename(void *handle,char *name,Filename *result)\n\n{\n Filename *result_local;\n char *name_local;\n void *handle_local;\n \n write_setting_s(handle,name,result->path);\n return;\n}\n\n" (function_definition "void write_setting_filename(void *handle,char *name,Filename *re... | (translation_unit "void function_1(void *handle,char *name,type_1 *result)\n\n{\n type_1 *result_local;\n char *name_local;\n void *handle_local;\n \n var_1(handle,name,result->path);\n return;\n}\n\n" (function_definition "void function_1(void *handle,char *name,type_1 *result)\n\n{\n type_1 *result_local;\n c... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
981_puttytel_and_puttytel_strip.c | columns_remove | FUN_0014f1a4 | columns_remove |
void columns_remove(GtkContainer *container,GtkWidget *widget)
{
long *plVar1;
int iVar2;
int iVar3;
GType GVar4;
long lVar5;
undefined8 uVar6;
GtkWidget *widget_local;
GtkContainer *container_local;
gboolean __r;
gboolean was_visible;
GList *children;
GTypeInstance *__inst;
GType __t;
Col... |
void FUN_0014f1a4(long *param_1,long param_2)
{
long *plVar1;
int iVar2;
int iVar3;
long lVar4;
undefined8 uVar5;
int local_40;
long *local_38;
if (param_1 == (long *)0x0) {
g_return_if_fail_warning(0,"columns_remove","container != NULL");
}
else {
lVar4 = FUN_0014ebf9();
if (param_... | (translation_unit "void FUN_0014f1a4(long *param_1,long param_2)\n\n{\n long *plVar1;\n int iVar2;\n int iVar3;\n long lVar4;\n undefined8 uVar5;\n int local_40;\n long *local_38;\n \n if (param_1 == (long *)0x0) {\n g_return_if_fail_warning(0,"columns_remove","container != NULL");\n }\n else {\n lVar4... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x48],RDI
MOV qword ptr [RBP + -0x50],RSI
CMP qword ptr [RBP + -0x48],0x0
JNZ 0x0014f1d8
LEA RDX,[0x1a0eaa]
LEA RSI,[0x1a1038]
MOV EDI,0x0
CALL 0x00110210
JMP 0x0014f453
MOV RAX,qword ptr [RBP + -0x48]
MOV qword ptr [RBP + -0x28],RAX
CALL 0x0014ebf9
MOV qword ptr ... |
void function_1(type_1 *var_1,type_2 *var_7)
{
long *var_11;
int var_20;
int var_16;
type_3 var_4;
long var_9;
type_4 uVar6;
type_2 *widget_local;
type_1 *container_local;
type_5 var_6;
type_5 was_visible;
type_6 *var_10;
type_7 *__inst;
type_3 __t;
type_8 *cols;
type_9 *child;
type_2 ... | (translation_unit "void columns_remove(GtkContainer *container,GtkWidget *widget)\n\n{\n long *plVar1;\n int iVar2;\n int iVar3;\n GType GVar4;\n long lVar5;\n undefined8 uVar6;\n GtkWidget *widget_local;\n GtkContainer *container_local;\n gboolean __r;\n gboolean was_visible;\n GList *children;\n GTypeInst... | (translation_unit "void function_1(type_1 *var_1,type_2 *var_7)\n\n{\n long *var_11;\n int var_20;\n int var_16;\n type_3 var_4;\n long var_9;\n type_4 uVar6;\n type_2 *widget_local;\n type_1 *container_local;\n type_5 var_6;\n type_5 was_visible;\n type_6 *var_10;\n type_7 *__inst;\n type_3 __t;\n type_8... | (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... |
814_puttytel_and_puttytel_strip.c | gppi_raw | FUN_0013095f | gppi_raw |
int gppi_raw(void *handle,char *name,int def)
{
wchar_t defvalue;
int iVar1;
int def_local;
char *name_local;
void *handle_local;
defvalue = platform_default_i(name,def);
iVar1 = read_setting_i(handle,name,defvalue);
return iVar1;
}
|
void FUN_0013095f(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
undefined4 uVar1;
uVar1 = FUN_00164778(param_2,param_3);
FUN_00175dce(param_1,param_2,uVar1);
return;
}
| (translation_unit "void FUN_0013095f(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n undefined4 uVar1;\n \n uVar1 = FUN_00164778(param_2,param_3);\n FUN_00175dce(param_1,param_2,uVar1);\n return;\n}\n\n" (function_definition "void FUN_0013095f(undefined8 param_1,undefined8 param_2,undefined4 param... | 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 EDX,dword ptr [RBP + -0x14]
MOV RAX,qword ptr [RBP + -0x10]
MOV ESI,EDX
MOV RDI,RAX
CALL 0x00164778
MOV dword ptr [RBP + -0x14],EAX
MOV EDX,dword ptr [RBP + -0x14]
MOV RCX,qword ptr [RBP ... |
int function_1(void *handle,char *name,int def)
{
type_1 defvalue;
int iVar1;
int def_local;
char *name_local;
void *handle_local;
defvalue = var_1(name,def);
iVar1 = var_2(handle,name,defvalue);
return iVar1;
}
| (translation_unit "int gppi_raw(void *handle,char *name,int def)\n\n{\n wchar_t defvalue;\n int iVar1;\n int def_local;\n char *name_local;\n void *handle_local;\n \n defvalue = platform_default_i(name,def);\n iVar1 = read_setting_i(handle,name,defvalue);\n return iVar1;\n}\n\n" (function_definition "int gppi_... | (translation_unit "int function_1(void *handle,char *name,int def)\n\n{\n type_1 defvalue;\n int iVar1;\n int def_local;\n char *name_local;\n void *handle_local;\n \n defvalue = var_1(name,def);\n iVar1 = var_2(handle,name,defvalue);\n return iVar1;\n}\n\n" (function_definition "int function_1(void *handle,ch... | (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_... |
955_puttytel_and_puttytel_strip.c | run_timers | FUN_0014c283 | run_timers |
int run_timers(ulong anow,ulong *next)
{
undefined8 *ptr;
void *pvVar1;
ulong *next_local;
ulong anow_local;
timer *first;
init_timers();
now = getticks();
while( true ) {
while( true ) {
ptr = (undefined8 *)index234(timers,0);
if (ptr == (undefined8 *)0x0) {
return 0;
... |
undefined8 FUN_0014c283(undefined8 param_1,undefined8 *param_2)
{
undefined8 *puVar1;
long lVar2;
FUN_0014c11c();
DAT_001b88e0 = FUN_0016e483();
while( true ) {
while( true ) {
puVar1 = (undefined8 *)FUN_0014d2a4(DAT_001b88d0,0);
if (puVar1 == (undefined8 *)0x0) {
return 0;
... | (translation_unit "undefined8 FUN_0014c283(undefined8 param_1,undefined8 *param_2)\n\n{\n undefined8 *puVar1;\n long lVar2;\n \n FUN_0014c11c();\n DAT_001b88e0 = FUN_0016e483();\n while( true ) {\n while( true ) {\n puVar1 = (undefined8 *)FUN_0014d2a4(DAT_001b88d0,0);\n if (puVar1 == (undefined8 *)0x... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
CALL 0x0014c11c
CALL 0x0016e483
MOV qword ptr [0x001b88e0],RAX
MOV RAX,qword ptr [0x001b88d0]
MOV ESI,0x0
MOV RDI,RAX
CALL 0x0014d2a4
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JNZ 0x0014c2cd
MOV EAX,0x0... |
int function_1(type_1 anow,type_1 *next)
{
type_2 *var_4;
void *var_6;
type_1 *next_local;
type_1 anow_local;
type_3 *first;
var_1();
var_9 = var_2();
while( true ) {
while( true ) {
var_4 = (type_2 *)var_3(timers,0);
if (var_4 == (type_2 *)0x0) {
return 0;
}
var... | (translation_unit "int run_timers(ulong anow,ulong *next)\n\n{\n undefined8 *ptr;\n void *pvVar1;\n ulong *next_local;\n ulong anow_local;\n timer *first;\n \n init_timers();\n now = getticks();\n while( true ) {\n while( true ) {\n ptr = (undefined8 *)index234(timers,0);\n if (ptr == (undefined8 ... | (translation_unit "int function_1(type_1 anow,type_1 *next)\n\n{\n type_2 *var_4;\n void *var_6;\n type_1 *next_local;\n type_1 anow_local;\n type_3 *first;\n \n var_1();\n var_9 = var_2();\n while( true ) {\n while( true ) {\n var_4 = (type_2 *)var_3(timers,0);\n if (var_4 == (type_2 *)0x0) {\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identif... |
884_puttytel_and_puttytel_strip.c | lineptr | FUN_0013a99a | lineptr |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
termline * lineptr(Terminal *term,wchar_t y,wchar_t lineno,wchar_t screen)
{
wchar_t wVar1;
tree234 *ptVar2;
tree234 *ptVar3;
int iVar4;
uint uVar5;
uint uVar6;
uint uVar7;
uchar *data;
wchar_t screen_local;
wchar_t lineno_l... |
long FUN_0013a99a(long param_1,int param_2,undefined4 param_3,int param_4)
{
undefined4 uVar1;
undefined8 uVar2;
undefined4 uVar3;
undefined4 uVar4;
undefined4 uVar5;
undefined8 uVar6;
int local_58;
int local_54;
long local_50;
long local_48;
if (param_2 < 0) {
local_54 = 0;
if (param... | (translation_unit "long FUN_0013a99a(long param_1,int param_2,undefined4 param_3,int param_4)\n\n{\n undefined4 uVar1;\n undefined8 uVar2;\n undefined4 uVar3;\n undefined4 uVar4;\n undefined4 uVar5;\n undefined8 uVar6;\n int local_58;\n int local_54;\n long local_50;\n long local_48;\n \n if (param_2 < 0) {... | PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x48
MOV qword ptr [RBP + -0x58],RDI
MOV dword ptr [RBP + -0x5c],ESI
MOV dword ptr [RBP + -0x60],EDX
MOV dword ptr [RBP + -0x64],ECX
CMP dword ptr [RBP + -0x5c],0x0
JS 0x0013a9d5
MOV RAX,qword ptr [RBP + -0x58]
MOV RAX,qword ptr [RAX + 0x10]
MOV ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 *term,type_3 var_1,type_3 lineno,type_3 var_2)
{
type_3 wVar1;
type_4 *ptVar2;
type_4 *ptVar3;
int var_7;
type_5 uVar5;
type_5 uVar6;
type_5 uVar7;
type_6 *data;
type_3 screen_local;
type_3 lineno_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntermline * lineptr(Terminal *term,wchar_t y,wchar_t lineno,wchar_t screen)\n\n{\n wchar_t wVar1;\n tree234 *ptVar2;\n tree234 *ptVar3;\n int iVar4;\n uint uVar5;\n uint uVar6;\n uint uVar7;\n uchar *data;\n wchar_t s... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *term,type_3 var_1,type_3 lineno,type_3 var_2)\n\n{\n type_3 wVar1;\n type_4 *ptVar2;\n type_4 *ptVar3;\n int var_7;\n type_5 uVar5;\n type_5 uVar6;\n type_5 uVar7;\n type_6 *data;\n type_3... | (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 ... |
936_puttytel_and_puttytel_strip.c | term_do_paste | FUN_0014a73a | term_do_paste |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void term_do_paste(Terminal *term)
{
wchar_t wVar1;
int iVar2;
wchar_t *pwVar3;
long in_FS_OFFSET;
Terminal *term_local;
wchar_t len;
wchar_t i;
wchar_t *data;
wchar_t *p;
wchar_t *q;
long local_10;
local_10 = *(long ... |
void FUN_0014a73a(long param_1)
{
int iVar1;
undefined8 uVar2;
long in_FS_OFFSET;
int local_30;
int local_2c;
void *local_28;
void *local_20;
void *local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_00169179(*(undefined8 *)(param_1 + 0x1108),&local_28,&local_30);
if ((l... | (translation_unit "void FUN_0014a73a(long param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n int local_30;\n int local_2c;\n void *local_28;\n void *local_20;\n void *local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_00169179(*(undefined8 *)(param_1 + 0x1108... | 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 RAX,qword ptr [RAX + 0x1108]
LEA RDX,[RBP + -0x28]
LEA RCX,[RBP + -0x20]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00169179
MOV RAX,qword ptr [RBP + -0x20]
TE... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *term)
{
type_2 var_14;
int var_12;
type_2 *pwVar3;
long var_1;
type_1 *term_local;
type_2 var_4;
type_2 var_13;
type_2 *var_3;
type_2 *var_10;
type_2 *var_9;
long var_17;
var_17 = *(long *)(var... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_do_paste(Terminal *term)\n\n{\n wchar_t wVar1;\n int iVar2;\n wchar_t *pwVar3;\n long in_FS_OFFSET;\n Terminal *term_local;\n wchar_t len;\n wchar_t i;\n wchar_t *data;\n wchar_t *p;\n wchar_t *q;\n long ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term)\n\n{\n type_2 var_14;\n int var_12;\n type_2 *pwVar3;\n long var_1;\n type_1 *term_local;\n type_2 var_4;\n type_2 var_13;\n type_2 *var_3;\n type_2 *var_10;\n type_2 *var_9;\n long 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: (type_ide... |
1145_pscp_and_pscp_strip.c | share_find_channel_by_server | FUN_00178f5e | share_find_channel_by_server |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
share_channel * share_find_channel_by_server(ssh_sharing_connstate *cs,uint server_id)
{
long lVar1;
share_channel *psVar2;
long in_FS_OFFSET;
uint server_id_local;
ssh_sharing_connstate *cs_local;
share_channel dummychan;
lVar... |
void FUN_00178f5e(long param_1,undefined4 param_2)
{
long in_FS_OFFSET;
undefined local_48 [8];
undefined4 local_40;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_40 = param_2;
FUN_00181e4b(*(undefined8 *)(param_1 + 0x4058),local_48,0);
if (local_10 != *(long *)(in_FS_OFFSET + 0x2... | (translation_unit "void FUN_00178f5e(long param_1,undefined4 param_2)\n\n{\n long in_FS_OFFSET;\n undefined local_48 [8];\n undefined4 local_40;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_40 = param_2;\n FUN_00181e4b(*(undefined8 *)(param_1 + 0x4058),local_48,0);\n if (local_10 !=... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x48],RDI
MOV dword ptr [RBP + -0x4c],ESI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x4c]
MOV dword ptr [RBP + -0x38],EAX
MOV RAX,qword ptr [RBP + -0x48]
MOV RAX,qword ptr [RAX + 0x4058]
LEA RCX,[RBP + -0x40]
... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 *cs,type_3 server_id)
{
long var_3;
type_1 *psVar2;
long var_1;
type_3 server_id_local;
type_2 *cs_local;
type_1 dummychan;
var_3 = *(long *)(var_1 + 0x28);
dummychan.server_id = server_id;
psVar2... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nshare_channel * share_find_channel_by_server(ssh_sharing_connstate *cs,uint server_id)\n\n{\n long lVar1;\n share_channel *psVar2;\n long in_FS_OFFSET;\n uint server_id_local;\n ssh_sharing_connstate *cs_local;\n share_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *cs,type_3 server_id)\n\n{\n long var_3;\n type_1 *psVar2;\n long var_1;\n type_3 server_id_local;\n type_2 *cs_local;\n type_1 dummychan;\n \n var_3 = *(long *)(var_1 + 0x28);\n dummychan.... | (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 ... |
686_puttytel_and_puttytel_strip.c | free_prompts | FUN_00128685 | free_prompts |
void free_prompts(prompts_t *p)
{
prompt_t *ptr;
prompts_t *p_local;
size_t i;
prompt_t *pr;
for (i = 0; i < p->n_prompts; i = i + 1) {
ptr = p->prompts[i];
smemclr(ptr->result,ptr->resultsize);
safefree(ptr->result);
safefree(ptr->prompt);
safefree(ptr);
}
safefree(p->prompts);
... |
void FUN_00128685(long param_1)
{
undefined8 *puVar1;
ulong local_18;
for (local_18 = 0; local_18 < *(ulong *)(param_1 + 0x28); local_18 = local_18 + 1) {
puVar1 = *(undefined8 **)(*(long *)(param_1 + 0x30) + local_18 * 8);
FUN_00129ab5(puVar1[2],puVar1[3]);
FUN_001299ed(puVar1[2]);
FUN_00129... | (translation_unit "void FUN_00128685(long param_1)\n\n{\n undefined8 *puVar1;\n ulong local_18;\n \n for (local_18 = 0; local_18 < *(ulong *)(param_1 + 0x28); local_18 = local_18 + 1) {\n puVar1 = *(undefined8 **)(*(long *)(param_1 + 0x30) + local_18 * 8);\n FUN_00129ab5(puVar1[2],puVar1[3]);\n FUN_001299e... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x10],0x0
JMP 0x00128700
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x30]
MOV RDX,qword ptr [RBP + -0x10]
SHL RDX,0x3
ADD RAX,RDX
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MO... |
void function_1(type_1 *p)
{
type_2 *ptr;
type_1 *p_local;
size_t var_1;
type_2 *pr;
for (var_1 = 0; var_1 < p->n_prompts; var_1 = var_1 + 1) {
ptr = p->prompts[var_1];
var_2(ptr->result,ptr->resultsize);
var_3(ptr->result);
var_3(ptr->prompt);
var_3(ptr);
}
var_3(p->prompts);
v... | (translation_unit "void free_prompts(prompts_t *p)\n\n{\n prompt_t *ptr;\n prompts_t *p_local;\n size_t i;\n prompt_t *pr;\n \n for (i = 0; i < p->n_prompts; i = i + 1) {\n ptr = p->prompts[i];\n smemclr(ptr->result,ptr->resultsize);\n safefree(ptr->result);\n safefree(ptr->prompt);\n safefree(ptr)... | (translation_unit "void function_1(type_1 *p)\n\n{\n type_2 *ptr;\n type_1 *p_local;\n size_t var_1;\n type_2 *pr;\n \n for (var_1 = 0; var_1 < p->n_prompts; var_1 = var_1 + 1) {\n ptr = p->prompts[var_1];\n var_2(ptr->result,ptr->resultsize);\n var_3(ptr->result);\n var_3(ptr->prompt);\n var_3(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: (type_identifier) d... |
1418_pscp_and_pscp_strip.c | open_settings_w | FUN_0018ce89 | open_settings_w |
void * open_settings_w(char *sessionname,char **errmsg)
{
char *pcVar1;
char *pcVar2;
char *pcVar3;
FILE *pFVar4;
int *piVar5;
char **errmsg_local;
char *sessionname_local;
char *filename;
char *err;
FILE *fp;
*errmsg = (char *)0x0;
pcVar1 = make_filename(0,(char *)0x0);
pcVar2 = make_dir... |
FILE * FUN_0018ce89(undefined8 param_1,undefined8 *param_2)
{
undefined8 uVar1;
long lVar2;
undefined8 uVar3;
FILE *pFVar4;
char *__filename;
int *piVar5;
char *pcVar6;
*param_2 = 0;
uVar1 = FUN_0018c99f(0,0);
lVar2 = FUN_00185466(uVar1,0x1c0);
if (lVar2 == 0) {
FUN_0010ffb6(uVar1);
u... | (translation_unit "FILE * FUN_0018ce89(undefined8 param_1,undefined8 *param_2)\n\n{\n undefined8 uVar1;\n long lVar2;\n undefined8 uVar3;\n FILE *pFVar4;\n char *__filename;\n int *piVar5;\n char *pcVar6;\n \n *param_2 = 0;\n uVar1 = FUN_0018c99f(0,0);\n lVar2 = FUN_00185466(uVar1,0x1c0);\n if (lVar2 == 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 + -0x30]
MOV qword ptr [RAX],0x0
MOV ESI,0x0
MOV EDI,0x0
CALL 0x0018c99f
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV ESI,0x1c0
MOV RDI,RAX
CALL 0x00185466
MOV qword ptr [RBP +... |
void * function_1(char *sessionname,char **errmsg)
{
char *pcVar1;
char *var_3;
char *pcVar3;
type_1 *var_6;
int *piVar5;
char **errmsg_local;
char *sessionname_local;
char *filename;
char *err;
type_1 *fp;
*errmsg = (char *)0x0;
pcVar1 = var_1(0,(char *)0x0);
var_3 = var_2(pcVar1,0x1c0);... | (translation_unit "void * open_settings_w(char *sessionname,char **errmsg)\n\n{\n char *pcVar1;\n char *pcVar2;\n char *pcVar3;\n FILE *pFVar4;\n int *piVar5;\n char **errmsg_local;\n char *sessionname_local;\n char *filename;\n char *err;\n FILE *fp;\n \n *errmsg = (char *)0x0;\n pcVar1 = make_filename(0,... | (translation_unit "void * function_1(char *sessionname,char **errmsg)\n\n{\n char *pcVar1;\n char *var_3;\n char *pcVar3;\n type_1 *var_6;\n int *piVar5;\n char **errmsg_local;\n char *sessionname_local;\n char *filename;\n char *err;\n type_1 *fp;\n \n *errmsg = (char *)0x0;\n pcVar1 = var_1(0,(char *)0x0... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primi... |
833_puttytel_and_puttytel_strip.c | send_opt | FUN_001366f0 | send_opt |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void send_opt(Telnet telnet,int cmd,int option)
{
long lVar1;
int iVar2;
long in_FS_OFFSET;
int option_local;
int cmd_local;
Telnet telnet_local;
uchar b [3];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
b[0] = 0xff;
b[1] = (u... |
void FUN_001366f0(long param_1,undefined4 param_2,undefined4 param_3)
{
undefined4 uVar1;
long in_FS_OFFSET;
undefined local_13;
undefined local_12;
undefined local_11;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_13 = 0xff;
local_12 = (undefined)param_2;
local_11 = (undefine... | (translation_unit "void FUN_001366f0(long param_1,undefined4 param_2,undefined4 param_3)\n\n{\n undefined4 uVar1;\n long in_FS_OFFSET;\n undefined local_13;\n undefined local_12;\n undefined local_11;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_13 = 0xff;\n local_12 = (undefined)p... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV dword ptr [RBP + -0x20],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV byte ptr [RBP + -0xb],0xff
MOV EAX,dword ptr [RBP + -0x1c]
MOV byte ptr [RBP + -0xa],AL
MOV EAX,dword ptr [RBP + -0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 telnet,int cmd,int option)
{
long var_3;
int iVar2;
long var_1;
int option_local;
int cmd_local;
type_1 telnet_local;
type_2 b [3];
var_3 = *(long *)(var_1 + 0x28);
b[0] = 0xff;
b[1] = (type_2)cmd;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid send_opt(Telnet telnet,int cmd,int option)\n\n{\n long lVar1;\n int iVar2;\n long in_FS_OFFSET;\n int option_local;\n int cmd_local;\n Telnet telnet_local;\n uchar b [3];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 telnet,int cmd,int option)\n\n{\n long var_3;\n int iVar2;\n long var_1;\n int option_local;\n int cmd_local;\n type_1 telnet_local;\n type_2 b [3];\n \n var_3 = *(long *)(var_1 + 0x28);\n b[0... | (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... |
819_puttytel_and_puttytel_strip.c | val2key | FUN_00130f0a | val2key |
char * val2key(keyvalwhere *mapping,int nmaps,int val)
{
int val_local;
int nmaps_local;
keyvalwhere *mapping_local;
int i;
i = 0;
while( true ) {
if (nmaps <= i) {
return (char *)0x0;
}
if (val == mapping[i].v) break;
i = i + 1;
}
return mapping[i].s;
}
|
undefined8 FUN_00130f0a(long param_1,int param_2,int param_3)
{
int local_c;
local_c = 0;
while( true ) {
if (param_2 <= local_c) {
return 0;
}
if (param_3 == *(int *)(param_1 + (long)local_c * 0x18 + 8)) break;
local_c = local_c + 1;
}
return *(undefined8 *)(param_1 + (long)local_c... | (translation_unit "undefined8 FUN_00130f0a(long param_1,int param_2,int param_3)\n\n{\n int local_c;\n \n local_c = 0;\n while( true ) {\n if (param_2 <= local_c) {\n return 0;\n }\n if (param_3 == *(int *)(param_1 + (long)local_c * 0x18 + 8)) break;\n local_c = local_c + 1;\n }\n return *(undefi... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV dword ptr [RBP + -0x20],EDX
MOV dword ptr [RBP + -0x4],0x0
JMP 0x00130f6c
MOV EAX,dword ptr [RBP + -0x4]
MOVSXD RDX,EAX
MOV RAX,RDX
ADD RAX,RAX
ADD RAX,RDX
SHL RAX,0x3
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x18]
ADD RAX,RDX
MOV EAX... |
char * function_1(type_1 *mapping,int var_1,int var_3)
{
int val_local;
int nmaps_local;
type_1 *mapping_local;
int var_2;
var_2 = 0;
while( true ) {
if (var_1 <= var_2) {
return (char *)0x0;
}
if (var_3 == mapping[var_2].v) break;
var_2 = var_2 + 1;
}
return mapping[var_2].s;... | (translation_unit "char * val2key(keyvalwhere *mapping,int nmaps,int val)\n\n{\n int val_local;\n int nmaps_local;\n keyvalwhere *mapping_local;\n int i;\n \n i = 0;\n while( true ) {\n if (nmaps <= i) {\n return (char *)0x0;\n }\n if (val == mapping[i].v) break;\n i = i + 1;\n }\n return mapp... | (translation_unit "char * function_1(type_1 *mapping,int var_1,int var_3)\n\n{\n int val_local;\n int nmaps_local;\n type_1 *mapping_local;\n int var_2;\n \n var_2 = 0;\n while( true ) {\n if (var_1 <= var_2) {\n return (char *)0x0;\n }\n if (var_3 == mapping[var_2].v) break;\n var_2 = var_2 + 1... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
784_puttytel_and_puttytel_strip.c | rlogin_closing | FUN_0012f478 | rlogin_closing |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void rlogin_closing(Plug plug,char *error_msg,int error_code,int calling_back)
{
int calling_back_local;
int error_code_local;
char *error_msg_local;
Plug plug_local;
Rlogin rlogin;
if (plug[1] != (plug_function_table *)0x0) {
... |
void FUN_0012f478(long param_1,long param_2)
{
if (*(long *)(param_1 + 8) != 0) {
(**(code **)(**(long **)(param_1 + 8) + 8))(*(undefined8 *)(param_1 + 8));
*(undefined8 *)(param_1 + 8) = 0;
if (param_2 != 0) {
*(undefined4 *)(param_1 + 0x10) = 1;
}
FUN_00167a4e(*(undefined8 *)(param_1 + 0... | (translation_unit "void FUN_0012f478(long param_1,long param_2)\n\n{\n if (*(long *)(param_1 + 8) != 0) {\n (**(code **)(**(long **)(param_1 + 8) + 8))(*(undefined8 *)(param_1 + 8));\n *(undefined8 *)(param_1 + 8) = 0;\n if (param_2 != 0) {\n *(undefined4 *)(param_1 + 0x10) = 1;\n }\n FUN_00167a4e(... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV dword ptr [RBP + -0x28],ECX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
TEST RAX,RAX
JZ 0x0012f4ed
MOV RAX... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_2,char *var_1,int error_code,int calling_back)
{
int calling_back_local;
int error_code_local;
char *error_msg_local;
type_1 plug_local;
type_2 rlogin;
if (var_2[1] != (type_3 *)0x0) {
(**(type_4 **... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid rlogin_closing(Plug plug,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 plug_local;\n Rlogin rlogin;\n \n if (plug[1] != (pl... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_2,char *var_1,int error_code,int calling_back)\n\n{\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n type_1 plug_local;\n type_2 rlogin;\n \n if (var_2[1] != (type... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator:... |
962_puttytel_and_puttytel_strip.c | add234_internal | FUN_0014c542 | add234_internal |
void * add234_internal(tree234 *t,void *e,int index)
{
int iVar1;
int iVar2;
node234_conflict *pnVar3;
int index_local;
void *e_local;
tree234 *t_local;
int lcount;
int rcount;
int childnum;
int c;
int count;
int childnum_1;
node234_conflict *n;
node234_conflict **np;
node234_conflict *l... |
long FUN_0014c542(long *param_1,long param_2,int param_3)
{
int iVar1;
undefined4 uVar2;
long lVar3;
long *plVar4;
int local_6c;
long local_68;
undefined4 local_50;
undefined4 local_4c;
int local_48;
long *local_38;
long *local_30;
long *local_28;
long *local_20;
if (*param_1 == 0) {
... | (translation_unit "long FUN_0014c542(long *param_1,long param_2,int param_3)\n\n{\n int iVar1;\n undefined4 uVar2;\n long lVar3;\n long *plVar4;\n int local_6c;\n long local_68;\n undefined4 local_50;\n undefined4 local_4c;\n int local_48;\n long *local_38;\n long *local_30;\n long *local_28;\n long *local... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x58],RDI
MOV qword ptr [RBP + -0x60],RSI
MOV dword ptr [RBP + -0x64],EDX
MOV RAX,qword ptr [RBP + -0x60]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x58]
MOV RAX,qword ptr [RAX]
TEST RAX,RAX
JNZ 0x0014c63c
MOV ESI,0x50
MOV EDI,0x1
CALL 0x001297e1
M... |
void * function_1(type_1 *t,void *e,int index)
{
int var_3;
int iVar2;
type_2 *pnVar3;
int var_2;
void *e_local;
type_1 *t_local;
int lcount;
int rcount;
int var_4;
int c;
int count;
int childnum_1;
type_2 *var_5;
type_2 **var_6;
type_2 *left;
type_2 *right;
void *orig_e;
type_2 *m... | (translation_unit "void * add234_internal(tree234 *t,void *e,int index)\n\n{\n int iVar1;\n int iVar2;\n node234_conflict *pnVar3;\n int index_local;\n void *e_local;\n tree234 *t_local;\n int lcount;\n int rcount;\n int childnum;\n int c;\n int count;\n int childnum_1;\n node234_conflict *n;\n node234_co... | (translation_unit "void * function_1(type_1 *t,void *e,int index)\n\n{\n int var_3;\n int iVar2;\n type_2 *pnVar3;\n int var_2;\n void *e_local;\n type_1 *t_local;\n int lcount;\n int rcount;\n int var_4;\n int c;\n int count;\n int childnum_1;\n type_2 *var_5;\n type_2 **var_6;\n type_2 *left;\n type_2... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
1235_pscp_and_pscp_strip.c | premsg | FUN_00183550 | premsg |
void premsg(termios *cf)
{
termios *cf_local;
if (stderr_is_a_tty != 0) {
tcgetattr(2,(termios *)cf);
tcsetattr(2,1,(termios *)&orig_termios_stderr);
}
return;
}
|
void FUN_00183550(termios *param_1)
{
if (DAT_001b621c != 0) {
tcgetattr(2,param_1);
tcsetattr(2,1,(termios *)&DAT_001b61e0);
}
return;
}
| (translation_unit "void FUN_00183550(termios *param_1)\n\n{\n if (DAT_001b621c != 0) {\n tcgetattr(2,param_1);\n tcsetattr(2,1,(termios *)&DAT_001b61e0);\n }\n return;\n}\n\n" (function_definition "void FUN_00183550(termios *param_1)\n\n{\n if (DAT_001b621c != 0) {\n tcgetattr(2,param_1);\n tcsetattr(2,... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV EAX,dword ptr [0x001b621c]
TEST EAX,EAX
JZ 0x0018358d
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RAX
MOV EDI,0x2
CALL 0x001076b0
LEA RDX,[0x1b61e0]
MOV ESI,0x1
MOV EDI,0x2
CALL 0x001076c0
NOP
LEAVE
RET |
void function_1(type_1 *cf)
{
type_1 *cf_local;
if (var_1 != 0) {
var_2(2,(type_1 *)cf);
var_3(2,1,(type_1 *)&orig_termios_stderr);
}
return;
}
| (translation_unit "void premsg(termios *cf)\n\n{\n termios *cf_local;\n \n if (stderr_is_a_tty != 0) {\n tcgetattr(2,(termios *)cf);\n tcsetattr(2,1,(termios *)&orig_termios_stderr);\n }\n return;\n}\n\n" (function_definition "void premsg(termios *cf)\n\n{\n termios *cf_local;\n \n if (stderr_is_a_tty != ... | (translation_unit "void function_1(type_1 *cf)\n\n{\n type_1 *cf_local;\n \n if (var_1 != 0) {\n var_2(2,(type_1 *)cf);\n var_3(2,1,(type_1 *)&orig_termios_stderr);\n }\n return;\n}\n\n" (function_definition "void function_1(type_1 *cf)\n\n{\n type_1 *cf_local;\n \n if (var_1 != 0) {\n var_2(2,(type_1 ... | (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... |
690_puttytel_and_puttytel_strip.c | toint | FUN_00128a3d | toint |
int toint(uint u)
{
uint u_local;
if (((int)u < 0) && (-1 < (int)u)) {
u = 0x80000000;
}
return u;
}
|
int FUN_00128a3d(int param_1)
{
if ((param_1 < 0) && (-1 < param_1)) {
param_1 = -0x80000000;
}
return param_1;
}
| (translation_unit "int FUN_00128a3d(int param_1)\n\n{\n if ((param_1 < 0) && (-1 < param_1)) {\n param_1 = -0x80000000;\n }\n return param_1;\n}\n\n" (function_definition "int FUN_00128a3d(int param_1)\n\n{\n if ((param_1 < 0) && (-1 < param_1)) {\n param_1 = -0x80000000;\n }\n return param_1;\n}" primitive... | PUSH RBP
MOV RBP,RSP
MOV dword ptr [RBP + -0x4],EDI
MOV EAX,dword ptr [RBP + -0x4]
TEST EAX,EAX
JS 0x00128a50
MOV EAX,dword ptr [RBP + -0x4]
JMP 0x00128a61
MOV EAX,dword ptr [RBP + -0x4]
TEST EAX,EAX
JNS 0x00128a5c
MOV EAX,dword ptr [RBP + -0x4]
JMP 0x00128a61
MOV EAX,0x80000000
POP RBP
RET |
int function_1(type_1 u)
{
type_1 u_local;
if (((int)u < 0) && (-1 < (int)u)) {
u = 0x80000000;
}
return u;
}
| (translation_unit "int toint(uint u)\n\n{\n uint u_local;\n \n if (((int)u < 0) && (-1 < (int)u)) {\n u = 0x80000000;\n }\n return u;\n}\n\n" (function_definition "int toint(uint u)\n\n{\n uint u_local;\n \n if (((int)u < 0) && (-1 < (int)u)) {\n u = 0x80000000;\n }\n return u;\n}" primitive_type (funct... | (translation_unit "int function_1(type_1 u)\n\n{\n type_1 u_local;\n \n if (((int)u < 0) && (-1 < (int)u)) {\n u = 0x80000000;\n }\n return u;\n}\n\n" (function_definition "int function_1(type_1 u)\n\n{\n type_1 u_local;\n \n if (((int)u < 0) && (-1 < (int)u)) {\n u = 0x80000000;\n }\n return u;\n}" pri... | (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: (type_identifier) declarator: (identifier)) (if_stat... |
964_puttytel_and_puttytel_strip.c | addpos234 | FUN_0014d25f | addpos234 |
void * addpos234(tree234 *t,void *e,int index)
{
void *pvVar1;
int index_local;
void *e_local;
tree234 *t_local;
if ((index < 0) || (t->cmp != (cmpfn234)0x0)) {
pvVar1 = (void *)0x0;
}
else {
pvVar1 = add234_internal(t,e,index);
}
return pvVar1;
}
|
undefined8 FUN_0014d25f(long param_1,undefined8 param_2,int param_3)
{
undefined8 uVar1;
if ((param_3 < 0) || (*(long *)(param_1 + 8) != 0)) {
uVar1 = 0;
}
else {
uVar1 = FUN_0014c542(param_1,param_2,param_3);
}
return uVar1;
}
| (translation_unit "undefined8 FUN_0014d25f(long param_1,undefined8 param_2,int param_3)\n\n{\n undefined8 uVar1;\n \n if ((param_3 < 0) || (*(long *)(param_1 + 8) != 0)) {\n uVar1 = 0;\n }\n else {\n uVar1 = FUN_0014c542(param_1,param_2,param_3);\n }\n return uVar1;\n}\n\n" (function_definition "undefined8... | 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
CMP dword ptr [RBP + -0x14],0x0
JS 0x0014d285
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
TEST RAX,RAX
JZ 0x0014d28c
MOV EAX,0x0
JMP 0x0014d2a2
MOV EDX,dword ptr [RBP + -0x14... |
void * function_1(type_1 *t,void *e,int var_1)
{
void *pvVar1;
int index_local;
void *e_local;
type_1 *t_local;
if ((var_1 < 0) || (t->cmp != (type_2)0x0)) {
pvVar1 = (void *)0x0;
}
else {
pvVar1 = var_2(t,e,var_1);
}
return pvVar1;
}
| (translation_unit "void * addpos234(tree234 *t,void *e,int index)\n\n{\n void *pvVar1;\n int index_local;\n void *e_local;\n tree234 *t_local;\n \n if ((index < 0) || (t->cmp != (cmpfn234)0x0)) {\n pvVar1 = (void *)0x0;\n }\n else {\n pvVar1 = add234_internal(t,e,index);\n }\n return pvVar1;\n}\n\n" (fu... | (translation_unit "void * function_1(type_1 *t,void *e,int var_1)\n\n{\n void *pvVar1;\n int index_local;\n void *e_local;\n type_1 *t_local;\n \n if ((var_1 < 0) || (t->cmp != (type_2)0x0)) {\n pvVar1 = (void *)0x0;\n }\n else {\n pvVar1 = var_2(t,e,var_1);\n }\n return pvVar1;\n}\n\n" (function_defini... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
801_puttytel_and_puttytel_strip.c | rlogin_provide_logctx | FUN_0012fe72 | rlogin_provide_logctx |
void rlogin_provide_logctx(void *handle,void *logctx)
{
void *logctx_local;
void *handle_local;
return;
}
|
void FUN_0012fe72(void)
{
return;
}
| (translation_unit "void FUN_0012fe72(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_0012fe72(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_0012fe72(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
NOP
POP RBP
RET |
void function_1(void *handle,void *logctx)
{
void *logctx_local;
void *handle_local;
return;
}
| (translation_unit "void rlogin_provide_logctx(void *handle,void *logctx)\n\n{\n void *logctx_local;\n void *handle_local;\n \n return;\n}\n\n" (function_definition "void rlogin_provide_logctx(void *handle,void *logctx)\n\n{\n void *logctx_local;\n void *handle_local;\n \n return;\n}" primitive_type (function_de... | (translation_unit "void function_1(void *handle,void *logctx)\n\n{\n void *logctx_local;\n void *handle_local;\n \n return;\n}\n\n" (function_definition "void function_1(void *handle,void *logctx)\n\n{\n void *logctx_local;\n void *handle_local;\n \n return;\n}" primitive_type (function_declarator "function_1(v... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
855_puttytel_and_puttytel_strip.c | telnet_unthrottle | FUN_00138bae | telnet_unthrottle |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void telnet_unthrottle(void *handle,int backlog)
{
int backlog_local;
void *handle_local;
Telnet telnet;
(**(code **)(**(long **)((long)handle + 8) + 0x30))
(*(undefined8 *)((long)handle + 8),0x1000 < backlog);
return;
... |
void FUN_00138bae(long param_1,int param_2)
{
(**(code **)(**(long **)(param_1 + 8) + 0x30))(*(undefined8 *)(param_1 + 8),0x1000 < param_2);
return;
}
| (translation_unit "void FUN_00138bae(long param_1,int param_2)\n\n{\n (**(code **)(**(long **)(param_1 + 8) + 0x30))(*(undefined8 *)(param_1 + 8),0x1000 < param_2);\n return;\n}\n\n" (function_definition "void FUN_00138bae(long param_1,int param_2)\n\n{\n (**(code **)(**(long **)(param_1 + 8) + 0x30))(*(undefined8 *... | 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 RAX,qword ptr [RAX + 0x8]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x30]
CMP dword ptr [RBP + -0x1c],0x1000
SETG DL
... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *handle,int var_1)
{
int backlog_local;
void *handle_local;
type_1 telnet;
(**(type_2 **)(**(long **)((long)handle + 8) + 0x30))
(*(type_3 *)((long)handle + 8),0x1000 < var_1);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid telnet_unthrottle(void *handle,int backlog)\n\n{\n int backlog_local;\n void *handle_local;\n Telnet telnet;\n \n (**(code **)(**(long **)((long)handle + 8) + 0x30))\n (*(undefined8 *)((long)handle + 8),0... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *handle,int var_1)\n\n{\n int backlog_local;\n void *handle_local;\n type_1 telnet;\n \n (**(type_2 **)(**(long **)((long)handle + 8) + 0x30))\n (*(type_3 *)((long)handle + 8),0x1000 < var... | (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:... |
968_puttytel_and_puttytel_strip.c | findrel234 | FUN_0014d642 | findrel234 |
void * findrel234(tree234 *t,void *e,cmpfn234 cmp,int relation)
{
void *pvVar1;
int relation_local;
cmpfn234 cmp_local;
void *e_local;
tree234 *t_local;
pvVar1 = findrelpos234(t,e,cmp,relation,(int *)0x0);
return pvVar1;
}
|
void FUN_0014d642(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)
{
FUN_0014d3db(param_1,param_2,param_3,param_4,0);
return;
}
| (translation_unit "void FUN_0014d642(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n FUN_0014d3db(param_1,param_2,param_3,param_4,0);\n return;\n}\n\n" (function_definition "void FUN_0014d642(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n FUN_0... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV dword ptr [RBP + -0x1c],ECX
MOV ECX,dword ptr [RBP + -0x1c]
MOV RDX,qword ptr [RBP + -0x18]
MOV RSI,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV R8D,0x0
MOV RDI,RAX
CALL 0x0... |
void * function_1(type_1 *t,void *e,type_2 cmp,int relation)
{
void *pvVar1;
int relation_local;
type_2 cmp_local;
void *e_local;
type_1 *t_local;
pvVar1 = var_1(t,e,cmp,relation,(int *)0x0);
return pvVar1;
}
| (translation_unit "void * findrel234(tree234 *t,void *e,cmpfn234 cmp,int relation)\n\n{\n void *pvVar1;\n int relation_local;\n cmpfn234 cmp_local;\n void *e_local;\n tree234 *t_local;\n \n pvVar1 = findrelpos234(t,e,cmp,relation,(int *)0x0);\n return pvVar1;\n}\n\n" (function_definition "void * findrel234(tree... | (translation_unit "void * function_1(type_1 *t,void *e,type_2 cmp,int relation)\n\n{\n void *pvVar1;\n int relation_local;\n type_2 cmp_local;\n void *e_local;\n type_1 *t_local;\n \n pvVar1 = var_1(t,e,cmp,relation,(int *)0x0);\n return pvVar1;\n}\n\n" (function_definition "void * function_1(type_1 *t,void *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: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
673_puttytel_and_puttytel_strip.c | do_bidi | FUN_00125b0c | do_bidi |
wchar_t do_bidi(bidi_char *line,wchar_t count)
{
byte bVar1;
bool bVar2;
uchar uVar3;
wchar_t wVar4;
uchar *ptr;
uchar *level;
wchar_t count_local;
bidi_char *line_local;
uchar paragraphLevel;
uchar currentEmbedding;
uchar currentOverride;
uchar tempType;
wchar_t i;
wchar_t j;
wchar_t ye... |
undefined8 FUN_00125b0c(long param_1,int param_2)
{
bool bVar1;
byte bVar2;
char cVar3;
int iVar4;
undefined8 uVar5;
byte *pbVar6;
byte *pbVar7;
byte local_48;
byte local_47;
byte local_46;
byte local_45;
int local_44;
int local_40;
bVar1 = false;
for (local_44 = 0; local_44 < param_2... | (translation_unit "undefined8 FUN_00125b0c(long param_1,int param_2)\n\n{\n bool bVar1;\n byte bVar2;\n char cVar3;\n int iVar4;\n undefined8 uVar5;\n byte *pbVar6;\n byte *pbVar7;\n byte local_48;\n byte local_47;\n byte local_46;\n byte local_45;\n int local_44;\n int local_40;\n \n bVar1 = false;\n f... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x48
MOV qword ptr [RBP + -0x48],RDI
MOV dword ptr [RBP + -0x4c],ESI
MOV dword ptr [RBP + -0x34],0x0
MOV dword ptr [RBP + -0x3c],0x0
JMP 0x00125b72
MOV EAX,dword ptr [RBP + -0x3c]
MOVSXD RDX,EAX
MOV RAX,RDX
ADD RAX,RAX
ADD RAX,RDX
SHL RAX,0x2
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0... |
type_1 function_1(type_2 *line,type_1 var_2)
{
type_3 var_11;
bool bVar2;
type_4 var_4;
type_1 var_10;
type_4 *ptr;
type_4 *level;
type_1 count_local;
type_2 *line_local;
type_4 paragraphLevel;
type_4 var_7;
type_4 var_6;
type_4 var_14;
type_1 var_1;
type_1 var_12;
type_1 yes;
type_1 b... | (translation_unit "wchar_t do_bidi(bidi_char *line,wchar_t count)\n\n{\n byte bVar1;\n bool bVar2;\n uchar uVar3;\n wchar_t wVar4;\n uchar *ptr;\n uchar *level;\n wchar_t count_local;\n bidi_char *line_local;\n uchar paragraphLevel;\n uchar currentEmbedding;\n uchar currentOverride;\n uchar tempType;\n wch... | (translation_unit "type_1 function_1(type_2 *line,type_1 var_2)\n\n{\n type_3 var_11;\n bool bVar2;\n type_4 var_4;\n type_1 var_10;\n type_4 *ptr;\n type_4 *level;\n type_1 count_local;\n type_2 *line_local;\n type_4 paragraphLevel;\n type_4 var_7;\n type_4 var_6;\n type_4 var_14;\n type_1 var_1;\n type_... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (ident... |
923_puttytel_and_puttytel_strip.c | term_bidi_line | FUN_001470d8 | term_bidi_line |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
termchar * term_bidi_line(Terminal *term,termline *ldata,wchar_t scr_y)
{
ulong uVar1;
undefined2 uVar2;
undefined4 uVar3;
wchar_t wVar4;
uint uVar5;
bidi_char *pbVar6;
bidi_char *pbVar7;
termchar *ptVar8;
termchar *ptVar9;
... |
undefined8 FUN_001470d8(long param_1,long param_2,int param_3)
{
long lVar1;
undefined8 *puVar2;
int iVar3;
uint uVar4;
undefined8 uVar5;
undefined8 *puVar6;
int local_1c;
undefined8 local_18;
ulong local_10;
if ((*(int *)(param_1 + 0x11b4) == 0) || (*(int *)(param_1 + 0x119c) == 0)) {
iVar... | (translation_unit "undefined8 FUN_001470d8(long param_1,long param_2,int param_3)\n\n{\n long lVar1;\n undefined8 *puVar2;\n int iVar3;\n uint uVar4;\n undefined8 uVar5;\n undefined8 *puVar6;\n int local_1c;\n undefined8 local_18;\n ulong local_10;\n \n if ((*(int *)(param_1 + 0x11b4) == 0) || (*(int *)(para... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV dword ptr [RBP + -0x34],EDX
MOV RAX,qword ptr [RBP + -0x28]
MOV EAX,dword ptr [RAX + 0x11b4]
TEST EAX,EAX
JZ 0x0014710b
MOV RAX,qword ptr [RBP + -0x28]
MOV EAX,dword ptr [RAX + 0x119c]
TEST EAX,EAX
JNZ 0x0014775d
MOV R... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 *term,type_3 *ldata,type_4 scr_y)
{
type_5 uVar1;
type_6 uVar2;
type_7 uVar3;
type_4 var_2;
type_8 var_5;
type_9 *pbVar6;
type_9 *pbVar7;
type_1 *ptVar8;
type_1 *ptVar9;
type_4 scr_y_local;
type_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntermchar * term_bidi_line(Terminal *term,termline *ldata,wchar_t scr_y)\n\n{\n ulong uVar1;\n undefined2 uVar2;\n undefined4 uVar3;\n wchar_t wVar4;\n uint uVar5;\n bidi_char *pbVar6;\n bidi_char *pbVar7;\n termchar *... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *term,type_3 *ldata,type_4 scr_y)\n\n{\n type_5 uVar1;\n type_6 uVar2;\n type_7 uVar3;\n type_4 var_2;\n type_8 var_5;\n type_9 *pbVar6;\n type_9 *pbVar7;\n type_1 *ptVar8;\n type_1 *ptVar9... | (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 ... |
809_puttytel_and_puttytel_strip.c | get_remote_username | FUN_00130768 | get_remote_username |
char * get_remote_username(Conf *conf)
{
int iVar1;
char *pcVar2;
Conf *conf_local;
char *username;
pcVar2 = conf_get_str(conf,0x34);
if (*pcVar2 == '\0') {
iVar1 = conf_get_int(conf,0x35);
if (iVar1 == 0) {
pcVar2 = (char *)0x0;
}
else {
pcVar2 = get_username();
}
}
... |
undefined8 FUN_00130768(undefined8 param_1)
{
int iVar1;
char *pcVar2;
undefined8 uVar3;
pcVar2 = (char *)FUN_001165b3(param_1,0x34);
if (*pcVar2 == '\0') {
iVar1 = FUN_001163b3(param_1,0x35);
if (iVar1 == 0) {
uVar3 = 0;
}
else {
uVar3 = FUN_0016e6f2();
}
}
else {
... | (translation_unit "undefined8 FUN_00130768(undefined8 param_1)\n\n{\n int iVar1;\n char *pcVar2;\n undefined8 uVar3;\n \n pcVar2 = (char *)FUN_001165b3(param_1,0x34);\n if (*pcVar2 == '\0') {\n iVar1 = FUN_001163b3(param_1,0x35);\n if (iVar1 == 0) {\n uVar3 = 0;\n }\n else {\n uVar3 = FUN_00... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV ESI,0x34
MOV RDI,RAX
CALL 0x001165b3
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOVZX EAX,byte ptr [RAX]
TEST AL,AL
JZ 0x001307a2
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0012874d
JMP 0x0013... |
char * function_1(type_1 *conf)
{
int var_3;
char *pcVar2;
type_1 *conf_local;
char *username;
pcVar2 = var_1(conf,0x34);
if (*pcVar2 == '\0') {
var_3 = var_2(conf,0x35);
if (var_3 == 0) {
pcVar2 = (char *)0x0;
}
else {
pcVar2 = var_4();
}
}
else {
pcVar2 = var_5... | (translation_unit "char * get_remote_username(Conf *conf)\n\n{\n int iVar1;\n char *pcVar2;\n Conf *conf_local;\n char *username;\n \n pcVar2 = conf_get_str(conf,0x34);\n if (*pcVar2 == '\0') {\n iVar1 = conf_get_int(conf,0x35);\n if (iVar1 == 0) {\n pcVar2 = (char *)0x0;\n }\n else {\n pcV... | (translation_unit "char * function_1(type_1 *conf)\n\n{\n int var_3;\n char *pcVar2;\n type_1 *conf_local;\n char *username;\n \n pcVar2 = var_1(conf,0x34);\n if (*pcVar2 == '\0') {\n var_3 = var_2(conf,0x35);\n if (var_3 == 0) {\n pcVar2 = (char *)0x0;\n }\n else {\n pcVar2 = var_4();\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decl... |
1402_pscp_and_pscp_strip.c | vet_filename | FUN_0018b2df | vet_filename |
int vet_filename(char *name)
{
int iVar1;
char *pcVar2;
char *name_local;
pcVar2 = strchr(name,0x2f);
if (pcVar2 == (char *)0x0) {
if ((*name == '.') && ((name[1] == '\0' || ((name[1] == '.' && (name[2] == '\0')))))) {
iVar1 = 0;
}
else {
iVar1 = 1;
}
}
else {
iVar1 = ... |
undefined8 FUN_0018b2df(char *param_1)
{
char *pcVar1;
undefined8 uVar2;
pcVar1 = strchr(param_1,0x2f);
if (pcVar1 == (char *)0x0) {
if ((*param_1 == '.') && ((param_1[1] == '\0' || ((param_1[1] == '.' && (param_1[2] == '\0')))))
) {
uVar2 = 0;
}
else {
uVar2 = 1;
}
}
... | (translation_unit "undefined8 FUN_0018b2df(char *param_1)\n\n{\n char *pcVar1;\n undefined8 uVar2;\n \n pcVar1 = strchr(param_1,0x2f);\n if (pcVar1 == (char *)0x0) {\n if ((*param_1 == '.') && ((param_1[1] == '\0' || ((param_1[1] == '.' && (param_1[2] == '\0')))))\n ) {\n uVar2 = 0;\n }\n else ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV ESI,0x2f
MOV RDI,RAX
CALL 0x001072d0
TEST RAX,RAX
JZ 0x0018b308
MOV EAX,0x0
JMP 0x0018b34c
MOV RAX,qword ptr [RBP + -0x8]
MOVZX EAX,byte ptr [RAX]
CMP AL,0x2e
JNZ 0x0018b347
MOV RAX,qword ptr [RBP + -0x8]
ADD RAX,0x1
MOV... |
int function_1(char *name)
{
int iVar1;
char *var_2;
char *name_local;
var_2 = var_1(name,0x2f);
if (var_2 == (char *)0x0) {
if ((*name == '.') && ((name[1] == '\0' || ((name[1] == '.' && (name[2] == '\0')))))) {
iVar1 = 0;
}
else {
iVar1 = 1;
}
}
else {
iVar1 = 0;
}... | (translation_unit "int vet_filename(char *name)\n\n{\n int iVar1;\n char *pcVar2;\n char *name_local;\n \n pcVar2 = strchr(name,0x2f);\n if (pcVar2 == (char *)0x0) {\n if ((*name == '.') && ((name[1] == '\0' || ((name[1] == '.' && (name[2] == '\0')))))) {\n iVar1 = 0;\n }\n else {\n iVar1 = 1;\... | (translation_unit "int function_1(char *name)\n\n{\n int iVar1;\n char *var_2;\n char *name_local;\n \n var_2 = var_1(name,0x2f);\n if (var_2 == (char *)0x0) {\n if ((*name == '.') && ((name[1] == '\0' || ((name[1] == '.' && (name[2] == '\0')))))) {\n iVar1 = 0;\n }\n else {\n iVar1 = 1;\n }... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
1021_puttytel_and_puttytel_strip.c | uctrl_cmp_bywidget_find | FUN_00151b28 | uctrl_cmp_bywidget_find |
int uctrl_cmp_bywidget_find(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
GtkWidget *a;
uctrl *b;
if (av < *(void **)((long)bv + 8)) {
iVar1 = -1;
}
else if (*(void **)((long)bv + 8) < av) {
iVar1 = 1;
}
else {
iVar1 = 0;
}
return iVar1;
}
|
undefined8 FUN_00151b28(ulong param_1,long param_2)
{
undefined8 uVar1;
if (param_1 < *(ulong *)(param_2 + 8)) {
uVar1 = 0xffffffff;
}
else if (*(ulong *)(param_2 + 8) < param_1) {
uVar1 = 1;
}
else {
uVar1 = 0;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_00151b28(ulong param_1,long param_2)\n\n{\n undefined8 uVar1;\n \n if (param_1 < *(ulong *)(param_2 + 8)) {\n uVar1 = 0xffffffff;\n }\n else if (*(ulong *)(param_2 + 8) < param_1) {\n uVar1 = 1;\n }\n else {\n uVar1 = 0;\n }\n return uVar1;\n}\n\n" (function_definitio... | 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 + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
CMP qword ptr [RBP + -0x10],RAX
JNC 0x00151b59
... |
int function_1(void *var_1,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
type_1 *a;
type_2 *b;
if (var_1 < *(void **)((long)bv + 8)) {
iVar1 = -1;
}
else if (*(void **)((long)bv + 8) < var_1) {
iVar1 = 1;
}
else {
iVar1 = 0;
}
return iVar1;
}
| (translation_unit "int uctrl_cmp_bywidget_find(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n GtkWidget *a;\n uctrl *b;\n \n if (av < *(void **)((long)bv + 8)) {\n iVar1 = -1;\n }\n else if (*(void **)((long)bv + 8) < av) {\n iVar1 = 1;\n }\n else {\n iVar1 = 0;\n }\n r... | (translation_unit "int function_1(void *var_1,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n type_1 *a;\n type_2 *b;\n \n if (var_1 < *(void **)((long)bv + 8)) {\n iVar1 = -1;\n }\n else if (*(void **)((long)bv + 8) < var_1) {\n iVar1 = 1;\n }\n else {\n iVar1 = 0;\n }\n return ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
558_puttytel_and_puttytel_strip.c | copy_value | FUN_00116091 | copy_value |
void copy_value(value *to,value *from,int type)
{
char *pcVar1;
Filename *pFVar2;
FontSpec *pFVar3;
int type_local;
value *from_local;
value *to_local;
if (type == 2) {
pcVar1 = dupstr((from->u).stringval);
(to->u).stringval = pcVar1;
}
else if (type < 3) {
if (type == 1) {
(to-... |
void FUN_00116091(undefined8 *param_1,undefined8 *param_2,int param_3)
{
undefined8 uVar1;
if (param_3 == 2) {
uVar1 = FUN_0012874d(*param_2);
*param_1 = uVar1;
}
else if (param_3 < 3) {
if (param_3 == 1) {
*(undefined4 *)param_1 = *(undefined4 *)param_2;
}
}
else if (param_3 == 3... | (translation_unit "void FUN_00116091(undefined8 *param_1,undefined8 *param_2,int param_3)\n\n{\n undefined8 uVar1;\n \n if (param_3 == 2) {\n uVar1 = FUN_0012874d(*param_2);\n *param_1 = uVar1;\n }\n else if (param_3 < 3) {\n if (param_3 == 1) {\n *(undefined4 *)param_1 = *(undefined4 *)param_2;\n ... | 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
CMP dword ptr [RBP + -0x14],0x2
JZ 0x001160d4
CMP dword ptr [RBP + -0x14],0x2
JG 0x001160b8
CMP dword ptr [RBP + -0x14],0x1
JZ 0x001160c6
JMP 0x00116124
CMP dword ptr [RBP + -0x14],0x3
JZ 0x0... |
void function_1(type_1 *to,type_1 *from,int var_1)
{
char *pcVar1;
type_2 *pFVar2;
type_3 *pFVar3;
int type_local;
type_1 *from_local;
type_1 *to_local;
if (var_1 == 2) {
pcVar1 = var_2((from->u).stringval);
(to->u).stringval = pcVar1;
}
else if (var_1 < 3) {
if (var_1 == 1) {
(... | (translation_unit "void copy_value(value *to,value *from,int type)\n\n{\n char *pcVar1;\n Filename *pFVar2;\n FontSpec *pFVar3;\n int type_local;\n value *from_local;\n value *to_local;\n \n if (type == 2) {\n pcVar1 = dupstr((from->u).stringval);\n (to->u).stringval = pcVar1;\n }\n else if (type < 3) {... | (translation_unit "void function_1(type_1 *to,type_1 *from,int var_1)\n\n{\n char *pcVar1;\n type_2 *pFVar2;\n type_3 *pFVar3;\n int type_local;\n type_1 *from_local;\n type_1 *to_local;\n \n if (var_1 == 2) {\n pcVar1 = var_2((from->u).stringval);\n (to->u).stringval = pcVar1;\n }\n else if (var_1 < 3)... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
1283_pscp_and_pscp_strip.c | make_dir_path | FUN_00185466 | make_dir_path |
char * make_dir_path(char *path,mode_t mode)
{
uint uVar1;
int iVar2;
size_t sVar3;
char *__path;
int *piVar4;
char *pcVar5;
mode_t mode_local;
char *path_local;
int pos;
char *prefix;
char *ret;
pos = 0;
do {
sVar3 = strcspn(path + pos,"/");
uVar1 = pos + (int)sVar3;
if (0 < ... |
undefined8 FUN_00185466(long param_1,__mode_t param_2)
{
int iVar1;
size_t sVar2;
char *__path;
int *piVar3;
char *pcVar4;
undefined8 uVar5;
int local_1c;
local_1c = 0;
do {
sVar2 = strcspn((char *)(param_1 + local_1c),"/");
local_1c = local_1c + (int)sVar2;
if (0 < local_1c) {
... | (translation_unit "undefined8 FUN_00185466(long param_1,__mode_t param_2)\n\n{\n int iVar1;\n size_t sVar2;\n char *__path;\n int *piVar3;\n char *pcVar4;\n undefined8 uVar5;\n int local_1c;\n \n local_1c = 0;\n do {\n sVar2 = strcspn((char *)(param_1 + local_1c),"/");\n local_1c = local_1c + (int)sVar2... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
MOV dword ptr [RBP + -0x14],0x0
MOV EAX,dword ptr [RBP + -0x14]
MOVSXD RDX,EAX
MOV RAX,qword ptr [RBP + -0x28]
ADD RAX,RDX
LEA RSI,[0x1a2eff]
MOV RDI,RAX
CALL 0x00107460
MOV EDX,EAX
MOV EAX,dword ptr [RBP + -0x14]
ADD EAX,... |
char * function_1(char *var_2,type_1 mode)
{
type_2 var_11;
int var_6;
size_t sVar3;
char *__path;
int *piVar4;
char *pcVar5;
type_1 mode_local;
char *path_local;
int var_3;
char *prefix;
char *ret;
var_3 = 0;
do {
sVar3 = var_1(var_2 + var_3,"/");
var_11 = var_3 + (int)sVar3;
... | (translation_unit "char * make_dir_path(char *path,mode_t mode)\n\n{\n uint uVar1;\n int iVar2;\n size_t sVar3;\n char *__path;\n int *piVar4;\n char *pcVar5;\n mode_t mode_local;\n char *path_local;\n int pos;\n char *prefix;\n char *ret;\n \n pos = 0;\n do {\n sVar3 = strcspn(path + pos,"/");\n uV... | (translation_unit "char * function_1(char *var_2,type_1 mode)\n\n{\n type_2 var_11;\n int var_6;\n size_t sVar3;\n char *__path;\n int *piVar4;\n char *pcVar5;\n type_1 mode_local;\n char *path_local;\n int var_3;\n char *prefix;\n char *ret;\n \n var_3 = 0;\n do {\n sVar3 = var_1(var_2 + var_3,"/");\n... | (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: (type_... |
868_puttytel_and_puttytel_strip.c | copy_termchar | FUN_00139362 | copy_termchar |
void copy_termchar(termline *destline,wchar_t x,termchar *src)
{
termchar *ptVar1;
ulong uVar2;
undefined4 uVar3;
termchar *src_local;
wchar_t x_local;
termline *destline_local;
clear_cc(destline,x);
ptVar1 = destline->chars + x;
uVar2 = src->attr;
ptVar1->chr = src->chr;
ptVar1->attr = uVar2... |
void FUN_00139362(long param_1,int param_2,undefined8 *param_3)
{
undefined8 *puVar1;
undefined8 uVar2;
undefined8 *local_20;
FUN_001390e0(param_1,param_2);
puVar1 = (undefined8 *)(*(long *)(param_1 + 0x18) + (long)param_2 * 0x18);
uVar2 = param_3[1];
*puVar1 = *param_3;
puVar1[1] = uVar2;
puVar1... | (translation_unit "void FUN_00139362(long param_1,int param_2,undefined8 *param_3)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n undefined8 *local_20;\n \n FUN_001390e0(param_1,param_2);\n puVar1 = (undefined8 *)(*(long *)(param_1 + 0x18) + (long)param_2 * 0x18);\n uVar2 = param_3[1];\n *puVar1 = *param_3;\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV qword ptr [RBP + -0x18],RDX
MOV EDX,dword ptr [RBP + -0xc]
MOV RAX,qword ptr [RBP + -0x8]
MOV ESI,EDX
MOV RDI,RAX
CALL 0x001390e0
MOV RAX,qword ptr [RBP + -0x8]
MOV RCX,qword ptr [RAX + 0x18]
MOV EAX,dword ptr [RBP + -0x... |
void function_1(type_1 *destline,type_2 var_2,type_3 *src)
{
type_3 *ptVar1;
type_4 uVar2;
type_5 uVar3;
type_3 *var_3;
type_2 x_local;
type_1 *destline_local;
var_1(destline,var_2);
ptVar1 = destline->chars + var_2;
uVar2 = src->attr;
ptVar1->chr = src->chr;
ptVar1->attr = uVar2;
uVar3 = *... | (translation_unit "void copy_termchar(termline *destline,wchar_t x,termchar *src)\n\n{\n termchar *ptVar1;\n ulong uVar2;\n undefined4 uVar3;\n termchar *src_local;\n wchar_t x_local;\n termline *destline_local;\n \n clear_cc(destline,x);\n ptVar1 = destline->chars + x;\n uVar2 = src->attr;\n ptVar1->chr = s... | (translation_unit "void function_1(type_1 *destline,type_2 var_2,type_3 *src)\n\n{\n type_3 *ptVar1;\n type_4 uVar2;\n type_5 uVar3;\n type_3 *var_3;\n type_2 x_local;\n type_1 *destline_local;\n \n var_1(destline,var_2);\n ptVar1 = destline->chars + var_2;\n uVar2 = src->attr;\n ptVar1->chr = src->chr;\n p... | (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... |
1457_pscp_and_pscp_strip.c | x11_free_display | FUN_0018f396 | x11_free_display |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void x11_free_display(X11Display *disp)
{
X11Display *disp_local;
safefree(disp->hostname);
safefree(disp->unixsocketpath);
if (disp->localauthdata != (uchar *)0x0) {
smemclr(disp->localauthdata,(long)disp->localauthdatalen);
}... |
void FUN_0018f396(long param_1)
{
FUN_0010ffb6(*(undefined8 *)(param_1 + 8));
FUN_0010ffb6(*(undefined8 *)(param_1 + 0x18));
if (*(long *)(param_1 + 0x40) != 0) {
FUN_0011007e(*(undefined8 *)(param_1 + 0x40),(long)*(int *)(param_1 + 0x48));
}
FUN_0010ffb6(*(undefined8 *)(param_1 + 0x40));
FUN_00185e2a... | (translation_unit "void FUN_0018f396(long param_1)\n\n{\n FUN_0010ffb6(*(undefined8 *)(param_1 + 8));\n FUN_0010ffb6(*(undefined8 *)(param_1 + 0x18));\n if (*(long *)(param_1 + 0x40) != 0) {\n FUN_0011007e(*(undefined8 *)(param_1 + 0x40),(long)*(int *)(param_1 + 0x48));\n }\n FUN_0010ffb6(*(undefined8 *)(param_... | 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 + 0x8]
MOV RDI,RAX
CALL 0x0010ffb6
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x18]
MOV RDI,RAX
CALL 0x0010ffb6
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x40]
TEST RAX,RAX
J... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *disp)
{
type_1 *disp_local;
var_1(disp->hostname);
var_1(disp->unixsocketpath);
if (disp->localauthdata != (type_2 *)0x0) {
var_2(disp->localauthdata,(long)disp->localauthdatalen);
}
var_1(disp->locala... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid x11_free_display(X11Display *disp)\n\n{\n X11Display *disp_local;\n \n safefree(disp->hostname);\n safefree(disp->unixsocketpath);\n if (disp->localauthdata != (uchar *)0x0) {\n smemclr(disp->localauthdata,(long)... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *disp)\n\n{\n type_1 *disp_local;\n \n var_1(disp->hostname);\n var_1(disp->unixsocketpath);\n if (disp->localauthdata != (type_2 *)0x0) {\n var_2(disp->localauthdata,(long)disp->localauthdatale... | (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... |
545_puttytel_and_puttytel_strip.c | charset_to_xenc | FUN_00113797 | charset_to_xenc |
char * charset_to_xenc(int charset)
{
int charset_local;
int i;
i = 0;
while( true ) {
if (0x21 < i) {
return (char *)0x0;
}
if (charset == xencs[i].charset) break;
i = i + 1;
}
return xencs[i].name;
}
|
undefined * FUN_00113797(int param_1)
{
int local_c;
local_c = 0;
while( true ) {
if (0x21 < local_c) {
return (undefined *)0x0;
}
if (param_1 == *(int *)(&DAT_001b3d28 + (long)local_c * 0x10)) break;
local_c = local_c + 1;
}
return (&PTR_s_iso8859_1_001b3d20)[(long)local_c * 2];
}
... | (translation_unit "undefined * FUN_00113797(int param_1)\n\n{\n int local_c;\n \n local_c = 0;\n while( true ) {\n if (0x21 < local_c) {\n return (undefined *)0x0;\n }\n if (param_1 == *(int *)(&DAT_001b3d28 + (long)local_c * 0x10)) break;\n local_c = local_c + 1;\n }\n return (&PTR_s_iso8859_1_0... | PUSH RBP
MOV RBP,RSP
MOV dword ptr [RBP + -0x14],EDI
MOV dword ptr [RBP + -0x4],0x0
JMP 0x001137df
MOV EAX,dword ptr [RBP + -0x4]
CDQE
SHL RAX,0x4
MOV RDX,RAX
LEA RAX,[0x1b3d28]
MOV EAX,dword ptr [RDX + RAX*0x1]
CMP dword ptr [RBP + -0x14],EAX
JNZ 0x001137db
MOV EAX,dword ptr [RBP + -0x4]
CDQE
SHL RAX,0x4
MOV RDX,RAX
L... |
char * function_1(int var_2)
{
int charset_local;
int var_1;
var_1 = 0;
while( true ) {
if (0x21 < var_1) {
return (char *)0x0;
}
if (var_2 == xencs[var_1].var_2) break;
var_1 = var_1 + 1;
}
return xencs[var_1].name;
}
| (translation_unit "char * charset_to_xenc(int charset)\n\n{\n int charset_local;\n int i;\n \n i = 0;\n while( true ) {\n if (0x21 < i) {\n return (char *)0x0;\n }\n if (charset == xencs[i].charset) break;\n i = i + 1;\n }\n return xencs[i].name;\n}\n\n" (function_definition "char * charset_to_x... | (translation_unit "char * function_1(int var_2)\n\n{\n int charset_local;\n int var_1;\n \n var_1 = 0;\n while( true ) {\n if (0x21 < var_1) {\n return (char *)0x0;\n }\n if (var_2 == xencs[var_1].var_2) break;\n var_1 = var_1 + 1;\n }\n return xencs[var_1].name;\n}\n\n" (function_definition "ch... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
1128_pscp_and_pscp_strip.c | share_connstate_cmp | FUN_00178550 | share_connstate_cmp |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int share_connstate_cmp(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
ssh_sharing_connstate *a;
ssh_sharing_connstate *b;
if (*(uint *)((long)av + 8) < *(uint *)((long)bv + 8)) {
iVar1 = -1;
}
else if (*... |
undefined8 FUN_00178550(long param_1,long param_2)
{
undefined8 uVar1;
if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {
uVar1 = 0xffffffff;
}
else if (*(uint *)(param_2 + 8) < *(uint *)(param_1 + 8)) {
uVar1 = 1;
}
else {
uVar1 = 0;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_00178550(long param_1,long param_2)\n\n{\n undefined8 uVar1;\n \n if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n uVar1 = 0xffffffff;\n }\n else if (*(uint *)(param_2 + 8) < *(uint *)(param_1 + 8)) {\n uVar1 = 1;\n }\n else {\n uVar1 = 0;\n }\n return 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 + 0x8]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword p... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
type_1 *a;
type_1 *b;
if (*(type_2 *)((long)av + 8) < *(type_2 *)((long)bv + 8)) {
iVar1 = -1;
}
else if (*(type_2 *)((long)bv + 8) < *(type_2... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint share_connstate_cmp(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n ssh_sharing_connstate *a;\n ssh_sharing_connstate *b;\n \n if (*(uint *)((long)av + 8) < *(uint *)((long)bv + 8)) {\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n type_1 *a;\n type_1 *b;\n \n if (*(type_2 *)((long)av + 8) < *(type_2 *)((long)bv + 8)) {\n iVar1 = -1;\n }\n else if (*(ty... | (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:... |
740_puttytel_and_puttytel_strip.c | sk_proxy_write_eof | FUN_0012a926 | sk_proxy_write_eof |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sk_proxy_write_eof(Socket s)
{
Socket s_local;
Proxy_Socket ps;
if (*(int *)((long)s + 0x84) == 0) {
(**(code **)(s[2]->plug + 0x20))(s[2]);
}
else {
*(undefined4 *)(s + 0x10) = 1;
}
return;
}
|
void FUN_0012a926(long param_1)
{
if (*(int *)(param_1 + 0x84) == 0) {
(**(code **)(**(long **)(param_1 + 0x10) + 0x20))(*(undefined8 *)(param_1 + 0x10));
}
else {
*(undefined4 *)(param_1 + 0x80) = 1;
}
return;
}
| (translation_unit "void FUN_0012a926(long param_1)\n\n{\n if (*(int *)(param_1 + 0x84) == 0) {\n (**(code **)(**(long **)(param_1 + 0x10) + 0x20))(*(undefined8 *)(param_1 + 0x10));\n }\n else {\n *(undefined4 *)(param_1 + 0x80) = 1;\n }\n return;\n}\n\n" (function_definition "void FUN_0012a926(long param_1)\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x84]
TEST EAX,EAX
JZ 0x0012a958
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x80],0x1
JMP 0x0012a974
MOV RAX,qword ptr [RBP + ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_1)
{
type_1 s_local;
type_2 ps;
if (*(int *)((long)var_1 + 0x84) == 0) {
(**(type_3 **)(var_1[2]->plug + 0x20))(var_1[2]);
}
else {
*(type_4 *)(var_1 + 0x10) = 1;
}
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sk_proxy_write_eof(Socket s)\n\n{\n Socket s_local;\n Proxy_Socket ps;\n \n if (*(int *)((long)s + 0x84) == 0) {\n (**(code **)(s[2]->plug + 0x20))(s[2]);\n }\n else {\n *(undefined4 *)(s + 0x10) = 1;\n }\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_1)\n\n{\n type_1 s_local;\n type_2 ps;\n \n if (*(int *)((long)var_1 + 0x84) == 0) {\n (**(type_3 **)(var_1[2]->plug + 0x20))(var_1[2]);\n }\n else {\n *(type_4 *)(var_1 + 0x10) = 1;\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)... |
1248_pscp_and_pscp_strip.c | console_provide_logctx | FUN_00184027 | console_provide_logctx |
void console_provide_logctx(void *logctx)
{
void *logctx_local;
console_logctx = logctx;
return;
}
|
void FUN_00184027(undefined8 param_1)
{
DAT_001b61c8 = param_1;
return;
}
| (translation_unit "void FUN_00184027(undefined8 param_1)\n\n{\n DAT_001b61c8 = param_1;\n return;\n}\n\n" (function_definition "void FUN_00184027(undefined8 param_1)\n\n{\n DAT_001b61c8 = param_1;\n return;\n}" primitive_type (function_declarator "FUN_00184027(undefined8 param_1)" identifier (parameter_list "(undef... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [0x001b61c8],RAX
NOP
POP RBP
RET |
void function_1(void *logctx)
{
void *logctx_local;
console_logctx = logctx;
return;
}
| (translation_unit "void console_provide_logctx(void *logctx)\n\n{\n void *logctx_local;\n \n console_logctx = logctx;\n return;\n}\n\n" (function_definition "void console_provide_logctx(void *logctx)\n\n{\n void *logctx_local;\n \n console_logctx = logctx;\n return;\n}" primitive_type (function_declarator "cons... | (translation_unit "void function_1(void *logctx)\n\n{\n void *logctx_local;\n \n console_logctx = logctx;\n return;\n}\n\n" (function_definition "void function_1(void *logctx)\n\n{\n void *logctx_local;\n \n console_logctx = logctx;\n return;\n}" primitive_type (function_declarator "function_1(void *logctx)" id... | (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... |
918_puttytel_and_puttytel_strip.c | term_print_flush | FUN_0013f698 | term_print_flush |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void term_print_flush(Terminal *term)
{
long in_FS_OFFSET;
Terminal *term_local;
wchar_t len;
wchar_t size;
void *data;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
while( true ) {
size = bufchain_size((bufch... |
void FUN_0013f698(long param_1)
{
long in_FS_OFFSET;
int local_20;
int local_1c;
undefined8 local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
while( true ) {
local_1c = FUN_001293aa(param_1 + 0x148);
if (local_1c < 6) break;
FUN_00129699(param_1 + 0x148,&local_18,&local_... | (translation_unit "void FUN_0013f698(long param_1)\n\n{\n long in_FS_OFFSET;\n int local_20;\n int local_1c;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n while( true ) {\n local_1c = FUN_001293aa(param_1 + 0x148);\n if (local_1c < 6) break;\n FUN_00129699(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 0x0013f71e
MOV RAX,qword ptr [RBP + -0x28]
LEA RCX,[RAX + 0x148]
LEA RDX,[RBP + -0x18]
LEA RAX,[RBP + -0x10]
MOV RSI,RAX
MOV RDI,RCX
CALL 0x00129699
MOV EAX,dword ptr [RBP + -0x14... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *term)
{
long var_1;
type_1 *term_local;
type_2 var_5;
type_2 var_3;
void *data;
long var_8;
var_8 = *(long *)(var_1 + 0x28);
while( true ) {
var_3 = var_2((type_3 *)&term->printer_buf);
if (var... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_print_flush(Terminal *term)\n\n{\n long in_FS_OFFSET;\n Terminal *term_local;\n wchar_t len;\n wchar_t size;\n void *data;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n while( true ) {\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term)\n\n{\n long var_1;\n type_1 *term_local;\n type_2 var_5;\n type_2 var_3;\n void *data;\n long var_8;\n \n var_8 = *(long *)(var_1 + 0x28);\n while( true ) {\n var_3 = var_2((type_3 *)... | (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... |
656_puttytel_and_puttytel_strip.c | logfopen_callback | FUN_00123bdd | logfopen_callback |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void logfopen_callback(void *handle,int mode)
{
long lVar1;
int iVar2;
FILE *pFVar3;
char *pcVar4;
char *pcVar5;
size_t sVar6;
char *pcVar7;
long in_FS_OFFSET;
int mode_local;
void *handle_local;
int len;
int shout;
vo... |
void FUN_00123bdd(long *param_1,int param_2)
{
int iVar1;
long lVar2;
undefined8 uVar3;
char *pcVar4;
size_t sVar5;
char *pcVar6;
long in_FS_OFFSET;
tm local_1d8;
int local_194;
long *local_190;
undefined4 local_180;
int local_17c;
undefined8 local_178;
long *local_170;
undefined *local_... | (translation_unit "void FUN_00123bdd(long *param_1,int param_2)\n\n{\n int iVar1;\n long lVar2;\n undefined8 uVar3;\n char *pcVar4;\n size_t sVar5;\n char *pcVar6;\n long in_FS_OFFSET;\n tm local_1d8;\n int local_194;\n long *local_190;\n undefined4 local_180;\n int local_17c;\n undefined8 local_178;\n lo... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x1d0
MOV qword ptr [RBP + -0x188],RDI
MOV dword ptr [RBP + -0x18c],ESI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x188]
MOV qword ptr [RBP + -0x168],RAX
MOV dword ptr [RBP + -0x174],0x0
CMP dword ptr [RBP + -0x18c],0x0
JNZ 0x00123c38
M... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *handle,int var_2)
{
long var_23;
int var_19;
type_1 *pFVar3;
char *pcVar4;
char *pcVar5;
size_t sVar6;
char *pcVar7;
long var_1;
int mode_local;
void *handle_local;
int len;
int var_12;
void *data... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid logfopen_callback(void *handle,int mode)\n\n{\n long lVar1;\n int iVar2;\n FILE *pFVar3;\n char *pcVar4;\n char *pcVar5;\n size_t sVar6;\n char *pcVar7;\n long in_FS_OFFSET;\n int mode_local;\n void *handle_loc... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *handle,int var_2)\n\n{\n long var_23;\n int var_19;\n type_1 *pFVar3;\n char *pcVar4;\n char *pcVar5;\n size_t sVar6;\n char *pcVar7;\n long var_1;\n int mode_local;\n void *handle_local;\n in... | (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:... |
720_puttytel_and_puttytel_strip.c | get_ssh_string | FUN_00129f14 | get_ssh_string |
void * get_ssh_string(int *datalen,void **data,int *stringlen)
{
uint uVar1;
void *pvVar2;
int *stringlen_local;
void **data_local;
int *datalen_local;
uint len;
void *ret;
if (*datalen < 4) {
pvVar2 = (void *)0x0;
}
else {
/* WARNING: Load size is inaccurate */
uVar... |
long FUN_00129f14(int *param_1,long *param_2,uint *param_3)
{
uint uVar1;
long lVar2;
if (*param_1 < 4) {
lVar2 = 0;
}
else {
uVar1 = (uint)*(byte *)(*param_2 + 3) |
(uint)*(byte *)*param_2 << 0x18 | (uint)*(byte *)(*param_2 + 1) << 0x10 |
(uint)*(byte *)(*param_2 + 2) << ... | (translation_unit "long FUN_00129f14(int *param_1,long *param_2,uint *param_3)\n\n{\n uint uVar1;\n long lVar2;\n \n if (*param_1 < 4) {\n lVar2 = 0;\n }\n else {\n uVar1 = (uint)*(byte *)(*param_2 + 3) |\n (uint)*(byte *)*param_2 << 0x18 | (uint)*(byte *)(*param_2 + 1) << 0x10 |\n (ui... | 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 EAX,dword ptr [RAX]
CMP EAX,0x3
JG 0x00129f39
MOV EAX,0x0
JMP 0x00129fea
MOV RAX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RAX]
MOVZX EAX,byte ptr [RAX]
MOVZX EAX,AL
... |
void * function_1(int *datalen,void **data,int *stringlen)
{
type_1 var_1;
void *pvVar2;
int *stringlen_local;
void **data_local;
int *datalen_local;
type_1 len;
void *ret;
if (*datalen < 4) {
pvVar2 = (void *)0x0;
}
else {
/* WARNING: Load size is inaccurate */
var_... | (translation_unit "void * get_ssh_string(int *datalen,void **data,int *stringlen)\n\n{\n uint uVar1;\n void *pvVar2;\n int *stringlen_local;\n void **data_local;\n int *datalen_local;\n uint len;\n void *ret;\n \n if (*datalen < 4) {\n pvVar2 = (void *)0x0;\n }\n else {\n /* WARNING: Lo... | (translation_unit "void * function_1(int *datalen,void **data,int *stringlen)\n\n{\n type_1 var_1;\n void *pvVar2;\n int *stringlen_local;\n void **data_local;\n int *datalen_local;\n type_1 len;\n void *ret;\n \n if (*datalen < 4) {\n pvVar2 = (void *)0x0;\n }\n else {\n /* WARNING: Lo... | (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... |
1389_pscp_and_pscp_strip.c | set_file_times | FUN_0018adbd | set_file_times |
void set_file_times(WFile *f,ulong mtime,ulong atime)
{
long lVar1;
long in_FS_OFFSET;
ulong atime_local;
ulong mtime_local;
WFile *f_local;
utimbuf ut;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
ut.actime = atime;
ut.modtime = mtime;
utime(f->name,(utimbuf *)&ut);
if (lVar1 != *(long *)(in_FS_O... |
void FUN_0018adbd(long param_1,__time_t param_2,__time_t param_3)
{
long in_FS_OFFSET;
utimbuf local_28;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_28.actime = param_3;
local_28.modtime = param_2;
utime(*(char **)(param_1 + 8),&local_28);
if (local_10 != *(long *)(in_FS_OFFSET ... | (translation_unit "void FUN_0018adbd(long param_1,__time_t param_2,__time_t param_3)\n\n{\n long in_FS_OFFSET;\n utimbuf local_28;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_28.actime = param_3;\n local_28.modtime = param_2;\n utime(*(char **)(param_1 + 8),&local_28);\n if (local_... | 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 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 [RBP + -0x30]
MOV qword ptr [RBP + -0... |
void function_1(type_1 *f,type_2 mtime,type_2 atime)
{
long var_3;
long var_1;
type_2 atime_local;
type_2 mtime_local;
type_1 *f_local;
type_3 ut;
var_3 = *(long *)(var_1 + 0x28);
ut.actime = atime;
ut.modtime = mtime;
var_2(f->name,(type_3 *)&ut);
if (var_3 != *(long *)(var_1 + 0x28)) {
... | (translation_unit "void set_file_times(WFile *f,ulong mtime,ulong atime)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n ulong atime_local;\n ulong mtime_local;\n WFile *f_local;\n utimbuf ut;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n ut.actime = atime;\n ut.modtime = mtime;\n utime(f->name,(utimbuf *)&ut);\n... | (translation_unit "void function_1(type_1 *f,type_2 mtime,type_2 atime)\n\n{\n long var_3;\n long var_1;\n type_2 atime_local;\n type_2 mtime_local;\n type_1 *f_local;\n type_3 ut;\n \n var_3 = *(long *)(var_1 + 0x28);\n ut.actime = atime;\n ut.modtime = mtime;\n var_2(f->name,(type_3 *)&ut);\n if (var_3 !=... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
1030_puttytel_and_puttytel_strip.c | dlg_checkbox_set | FUN_00151f60 | dlg_checkbox_set |
void dlg_checkbox_set(control *ctrl,void *dlg,int checked)
{
uctrl *puVar1;
undefined8 uVar2;
int checked_local;
void *dlg_local;
control *ctrl_local;
dlgparam *dp;
uctrl *uc;
puVar1 = dlg_find_byctrl((dlgparam *)dlg,ctrl);
if ((puVar1->ctrl->generic).type != 3) {
/* WARNING: ... |
void FUN_00151f60(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
undefined8 *puVar1;
undefined8 uVar2;
puVar1 = (undefined8 *)FUN_00151cc6(param_2,param_1);
if (*(int *)*puVar1 != 3) {
/* WARNING: Subroutine does not return */
__assert_fail("uc->ctrl->generic.type == CT... | (translation_unit "void FUN_00151f60(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n \n puVar1 = (undefined8 *)FUN_00151cc6(param_2,param_1);\n if (*(int *)*puVar1 != 3) {\n /* WARNING: Subroutine does not return */\n __assert_fail("u... | 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 + -0x20]
MOV qword ptr [RBP + -0x10],RAX
MOV RDX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RBP + -0x10]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00151cc6
MOV qword ptr [RBP + -... |
void function_1(type_1 *ctrl,void *dlg,int checked)
{
type_2 *puVar1;
type_3 uVar2;
int checked_local;
void *dlg_local;
type_1 *ctrl_local;
type_4 *dp;
type_2 *uc;
puVar1 = var_1((type_4 *)dlg,ctrl);
if ((puVar1->ctrl->generic).type != 3) {
/* WARNING: Subroutine does not retu... | (translation_unit "void dlg_checkbox_set(control *ctrl,void *dlg,int checked)\n\n{\n uctrl *puVar1;\n undefined8 uVar2;\n int checked_local;\n void *dlg_local;\n control *ctrl_local;\n dlgparam *dp;\n uctrl *uc;\n \n puVar1 = dlg_find_byctrl((dlgparam *)dlg,ctrl);\n if ((puVar1->ctrl->generic).type != 3) {\n ... | (translation_unit "void function_1(type_1 *ctrl,void *dlg,int checked)\n\n{\n type_2 *puVar1;\n type_3 uVar2;\n int checked_local;\n void *dlg_local;\n type_1 *ctrl_local;\n type_4 *dp;\n type_2 *uc;\n \n puVar1 = var_1((type_4 *)dlg,ctrl);\n if ((puVar1->ctrl->generic).type != 3) {\n /* WA... | (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... |
891_puttytel_and_puttytel_strip.c | term_reset_cblink | FUN_0013aefb | term_reset_cblink |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void term_reset_cblink(Terminal *term)
{
Terminal *term_local;
seen_disp_event(term);
term->cblinker = L'\x01';
term->cblink_pending = L'\0';
term_schedule_cblink(term);
return;
}
|
void FUN_0013aefb(long param_1)
{
FUN_0013adca(param_1);
*(undefined4 *)(param_1 + 0x10c) = 1;
*(undefined4 *)(param_1 + 0x113c) = 0;
FUN_0013ae70(param_1);
return;
}
| (translation_unit "void FUN_0013aefb(long param_1)\n\n{\n FUN_0013adca(param_1);\n *(undefined4 *)(param_1 + 0x10c) = 1;\n *(undefined4 *)(param_1 + 0x113c) = 0;\n FUN_0013ae70(param_1);\n return;\n}\n\n" (function_definition "void FUN_0013aefb(long param_1)\n\n{\n FUN_0013adca(param_1);\n *(undefined4 *)(param_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0013adca
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x10c],0x1
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x113c],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0013ae70
NOP
LEAVE
... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *term)
{
type_1 *term_local;
var_1(term);
term->cblinker = L'\x01';
term->cblink_pending = L'\0';
var_2(term);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_reset_cblink(Terminal *term)\n\n{\n Terminal *term_local;\n \n seen_disp_event(term);\n term->cblinker = L'\x01';\n term->cblink_pending = L'\0';\n term_schedule_cblink(term);\n return;\n}\n\n" comment (funct... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term)\n\n{\n type_1 *term_local;\n \n var_1(term);\n term->cblinker = L'\x01';\n term->cblink_pending = L'\0';\n var_2(term);\n return;\n}\n\n" comment (function_definition "void function_1(type... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_ide... |
1249_pscp_and_pscp_strip.c | logevent | FUN_0018403d | logevent |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void logevent(void *frontend,char *string)
{
long lVar1;
long in_FS_OFFSET;
char *string_local;
void *frontend_local;
termios cf;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
if (((flags & 2U) != 0) && ((flags & 1U) != 0)) {
pre... |
void FUN_0018403d(undefined8 param_1,undefined8 param_2)
{
long in_FS_OFFSET;
undefined local_58 [72];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (((DAT_001b6260 & 2) != 0) && ((DAT_001b6260 & 1) != 0)) {
FUN_00183550(local_58);
}
if (DAT_001b61c8 != 0) {
FUN_0010d88b(DAT_00... | (translation_unit "void FUN_0018403d(undefined8 param_1,undefined8 param_2)\n\n{\n long in_FS_OFFSET;\n undefined local_58 [72];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (((DAT_001b6260 & 2) != 0) && ((DAT_001b6260 & 1) != 0)) {\n FUN_00183550(local_58);\n }\n if (DAT_001b61c8 !=... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x58],RDI
MOV qword ptr [RBP + -0x60],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [0x001b6260]
AND EAX,0x2
TEST EAX,EAX
JZ 0x00184082
MOV EAX,dword ptr [0x001b6260]
AND EAX,0x1
TEST EAX,EAX
JZ 0x00184082
LEA RAX,[RB... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *frontend,char *string)
{
long var_7;
long var_1;
char *string_local;
void *frontend_local;
type_1 cf;
var_7 = *(long *)(var_1 + 0x28);
if (((var_2 & 2U) != 0) && ((var_2 & 1U) != 0)) {
var_3(&cf);
}
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid logevent(void *frontend,char *string)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n char *string_local;\n void *frontend_local;\n termios cf;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if (((flags & 2U) != 0) && ... | (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 long var_7;\n long var_1;\n char *string_local;\n void *frontend_local;\n type_1 cf;\n \n var_7 = *(long *)(var_1 + 0x28);\n if (((var_2 & 2U) != 0) && ((var_2 & 1U)... | (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:... |
834_puttytel_and_puttytel_strip.c | deactivate_option | FUN_0013677f | deactivate_option |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void deactivate_option(Telnet telnet,Opt *o)
{
Opt *o_local;
Telnet telnet_local;
if ((telnet->opt_states[o->index] == 0) || (telnet->opt_states[o->index] == 1)) {
send_opt(telnet,o->nsend,o->option);
}
telnet->opt_states[o->in... |
void FUN_0013677f(long param_1,long param_2)
{
if ((*(int *)(param_1 + ((long)*(int *)(param_2 + 0x14) + 0xc) * 4) == 0) ||
(*(int *)(param_1 + ((long)*(int *)(param_2 + 0x14) + 0xc) * 4) == 1)) {
FUN_001366f0(param_1,*(undefined4 *)(param_2 + 4),*(undefined4 *)(param_2 + 0x10));
}
*(undefined4 *)(para... | (translation_unit "void FUN_0013677f(long param_1,long param_2)\n\n{\n if ((*(int *)(param_1 + ((long)*(int *)(param_2 + 0x14) + 0xc) * 4) == 0) ||\n (*(int *)(param_1 + ((long)*(int *)(param_2 + 0x14) + 0xc) * 4) == 1)) {\n FUN_001366f0(param_1,*(undefined4 *)(param_2 + 4),*(undefined4 *)(param_2 + 0x10));\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x10]
MOV EDX,dword ptr [RAX + 0x14]
MOV RAX,qword ptr [RBP + -0x8]
MOVSXD RDX,EDX
ADD RDX,0xc
MOV EAX,dword ptr [RAX + RDX*0x4]
TEST EAX,EAX
JZ 0x001367c2
MOV RAX,qword ptr [RBP + -0x10]
MOV EDX,d... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 telnet,type_2 *o)
{
type_2 *o_local;
type_1 telnet_local;
if ((telnet->opt_states[o->index] == 0) || (telnet->opt_states[o->index] == 1)) {
var_1(telnet,o->nsend,o->option);
}
telnet->opt_states[o->index]... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid deactivate_option(Telnet telnet,Opt *o)\n\n{\n Opt *o_local;\n Telnet telnet_local;\n \n if ((telnet->opt_states[o->index] == 0) || (telnet->opt_states[o->index] == 1)) {\n send_opt(telnet,o->nsend,o->option);\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 telnet,type_2 *o)\n\n{\n type_2 *o_local;\n type_1 telnet_local;\n \n if ((telnet->opt_states[o->index] == 0) || (telnet->opt_states[o->index] == 1)) {\n var_1(telnet,o->nsend,o->option);\n }\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator... |
725_puttytel_and_puttytel_strip.c | dup_mb_to_wc_c | FUN_0012a212 | dup_mb_to_wc_c |
wchar_t * dup_mb_to_wc_c(wchar_t codepage,wchar_t flags,char *string,wchar_t len)
{
wchar_t wVar1;
wchar_t *wcstr;
wchar_t len_local;
char *string_local;
wchar_t flags_local;
wchar_t codepage_local;
wchar_t mult;
wchar_t outlen;
wchar_t *ret;
mult = L'\x01';
while( true ) {
wcstr = (wchar... |
long FUN_0012a212(undefined4 param_1,undefined4 param_2,undefined8 param_3,int param_4)
{
int iVar1;
long lVar2;
undefined4 local_18;
local_18 = 1;
while( true ) {
lVar2 = FUN_001297e1((long)(local_18 * param_4 + 2),4);
iVar1 = FUN_00176bc6(param_1,param_2,param_3,param_4,lVar2,local_18 * param_4... | (translation_unit "long FUN_0012a212(undefined4 param_1,undefined4 param_2,undefined8 param_3,int param_4)\n\n{\n int iVar1;\n long lVar2;\n undefined4 local_18;\n \n local_18 = 1;\n while( true ) {\n lVar2 = FUN_001297e1((long)(local_18 * param_4 + 2),4);\n iVar1 = FUN_00176bc6(param_1,param_2,param_3,para... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV dword ptr [RBP + -0x14],EDI
MOV dword ptr [RBP + -0x18],ESI
MOV qword ptr [RBP + -0x20],RDX
MOV dword ptr [RBP + -0x24],ECX
MOV dword ptr [RBP + -0x10],0x1
MOV EAX,dword ptr [RBP + -0x10]
IMUL EAX,dword ptr [RBP + -0x24]
ADD EAX,0x2
CDQE
MOV ESI,0x4
MOV RDI,RAX
CALL 0x001297e1
MOV ... |
type_1 * function_1(type_1 codepage,type_1 flags,char *string,type_1 var_3)
{
type_1 var_5;
type_1 *wcstr;
type_1 len_local;
char *string_local;
type_1 flags_local;
type_1 codepage_local;
type_1 var_2;
type_1 outlen;
type_1 *ret;
var_2 = L'\x01';
while( true ) {
wcstr = (type_1 *)var_1((l... | (translation_unit "wchar_t * dup_mb_to_wc_c(wchar_t codepage,wchar_t flags,char *string,wchar_t len)\n\n{\n wchar_t wVar1;\n wchar_t *wcstr;\n wchar_t len_local;\n char *string_local;\n wchar_t flags_local;\n wchar_t codepage_local;\n wchar_t mult;\n wchar_t outlen;\n wchar_t *ret;\n \n mult = L'\x01';\n wh... | (translation_unit "type_1 * function_1(type_1 codepage,type_1 flags,char *string,type_1 var_3)\n\n{\n type_1 var_5;\n type_1 *wcstr;\n type_1 len_local;\n char *string_local;\n type_1 flags_local;\n type_1 codepage_local;\n type_1 var_2;\n type_1 outlen;\n type_1 *ret;\n \n var_2 = L'\x01';\n while( true ) ... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identi... |
1333_pscp_and_pscp_strip.c | so_peercred | FUN_00188fa8 | so_peercred |
int so_peercred(int fd,int *pid,int *uid,int *gid)
{
long lVar1;
int iVar2;
long in_FS_OFFSET;
int *gid_local;
int *uid_local;
int *pid_local;
int fd_local;
socklen_t crlen;
ucred cr;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
crlen = 0xc;
iVar2 = getsockopt(fd,1,0x11,&cr,&crlen);
if (iVar2 ... |
bool FUN_00188fa8(int param_1,undefined4 *param_2,undefined4 *param_3,undefined4 *param_4)
{
int iVar1;
long in_FS_OFFSET;
socklen_t local_20;
undefined4 local_1c;
undefined4 local_18;
undefined4 local_14;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_20 = 0xc;
iVar1 = getsock... | (translation_unit "bool FUN_00188fa8(int param_1,undefined4 *param_2,undefined4 *param_3,undefined4 *param_4)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n socklen_t local_20;\n undefined4 local_1c;\n undefined4 local_18;\n undefined4 local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n loc... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV dword ptr [RBP + -0x24],EDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV qword ptr [RBP + -0x40],RCX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x18],0xc
LEA RCX,[RBP + -0x18]
LEA RDX,[RBP + -0x14]
MOV EAX,dwo... |
int function_1(int fd,int *pid,int *uid,int *gid)
{
long var_4;
int var_3;
long var_1;
int *gid_local;
int *uid_local;
int *pid_local;
int fd_local;
type_1 crlen;
type_2 cr;
var_4 = *(long *)(var_1 + 0x28);
crlen = 0xc;
var_3 = var_2(fd,1,0x11,&cr,&crlen);
if (var_3 == 0) {
*pid = cr.... | (translation_unit "int so_peercred(int fd,int *pid,int *uid,int *gid)\n\n{\n long lVar1;\n int iVar2;\n long in_FS_OFFSET;\n int *gid_local;\n int *uid_local;\n int *pid_local;\n int fd_local;\n socklen_t crlen;\n ucred cr;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n crlen = 0xc;\n iVar2 = getsockopt(fd... | (translation_unit "int function_1(int fd,int *pid,int *uid,int *gid)\n\n{\n long var_4;\n int var_3;\n long var_1;\n int *gid_local;\n int *uid_local;\n int *pid_local;\n int fd_local;\n type_1 crlen;\n type_2 cr;\n \n var_4 = *(long *)(var_1 + 0x28);\n crlen = 0xc;\n var_3 = var_2(fd,1,0x11,&cr,&crlen);\n... | (translation_unit (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: (identifie... |
697_puttytel_and_puttytel_strip.c | strbuf_to_str | FUN_00128d95 | strbuf_to_str |
char * strbuf_to_str(strbuf *buf)
{
char *pcVar1;
strbuf *buf_local;
char *ret;
pcVar1 = buf->s;
safefree(buf);
return pcVar1;
}
|
undefined8 FUN_00128d95(undefined8 *param_1)
{
undefined8 uVar1;
uVar1 = *param_1;
FUN_001299ed(param_1);
return uVar1;
}
| (translation_unit "undefined8 FUN_00128d95(undefined8 *param_1)\n\n{\n undefined8 uVar1;\n \n uVar1 = *param_1;\n FUN_001299ed(param_1);\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_00128d95(undefined8 *param_1)\n\n{\n undefined8 uVar1;\n \n uVar1 = *param_1;\n FUN_001299ed(param_1);\n return ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RDI,RAX
CALL 0x001299ed
MOV RAX,qword ptr [RBP + -0x8]
LEAVE
RET |
char * function_1(type_1 *buf)
{
char *pcVar1;
type_1 *buf_local;
char *ret;
pcVar1 = buf->s;
var_1(buf);
return pcVar1;
}
| (translation_unit "char * strbuf_to_str(strbuf *buf)\n\n{\n char *pcVar1;\n strbuf *buf_local;\n char *ret;\n \n pcVar1 = buf->s;\n safefree(buf);\n return pcVar1;\n}\n\n" (function_definition "char * strbuf_to_str(strbuf *buf)\n\n{\n char *pcVar1;\n strbuf *buf_local;\n char *ret;\n \n pcVar1 = buf->s;\n ... | (translation_unit "char * function_1(type_1 *buf)\n\n{\n char *pcVar1;\n type_1 *buf_local;\n char *ret;\n \n pcVar1 = buf->s;\n var_1(buf);\n return pcVar1;\n}\n\n" (function_definition "char * function_1(type_1 *buf)\n\n{\n char *pcVar1;\n type_1 *buf_local;\n char *ret;\n \n pcVar1 = buf->s;\n var_1(buf... | (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... |
1426_pscp_and_pscp_strip.c | read_setting_s | FUN_0018d48b | read_setting_s |
char * read_setting_s(void *handle,char *key)
{
long lVar1;
void *pvVar2;
char *pcVar3;
long in_FS_OFFSET;
char *key_local;
void *handle_local;
char *val;
tree234 *tree;
skeyval *kv;
skeyval tmp;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
tmp.key = key;
if (handle != (void *)0x0) {
pvVar... |
undefined8 FUN_0018d48b(long param_1,undefined8 param_2)
{
long lVar1;
undefined8 uVar2;
long in_FS_OFFSET;
long local_40;
undefined8 local_28 [3];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_28[0] = param_2;
if (param_1 != 0) {
lVar1 = FUN_00181e4b(param_1,local_28,0);
... | (translation_unit "undefined8 FUN_0018d48b(long param_1,undefined8 param_2)\n\n{\n long lVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n long local_40;\n undefined8 local_28 [3];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_28[0] = param_2;\n if (param_1 != 0) {\n lVar1 = FUN_0... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x48],RDI
MOV qword ptr [RBP + -0x50],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x48]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RBP + -0x50]
MOV qword ptr [RBP + -0x20],RAX
CMP qword ptr [RBP + -0... |
char * function_1(void *var_2,char *key)
{
long var_9;
void *var_4;
char *pcVar3;
long var_1;
char *key_local;
void *handle_local;
char *var_5;
type_1 *tree;
type_2 *kv;
type_2 tmp;
var_9 = *(long *)(var_1 + 0x28);
tmp.key = key;
if (var_2 != (void *)0x0) {
var_4 = var_3((type_1 *)var... | (translation_unit "char * read_setting_s(void *handle,char *key)\n\n{\n long lVar1;\n void *pvVar2;\n char *pcVar3;\n long in_FS_OFFSET;\n char *key_local;\n void *handle_local;\n char *val;\n tree234 *tree;\n skeyval *kv;\n skeyval tmp;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n tmp.key = key;\n if (... | (translation_unit "char * function_1(void *var_2,char *key)\n\n{\n long var_9;\n void *var_4;\n char *pcVar3;\n long var_1;\n char *key_local;\n void *handle_local;\n char *var_5;\n type_1 *tree;\n type_2 *kv;\n type_2 tmp;\n \n var_9 = *(long *)(var_1 + 0x28);\n tmp.key = key;\n if (var_2 != (void *)0x0)... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primi... |
947_puttytel_and_puttytel_strip.c | term_get_ttymode | FUN_0014b99e | term_get_ttymode |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * term_get_ttymode(Terminal *term,char *mode)
{
int iVar1;
wchar_t wVar2;
char *pcVar3;
char *mode_local;
Terminal *term_local;
char *val;
val = (char *)0x0;
iVar1 = strcmp(mode,"ERASE");
if (iVar1 == 0) {
if (term... |
void FUN_0014b99e(long param_1,char *param_2)
{
int iVar1;
undefined *local_10;
local_10 = (undefined *)0x0;
iVar1 = strcmp(param_2,"ERASE");
if (iVar1 == 0) {
if (*(int *)(param_1 + 0x11b8) == 0) {
local_10 = &DAT_001a08b2;
}
else {
local_10 = &DAT_001a08af;
}
}
else {
... | (translation_unit "void FUN_0014b99e(long param_1,char *param_2)\n\n{\n int iVar1;\n undefined *local_10;\n \n local_10 = (undefined *)0x0;\n iVar1 = strcmp(param_2,"ERASE");\n if (iVar1 == 0) {\n if (*(int *)(param_1 + 0x11b8) == 0) {\n local_10 = &DAT_001a08b2;\n }\n else {\n local_10 = &DAT_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x8],0x0
MOV RAX,qword ptr [RBP + -0x20]
LEA RSI,[0x1a08a9]
MOV RDI,RAX
CALL 0x00111660
TEST EAX,EAX
JNZ 0x0014b9f1
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x11b8]
TEST EAX,EAX
JZ 0x0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * function_1(type_1 *term,char *mode)
{
int var_2;
type_2 var_4;
char *pcVar3;
char *mode_local;
type_1 *term_local;
char *val;
val = (char *)0x0;
var_2 = var_1(mode,"ERASE");
if (var_2 == 0) {
if (term->bksp_is_de... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * term_get_ttymode(Terminal *term,char *mode)\n\n{\n int iVar1;\n wchar_t wVar2;\n char *pcVar3;\n char *mode_local;\n Terminal *term_local;\n char *val;\n \n val = (char *)0x0;\n iVar1 = strcmp(mode,"ERASE");\n... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * function_1(type_1 *term,char *mode)\n\n{\n int var_2;\n type_2 var_4;\n char *pcVar3;\n char *mode_local;\n type_1 *term_local;\n char *val;\n \n val = (char *)0x0;\n var_2 = var_1(mode,"ERASE");\n if (var_2 ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration t... |
758_puttytel_and_puttytel_strip.c | format_telnet_command | FUN_0012d943 | format_telnet_command |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * format_telnet_command(SockAddr addr,int port,Conf *conf)
{
long lVar1;
char cVar2;
int iVar3;
int iVar4;
uint uVar5;
char *pcVar6;
size_t sVar7;
char *pcVar8;
long in_FS_OFFSET;
Conf *conf_local;
int port_local;
S... |
long FUN_0012d943(undefined8 param_1,uint param_2,undefined8 param_3)
{
char cVar1;
int iVar2;
int iVar3;
uint uVar4;
long lVar5;
size_t sVar6;
char *pcVar7;
long in_FS_OFFSET;
char local_26e;
int local_26c;
int local_268;
int local_264;
int local_260;
int local_25c;
long local_240;
ch... | (translation_unit "long FUN_0012d943(undefined8 param_1,uint param_2,undefined8 param_3)\n\n{\n char cVar1;\n int iVar2;\n int iVar3;\n uint uVar4;\n long lVar5;\n size_t sVar6;\n char *pcVar7;\n long in_FS_OFFSET;\n char local_26e;\n int local_26c;\n int local_268;\n int local_264;\n int local_260;\n int... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x290
MOV qword ptr [RBP + -0x278],RDI
MOV dword ptr [RBP + -0x27c],ESI
MOV qword ptr [RBP + -0x288],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x288]
MOV ESI,0x12
MOV RDI,RAX
CALL 0x001165b3
MOV qword ptr [RBP + -0x230],RAX
MOV qwor... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * function_1(type_1 addr,int port,type_2 *conf)
{
long var_11;
char var_13;
int var_14;
int var_18;
type_3 uVar5;
char *var_10;
size_t sVar7;
char *pcVar8;
long var_1;
type_2 *conf_local;
int port_local;
type_1 addr... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * format_telnet_command(SockAddr addr,int port,Conf *conf)\n\n{\n long lVar1;\n char cVar2;\n int iVar3;\n int iVar4;\n uint uVar5;\n char *pcVar6;\n size_t sVar7;\n char *pcVar8;\n long in_FS_OFFSET;\n Conf *c... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * function_1(type_1 addr,int port,type_2 *conf)\n\n{\n long var_11;\n char var_13;\n int var_14;\n int var_18;\n type_3 uVar5;\n char *var_10;\n size_t sVar7;\n char *pcVar8;\n long var_1;\n type_2 *conf_local;... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator:... |
1374_pscp_and_pscp_strip.c | platform_get_x11_auth | FUN_0018a757 | platform_get_x11_auth |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void platform_get_x11_auth(X11Display *display,Conf *conf)
{
Conf *conf_local;
X11Display *display_local;
return;
}
|
void FUN_0018a757(void)
{
return;
}
| (translation_unit "void FUN_0018a757(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_0018a757(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_0018a757(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
NOP
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *display,type_2 *conf)
{
type_2 *conf_local;
type_1 *display_local;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid platform_get_x11_auth(X11Display *display,Conf *conf)\n\n{\n Conf *conf_local;\n X11Display *display_local;\n \n return;\n}\n\n" comment (function_definition "void platform_get_x11_auth(X11Display *display,Conf *conf... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *display,type_2 *conf)\n\n{\n type_2 *conf_local;\n type_1 *display_local;\n \n return;\n}\n\n" comment (function_definition "void function_1(type_1 *display,type_2 *conf)\n\n{\n type_2 *conf_local... | (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... |
1274_pscp_and_pscp_strip.c | nonblock | FUN_00184fc6 | nonblock |
int nonblock(int fd)
{
uint uVar1;
int iVar2;
int *piVar3;
char *pcVar4;
int fd_local;
int fdflags;
uVar1 = fcntl64(fd,3);
if ((int)uVar1 < 0) {
piVar3 = __errno_location();
pcVar4 = strerror(*piVar3);
fprintf(stderr,"%d: fcntl(F_GETFL): %s\n",(ulong)(uint)fd,pcVar4);
... |
uint FUN_00184fc6(uint param_1)
{
uint uVar1;
int iVar2;
int *piVar3;
char *pcVar4;
uVar1 = fcntl64(param_1,3);
if ((int)uVar1 < 0) {
piVar3 = __errno_location();
pcVar4 = strerror(*piVar3);
fprintf(stderr,"%d: fcntl(F_GETFL): %s\n",(ulong)param_1,pcVar4);
/* WARNING: Su... | (translation_unit "uint FUN_00184fc6(uint param_1)\n\n{\n uint uVar1;\n int iVar2;\n int *piVar3;\n char *pcVar4;\n \n uVar1 = fcntl64(param_1,3);\n if ((int)uVar1 < 0) {\n piVar3 = __errno_location();\n pcVar4 = strerror(*piVar3);\n fprintf(stderr,"%d: fcntl(F_GETFL): %s\n",(ulong)param_1,pcVar4);\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x14],EDI
MOV EAX,dword ptr [RBP + -0x14]
MOV ESI,0x3
MOV EDI,EAX
MOV EAX,0x0
CALL 0x00107680
MOV dword ptr [RBP + -0x4],EAX
CMP dword ptr [RBP + -0x4],0x0
JNS 0x00185027
CALL 0x001070c0
MOV EAX,dword ptr [RAX]
MOV EDI,EAX
CALL 0x00107810
MOV RCX,RAX
MOV RAX,qword... |
int function_1(int fd)
{
type_1 var_6;
int var_7;
int *piVar3;
char *pcVar4;
int fd_local;
int fdflags;
var_6 = var_1(fd,3);
if ((int)var_6 < 0) {
piVar3 = var_2();
pcVar4 = var_3(*piVar3);
var_4(stderr,"%d: fcntl(F_GETFL): %s\n",(type_2)(type_1)fd,pcVar4);
/* WARNIN... | (translation_unit "int nonblock(int fd)\n\n{\n uint uVar1;\n int iVar2;\n int *piVar3;\n char *pcVar4;\n int fd_local;\n int fdflags;\n \n uVar1 = fcntl64(fd,3);\n if ((int)uVar1 < 0) {\n piVar3 = __errno_location();\n pcVar4 = strerror(*piVar3);\n fprintf(stderr,"%d: fcntl(F_GETFL): %s\n",(ulong)(uin... | (translation_unit "int function_1(int fd)\n\n{\n type_1 var_6;\n int var_7;\n int *piVar3;\n char *pcVar4;\n int fd_local;\n int fdflags;\n \n var_6 = var_1(fd,3);\n if ((int)var_6 < 0) {\n piVar3 = var_2();\n pcVar4 = var_3(*piVar3);\n var_4(stderr,"%d: fcntl(F_GETFL): %s\n",(type_2)(type_1)fd,pcVar4... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declarat... |
793_puttytel_and_puttytel_strip.c | rlogin_size | FUN_0012fcc2 | rlogin_size |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void rlogin_size(void *handle,int width,int height)
{
long lVar1;
undefined4 uVar2;
long in_FS_OFFSET;
int height_local;
int width_local;
void *handle_local;
Rlogin rlogin;
char b [12];
lVar1 = *(long *)(in_FS_OFFSET + 0x28... |
void FUN_0012fcc2(long param_1,undefined4 param_2,undefined4 param_3)
{
undefined4 uVar1;
long in_FS_OFFSET;
undefined local_1c;
undefined local_1b;
undefined local_1a;
undefined local_19;
undefined local_18;
undefined local_17;
undefined local_16;
undefined local_15;
undefined local_14;
undef... | (translation_unit "void FUN_0012fcc2(long param_1,undefined4 param_2,undefined4 param_3)\n\n{\n undefined4 uVar1;\n long in_FS_OFFSET;\n undefined local_1c;\n undefined local_1b;\n undefined local_1a;\n undefined local_19;\n undefined local_18;\n undefined local_17;\n undefined local_16;\n undefined local_15;... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
MOV dword ptr [RBP + -0x30],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x20],RAX
MOV byte ptr [RBP + -0x14],0xff
MOV byte ptr [RBP + -0x... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *handle,int width,int height)
{
long var_2;
type_1 uVar2;
long var_1;
int height_local;
int width_local;
void *handle_local;
type_2 rlogin;
char b [12];
var_2 = *(long *)(var_1 + 0x28);
b[0] = -1;
b... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid rlogin_size(void *handle,int width,int height)\n\n{\n long lVar1;\n undefined4 uVar2;\n long in_FS_OFFSET;\n int height_local;\n int width_local;\n void *handle_local;\n Rlogin rlogin;\n char b [12];\n \n lVar1... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *handle,int width,int height)\n\n{\n long var_2;\n type_1 uVar2;\n long var_1;\n int height_local;\n int width_local;\n void *handle_local;\n type_2 rlogin;\n char b [12];\n \n var_2 = *(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))) (parameter_declaration type: (primitive_type) declarator:... |
676_puttytel_and_puttytel_strip.c | ctrlparse | FUN_00128050 | ctrlparse |
char ctrlparse(char *s,char **next)
{
byte *pbVar1;
long lVar2;
char **next_local;
char *s_local;
char c;
c = '\0';
if (*s == '^') {
pbVar1 = (byte *)(s + 1);
if (*pbVar1 == 0) {
*next = (char *)0x0;
}
else if (*pbVar1 == 0x3c) {
lVar2 = strtol(s + 2,next,0);
c = (ch... |
byte FUN_00128050(char *param_1,char **param_2)
{
byte *pbVar1;
long lVar2;
byte local_9;
local_9 = 0;
if (*param_1 == '^') {
pbVar1 = (byte *)(param_1 + 1);
if (*pbVar1 == 0) {
*param_2 = (char *)0x0;
}
else if (*pbVar1 == 0x3c) {
lVar2 = strtol(param_1 + 2,param_2,0);
... | (translation_unit "byte FUN_00128050(char *param_1,char **param_2)\n\n{\n byte *pbVar1;\n long lVar2;\n byte local_9;\n \n local_9 = 0;\n if (*param_1 == '^') {\n pbVar1 = (byte *)(param_1 + 1);\n if (*pbVar1 == 0) {\n *param_2 = (char *)0x0;\n }\n else if (*pbVar1 == 0x3c) {\n lVar2 = strto... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV byte ptr [RBP + -0x1],0x0
MOV RAX,qword ptr [RBP + -0x18]
MOVZX EAX,byte ptr [RAX]
CMP AL,0x5e
JZ 0x0012807f
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RAX],0x0
JMP 0x001281ac
ADD qword ptr [RBP + -0x18],0x1
MOV RA... |
char function_1(char *var_1,char **next)
{
type_1 *pbVar1;
long lVar2;
char **next_local;
char *s_local;
char c;
c = '\0';
if (*var_1 == '^') {
pbVar1 = (type_1 *)(var_1 + 1);
if (*pbVar1 == 0) {
*next = (char *)0x0;
}
else if (*pbVar1 == 0x3c) {
lVar2 = var_2(var_1 + 2,ne... | (translation_unit "char ctrlparse(char *s,char **next)\n\n{\n byte *pbVar1;\n long lVar2;\n char **next_local;\n char *s_local;\n char c;\n \n c = '\0';\n if (*s == '^') {\n pbVar1 = (byte *)(s + 1);\n if (*pbVar1 == 0) {\n *next = (char *)0x0;\n }\n else if (*pbVar1 == 0x3c) {\n lVar2 = s... | (translation_unit "char function_1(char *var_1,char **next)\n\n{\n type_1 *pbVar1;\n long lVar2;\n char **next_local;\n char *s_local;\n char c;\n \n c = '\0';\n if (*var_1 == '^') {\n pbVar1 = (type_1 *)(var_1 + 1);\n if (*pbVar1 == 0) {\n *next = (char *)0x0;\n }\n else if (*pbVar1 == 0x3c) {... | (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_... |
681_puttytel_and_puttytel_strip.c | host_strduptrim | FUN_00128354 | host_strduptrim |
char * host_strduptrim(char *s)
{
ushort **ppuVar1;
char *pcVar2;
char *s_local;
int colons;
char *p;
if (*s == '[') {
p = s + 1;
colons = 0;
do {
if ((*p == '\0') || (*p == ']')) goto LAB_001283d8;
ppuVar1 = __ctype_b_loc();
if (((*ppuVar1)[(byte)*p] & 0x1000) == 0) {
... |
void FUN_00128354(char *param_1)
{
ushort **ppuVar1;
int local_14;
byte *local_10;
if (*param_1 == '[') {
local_10 = (byte *)(param_1 + 1);
local_14 = 0;
do {
if ((*local_10 == 0) || (*local_10 == 0x5d)) goto LAB_001283d8;
ppuVar1 = __ctype_b_loc();
if (((*ppuVar1)[*local_10] ... | (translation_unit "void FUN_00128354(char *param_1)\n\n{\n ushort **ppuVar1;\n int local_14;\n byte *local_10;\n \n if (*param_1 == '[') {\n local_10 = (byte *)(param_1 + 1);\n local_14 = 0;\n do {\n if ((*local_10 == 0) || (*local_10 == 0x5d)) goto LAB_001283d8;\n ppuVar1 = __ctype_b_loc();\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOVZX EAX,byte ptr [RAX]
CMP AL,0x5b
JNZ 0x00128429
MOV RAX,qword ptr [RBP + -0x18]
ADD RAX,0x1
MOV qword ptr [RBP + -0x8],RAX
MOV dword ptr [RBP + -0xc],0x0
JMP 0x001283bf
CALL 0x00111100
MOV RDX,qword ptr [RAX]
MOV RAX,q... |
char * function_1(char *var_1)
{
type_1 **ppuVar1;
char *pcVar2;
char *s_local;
int var_4;
char *var_3;
if (*var_1 == '[') {
var_3 = var_1 + 1;
var_4 = 0;
do {
if ((*var_3 == '\0') || (*var_3 == ']')) goto LAB_001283d8;
ppuVar1 = var_2();
if (((*ppuVar1)[(byte)*var_3] & 0x... | (translation_unit "char * host_strduptrim(char *s)\n\n{\n ushort **ppuVar1;\n char *pcVar2;\n char *s_local;\n int colons;\n char *p;\n \n if (*s == '[') {\n p = s + 1;\n colons = 0;\n do {\n if ((*p == '\0') || (*p == ']')) goto LAB_001283d8;\n ppuVar1 = __ctype_b_loc();\n if (((*ppuVar1... | (translation_unit "char * function_1(char *var_1)\n\n{\n type_1 **ppuVar1;\n char *pcVar2;\n char *s_local;\n int var_4;\n char *var_3;\n \n if (*var_1 == '[') {\n var_3 = var_1 + 1;\n var_4 = 0;\n do {\n if ((*var_3 == '\0') || (*var_3 == ']')) goto LAB_001283d8;\n ppuVar1 = var_2();\n i... | (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... |
1298_pscp_and_pscp_strip.c | sk_addrtype | FUN_00185cea | sk_addrtype |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int sk_addrtype(SockAddr addr)
{
int iVar1;
SockAddr addr_local;
int family;
SockAddrStep step;
if (addr->superfamily == ADDRTYPE_UNSPEC) {
iVar1 = 0;
}
else if (addr->superfamily == ADDRTYPE_IPV4) {
iVar1 = 1;
}
el... |
undefined8 FUN_00185cea(long param_1)
{
int iVar1;
undefined8 uVar2;
if (*(int *)(param_1 + 0x10) == 0) {
iVar1 = 0;
}
else if (*(int *)(param_1 + 0x10) == 1) {
iVar1 = 1;
}
else if (*(long *)(param_1 + 0x18) == 0) {
iVar1 = 2;
}
else {
iVar1 = *(int *)(*(long *)(param_1 + 0x18) +... | (translation_unit "undefined8 FUN_00185cea(long param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n if (*(int *)(param_1 + 0x10) == 0) {\n iVar1 = 0;\n }\n else if (*(int *)(param_1 + 0x10) == 1) {\n iVar1 = 1;\n }\n else if (*(long *)(param_1 + 0x18) == 0) {\n iVar1 = 2;\n }\n else {\n iVar1 = *(... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x28],RDI
MOV RAX,qword ptr [RBP + -0x28]
MOV RAX,qword ptr [RAX + 0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV dword ptr [RBP + -0x8],0x0
MOV RAX,qword ptr [RBP + -0x28]
MOV EAX,dword ptr [RAX + 0x10]
TEST EAX,EAX
JZ 0x00185d3c
MOV RAX,qword ptr [RBP + -0x28]
MOV EAX,dword ptr [... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 addr)
{
int var_3;
type_1 addr_local;
int family;
type_2 step;
if (addr->superfamily == var_1) {
var_3 = 0;
}
else if (addr->superfamily == var_2) {
var_3 = 1;
}
else if (addr->ais == (type_3 *... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint sk_addrtype(SockAddr addr)\n\n{\n int iVar1;\n SockAddr addr_local;\n int family;\n SockAddrStep step;\n \n if (addr->superfamily == ADDRTYPE_UNSPEC) {\n iVar1 = 0;\n }\n else if (addr->superfamily == ADDRTYPE_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 addr)\n\n{\n int var_3;\n type_1 addr_local;\n int family;\n type_2 step;\n \n if (addr->superfamily == var_1) {\n var_3 = 0;\n }\n else if (addr->superfamily == var_2) {\n var_3 = 1;\n }\... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier))... |
1392_pscp_and_pscp_strip.c | get_file_posn | FUN_0018aeea | get_file_posn |
uint64 get_file_posn(WFile *f)
{
ulong lo;
uint64 uVar1;
WFile *f_local;
off_t fileofft;
uint64 ret;
lo = lseek64(f->fd,0,1);
uVar1 = uint64_make((long)lo >> 0x20,lo);
return uVar1;
}
|
undefined [16] FUN_0018aeea(int *param_1)
{
undefined auVar1 [16];
__off64_t _Var2;
_Var2 = lseek64(*param_1,0,1);
auVar1 = FUN_0010cba0(_Var2 >> 0x20,_Var2);
return auVar1;
}
| (translation_unit "undefined [16] FUN_0018aeea(int *param_1)\n\n{\n undefined auVar1 [16];\n __off64_t _Var2;\n \n _Var2 = lseek64(*param_1,0,1);\n auVar1 = FUN_0010cba0(_Var2 >> 0x20,_Var2);\n return auVar1;\n}\n\n" (expression_statement "undefined [16]" (subscript_expression "undefined [16]" identifier [ num... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV RAX,qword ptr [RBP + -0x28]
MOV EAX,dword ptr [RAX]
MOV EDX,0x1
MOV ESI,0x0
MOV EDI,EAX
CALL 0x001077e0
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RDX,qword ptr [RBP + -0x18]
SAR RDX,0x20
MOV RSI,RAX
MOV RDI,RDX
CALL 0x0010cb... |
type_1 function_1(type_2 *f)
{
type_3 lo;
type_1 uVar1;
type_2 *f_local;
type_4 fileofft;
type_1 ret;
lo = var_1(f->fd,0,1);
uVar1 = var_2((long)lo >> 0x20,lo);
return uVar1;
}
| (translation_unit "uint64 get_file_posn(WFile *f)\n\n{\n ulong lo;\n uint64 uVar1;\n WFile *f_local;\n off_t fileofft;\n uint64 ret;\n \n lo = lseek64(f->fd,0,1);\n uVar1 = uint64_make((long)lo >> 0x20,lo);\n return uVar1;\n}\n\n" (function_definition "uint64 get_file_posn(WFile *f)\n\n{\n ulong lo;\n uint64... | (translation_unit "type_1 function_1(type_2 *f)\n\n{\n type_3 lo;\n type_1 uVar1;\n type_2 *f_local;\n type_4 fileofft;\n type_1 ret;\n \n lo = var_1(f->fd,0,1);\n uVar1 = var_2((long)lo >> 0x20,lo);\n return uVar1;\n}\n\n" (function_definition "type_1 function_1(type_2 *f)\n\n{\n type_3 lo;\n type_1 uVar1;\... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) ... |
1400_pscp_and_pscp_strip.c | finish_wildcard_matching | FUN_0018b27b | finish_wildcard_matching |
void finish_wildcard_matching(WildcardMatcher *dir)
{
WildcardMatcher *dir_local;
globfree64((glob64_t *)dir);
safefree(dir);
return;
}
|
void FUN_0018b27b(glob64_t *param_1)
{
globfree64(param_1);
FUN_0010ffb6(param_1);
return;
}
| (translation_unit "void FUN_0018b27b(glob64_t *param_1)\n\n{\n globfree64(param_1);\n FUN_0010ffb6(param_1);\n return;\n}\n\n" (function_definition "void FUN_0018b27b(glob64_t *param_1)\n\n{\n globfree64(param_1);\n FUN_0010ffb6(param_1);\n return;\n}" primitive_type (function_declarator "FUN_0018b27b(glob64_t *p... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00107240
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0010ffb6
NOP
LEAVE
RET |
void function_1(type_1 *dir)
{
type_1 *dir_local;
var_1((type_2 *)dir);
var_2(dir);
return;
}
| (translation_unit "void finish_wildcard_matching(WildcardMatcher *dir)\n\n{\n WildcardMatcher *dir_local;\n \n globfree64((glob64_t *)dir);\n safefree(dir);\n return;\n}\n\n" (function_definition "void finish_wildcard_matching(WildcardMatcher *dir)\n\n{\n WildcardMatcher *dir_local;\n \n globfree64((glob64_t *)... | (translation_unit "void function_1(type_1 *dir)\n\n{\n type_1 *dir_local;\n \n var_1((type_2 *)dir);\n var_2(dir);\n return;\n}\n\n" (function_definition "void function_1(type_1 *dir)\n\n{\n type_1 *dir_local;\n \n var_1((type_2 *)dir);\n var_2(dir);\n return;\n}" primitive_type (function_declarator "function... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
1240_pscp_and_pscp_strip.c | notify_remote_exit | FUN_001835f7 | notify_remote_exit |
void notify_remote_exit(void *frontend)
{
void *frontend_local;
return;
}
|
void FUN_001835f7(void)
{
return;
}
| (translation_unit "void FUN_001835f7(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_001835f7(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_001835f7(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
NOP
POP RBP
RET |
void function_1(void *frontend)
{
void *frontend_local;
return;
}
| (translation_unit "void notify_remote_exit(void *frontend)\n\n{\n void *frontend_local;\n \n return;\n}\n\n" (function_definition "void notify_remote_exit(void *frontend)\n\n{\n void *frontend_local;\n \n return;\n}" primitive_type (function_declarator "notify_remote_exit(void *frontend)" identifier (parameter_li... | (translation_unit "void function_1(void *frontend)\n\n{\n void *frontend_local;\n \n return;\n}\n\n" (function_definition "void function_1(void *frontend)\n\n{\n void *frontend_local;\n \n return;\n}" primitive_type (function_declarator "function_1(void *frontend)" identifier (parameter_list "(void *frontend)" ( ... | (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... |
1002_puttytel_and_puttytel_strip.c | columns_gtk3_get_minfw_height | FUN_00150f31 | columns_gtk3_get_minfw_height |
gint columns_gtk3_get_minfw_height(ColumnsChild *child)
{
long in_FS_OFFSET;
ColumnsChild *child_local;
gint ret;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
gtk_widget_get_preferred_height_for_width(child->widget,child->w,&ret,0);
if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {
... |
undefined4 FUN_00150f31(undefined8 *param_1)
{
long in_FS_OFFSET;
undefined4 local_14;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
gtk_widget_get_preferred_height_for_width(*param_1,*(undefined4 *)(param_1 + 7),&local_14,0);
if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {
... | (translation_unit "undefined4 FUN_00150f31(undefined8 *param_1)\n\n{\n long in_FS_OFFSET;\n undefined4 local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n gtk_widget_get_preferred_height_for_width(*param_1,*(undefined4 *)(param_1 + 7),&local_14,0);\n if (local_10 != *(long *)(in_FS_OFFSE... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x18]
MOV ESI,dword ptr [RAX + 0x38]
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
LEA RDX,[RBP + -0xc]
MOV ECX,0x0
MOV RDI,RAX
CALL 0x00111ad0
MOV... |
type_1 function_1(type_2 *child)
{
long var_1;
type_2 *child_local;
type_1 ret;
long var_3;
var_3 = *(long *)(var_1 + 0x28);
var_2(child->widget,child->w,&ret,0);
if (var_3 != *(long *)(var_1 + 0x28)) {
/* WARNING: Subroutine does not return */
var_4();
}
return ret;
}
| (translation_unit "gint columns_gtk3_get_minfw_height(ColumnsChild *child)\n\n{\n long in_FS_OFFSET;\n ColumnsChild *child_local;\n gint ret;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n gtk_widget_get_preferred_height_for_width(child->widget,child->w,&ret,0);\n if (local_10 != *(long *)(i... | (translation_unit "type_1 function_1(type_2 *child)\n\n{\n long var_1;\n type_2 *child_local;\n type_1 ret;\n long var_3;\n \n var_3 = *(long *)(var_1 + 0x28);\n var_2(child->widget,child->w,&ret,0);\n if (var_3 != *(long *)(var_1 + 0x28)) {\n /* WARNING: Subroutine does not return */\n va... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specif... |
863_puttytel_and_puttytel_strip.c | unlineptr | FUN_00138dd7 | unlineptr |
void unlineptr(termline *line)
{
termline *line_local;
if (line->temporary != L'\0') {
freeline(line);
}
return;
}
|
void FUN_00138dd7(long param_1)
{
if (*(int *)(param_1 + 0xc) != 0) {
FUN_00138da5(param_1);
}
return;
}
| (translation_unit "void FUN_00138dd7(long param_1)\n\n{\n if (*(int *)(param_1 + 0xc) != 0) {\n FUN_00138da5(param_1);\n }\n return;\n}\n\n" (function_definition "void FUN_00138dd7(long param_1)\n\n{\n if (*(int *)(param_1 + 0xc) != 0) {\n FUN_00138da5(param_1);\n }\n return;\n}" primitive_type (function_de... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0xc]
TEST EAX,EAX
JZ 0x00138dfa
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00138da5
NOP
LEAVE
RET |
void function_1(type_1 *line)
{
type_1 *line_local;
if (line->temporary != L'\0') {
var_1(line);
}
return;
}
| (translation_unit "void unlineptr(termline *line)\n\n{\n termline *line_local;\n \n if (line->temporary != L'\0') {\n freeline(line);\n }\n return;\n}\n\n" (function_definition "void unlineptr(termline *line)\n\n{\n termline *line_local;\n \n if (line->temporary != L'\0') {\n freeline(line);\n }\n retur... | (translation_unit "void function_1(type_1 *line)\n\n{\n type_1 *line_local;\n \n if (line->temporary != L'\0') {\n var_1(line);\n }\n return;\n}\n\n" (function_definition "void function_1(type_1 *line)\n\n{\n type_1 *line_local;\n \n if (line->temporary != L'\0') {\n var_1(line);\n }\n return;\n}" primi... | (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... |
521_puttytel_and_puttytel_strip.c | log_proxy_stderr | FUN_00112376 | log_proxy_stderr |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void log_proxy_stderr(Plug plug,bufchain *buf,void *vdata,int len)
{
int len_00;
void *data_00;
char *ptr;
void *pvVar1;
int len_local;
void *vdata_local;
bufchain *buf_local;
Plug plug_local;
int pos;
int msglen;
char *da... |
void FUN_00112376(undefined8 *param_1,undefined8 param_2,long param_3,int param_4)
{
int iVar1;
long lVar2;
undefined8 uVar3;
void *pvVar4;
int local_30;
local_30 = 0;
while (local_30 < param_4) {
pvVar4 = memchr((void *)(local_30 + param_3),10,(long)(param_4 - local_30));
if (pvVar4 == (void... | (translation_unit "void FUN_00112376(undefined8 *param_1,undefined8 param_2,long param_3,int param_4)\n\n{\n int iVar1;\n long lVar2;\n undefined8 uVar3;\n void *pvVar4;\n int local_30;\n \n local_30 = 0;\n while (local_30 < param_4) {\n pvVar4 = memchr((void *)(local_30 + param_3),10,(long)(param_4 - local_... | 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 dword ptr [RBP + -0x4c],ECX
MOV RAX,qword ptr [RBP + -0x48]
MOV qword ptr [RBP + -0x20],RAX
MOV dword ptr [RBP + -0x28],0x0
JMP 0x001124ba
MOV EAX,dword ptr [RBP + -0x28]
MOVSXD RDX,EAX
... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 plug,type_2 *buf,void *vdata,int var_2)
{
int var_8;
void *data_00;
char *ptr;
void *var_4;
int len_local;
void *vdata_local;
type_2 *buf_local;
type_1 plug_local;
int var_1;
int msglen;
char *data;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid log_proxy_stderr(Plug plug,bufchain *buf,void *vdata,int len)\n\n{\n int len_00;\n void *data_00;\n char *ptr;\n void *pvVar1;\n int len_local;\n void *vdata_local;\n bufchain *buf_local;\n Plug plug_local;\n in... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 plug,type_2 *buf,void *vdata,int var_2)\n\n{\n int var_8;\n void *data_00;\n char *ptr;\n void *var_4;\n int len_local;\n void *vdata_local;\n type_2 *buf_local;\n type_1 plug_local;\n int 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: (type_identifier) declarator: (pointer_declarator declarator... |
1363_pscp_and_pscp_strip.c | uxsel_fd_findcmp | FUN_0018a49d | uxsel_fd_findcmp |
int uxsel_fd_findcmp(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
int *a;
fd *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < *bv) {
iVar1 = -1;
}
else {
/* WARNING: Load si... |
undefined8 FUN_0018a49d(int *param_1,int *param_2)
{
undefined8 uVar1;
if (*param_1 < *param_2) {
uVar1 = 0xffffffff;
}
else if (*param_2 < *param_1) {
uVar1 = 1;
}
else {
uVar1 = 0;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_0018a49d(int *param_1,int *param_2)\n\n{\n undefined8 uVar1;\n \n if (*param_1 < *param_2) {\n uVar1 = 0xffffffff;\n }\n else if (*param_2 < *param_1) {\n uVar1 = 1;\n }\n else {\n uVar1 = 0;\n }\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_0018a49d(in... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EDX,dword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RA... |
int function_1(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
int *a;
type_1 *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < *bv) {
iVar1 = -1;
}
else {
/* WARNING: Load size... | (translation_unit "int uxsel_fd_findcmp(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n int *a;\n fd *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n iVar1 = -1;\n }\n else {\n ... | (translation_unit "int function_1(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n int *a;\n type_1 *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n iVar1 = -1;\n }\n else {\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
554_puttytel_and_puttytel_strip.c | conf_cmp_constkey | FUN_00115eb6 | conf_cmp_constkey |
int conf_cmp_constkey(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
key *a;
constkey *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < *bv) {
iVar1 = -1;
}
else {
/* WARNING: ... |
int FUN_00115eb6(int *param_1,int *param_2)
{
int iVar1;
if (*param_1 < *param_2) {
iVar1 = -1;
}
else if (*param_2 < *param_1) {
iVar1 = 1;
}
else if (*(int *)(&DAT_001b7060 + (long)*param_1 * 4) == 1) {
if (param_1[2] < param_2[2]) {
iVar1 = -1;
}
else if (param_2[2] < param... | (translation_unit "int FUN_00115eb6(int *param_1,int *param_2)\n\n{\n int iVar1;\n \n if (*param_1 < *param_2) {\n iVar1 = -1;\n }\n else if (*param_2 < *param_1) {\n iVar1 = 1;\n }\n else if (*(int *)(&DAT_001b7060 + (long)*param_1 * 4) == 1) {\n if (param_1[2] < param_2[2]) {\n iVar1 = -1;\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 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,... |
int function_1(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
type_1 *a;
type_2 *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < *bv) {
iVar1 = -1;
}
else {
/* WARNING: Load s... | (translation_unit "int conf_cmp_constkey(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n key *a;\n constkey *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n iVar1 = -1;\n }\n else {\... | (translation_unit "int function_1(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n type_1 *a;\n type_2 *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n iVar1 = -1;\n }\n else {\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
688_puttytel_and_puttytel_strip.c | dupcat | FUN_001287a9 | dupcat |
char * dupcat(char *s1,...)
{
long lVar1;
char in_AL;
size_t sVar2;
char *__dest;
undefined8 *puVar3;
undefined8 in_RCX;
undefined8 in_RDX;
ulong uVar4;
undefined8 in_RSI;
undefined8 in_R8;
undefined8 in_R9;
long in_FS_OFFSET;
undefined8 in_XMM0_Qa;
undefined8 in_XMM1_Qa;
undefined8 in_X... |
char * FUN_001287a9(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 pa... | (translation_unit "char * FUN_001287a9(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,0x100
MOV qword ptr [RBP + -0xf8],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 0x00128802
MOVAPS xmmword ptr [RBP + -0x80],XMM0
MOVAPS xmmword ptr [RBP + -0x70]... |
char * function_1(char *s1,...)
{
long var_11;
char var_1;
size_t var_9;
char *var_8;
type_1 *puVar3;
type_1 in_RCX;
type_1 in_RDX;
type_2 var_4;
type_1 in_RSI;
type_1 in_R8;
type_1 in_R9;
long var_2;
type_1 in_XMM0_Qa;
type_1 in_XMM1_Qa;
type_1 in_XMM2_Qa;
type_1 in_XMM3_Qa;
type_1 ... | (translation_unit "char * dupcat(char *s1,...)\n\n{\n long lVar1;\n char in_AL;\n size_t sVar2;\n char *__dest;\n undefined8 *puVar3;\n undefined8 in_RCX;\n undefined8 in_RDX;\n ulong uVar4;\n undefined8 in_RSI;\n undefined8 in_R8;\n undefined8 in_R9;\n long in_FS_OFFSET;\n undefined8 in_XMM0_Qa;\n undefi... | (translation_unit "char * function_1(char *s1,...)\n\n{\n long var_11;\n char var_1;\n size_t var_9;\n char *var_8;\n type_1 *puVar3;\n type_1 in_RCX;\n type_1 in_RDX;\n type_2 var_4;\n type_1 in_RSI;\n type_1 in_R8;\n type_1 in_R9;\n long var_2;\n type_1 in_XMM0_Qa;\n type_1 in_XMM1_Qa;\n type_1 in_XMM2... | (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))) (variadic_parameter)))) body: (comp... |
1036_puttytel_and_puttytel_strip.c | dlg_listbox_add | FUN_00152496 | dlg_listbox_add |
void dlg_listbox_add(control *ctrl,void *dlg,char *text)
{
char *text_local;
void *dlg_local;
control *ctrl_local;
dlg_listbox_addwithid(ctrl,dlg,text,0);
return;
}
|
void FUN_00152496(undefined8 param_1,undefined8 param_2,undefined8 param_3)
{
FUN_001524c6(param_1,param_2,param_3,0);
return;
}
| (translation_unit "void FUN_00152496(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n FUN_001524c6(param_1,param_2,param_3,0);\n return;\n}\n\n" (function_definition "void FUN_00152496(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n FUN_001524c6(param_1,param_2,param_3,0);\n return;... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RDX,qword ptr [RBP + -0x18]
MOV RSI,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV ECX,0x0
MOV RDI,RAX
CALL 0x001524c6
NOP
LEAVE
RET |
void function_1(type_1 *ctrl,void *dlg,char *text)
{
char *text_local;
void *dlg_local;
type_1 *ctrl_local;
var_1(ctrl,dlg,text,0);
return;
}
| (translation_unit "void dlg_listbox_add(control *ctrl,void *dlg,char *text)\n\n{\n char *text_local;\n void *dlg_local;\n control *ctrl_local;\n \n dlg_listbox_addwithid(ctrl,dlg,text,0);\n return;\n}\n\n" (function_definition "void dlg_listbox_add(control *ctrl,void *dlg,char *text)\n\n{\n char *text_local;\n ... | (translation_unit "void function_1(type_1 *ctrl,void *dlg,char *text)\n\n{\n char *text_local;\n void *dlg_local;\n type_1 *ctrl_local;\n \n var_1(ctrl,dlg,text,0);\n return;\n}\n\n" (function_definition "void function_1(type_1 *ctrl,void *dlg,char *text)\n\n{\n char *text_local;\n void *dlg_local;\n type_1 *c... | (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... |
977_puttytel_and_puttytel_strip.c | columns_init | FUN_0014ed87 | columns_init |
void columns_init(Columns *cols)
{
undefined8 uVar1;
Columns *cols_local;
uVar1 = gtk_widget_get_type();
uVar1 = g_type_check_instance_cast(cols,uVar1);
gtk_widget_set_has_window(uVar1,0);
cols->children = (GList *)0x0;
cols->spacing = 0;
return;
}
|
void FUN_0014ed87(long param_1)
{
undefined8 uVar1;
uVar1 = gtk_widget_get_type();
uVar1 = g_type_check_instance_cast(param_1,uVar1);
gtk_widget_set_has_window(uVar1,0);
*(undefined8 *)(param_1 + 0x28) = 0;
*(undefined4 *)(param_1 + 0x38) = 0;
return;
}
| (translation_unit "void FUN_0014ed87(long param_1)\n\n{\n undefined8 uVar1;\n \n uVar1 = gtk_widget_get_type();\n uVar1 = g_type_check_instance_cast(param_1,uVar1);\n gtk_widget_set_has_window(uVar1,0);\n *(undefined8 *)(param_1 + 0x28) = 0;\n *(undefined4 *)(param_1 + 0x38) = 0;\n return;\n}\n\n" (function_def... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
CALL 0x001104e0
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00110540
MOV ESI,0x0
MOV RDI,RAX
CALL 0x00110190
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX + 0x28],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x... |
void function_1(type_1 *cols)
{
type_2 uVar1;
type_1 *cols_local;
uVar1 = var_1();
uVar1 = var_2(cols,uVar1);
var_3(uVar1,0);
cols->children = (type_3 *)0x0;
cols->spacing = 0;
return;
}
| (translation_unit "void columns_init(Columns *cols)\n\n{\n undefined8 uVar1;\n Columns *cols_local;\n \n uVar1 = gtk_widget_get_type();\n uVar1 = g_type_check_instance_cast(cols,uVar1);\n gtk_widget_set_has_window(uVar1,0);\n cols->children = (GList *)0x0;\n cols->spacing = 0;\n return;\n}\n\n" (function_defin... | (translation_unit "void function_1(type_1 *cols)\n\n{\n type_2 uVar1;\n type_1 *cols_local;\n \n uVar1 = var_1();\n uVar1 = var_2(cols,uVar1);\n var_3(uVar1,0);\n cols->children = (type_3 *)0x0;\n cols->spacing = 0;\n return;\n}\n\n" (function_definition "void function_1(type_1 *cols)\n\n{\n type_2 uVar1;\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
954_puttytel_and_puttytel_strip.c | timing_last_clock | FUN_0014c276 | timing_last_clock |
/* WARNING: Unknown calling convention */
ulong timing_last_clock(void)
{
return now;
}
|
undefined8 FUN_0014c276(void)
{
return DAT_001b88e0;
}
| (translation_unit "undefined8 FUN_0014c276(void)\n\n{\n return DAT_001b88e0;\n}\n\n" (function_definition "undefined8 FUN_0014c276(void)\n\n{\n return DAT_001b88e0;\n}" type_identifier (function_declarator "FUN_0014c276(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (co... | PUSH RBP
MOV RBP,RSP
MOV RAX,qword ptr [0x001b88e0]
POP RBP
RET |
/* WARNING: Unknown calling convention */
type_1 function_1(void)
{
return now;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n\nulong timing_last_clock(void)\n\n{\n return now;\n}\n\n" comment (function_definition "ulong timing_last_clock(void)\n\n{\n return now;\n}" type_identifier (function_declarator "timing_last_clock(void)" identifier (parameter_list "(void)" ( (parameter_de... | (translation_unit "/* WARNING: Unknown calling convention */\n\ntype_1 function_1(void)\n\n{\n return now;\n}\n\n" comment (function_definition "type_1 function_1(void)\n\n{\n return now;\n}" type_identifier (function_declarator "function_1(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" pr... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (return_statement (identifier))))) |
668_puttytel_and_puttytel_strip.c | getType | FUN_00125073 | getType |
uchar getType(wchar_t ch)
{
wchar_t wVar1;
wchar_t wVar2;
wchar_t ch_local;
wchar_t i;
wchar_t j;
wchar_t k;
i = L'\xffffffff';
j = L'ɩ';
wVar1 = j;
do {
j = wVar1;
if (j - i < 2) {
return '\x12';
}
wVar2 = (j + i) / 2;
wVar1 = wVar2;
} while ((ch < getType::lookup[w... |
undefined4 FUN_00125073(int param_1)
{
int iVar1;
int iVar2;
int local_14;
int local_10;
local_14 = -1;
local_10 = 0x269;
iVar1 = local_10;
do {
local_10 = iVar1;
if (local_10 - local_14 < 2) {
return 0x12;
}
iVar2 = (local_10 + local_14) / 2;
iVar1 = iVar2;
} while ((pa... | (translation_unit "undefined4 FUN_00125073(int param_1)\n\n{\n int iVar1;\n int iVar2;\n int local_14;\n int local_10;\n \n local_14 = -1;\n local_10 = 0x269;\n iVar1 = local_10;\n do {\n local_10 = iVar1;\n if (local_10 - local_14 < 2) {\n return 0x12;\n }\n iVar2 = (local_10 + local_14) / 2;... | PUSH RBP
MOV RBP,RSP
MOV dword ptr [RBP + -0x14],EDI
MOV dword ptr [RBP + -0xc],0xffffffff
MOV dword ptr [RBP + -0x8],0x269
JMP 0x0012511d
MOV EDX,dword ptr [RBP + -0xc]
MOV EAX,dword ptr [RBP + -0x8]
ADD EAX,EDX
MOV EDX,EAX
SHR EDX,0x1f
ADD EAX,EDX
SAR EAX,0x1
MOV dword ptr [RBP + -0x4],EAX
MOV EAX,dword ptr [RBP + -0... |
type_1 function_1(type_2 var_3)
{
type_2 wVar1;
type_2 wVar2;
type_2 ch_local;
type_2 var_2;
type_2 var_1;
type_2 k;
var_2 = L'\xffffffff';
var_1 = L'ɩ';
wVar1 = var_1;
do {
var_1 = wVar1;
if (var_1 - var_2 < 2) {
return '\x12';
}
wVar2 = (var_1 + var_2) / 2;
wVar1 = w... | (translation_unit "uchar getType(wchar_t ch)\n\n{\n wchar_t wVar1;\n wchar_t wVar2;\n wchar_t ch_local;\n wchar_t i;\n wchar_t j;\n wchar_t k;\n \n i = L'\xffffffff';\n j = L'ɩ';\n wVar1 = j;\n do {\n j = wVar1;\n if (j - i < 2) {\n return '\x12';\n }\n wVar2 = (j + i) / 2;\n wVar1 = wVar... | (translation_unit "type_1 function_1(type_2 var_3)\n\n{\n type_2 wVar1;\n type_2 wVar2;\n type_2 ch_local;\n type_2 var_2;\n type_2 var_1;\n type_2 k;\n \n var_2 = L'\xffffffff';\n var_1 = L'ɩ';\n wVar1 = var_1;\n do {\n var_1 = wVar1;\n if (var_1 - var_2 < 2) {\n return '\x12';\n }\n wVar2 ... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declar... |
904_puttytel_and_puttytel_strip.c | term_provide_resize_fn | FUN_0013d603 | term_provide_resize_fn |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void term_provide_resize_fn
(Terminal *term,_func_void_void_ptr_wchar_t_wchar_t *resize_fn,void *resize_ctx)
{
void *resize_ctx_local;
_func_void_void_ptr_wchar_t_wchar_t *resize_fn_local;
Terminal *term_local;
term->r... |
void FUN_0013d603(long param_1,code *param_2,undefined8 param_3)
{
*(code **)(param_1 + 0x10f0) = param_2;
*(undefined8 *)(param_1 + 0x10f8) = param_3;
if (((param_2 != (code *)0x0) && (0 < *(int *)(param_1 + 0x18c))) &&
(0 < *(int *)(param_1 + 0x188))) {
(*param_2)(param_3,*(undefined4 *)(param_1 + 0x... | (translation_unit "void FUN_0013d603(long param_1,code *param_2,undefined8 param_3)\n\n{\n *(code **)(param_1 + 0x10f0) = param_2;\n *(undefined8 *)(param_1 + 0x10f8) = param_3;\n if (((param_2 != (code *)0x0) && (0 < *(int *)(param_1 + 0x18c))) &&\n (0 < *(int *)(param_1 + 0x188))) {\n (*param_2)(param_3,*(u... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RBP + -0x10]
MOV qword ptr [RAX + 0x10f0],RDX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RBP + -0x18]
MOV qword ptr [RAX + 0x10f8],RDX... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1
(type_1 *term,type_2 *var_1,void *resize_ctx)
{
void *resize_ctx_local;
type_2 *resize_fn_local;
type_1 *term_local;
term->var_1 = var_1;
term->resize_ctx = resize_ctx;
if (((var_1 != (type_2 *)0x0)... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_provide_resize_fn\n (Terminal *term,_func_void_void_ptr_wchar_t_wchar_t *resize_fn,void *resize_ctx)\n\n{\n void *resize_ctx_local;\n _func_void_void_ptr_wchar_t_wchar_t *resize_fn_local;\n Terminal... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1\n (type_1 *term,type_2 *var_1,void *resize_ctx)\n\n{\n void *resize_ctx_local;\n type_2 *resize_fn_local;\n type_1 *term_local;\n \n term->var_1 = var_1;\n term->resize_ctx = resize_ctx;\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato... |
852_puttytel_and_puttytel_strip.c | telnet_get_specials | FUN_00138b6b | telnet_get_specials |
telnet_special * telnet_get_specials(void *handle)
{
void *handle_local;
return telnet_get_specials::specials;
}
|
undefined ** FUN_00138b6b(void)
{
return &PTR_s_Are_You_There_001b4880;
}
| (translation_unit "undefined ** FUN_00138b6b(void)\n\n{\n return &PTR_s_Are_You_There_001b4880;\n}\n\n" (function_definition "undefined ** FUN_00138b6b(void)\n\n{\n return &PTR_s_Are_You_There_001b4880;\n}" type_identifier (pointer_declarator "** FUN_00138b6b(void)" * (pointer_declarator "* FUN_00138b6b(void)" * (fun... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
LEA RAX,[0x1b4880]
POP RBP
RET |
type_1 * function_1(void *handle)
{
void *handle_local;
return function_1::specials;
}
| (translation_unit "telnet_special * telnet_get_specials(void *handle)\n\n{\n void *handle_local;\n \n return telnet_get_specials::specials;\n}\n\n" (function_definition "telnet_special * telnet_get_specials(void *handle)\n\n{\n void *handle_local;\n \n return telnet_get_specials::specials;\n}" type_identifier (po... | (translation_unit "type_1 * function_1(void *handle)\n\n{\n void *handle_local;\n \n return function_1::specials;\n}\n\n" (function_definition "type_1 * function_1(void *handle)\n\n{\n void *handle_local;\n \n return function_1::specials;\n}" type_identifier (pointer_declarator "* function_1(void *handle)" * (fun... | (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... |
694_puttytel_and_puttytel_strip.c | strbuf_new | FUN_00128cf9 | strbuf_new |
/* WARNING: Unknown calling convention */
strbuf * strbuf_new(void)
{
strbuf *psVar1;
char *pcVar2;
strbuf *buf;
psVar1 = (strbuf *)safemalloc(1,0x10);
psVar1->len = 0;
psVar1->size = 0x200;
pcVar2 = (char *)safemalloc((long)psVar1->size,1);
psVar1->s = pcVar2;
*psVar1->s = '\0';
return psVar1... |
undefined8 * FUN_00128cf9(void)
{
undefined8 *puVar1;
undefined8 uVar2;
puVar1 = (undefined8 *)FUN_001297e1(1,0x10);
*(undefined4 *)(puVar1 + 1) = 0;
*(undefined4 *)((long)puVar1 + 0xc) = 0x200;
uVar2 = FUN_001297e1((long)*(int *)((long)puVar1 + 0xc),1);
*puVar1 = uVar2;
*(undefined *)*puVar1 = 0;
... | (translation_unit "undefined8 * FUN_00128cf9(void)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n \n puVar1 = (undefined8 *)FUN_001297e1(1,0x10);\n *(undefined4 *)(puVar1 + 1) = 0;\n *(undefined4 *)((long)puVar1 + 0xc) = 0x200;\n uVar2 = FUN_001297e1((long)*(int *)((long)puVar1 + 0xc),1);\n *puVar1 = uVar2;\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV ESI,0x10
MOV EDI,0x1
CALL 0x001297e1
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x8],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0xc],0x200
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0xc]
CDQE
MOV ESI,0x1
MOV RDI,RAX
... |
/* WARNING: Unknown calling convention */
type_1 * function_1(void)
{
type_1 *psVar1;
char *pcVar2;
type_1 *buf;
psVar1 = (type_1 *)var_1(1,0x10);
psVar1->len = 0;
psVar1->size = 0x200;
pcVar2 = (char *)var_1((long)psVar1->size,1);
psVar1->s = pcVar2;
*psVar1->s = '\0';
return psVar1;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n\nstrbuf * strbuf_new(void)\n\n{\n strbuf *psVar1;\n char *pcVar2;\n strbuf *buf;\n \n psVar1 = (strbuf *)safemalloc(1,0x10);\n psVar1->len = 0;\n psVar1->size = 0x200;\n pcVar2 = (char *)safemalloc((long)psVar1->size,1);\n psVar1->s = pcVar2;\n *p... | (translation_unit "/* WARNING: Unknown calling convention */\n\ntype_1 * function_1(void)\n\n{\n type_1 *psVar1;\n char *pcVar2;\n type_1 *buf;\n \n psVar1 = (type_1 *)var_1(1,0x10);\n psVar1->len = 0;\n psVar1->size = 0x200;\n pcVar2 = (char *)var_1((long)psVar1->size,1);\n psVar1->s = pcVar2;\n *psVar1->s =... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (type_identifier) declarator: (poi... |
895_puttytel_and_puttytel_strip.c | term_seen_key_event | FUN_0013b751 | term_seen_key_event |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void term_seen_key_event(Terminal *term)
{
beeptime *ptr;
Terminal *term_local;
beeptime *tmp;
term->beep_overloaded = L'\0';
while (term->beephead != (beeptime *)0x0) {
ptr = term->beephead;
term->beephead = ptr->next;
... |
void FUN_0013b751(long param_1)
{
undefined8 *puVar1;
*(undefined4 *)(param_1 + 0x54) = 0;
while (*(long *)(param_1 + 0x40) != 0) {
puVar1 = *(undefined8 **)(param_1 + 0x40);
*(undefined8 *)(param_1 + 0x40) = *puVar1;
FUN_001299ed(puVar1);
}
*(undefined8 *)(param_1 + 0x48) = 0;
*(undefined4... | (translation_unit "void FUN_0013b751(long param_1)\n\n{\n undefined8 *puVar1;\n \n *(undefined4 *)(param_1 + 0x54) = 0;\n while (*(long *)(param_1 + 0x40) != 0) {\n puVar1 = *(undefined8 **)(param_1 + 0x40);\n *(undefined8 *)(param_1 + 0x40) = *puVar1;\n FUN_001299ed(puVar1);\n }\n *(undefined8 *)(param_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV dword ptr [RAX + 0x54],0x0
JMP 0x0013b791
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x40]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RAX]
MOV RAX,qword ptr [RBP + -0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *term)
{
type_2 *ptr;
type_1 *term_local;
type_2 *tmp;
term->beep_overloaded = L'\0';
while (term->beephead != (type_2 *)0x0) {
ptr = term->beephead;
term->beephead = ptr->next;
var_1(ptr);
}
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_seen_key_event(Terminal *term)\n\n{\n beeptime *ptr;\n Terminal *term_local;\n beeptime *tmp;\n \n term->beep_overloaded = L'\0';\n while (term->beephead != (beeptime *)0x0) {\n ptr = term->beephead;\n t... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term)\n\n{\n type_2 *ptr;\n type_1 *term_local;\n type_2 *tmp;\n \n term->beep_overloaded = L'\0';\n while (term->beephead != (type_2 *)0x0) {\n ptr = term->beephead;\n term->beephead = ptr... | (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... |
565_pterm_and_pterm_strip.c | conf_serialised_size | FUN_00115d7f | conf_serialised_size |
int conf_serialised_size(Conf *conf)
{
int iVar1;
size_t sVar2;
int *piVar3;
Conf *conf_local;
int i;
int size;
conf_entry *entry;
size = 0;
i = 0;
while (piVar3 = (int *)index234(conf->tree,i), piVar3 != (int *)0x0) {
iVar1 = size + 4;
if (subkeytypes[*piVar3] == 1) {
size = size... |
int FUN_00115d7f(undefined8 *param_1)
{
int iVar1;
size_t sVar2;
int *piVar3;
int local_18;
int local_14;
local_14 = 0;
local_18 = 0;
while (piVar3 = (int *)FUN_001438ee(*param_1,local_18), piVar3 != (int *)0x0) {
iVar1 = local_14 + 4;
if (*(int *)(&DAT_001a6020 + (long)*piVar3 * 4) == 1) {... | (translation_unit "int FUN_00115d7f(undefined8 *param_1)\n\n{\n int iVar1;\n size_t sVar2;\n int *piVar3;\n int local_18;\n int local_14;\n \n local_14 = 0;\n local_18 = 0;\n while (piVar3 = (int *)FUN_001438ee(*param_1,local_18), piVar3 != (int *)0x0) {\n iVar1 = local_14 + 4;\n if (*(int *)(&DAT_001a60... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0xc],0x0
MOV dword ptr [RBP + -0x10],0x0
JMP 0x00115e7f
ADD dword ptr [RBP + -0xc],0x4
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX]
CDQE
LEA RDX,[RAX*0x4]
LEA RAX,[0x1a6020]
MOV EAX,dword ptr [RDX + RAX*0x1]
CMP EAX,0x1
JZ... |
int function_1(type_1 *conf)
{
int var_5;
size_t sVar2;
int *var_2;
type_1 *conf_local;
int var_8;
int var_3;
type_2 *entry;
var_3 = 0;
var_8 = 0;
while (var_2 = (int *)var_1(conf->tree,var_8), var_2 != (int *)0x0) {
var_5 = var_3 + 4;
if (subkeytypes[*var_2] == 1) {
var_3 = var_3... | (translation_unit "int conf_serialised_size(Conf *conf)\n\n{\n int iVar1;\n size_t sVar2;\n int *piVar3;\n Conf *conf_local;\n int i;\n int size;\n conf_entry *entry;\n \n size = 0;\n i = 0;\n while (piVar3 = (int *)index234(conf->tree,i), piVar3 != (int *)0x0) {\n iVar1 = size + 4;\n if (subkeytypes[*... | (translation_unit "int function_1(type_1 *conf)\n\n{\n int var_5;\n size_t sVar2;\n int *var_2;\n type_1 *conf_local;\n int var_8;\n int var_3;\n type_2 *entry;\n \n var_3 = 0;\n var_8 = 0;\n while (var_2 = (int *)var_1(conf->tree,var_8), var_2 != (int *)0x0) {\n var_5 = var_3 + 4;\n if (subkeytypes[*v... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) de... |
781_pterm_and_pterm_strip.c | term_size | FUN_00133243 | term_size |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void term_size(Terminal *term,wchar_t newrows,wchar_t newcols,wchar_t newsavelines)
{
wchar_t wVar1;
wchar_t which;
wchar_t wVar2;
int index;
wchar_t wVar3;
tree234 *ptVar4;
void *ptr;
termline **pptVar5;
termline *ptVar6;
u... |
void FUN_00133243(long param_1,int param_2,int param_3,int param_4)
{
int iVar1;
undefined4 uVar2;
int iVar3;
undefined4 uVar4;
int iVar5;
undefined8 uVar6;
long lVar7;
undefined8 uVar8;
int local_68;
int local_64;
int local_50;
int local_4c;
int local_48;
uint local_44;
iVar1 = *(int... | (translation_unit "void FUN_00133243(long param_1,int param_2,int param_3,int param_4)\n\n{\n int iVar1;\n undefined4 uVar2;\n int iVar3;\n undefined4 uVar4;\n int iVar5;\n undefined8 uVar6;\n long lVar7;\n undefined8 uVar8;\n int local_68;\n int local_64;\n int local_50;\n int local_4c;\n int local_48;\n ... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x68
MOV qword ptr [RBP + -0x58],RDI
MOV dword ptr [RBP + -0x5c],ESI
MOV dword ptr [RBP + -0x60],EDX
MOV dword ptr [RBP + -0x64],ECX
MOV RAX,qword ptr [RBP + -0x58]
MOV EAX,dword ptr [RAX + 0x188]
MOV dword ptr [RBP + -0x38],EAX
MOV RAX,qword ptr [RBP + -0x58]
MOV EAX,dword ptr [RA... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *term,type_2 var_1,type_2 var_2,type_2 var_3)
{
type_2 var_24;
type_2 which;
type_2 var_10;
int index;
type_2 var_9;
type_3 *ptVar4;
void *ptr;
type_4 **pptVar5;
type_4 *var_25;
type_5 *puVar7;
type_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_size(Terminal *term,wchar_t newrows,wchar_t newcols,wchar_t newsavelines)\n\n{\n wchar_t wVar1;\n wchar_t which;\n wchar_t wVar2;\n int index;\n wchar_t wVar3;\n tree234 *ptVar4;\n void *ptr;\n termline **pp... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term,type_2 var_1,type_2 var_2,type_2 var_3)\n\n{\n type_2 var_24;\n type_2 which;\n type_2 var_10;\n int index;\n type_2 var_9;\n type_3 *ptVar4;\n void *ptr;\n type_4 **pptVar5;\n type_4 *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))) (parameter_declaration type: (type_identifier) declarato... |
784_pterm_and_pterm_strip.c | swap_screen | FUN_00133d71 | swap_screen |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void swap_screen(Terminal *term,wchar_t which,wchar_t reset,wchar_t keep_cur_pos)
{
tree234 *ptVar1;
pos pVar2;
wchar_t wVar3;
wchar_t keep_cur_pos_local;
wchar_t reset_local;
wchar_t which_local;
Terminal *term_local;
wchar_t t... |
void FUN_00133d71(long param_1,int param_2,int param_3,int param_4)
{
undefined4 uVar1;
undefined8 uVar2;
int iVar3;
undefined4 local_38;
local_38 = param_3;
if (param_2 == 0) {
local_38 = 0;
}
if (param_2 != *(int *)(param_1 + 0x20c)) {
*(int *)(param_1 + 0x20c) = param_2;
uVar2 = *(un... | (translation_unit "void FUN_00133d71(long param_1,int param_2,int param_3,int param_4)\n\n{\n undefined4 uVar1;\n undefined8 uVar2;\n int iVar3;\n undefined4 local_38;\n \n local_38 = param_3;\n if (param_2 == 0) {\n local_38 = 0;\n }\n if (param_2 != *(int *)(param_1 + 0x20c)) {\n *(int *)(param_1 + 0x2... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
MOV dword ptr [RBP + -0x30],EDX
MOV dword ptr [RBP + -0x34],ECX
CMP dword ptr [RBP + -0x2c],0x0
JNZ 0x00133d93
MOV dword ptr [RBP + -0x30],0x0
MOV RAX,qword ptr [RBP + -0x28]
MOV EAX,dword ptr [RAX + 0x20c]
CMP dword ptr [... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *term,type_2 var_1,type_2 reset,type_2 var_5)
{
type_3 *ptVar1;
type_4 pVar2;
type_2 var_3;
type_2 keep_cur_pos_local;
type_2 var_4;
type_2 which_local;
type_1 *term_local;
type_2 t;
type_3 *ttr;
type_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid swap_screen(Terminal *term,wchar_t which,wchar_t reset,wchar_t keep_cur_pos)\n\n{\n tree234 *ptVar1;\n pos pVar2;\n wchar_t wVar3;\n wchar_t keep_cur_pos_local;\n wchar_t reset_local;\n wchar_t which_local;\n Term... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term,type_2 var_1,type_2 reset,type_2 var_5)\n\n{\n type_3 *ptVar1;\n type_4 pVar2;\n type_2 var_3;\n type_2 keep_cur_pos_local;\n type_2 var_4;\n type_2 which_local;\n type_1 *term_local;\n ty... | (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... |
704_pterm_and_pterm_strip.c | get_ssh_uint32 | FUN_00128afb | get_ssh_uint32 |
int get_ssh_uint32(int *datalen,void **data,uint *ret)
{
int iVar1;
uint *ret_local;
void **data_local;
int *datalen_local;
iVar1 = *datalen;
if (3 < iVar1) {
/* WARNING: Load size is inaccurate */
*ret = (uint)**data << 0x18 | (uint)*(byte *)((long)*data + 1) << 0x10 |
... |
bool FUN_00128afb(int *param_1,long *param_2,uint *param_3)
{
int iVar1;
iVar1 = *param_1;
if (3 < iVar1) {
*param_3 = (uint)*(byte *)*param_2 << 0x18 | (uint)*(byte *)(*param_2 + 1) << 0x10 |
(uint)*(byte *)(*param_2 + 2) << 8 | (uint)*(byte *)(*param_2 + 3);
*param_1 = *param_1 + -4;... | (translation_unit "bool FUN_00128afb(int *param_1,long *param_2,uint *param_3)\n\n{\n int iVar1;\n \n iVar1 = *param_1;\n if (3 < iVar1) {\n *param_3 = (uint)*(byte *)*param_2 << 0x18 | (uint)*(byte *)(*param_2 + 1) << 0x10 |\n (uint)*(byte *)(*param_2 + 2) << 8 | (uint)*(byte *)(*param_2 + 3);\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 RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX]
CMP EAX,0x3
JG 0x00128b1d
MOV EAX,0x0
JMP 0x00128b9a
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOVZX EAX,byte ptr [RAX]
MOVZX EAX,AL
SH... |
int function_1(int *datalen,void **data,type_1 *ret)
{
int var_1;
type_1 *ret_local;
void **data_local;
int *datalen_local;
var_1 = *datalen;
if (3 < var_1) {
/* WARNING: Load size is inaccurate */
*ret = (type_1)**data << 0x18 | (type_1)*(type_2 *)((long)*data + 1) << 0x10 |
... | (translation_unit "int get_ssh_uint32(int *datalen,void **data,uint *ret)\n\n{\n int iVar1;\n uint *ret_local;\n void **data_local;\n int *datalen_local;\n \n iVar1 = *datalen;\n if (3 < iVar1) {\n /* WARNING: Load size is inaccurate */\n *ret = (uint)**data << 0x18 | (uint)*(byte *)((long)... | (translation_unit "int function_1(int *datalen,void **data,type_1 *ret)\n\n{\n int var_1;\n type_1 *ret_local;\n void **data_local;\n int *datalen_local;\n \n var_1 = *datalen;\n if (3 < var_1) {\n /* WARNING: Load size is inaccurate */\n *ret = (type_1)**data << 0x18 | (type_1)*(type_2 *)(... | (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_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.