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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
514_psftp_and_psftp_strip.c | s_wrpkt_prepare | FUN_0012a05e | s_wrpkt_prepare |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int s_wrpkt_prepare(Ssh_conflict ssh,Packet *pkt,int *offset_p)
{
int iVar1;
long in_FS_OFFSET;
int *offset_p_local;
Packet *pkt_local;
Ssh_conflict ssh_local;
int complen;
int i;
int len;
int pad;
int pktoffs;
int biglen;... |
int FUN_0012a05e(long param_1,long *param_2,int *param_3)
{
undefined uVar1;
long in_FS_OFFSET;
int local_38;
int local_34;
int local_30;
int local_2c;
int local_28;
int local_24;
void *local_20;
undefined8 local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (*(long *)(... | (translation_unit "int FUN_0012a05e(long param_1,long *param_2,int *param_3)\n\n{\n undefined uVar1;\n long in_FS_OFFSET;\n int local_38;\n int local_34;\n int local_30;\n int local_2c;\n int local_28;\n int local_24;\n void *local_20;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV qword ptr [RBP + -0x48],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x38]
MOV RAX,qword ptr [RAX + 0x30]
TEST RAX,RAX
JZ 0x0012a0a1
MOV RDX,qword ptr [RBP + -0x4... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 ssh,type_2 *pkt,int *var_15)
{
int iVar1;
long var_1;
int *offset_p_local;
type_2 *pkt_local;
type_1 ssh_local;
int var_5;
int var_10;
int var_8;
int var_9;
int pktoffs;
int var_13;
type_3 *compblk;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint s_wrpkt_prepare(Ssh_conflict ssh,Packet *pkt,int *offset_p)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n int *offset_p_local;\n Packet *pkt_local;\n Ssh_conflict ssh_local;\n int complen;\n int i;\n int len;\n int pa... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 ssh,type_2 *pkt,int *var_15)\n\n{\n int iVar1;\n long var_1;\n int *offset_p_local;\n type_2 *pkt_local;\n type_1 ssh_local;\n int var_5;\n int var_10;\n int var_8;\n int var_9;\n int pktoffs;\... | (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... |
821_psftp_and_psftp_strip.c | poly_setkey | FUN_00158c49 | poly_setkey |
void poly_setkey(void *ctx,uchar *key)
{
uchar *key_local;
void *ctx_local;
return;
}
|
void FUN_00158c49(void)
{
return;
}
| (translation_unit "void FUN_00158c49(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_00158c49(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_00158c49(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 *ctx,type_1 *key)
{
type_1 *key_local;
void *ctx_local;
return;
}
| (translation_unit "void poly_setkey(void *ctx,uchar *key)\n\n{\n uchar *key_local;\n void *ctx_local;\n \n return;\n}\n\n" (function_definition "void poly_setkey(void *ctx,uchar *key)\n\n{\n uchar *key_local;\n void *ctx_local;\n \n return;\n}" primitive_type (function_declarator "poly_setkey(void *ctx,uchar *k... | (translation_unit "void function_1(void *ctx,type_1 *key)\n\n{\n type_1 *key_local;\n void *ctx_local;\n \n return;\n}\n\n" (function_definition "void function_1(void *ctx,type_1 *key)\n\n{\n type_1 *key_local;\n void *ctx_local;\n \n return;\n}" primitive_type (function_declarator "function_1(void *ctx,type_1 ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1234_pterm_and_pterm_strip.c | pty_find_by_fd | FUN_0016573d | pty_find_by_fd |
int pty_find_by_fd(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
int a;
Pty b;
/* WARNING: Load size is inaccurate */
if (*av < *(int *)((long)bv + 8)) {
iVar1 = -1;
}
else if (*(int *)((long)bv + 8) < *av) {
iVar1 = 1;
}
else {
iVar1 = 0;
}
... |
undefined8 FUN_0016573d(int *param_1,long param_2)
{
undefined8 uVar1;
if (*param_1 < *(int *)(param_2 + 8)) {
uVar1 = 0xffffffff;
}
else if (*(int *)(param_2 + 8) < *param_1) {
uVar1 = 1;
}
else {
uVar1 = 0;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_0016573d(int *param_1,long param_2)\n\n{\n undefined8 uVar1;\n \n if (*param_1 < *(int *)(param_2 + 8)) {\n uVar1 = 0xffffffff;\n }\n else if (*(int *)(param_2 + 8) < *param_1) {\n uVar1 = 1;\n }\n else {\n uVar1 = 0;\n }\n return uVar1;\n}\n\n" (function_definition "... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX]
MOV dword ptr [RBP + -0xc],EAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x8]
CMP dword ptr [RBP + -0x... |
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 */
if (*av < *(int *)((long)bv + 8)) {
iVar1 = -1;
}
else if (*(int *)((long)bv + 8) < *av) {
iVar1 = 1;
}
else {
iVar1 = 0;
}
... | (translation_unit "int pty_find_by_fd(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n int a;\n Pty b;\n \n /* WARNING: Load size is inaccurate */\n if (*av < *(int *)((long)bv + 8)) {\n iVar1 = -1;\n }\n else if (*(int *)((long)bv + 8) < *av) {\n iVar1 = 1;\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 if (*av < *(int *)((long)bv + 8)) {\n iVar1 = -1;\n }\n else if (*(int *)((long)bv + 8) < *av) {\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))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
1159_pterm_and_pterm_strip.c | draw_line | FUN_0015ff88 | draw_line |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void draw_line(draw_ctx *dctx,wchar_t x0,wchar_t y0,wchar_t x1,wchar_t y1)
{
wchar_t y1_local;
wchar_t x1_local;
wchar_t y0_local;
wchar_t x0_local;
draw_ctx *dctx_local;
if ((dctx->uctx).type == ADDRTYPE_UNSPEC) {
cairo_new_... |
void FUN_0015ff88(long param_1,int param_2,int param_3,int param_4,int param_5)
{
if (*(int *)(param_1 + 8) == 0) {
cairo_new_path(*(undefined8 *)(param_1 + 0x18));
cairo_move_to(DAT_00195eb8 + (double)param_2,(double)param_3 + DAT_00195eb8,
*(undefined8 *)(param_1 + 0x18));
cairo_line... | (translation_unit "void FUN_0015ff88(long param_1,int param_2,int param_3,int param_4,int param_5)\n\n{\n if (*(int *)(param_1 + 8) == 0) {\n cairo_new_path(*(undefined8 *)(param_1 + 0x18));\n cairo_move_to(DAT_00195eb8 + (double)param_2,(double)param_3 + DAT_00195eb8,\n *(undefined8 *)(param_1 ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV dword ptr [RBP + -0x10],EDX
MOV dword ptr [RBP + -0x14],ECX
MOV dword ptr [RBP + -0x18],R8D
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x8]
TEST EAX,EAX
JNZ 0x00160044
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *dctx,type_2 x0,type_2 y0,type_2 x1,type_2 y1)
{
type_2 y1_local;
type_2 x1_local;
type_2 y0_local;
type_2 x0_local;
type_1 *dctx_local;
if ((dctx->uctx).type == var_1) {
var_2((dctx->uctx).u.cairo.cr);... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid draw_line(draw_ctx *dctx,wchar_t x0,wchar_t y0,wchar_t x1,wchar_t y1)\n\n{\n wchar_t y1_local;\n wchar_t x1_local;\n wchar_t y0_local;\n wchar_t x0_local;\n draw_ctx *dctx_local;\n \n if ((dctx->uctx).type == ADDR... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *dctx,type_2 x0,type_2 y0,type_2 x1,type_2 y1)\n\n{\n type_2 y1_local;\n type_2 x1_local;\n type_2 y0_local;\n type_2 x0_local;\n type_1 *dctx_local;\n \n if ((dctx->uctx).type == var_1) {\n v... | (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... |
473_psftp_and_psftp_strip.c | xfer_download_gotpkt | FUN_00125d88 | xfer_download_gotpkt |
int xfer_download_gotpkt(fxp_xfer *xfer,sftp_packet *pktin)
{
ulong uVar1;
int iVar2;
sftp_request *req;
undefined8 *puVar3;
uint64 y;
sftp_packet *pktin_local;
fxp_xfer *xfer_local;
sftp_request *rreq;
req *rr;
uint64 filesize;
req = sftp_find_request(pktin);
if (req == (sftp_request *)0x0... |
undefined8 FUN_00125d88(long param_1,undefined8 param_2)
{
undefined4 uVar1;
int iVar2;
long lVar3;
undefined8 *puVar4;
undefined8 uVar5;
undefined auVar6 [16];
lVar3 = FUN_00124367(param_2);
if (lVar3 == 0) {
return 0x80000000;
}
puVar4 = (undefined8 *)FUN_00125a6b(lVar3);
if (puVar4 != ... | (translation_unit "undefined8 FUN_00125d88(long param_1,undefined8 param_2)\n\n{\n undefined4 uVar1;\n int iVar2;\n long lVar3;\n undefined8 *puVar4;\n undefined8 uVar5;\n undefined auVar6 [16];\n \n lVar3 = FUN_00124367(param_2);\n if (lVar3 == 0) {\n return 0x80000000;\n }\n puVar4 = (undefined8 *)FUN_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 RDI,RAX
CALL 0x00124367
MOV qword ptr [RBP + -0x20],RAX
CMP qword ptr [RBP + -0x20],0x0
JNZ 0x00125db9
MOV EAX,0x80000000
JMP 0x00125fa4
MOV RAX,qword ptr [RBP + -0x20]
MOV RDI,RAX
CALL ... |
int function_1(type_1 *xfer,type_2 *pktin)
{
type_3 uVar1;
int var_6;
type_4 *type_7;
type_5 *var_3;
type_6 y;
type_2 *pktin_local;
type_1 *xfer_local;
type_4 *rreq;
type_7 *rr;
type_6 filesize;
type_7 = var_1(pktin);
if (type_7 == (type_4 *)0x0) {
return -0x80000000;
}
var_3 = (typ... | (translation_unit "int xfer_download_gotpkt(fxp_xfer *xfer,sftp_packet *pktin)\n\n{\n ulong uVar1;\n int iVar2;\n sftp_request *req;\n undefined8 *puVar3;\n uint64 y;\n sftp_packet *pktin_local;\n fxp_xfer *xfer_local;\n sftp_request *rreq;\n req *rr;\n uint64 filesize;\n \n req = sftp_find_request(pktin);\... | (translation_unit "int function_1(type_1 *xfer,type_2 *pktin)\n\n{\n type_3 uVar1;\n int var_6;\n type_4 *type_7;\n type_5 *var_3;\n type_6 y;\n type_2 *pktin_local;\n type_1 *xfer_local;\n type_4 *rreq;\n type_7 *rr;\n type_6 filesize;\n \n type_7 = var_1(pktin);\n if (type_7 == (type_4 *)0x0) {\n retu... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
463_psftp_and_psftp_strip.c | fxp_write_recv | FUN_001258ae | fxp_write_recv |
int fxp_write_recv(sftp_packet *pktin,sftp_request *req)
{
sftp_request *req_local;
sftp_packet *pktin_local;
safefree(req);
fxp_got_status(pktin);
sftp_pkt_free(pktin);
return (int)(fxp_errtype == 0);
}
|
bool FUN_001258ae(undefined8 param_1,undefined8 param_2)
{
FUN_00110fa6(param_2);
FUN_0012449d(param_1);
FUN_00123f15(param_1);
return DAT_001b8d40 == 0;
}
| (translation_unit "bool FUN_001258ae(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00110fa6(param_2);\n FUN_0012449d(param_1);\n FUN_00123f15(param_1);\n return DAT_001b8d40 == 0;\n}\n\n" (function_definition "bool FUN_001258ae(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00110fa6(param_2);\n FUN_0012449... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x10]
MOV RDI,RAX
CALL 0x00110fa6
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0012449d
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00123f15
MOV EAX,dword ptr [0x001b8d40]
TEST EAX,EAX
S... |
int function_1(type_1 *pktin,type_2 *req)
{
type_2 *req_local;
type_1 *pktin_local;
var_1(req);
var_2(pktin);
var_3(pktin);
return (int)(var_4 == 0);
}
| (translation_unit "int fxp_write_recv(sftp_packet *pktin,sftp_request *req)\n\n{\n sftp_request *req_local;\n sftp_packet *pktin_local;\n \n safefree(req);\n fxp_got_status(pktin);\n sftp_pkt_free(pktin);\n return (int)(fxp_errtype == 0);\n}\n\n" (function_definition "int fxp_write_recv(sftp_packet *pktin,sftp_r... | (translation_unit "int function_1(type_1 *pktin,type_2 *req)\n\n{\n type_2 *req_local;\n type_1 *pktin_local;\n \n var_1(req);\n var_2(pktin);\n var_3(pktin);\n return (int)(var_4 == 0);\n}\n\n" (function_definition "int function_1(type_1 *pktin,type_2 *req)\n\n{\n type_2 *req_local;\n type_1 *pktin_local;\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... |
1224_pterm_and_pterm_strip.c | printer_start_enum | FUN_00165605 | printer_start_enum |
printer_enum * printer_start_enum(int *nprinters_ptr)
{
int *nprinters_ptr_local;
*nprinters_ptr = 0;
return (printer_enum *)0x0;
}
|
undefined8 FUN_00165605(undefined4 *param_1)
{
*param_1 = 0;
return 0;
}
| (translation_unit "undefined8 FUN_00165605(undefined4 *param_1)\n\n{\n *param_1 = 0;\n return 0;\n}\n\n" (function_definition "undefined8 FUN_00165605(undefined4 *param_1)\n\n{\n *param_1 = 0;\n return 0;\n}" type_identifier (function_declarator "FUN_00165605(undefined4 *param_1)" identifier (parameter_list "(undef... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX],0x0
MOV EAX,0x0
POP RBP
RET |
type_1 * function_1(int *nprinters_ptr)
{
int *nprinters_ptr_local;
*nprinters_ptr = 0;
return (type_1 *)0x0;
}
| (translation_unit "printer_enum * printer_start_enum(int *nprinters_ptr)\n\n{\n int *nprinters_ptr_local;\n \n *nprinters_ptr = 0;\n return (printer_enum *)0x0;\n}\n\n" (function_definition "printer_enum * printer_start_enum(int *nprinters_ptr)\n\n{\n int *nprinters_ptr_local;\n \n *nprinters_ptr = 0;\n return ... | (translation_unit "type_1 * function_1(int *nprinters_ptr)\n\n{\n int *nprinters_ptr_local;\n \n *nprinters_ptr = 0;\n return (type_1 *)0x0;\n}\n\n" (function_definition "type_1 * function_1(int *nprinters_ptr)\n\n{\n int *nprinters_ptr_local;\n \n *nprinters_ptr = 0;\n return (type_1 *)0x0;\n}" type_identifier... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decl... |
158_psftp_and_psftp_strip.c | free_key | FUN_0010b6e2 | free_key |
void free_key(key *key)
{
key *key_local;
if (subkeytypes[key->primary] == 2) {
safefree((key->secondary).s);
}
return;
}
|
void FUN_0010b6e2(int *param_1)
{
if (*(int *)(&DAT_001b8020 + (long)*param_1 * 4) == 2) {
FUN_00110fa6(*(undefined8 *)(param_1 + 2));
}
return;
}
| (translation_unit "void FUN_0010b6e2(int *param_1)\n\n{\n if (*(int *)(&DAT_001b8020 + (long)*param_1 * 4) == 2) {\n FUN_00110fa6(*(undefined8 *)(param_1 + 2));\n }\n return;\n}\n\n" (function_definition "void FUN_0010b6e2(int *param_1)\n\n{\n if (*(int *)(&DAT_001b8020 + (long)*param_1 * 4) == 2) {\n FUN_001... | 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]
CDQE
LEA RDX,[RAX*0x4]
LEA RAX,[0x1b8020]
MOV EAX,dword ptr [RDX + RAX*0x1]
CMP EAX,0x2
JNZ 0x0010b71d
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
MOV RDI,RAX
CALL 0x00110fa6
NOP
LEAV... |
void function_1(type_1 *type_1)
{
type_1 *key_local;
if (subkeytypes[type_1->primary] == 2) {
var_1((type_1->secondary).s);
}
return;
}
| (translation_unit "void free_key(key *key)\n\n{\n key *key_local;\n \n if (subkeytypes[key->primary] == 2) {\n safefree((key->secondary).s);\n }\n return;\n}\n\n" (function_definition "void free_key(key *key)\n\n{\n key *key_local;\n \n if (subkeytypes[key->primary] == 2) {\n safefree((key->secondary).s);... | (translation_unit "void function_1(type_1 *type_1)\n\n{\n type_1 *key_local;\n \n if (subkeytypes[type_1->primary] == 2) {\n var_1((type_1->secondary).s);\n }\n return;\n}\n\n" (function_definition "void function_1(type_1 *type_1)\n\n{\n type_1 *key_local;\n \n if (subkeytypes[type_1->primary] == 2) {\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... |
616_psftp_and_psftp_strip.c | ssh1_protocol | FUN_0013657a | ssh1_protocol |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh1_protocol(Ssh_conflict ssh,void *vin,int inlen,Packet *pktin)
{
int iVar1;
Packet *pktin_local;
int inlen_local;
void *vin_local;
Ssh_conflict ssh_local;
uchar *in;
if (ssh->state != CHAN_SHARING) {
if ((pktin == (... |
void FUN_0013657a(long param_1,undefined8 param_2,undefined4 param_3,long param_4)
{
int iVar1;
if (*(int *)(param_1 + 0x1d0) != 4) {
if ((param_4 == 0) ||
(*(long *)(param_1 + 8 + ((long)*(int *)(param_4 + 0x10) + 0x78) * 8) == 0)) {
if (*(int *)(param_1 + 0x360) == 0) {
iVar1 = FUN_0... | (translation_unit "void FUN_0013657a(long param_1,undefined8 param_2,undefined4 param_3,long param_4)\n\n{\n int iVar1;\n \n if (*(int *)(param_1 + 0x1d0) != 4) {\n if ((param_4 == 0) ||\n (*(long *)(param_1 + 8 + ((long)*(int *)(param_4 + 0x10) + 0x78) * 8) == 0)) {\n if (*(int *)(param_1 + 0x360) == ... | 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 qword ptr [RBP + -0x30],RCX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x1d0]
CMP EAX,0x4
JZ 0x00136648
CMP q... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,void *vin,int inlen,type_2 *var_2)
{
int var_4;
type_2 *pktin_local;
int inlen_local;
void *vin_local;
type_1 ssh_local;
type_3 *in;
if (ssh->state != var_1) {
if ((var_2 == (type_2 *)0x0) || (ssh... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh1_protocol(Ssh_conflict ssh,void *vin,int inlen,Packet *pktin)\n\n{\n int iVar1;\n Packet *pktin_local;\n int inlen_local;\n void *vin_local;\n Ssh_conflict ssh_local;\n uchar *in;\n \n if (ssh->state != CHAN_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,void *vin,int inlen,type_2 *var_2)\n\n{\n int var_4;\n type_2 *pktin_local;\n int inlen_local;\n void *vin_local;\n type_1 ssh_local;\n type_3 *in;\n \n if (ssh->state != var_1) {\n if ((... | (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:... |
569_psftp_and_psftp_strip.c | ssh_closing | FUN_0012e78b | ssh_closing |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_closing(Plug plug,char *error_msg,int error_code,int calling_back)
{
int iVar1;
int calling_back_local;
int error_code_local;
char *error_msg_local;
Plug plug_local;
int need_notify;
Ssh_conflict ssh;
iVar1 = ssh_do_... |
void FUN_0012e78b(long param_1,char *param_2)
{
int iVar1;
char *local_28;
iVar1 = FUN_0012e3cf(param_1,0);
local_28 = param_2;
if (param_2 == (char *)0x0) {
if (*(int *)(param_1 + 0x1b8) == 0) {
local_28 = "Server unexpectedly closed network connection";
}
else {
local_28 = "Serv... | (translation_unit "void FUN_0012e78b(long param_1,char *param_2)\n\n{\n int iVar1;\n char *local_28;\n \n iVar1 = FUN_0012e3cf(param_1,0);\n local_28 = param_2;\n if (param_2 == (char *)0x0) {\n if (*(int *)(param_1 + 0x1b8) == 0) {\n local_28 = "Server unexpectedly closed network connection";\n }\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV dword ptr [RBP + -0x28],ECX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV ESI,0x0
MOV RDI,RAX
CALL 0x0012e3cf
MOV dword ptr [RBP + -0x... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_3,char *var_2,int error_code,int calling_back)
{
int var_4;
int calling_back_local;
int error_code_local;
char *var_6;
type_1 plug_local;
int need_notify;
type_2 ssh;
var_4 = var_1((type_2)var_3,0);... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_closing(Plug plug,char *error_msg,int error_code,int calling_back)\n\n{\n int iVar1;\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n Plug plug_local;\n int need_notify;\n Ssh_confl... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_3,char *var_2,int error_code,int calling_back)\n\n{\n int var_4;\n int calling_back_local;\n int error_code_local;\n char *var_6;\n type_1 plug_local;\n int need_notify;\n type_2 ssh;\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: (primitive_type) declarator: (pointer_declarator declarator:... |
580_psftp_and_psftp_strip.c | ssh_agentf_try_forward | FUN_0012f17d | ssh_agentf_try_forward |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_agentf_try_forward(ssh_channel *c)
{
long lVar1;
agent_pending_query *paVar2;
long in_FS_OFFSET;
ssh_channel *c_local;
int replylen;
uint datalen;
uint lengthfield;
uint messagelen;
void *reply;
uchar *message;
uc... |
void FUN_0012f17d(long *param_1)
{
long lVar1;
long in_FS_OFFSET;
undefined4 local_38;
uint local_34;
uint local_30;
int local_2c;
undefined8 local_28;
undefined8 local_20;
byte local_14;
byte local_13;
byte local_12;
byte local_11;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x2... | (translation_unit "void FUN_0012f17d(long *param_1)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n undefined4 local_38;\n uint local_34;\n uint local_30;\n int local_2c;\n undefined8 local_28;\n undefined8 local_20;\n byte local_14;\n byte local_13;\n byte local_12;\n byte local_11;\n long local_10;\n \n loca... | 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 + 0x88]
TEST RAX,RAX
JNZ 0x0012f38f
MOV RAX,qword ptr [RBP + -0x38]
MOV RAX,qword ptr [RAX]
MOV EAX,dword ptr [RAX + 0x25c]
TEST... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *c)
{
long var_13;
type_2 *paVar2;
long var_1;
type_1 *c_local;
int replylen;
type_3 var_3;
type_3 var_5;
type_3 messagelen;
void *reply;
type_4 *message;
type_4 msglen [4];
var_13 = *(long *)(v... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_agentf_try_forward(ssh_channel *c)\n\n{\n long lVar1;\n agent_pending_query *paVar2;\n long in_FS_OFFSET;\n ssh_channel *c_local;\n int replylen;\n uint datalen;\n uint lengthfield;\n uint messagelen;\n void... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *c)\n\n{\n long var_13;\n type_2 *paVar2;\n long var_1;\n type_1 *c_local;\n int replylen;\n type_3 var_3;\n type_3 var_5;\n type_3 messagelen;\n void *reply;\n type_4 *message;\n type_4 msgl... | (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... |
542_psftp_and_psftp_strip.c | ssh2_pkt_send | FUN_0012bcd1 | ssh2_pkt_send |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_pkt_send(Ssh_conflict ssh,Packet *pkt)
{
Packet *pkt_local;
Ssh_conflict ssh_local;
if (ssh->queueing == 0) {
ssh2_pkt_send_noqueue(ssh,pkt);
}
else {
ssh2_pkt_queue(ssh,pkt);
}
return;
}
|
void FUN_0012bcd1(long param_1,undefined8 param_2)
{
if (*(int *)(param_1 + 0x1f8) == 0) {
FUN_0012b925(param_1,param_2);
}
else {
FUN_0012bbf9(param_1,param_2);
}
return;
}
| (translation_unit "void FUN_0012bcd1(long param_1,undefined8 param_2)\n\n{\n if (*(int *)(param_1 + 0x1f8) == 0) {\n FUN_0012b925(param_1,param_2);\n }\n else {\n FUN_0012bbf9(param_1,param_2);\n }\n return;\n}\n\n" (function_definition "void FUN_0012bcd1(long param_1,undefined8 param_2)\n\n{\n if (*(int *)... | 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 + -0x8]
MOV EAX,dword ptr [RAX + 0x1f8]
TEST EAX,EAX
JZ 0x0012bd04
MOV RDX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0012bbf9
JMP 0x0012bd17
MOV RDX,qword p... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pkt)
{
type_2 *pkt_local;
type_1 ssh_local;
if (ssh->queueing == 0) {
var_1(ssh,pkt);
}
else {
var_2(ssh,pkt);
}
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_pkt_send(Ssh_conflict ssh,Packet *pkt)\n\n{\n Packet *pkt_local;\n Ssh_conflict ssh_local;\n \n if (ssh->queueing == 0) {\n ssh2_pkt_send_noqueue(ssh,pkt);\n }\n else {\n ssh2_pkt_queue(ssh,pkt);\n }\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pkt)\n\n{\n type_2 *pkt_local;\n type_1 ssh_local;\n \n if (ssh->queueing == 0) {\n var_1(ssh,pkt);\n }\n else {\n var_2(ssh,pkt);\n }\n return;\n}\n\n" comment (function_defin... | (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... |
836_psftp_and_psftp_strip.c | ccp_encrypt_length | FUN_001591fe | ccp_encrypt_length |
void ccp_encrypt_length(void *vctx,uchar *blk,int len,ulong seq)
{
ulong seq_local;
int len_local;
uchar *blk_local;
void *vctx_local;
ccp_context *ctx;
ccp_length_op((ccp_context *)vctx,blk,len,seq);
chacha20_encrypt((chacha20 *)vctx,blk,len);
return;
}
|
void FUN_001591fe(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)
{
FUN_00159134(param_1,param_2,param_3,param_4);
FUN_0015759d(param_1,param_2,param_3);
return;
}
| (translation_unit "void FUN_001591fe(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)\n\n{\n FUN_00159134(param_1,param_2,param_3,param_4);\n FUN_0015759d(param_1,param_2,param_3);\n return;\n}\n\n" (function_definition "void FUN_001591fe(undefined8 param_1,undefined8 param_2,undefined4 p... | 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 qword ptr [RBP + -0x30],RCX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RCX,qword ptr [RBP + -0x30]
MOV EDX,dword ptr [RBP + -0x24]
MOV RSI,qword ptr [RBP + -0x20]... |
void function_1(void *vctx,type_1 *blk,int len,type_2 seq)
{
type_2 seq_local;
int len_local;
type_1 *blk_local;
void *vctx_local;
type_3 *ctx;
var_1((type_3 *)vctx,blk,len,seq);
var_2((type_4 *)vctx,blk,len);
return;
}
| (translation_unit "void ccp_encrypt_length(void *vctx,uchar *blk,int len,ulong seq)\n\n{\n ulong seq_local;\n int len_local;\n uchar *blk_local;\n void *vctx_local;\n ccp_context *ctx;\n \n ccp_length_op((ccp_context *)vctx,blk,len,seq);\n chacha20_encrypt((chacha20 *)vctx,blk,len);\n return;\n}\n\n" (function... | (translation_unit "void function_1(void *vctx,type_1 *blk,int len,type_2 seq)\n\n{\n type_2 seq_local;\n int len_local;\n type_1 *blk_local;\n void *vctx_local;\n type_3 *ctx;\n \n var_1((type_3 *)vctx,blk,len,seq);\n var_2((type_4 *)vctx,blk,len);\n return;\n}\n\n" (function_definition "void function_1(void *... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
374_psftp_and_psftp_strip.c | sftp_senddata | FUN_0011c980 | sftp_senddata |
int sftp_senddata(char *buf,int len)
{
int len_local;
char *buf_local;
(*back->send)(backhandle,buf,len);
return 1;
}
|
undefined8 FUN_0011c980(undefined8 param_1,undefined4 param_2)
{
(**(code **)(DAT_001b8cf8 + 0x18))(DAT_001b8d00,param_1,param_2);
return 1;
}
| (translation_unit "undefined8 FUN_0011c980(undefined8 param_1,undefined4 param_2)\n\n{\n (**(code **)(DAT_001b8cf8 + 0x18))(DAT_001b8d00,param_1,param_2);\n return 1;\n}\n\n" (function_definition "undefined8 FUN_0011c980(undefined8 param_1,undefined4 param_2)\n\n{\n (**(code **)(DAT_001b8cf8 + 0x18))(DAT_001b8d00,pa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV RAX,qword ptr [0x001b8cf8]
MOV RAX,qword ptr [RAX + 0x18]
MOV RCX,qword ptr [0x001b8d00]
MOV EDX,dword ptr [RBP + -0xc]
MOV RSI,qword ptr [RBP + -0x8]
MOV RDI,RCX
CALL RAX
MOV EAX,0x1
LEAVE
RET |
int function_1(char *buf,int len)
{
int len_local;
char *buf_local;
(*back->send)(backhandle,buf,len);
return 1;
}
| (translation_unit "int sftp_senddata(char *buf,int len)\n\n{\n int len_local;\n char *buf_local;\n \n (*back->send)(backhandle,buf,len);\n return 1;\n}\n\n" (function_definition "int sftp_senddata(char *buf,int len)\n\n{\n int len_local;\n char *buf_local;\n \n (*back->send)(backhandle,buf,len);\n return 1;\n... | (translation_unit "int function_1(char *buf,int len)\n\n{\n int len_local;\n char *buf_local;\n \n (*back->send)(backhandle,buf,len);\n return 1;\n}\n\n" (function_definition "int function_1(char *buf,int len)\n\n{\n int len_local;\n char *buf_local;\n \n (*back->send)(backhandle,buf,len);\n return 1;\n}" pri... | (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... |
841_psftp_and_psftp_strip.c | crcda_free_context | FUN_00159375 | crcda_free_context |
void crcda_free_context(void *handle)
{
void *handle_local;
crcda_ctx *ctx;
if (handle != (void *)0x0) {
/* WARNING: Load size is inaccurate */
safefree(*handle);
*(undefined8 *)handle = 0;
safefree(handle);
}
return;
}
|
void FUN_00159375(undefined8 *param_1)
{
if (param_1 != (undefined8 *)0x0) {
FUN_00110fa6(*param_1);
*param_1 = 0;
FUN_00110fa6(param_1);
}
return;
}
| (translation_unit "void FUN_00159375(undefined8 *param_1)\n\n{\n if (param_1 != (undefined8 *)0x0) {\n FUN_00110fa6(*param_1);\n *param_1 = 0;\n FUN_00110fa6(param_1);\n }\n return;\n}\n\n" (function_definition "void FUN_00159375(undefined8 *param_1)\n\n{\n if (param_1 != (undefined8 *)0x0) {\n FUN_0011... | 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
CMP qword ptr [RBP + -0x8],0x0
JZ 0x001593b6
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x00110fa6
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX],0x0
MOV RAX,... |
void function_1(void *var_1)
{
void *handle_local;
type_1 *ctx;
if (var_1 != (void *)0x0) {
/* WARNING: Load size is inaccurate */
var_2(*var_1);
*(type_2 *)var_1 = 0;
var_2(var_1);
}
return;
}
| (translation_unit "void crcda_free_context(void *handle)\n\n{\n void *handle_local;\n crcda_ctx *ctx;\n \n if (handle != (void *)0x0) {\n /* WARNING: Load size is inaccurate */\n safefree(*handle);\n *(undefined8 *)handle = 0;\n safefree(handle);\n }\n return;\n}\n\n" (function_definit... | (translation_unit "void function_1(void *var_1)\n\n{\n void *handle_local;\n type_1 *ctx;\n \n if (var_1 != (void *)0x0) {\n /* WARNING: Load size is inaccurate */\n var_2(*var_1);\n *(type_2 *)var_1 = 0;\n var_2(var_1);\n }\n return;\n}\n\n" (function_definition "void function_1(void ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
1089_pterm_and_pterm_strip.c | from_backend | FUN_0015ae57 | from_backend |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
wchar_t from_backend(void *frontend,wchar_t is_stderr,char *data,wchar_t len)
{
wchar_t wVar1;
char *data_local;
wchar_t len_local;
wchar_t is_stderr_local;
void *frontend_local;
gui_data *inst;
wVar1 = term_data(*(Terminal **)... |
void FUN_0015ae57(long param_1,undefined4 param_2,undefined8 param_3,undefined4 param_4)
{
FUN_00141e75(*(undefined8 *)(param_1 + 0xda0),param_2,param_3,param_4);
return;
}
| (translation_unit "void FUN_0015ae57(long param_1,undefined4 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n FUN_00141e75(*(undefined8 *)(param_1 + 0xda0),param_2,param_3,param_4);\n return;\n}\n\n" (function_definition "void FUN_0015ae57(long param_1,undefined4 param_2,undefined8 param_3,undefined4 param_4)\n\... | 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 dword ptr [RBP + -0x20],ECX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0xda0]
MOV ECX,dword ptr [RBP + -0x20]
... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(void *frontend,type_1 is_stderr,char *data,type_1 len)
{
type_1 wVar1;
char *data_local;
type_1 len_local;
type_1 is_stderr_local;
void *frontend_local;
type_2 *inst;
wVar1 = var_1(*(type_3 **)((long)frontend ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nwchar_t from_backend(void *frontend,wchar_t is_stderr,char *data,wchar_t len)\n\n{\n wchar_t wVar1;\n char *data_local;\n wchar_t len_local;\n wchar_t is_stderr_local;\n void *frontend_local;\n gui_data *inst;\n \n wV... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(void *frontend,type_1 is_stderr,char *data,type_1 len)\n\n{\n type_1 wVar1;\n char *data_local;\n type_1 len_local;\n type_1 is_stderr_local;\n void *frontend_local;\n type_2 *inst;\n \n wVar1 = var_... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato... |
766_psftp_and_psftp_strip.c | bn_clz | FUN_0015258e | bn_clz |
int bn_clz(BignumInt x)
{
BignumInt x_local;
int i;
int ret;
ret = 0;
x_local = x;
for (i = 0x20; i != 0; i = i >> 1) {
if (x_local >> (0x40U - (sbyte)i & 0x3f) == 0) {
x_local = x_local << (sbyte)i;
ret = ret + i;
}
}
return ret;
}
|
int FUN_0015258e(ulong param_1)
{
undefined8 local_20;
undefined4 local_10;
undefined4 local_c;
local_c = 0;
local_20 = param_1;
for (local_10 = 0x20; local_10 != 0; local_10 = local_10 >> 1) {
if (local_20 >> (0x40U - (sbyte)local_10 & 0x3f) == 0) {
local_20 = local_20 << (sbyte)local_10;
... | (translation_unit "int FUN_0015258e(ulong param_1)\n\n{\n undefined8 local_20;\n undefined4 local_10;\n undefined4 local_c;\n \n local_c = 0;\n local_20 = param_1;\n for (local_10 = 0x20; local_10 != 0; local_10 = local_10 >> 1) {\n if (local_20 >> (0x40U - (sbyte)local_10 & 0x3f) == 0) {\n local_20 = lo... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x4],0x0
MOV dword ptr [RBP + -0x8],0x20
JMP 0x001525d1
MOV EAX,0x40
SUB EAX,dword ptr [RBP + -0x8]
MOV RDX,qword ptr [RBP + -0x18]
MOV ECX,EAX
SHR RDX,CL
MOV RAX,RDX
TEST RAX,RAX
JNZ 0x001525ce
MOV EAX,dword ptr [RBP + -0x8]
MOV ECX,EAX
SHL qwo... |
int function_1(type_1 x)
{
type_1 var_2;
int var_1;
int var_3;
var_3 = 0;
var_2 = x;
for (var_1 = 0x20; var_1 != 0; var_1 = var_1 >> 1) {
if (var_2 >> (0x40U - (type_2)var_1 & 0x3f) == 0) {
var_2 = var_2 << (type_2)var_1;
var_3 = var_3 + var_1;
}
}
return var_3;
}
| (translation_unit "int bn_clz(BignumInt x)\n\n{\n BignumInt x_local;\n int i;\n int ret;\n \n ret = 0;\n x_local = x;\n for (i = 0x20; i != 0; i = i >> 1) {\n if (x_local >> (0x40U - (sbyte)i & 0x3f) == 0) {\n x_local = x_local << (sbyte)i;\n ret = ret + i;\n }\n }\n return ret;\n}\n\n" (functi... | (translation_unit "int function_1(type_1 x)\n\n{\n type_1 var_2;\n int var_1;\n int var_3;\n \n var_3 = 0;\n var_2 = x;\n for (var_1 = 0x20; var_1 != 0; var_1 = var_1 >> 1) {\n if (var_2 >> (0x40U - (type_2)var_1 & 0x3f) == 0) {\n var_2 = var_2 << (type_2)var_1;\n var_3 = var_3 + var_1;\n }\n }\... | (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)) (declara... |
1201_pterm_and_pterm_strip.c | filename_equal | FUN_00164bf1 | filename_equal |
int filename_equal(Filename *f1,Filename *f2)
{
int iVar1;
Filename *f2_local;
Filename *f1_local;
iVar1 = strcmp(f1->path,f2->path);
return (int)(iVar1 == 0);
}
|
bool FUN_00164bf1(undefined8 *param_1,undefined8 *param_2)
{
int iVar1;
iVar1 = strcmp((char *)*param_1,(char *)*param_2);
return iVar1 == 0;
}
| (translation_unit "bool FUN_00164bf1(undefined8 *param_1,undefined8 *param_2)\n\n{\n int iVar1;\n \n iVar1 = strcmp((char *)*param_1,(char *)*param_2);\n return iVar1 == 0;\n}\n\n" (function_definition "bool FUN_00164bf1(undefined8 *param_1,undefined8 *param_2)\n\n{\n int iVar1;\n \n iVar1 = strcmp((char *)*para... | 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 RDX,qword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x001105b0
TEST EAX,EAX
SETZ AL
MOVZX EAX,AL
LEAVE
RET |
int function_1(type_1 *f1,type_1 *f2)
{
int var_2;
type_1 *f2_local;
type_1 *f1_local;
var_2 = var_1(f1->path,f2->path);
return (int)(var_2 == 0);
}
| (translation_unit "int filename_equal(Filename *f1,Filename *f2)\n\n{\n int iVar1;\n Filename *f2_local;\n Filename *f1_local;\n \n iVar1 = strcmp(f1->path,f2->path);\n return (int)(iVar1 == 0);\n}\n\n" (function_definition "int filename_equal(Filename *f1,Filename *f2)\n\n{\n int iVar1;\n Filename *f2_local;\n... | (translation_unit "int function_1(type_1 *f1,type_1 *f2)\n\n{\n int var_2;\n type_1 *f2_local;\n type_1 *f1_local;\n \n var_2 = var_1(f1->path,f2->path);\n return (int)(var_2 == 0);\n}\n\n" (function_definition "int function_1(type_1 *f1,type_1 *f2)\n\n{\n int var_2;\n type_1 *f2_local;\n type_1 *f1_local;\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... |
708_psftp_and_psftp_strip.c | aes_decrypt | FUN_0014da12 | aes_decrypt |
void aes_decrypt(AESContext *ctx,word32 *block)
{
word32 *block_local;
AESContext *ctx_local;
(*ctx->decrypt)(ctx,block);
return;
}
|
void FUN_0014da12(long param_1,undefined8 param_2)
{
(**(code **)(param_1 + 0x3c8))(param_1,param_2);
return;
}
| (translation_unit "void FUN_0014da12(long param_1,undefined8 param_2)\n\n{\n (**(code **)(param_1 + 0x3c8))(param_1,param_2);\n return;\n}\n\n" (function_definition "void FUN_0014da12(long param_1,undefined8 param_2)\n\n{\n (**(code **)(param_1 + 0x3c8))(param_1,param_2);\n return;\n}" primitive_type (function_decl... | 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 + -0x8]
MOV RAX,qword ptr [RAX + 0x3c8]
MOV RCX,qword ptr [RBP + -0x10]
MOV RDX,qword ptr [RBP + -0x8]
MOV RSI,RCX
MOV RDI,RDX
CALL RAX
NOP
LEAVE
RET |
void function_1(type_1 *ctx,type_2 *block)
{
type_2 *block_local;
type_1 *ctx_local;
(*ctx->decrypt)(ctx,block);
return;
}
| (translation_unit "void aes_decrypt(AESContext *ctx,word32 *block)\n\n{\n word32 *block_local;\n AESContext *ctx_local;\n \n (*ctx->decrypt)(ctx,block);\n return;\n}\n\n" (function_definition "void aes_decrypt(AESContext *ctx,word32 *block)\n\n{\n word32 *block_local;\n AESContext *ctx_local;\n \n (*ctx->decry... | (translation_unit "void function_1(type_1 *ctx,type_2 *block)\n\n{\n type_2 *block_local;\n type_1 *ctx_local;\n \n (*ctx->decrypt)(ctx,block);\n return;\n}\n\n" (function_definition "void function_1(type_1 *ctx,type_2 *block)\n\n{\n type_2 *block_local;\n type_1 *ctx_local;\n \n (*ctx->decrypt)(ctx,block);\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... |
1215_pterm_and_pterm_strip.c | fontspec_copy | FUN_001651da | fontspec_copy |
FontSpec * fontspec_copy(FontSpec *f)
{
FontSpec *pFVar1;
FontSpec *f_local;
pFVar1 = fontspec_new(f->name);
return pFVar1;
}
|
void FUN_001651da(undefined8 *param_1)
{
FUN_0016519f(*param_1);
return;
}
| (translation_unit "void FUN_001651da(undefined8 *param_1)\n\n{\n FUN_0016519f(*param_1);\n return;\n}\n\n" (function_definition "void FUN_001651da(undefined8 *param_1)\n\n{\n FUN_0016519f(*param_1);\n return;\n}" primitive_type (function_declarator "FUN_001651da(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 0x0016519f
LEAVE
RET |
type_1 * function_1(type_1 *f)
{
type_1 *pFVar1;
type_1 *f_local;
pFVar1 = var_1(f->name);
return pFVar1;
}
| (translation_unit "FontSpec * fontspec_copy(FontSpec *f)\n\n{\n FontSpec *pFVar1;\n FontSpec *f_local;\n \n pFVar1 = fontspec_new(f->name);\n return pFVar1;\n}\n\n" (function_definition "FontSpec * fontspec_copy(FontSpec *f)\n\n{\n FontSpec *pFVar1;\n FontSpec *f_local;\n \n pFVar1 = fontspec_new(f->name);\n ... | (translation_unit "type_1 * function_1(type_1 *f)\n\n{\n type_1 *pFVar1;\n type_1 *f_local;\n \n pFVar1 = var_1(f->name);\n return pFVar1;\n}\n\n" (function_definition "type_1 * function_1(type_1 *f)\n\n{\n type_1 *pFVar1;\n type_1 *f_local;\n \n pFVar1 = var_1(f->name);\n return pFVar1;\n}" type_identifier (... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (dec... |
1060_pterm_and_pterm_strip.c | unifontsel_set_name | FUN_00158715 | unifontsel_set_name |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void unifontsel_set_name(unifontsel *fontsel,char *fontname)
{
long lVar1;
_func_char_ptr_GtkWidget_ptr_char_ptr_wchar_t_ptr_wchar_t_ptr_wchar_t *p_Var2;
char *pcVar3;
undefined8 uVar4;
GtkWidget *pGVar5;
long in_FS_OFFSET;
char *... |
void FUN_00158715(long param_1,char *param_2)
{
code *pcVar1;
long lVar2;
undefined8 uVar3;
long in_FS_OFFSET;
char *local_78;
int local_64;
int local_60;
int local_5c;
undefined4 local_58;
int local_54;
long local_50;
long local_48;
long local_40;
long local_38;
undefined4 local_30;
l... | (translation_unit "void FUN_00158715(long param_1,char *param_2)\n\n{\n code *pcVar1;\n long lVar2;\n undefined8 uVar3;\n long in_FS_OFFSET;\n char *local_78;\n int local_64;\n int local_60;\n int local_5c;\n undefined4 local_58;\n int local_54;\n long local_50;\n long local_48;\n long local_40;\n long lo... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x68
MOV qword ptr [RBP + -0x68],RDI
MOV qword ptr [RBP + -0x70],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x68]
MOV qword ptr [RBP + -0x38],RAX
MOV qword ptr [RBP + -0x48],0x0
CMP qword ptr [RBP + -0x70],0x0
JZ 0x00158757... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *fontsel,char *var_2)
{
long var_13;
type_2 *p_Var2;
char *pcVar3;
type_3 uVar4;
type_4 *pGVar5;
long var_1;
char *fontname_local;
type_1 *fontsel_local;
type_5 start;
type_5 var_5;
type_5 var_11;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid unifontsel_set_name(unifontsel *fontsel,char *fontname)\n\n{\n long lVar1;\n _func_char_ptr_GtkWidget_ptr_char_ptr_wchar_t_ptr_wchar_t_ptr_wchar_t *p_Var2;\n char *pcVar3;\n undefined8 uVar4;\n GtkWidget *pGVar5;\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *fontsel,char *var_2)\n\n{\n long var_13;\n type_2 *p_Var2;\n char *pcVar3;\n type_3 uVar4;\n type_4 *pGVar5;\n long var_1;\n char *fontname_local;\n type_1 *fontsel_local;\n type_5 start;\n t... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator... |
368_psftp_and_psftp_strip.c | ldisc_echoedit_update | FUN_0011c621 | ldisc_echoedit_update |
void ldisc_echoedit_update(void *handle)
{
void *handle_local;
return;
}
|
void FUN_0011c621(void)
{
return;
}
| (translation_unit "void FUN_0011c621(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_0011c621(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_0011c621(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 *handle)
{
void *handle_local;
return;
}
| (translation_unit "void ldisc_echoedit_update(void *handle)\n\n{\n void *handle_local;\n \n return;\n}\n\n" (function_definition "void ldisc_echoedit_update(void *handle)\n\n{\n void *handle_local;\n \n return;\n}" primitive_type (function_declarator "ldisc_echoedit_update(void *handle)" identifier (parameter_lis... | (translation_unit "void function_1(void *handle)\n\n{\n void *handle_local;\n \n return;\n}\n\n" (function_definition "void function_1(void *handle)\n\n{\n void *handle_local;\n \n return;\n}" primitive_type (function_declarator "function_1(void *handle)" identifier (parameter_list "(void *handle)" ( (parameter_d... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
1092_pterm_and_pterm_strip.c | get_userpass_input | FUN_0015aedd | get_userpass_input |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
wchar_t get_userpass_input(prompts_t_conflict *p,uchar *in,wchar_t inlen)
{
void *pvVar1;
wchar_t inlen_local;
uchar *in_local;
prompts_t_conflict *p_local;
wchar_t ret;
gui_data *inst;
pvVar1 = p->frontend;
ret = cmdline_get... |
int FUN_0015aedd(long param_1,undefined8 param_2,undefined4 param_3)
{
long lVar1;
undefined4 local_14;
lVar1 = *(long *)(param_1 + 0x38);
local_14 = FUN_0011263b(param_1,param_2,param_3);
if (local_14 == -1) {
local_14 = FUN_0014208b(*(undefined8 *)(lVar1 + 0xda0),param_1,param_2,param_3);
}
ret... | (translation_unit "int FUN_0015aedd(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n long lVar1;\n undefined4 local_14;\n \n lVar1 = *(long *)(param_1 + 0x38);\n local_14 = FUN_0011263b(param_1,param_2,param_3);\n if (local_14 == -1) {\n local_14 = FUN_0014208b(*(undefined8 *)(lVar1 + 0xda0),param_1,... | 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 RAX,qword ptr [RAX + 0x38]
MOV qword ptr [RBP + -0x8],RAX
MOV EDX,dword ptr [RBP + -0x24]
MOV RCX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_2 *p,type_3 *in,type_1 inlen)
{
void *pvVar1;
type_1 inlen_local;
type_3 *in_local;
type_2 *p_local;
type_1 var_2;
type_4 *inst;
pvVar1 = p->frontend;
var_2 = var_1((type_5 *)p,in,inlen);
if (var_2 ==... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nwchar_t get_userpass_input(prompts_t_conflict *p,uchar *in,wchar_t inlen)\n\n{\n void *pvVar1;\n wchar_t inlen_local;\n uchar *in_local;\n prompts_t_conflict *p_local;\n wchar_t ret;\n gui_data *inst;\n \n pvVar1 = p-... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 *p,type_3 *in,type_1 inlen)\n\n{\n void *pvVar1;\n type_1 inlen_local;\n type_3 *in_local;\n type_2 *p_local;\n type_1 var_2;\n type_4 *inst;\n \n pvVar1 = p->frontend;\n var_2 = var_1((type_... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarat... |
828_psftp_and_psftp_strip.c | poly_verify | FUN_00158f7b | poly_verify |
int poly_verify(void *handle,uchar *blk,int len,ulong seq)
{
int iVar1;
ulong seq_local;
int len_local;
uchar *blk_local;
void *handle_local;
poly_op(handle,blk,len,seq);
iVar1 = poly_verresult(handle,blk + len);
return iVar1;
}
|
void FUN_00158f7b(undefined8 param_1,long param_2,int param_3,undefined8 param_4)
{
FUN_00158e7e(param_1,param_2,param_3,param_4);
FUN_00158e09(param_1,param_3 + param_2);
return;
}
| (translation_unit "void FUN_00158f7b(undefined8 param_1,long param_2,int param_3,undefined8 param_4)\n\n{\n FUN_00158e7e(param_1,param_2,param_3,param_4);\n FUN_00158e09(param_1,param_3 + param_2);\n return;\n}\n\n" (function_definition "void FUN_00158f7b(undefined8 param_1,long param_2,int param_3,undefined8 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 qword ptr [RBP + -0x20],RCX
MOV RCX,qword ptr [RBP + -0x20]
MOV EDX,dword ptr [RBP + -0x14]
MOV RSI,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00158e7e
MOV ... |
int function_1(void *handle,type_1 *var_3,int var_4,type_2 seq)
{
int iVar1;
type_2 seq_local;
int len_local;
type_1 *blk_local;
void *handle_local;
var_1(handle,var_3,var_4,seq);
iVar1 = var_2(handle,var_3 + var_4);
return iVar1;
}
| (translation_unit "int poly_verify(void *handle,uchar *blk,int len,ulong seq)\n\n{\n int iVar1;\n ulong seq_local;\n int len_local;\n uchar *blk_local;\n void *handle_local;\n \n poly_op(handle,blk,len,seq);\n iVar1 = poly_verresult(handle,blk + len);\n return iVar1;\n}\n\n" (function_definition "int poly_veri... | (translation_unit "int function_1(void *handle,type_1 *var_3,int var_4,type_2 seq)\n\n{\n int iVar1;\n type_2 seq_local;\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n \n var_1(handle,var_3,var_4,seq);\n iVar1 = var_2(handle,var_3 + var_4);\n return iVar1;\n}\n\n" (function_definition "int funct... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
797_psftp_and_psftp_strip.c | bignum_mod_short | FUN_001562a6 | bignum_mod_short |
ushort bignum_mod_short(Bignum_conflict number,ushort modulus)
{
ulong uVar1;
ushort modulus_local;
Bignum_conflict number_local;
int i;
ulong r;
ulong mod;
ulong base_r;
uVar1 = (ulong)modulus;
r = 0;
for (i = (int)*number; 0 < i; i = i + -1) {
r = (number[i] % uVar1 + r * (-(ulong)modulus... |
ulong FUN_001562a6(undefined8 *param_1,ushort param_2)
{
ulong uVar1;
int local_24;
ulong local_20;
uVar1 = (ulong)param_2;
local_20 = 0;
for (local_24 = (int)*param_1; 0 < local_24; local_24 = local_24 + -1) {
local_20 = ((ulong)param_1[local_24] % uVar1 + local_20 * (-(ulong)param_2 % uVar1)) % u... | (translation_unit "ulong FUN_001562a6(undefined8 *param_1,ushort param_2)\n\n{\n ulong uVar1;\n int local_24;\n ulong local_20;\n \n uVar1 = (ulong)param_2;\n local_20 = 0;\n for (local_24 = (int)*param_1; 0 < local_24; local_24 = local_24 + -1) {\n local_20 = ((ulong)param_1[local_24] % uVar1 + local_20 * (-... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x28],RDI
MOV EAX,ESI
MOV word ptr [RBP + -0x2c],AX
MOVZX EAX,word ptr [RBP + -0x2c]
MOV qword ptr [RBP + -0x10],RAX
MOV qword ptr [RBP + -0x18],0x0
MOVZX EAX,word ptr [RBP + -0x2c]
NEG RAX
MOV EDX,0x0
DIV qword ptr [RBP + -0x10]
MOV qword ptr [RBP + -0x8],RDX
MOV RAX,qword pt... |
type_1 function_1(type_2 number,type_1 modulus)
{
type_3 var_2;
type_1 modulus_local;
type_2 number_local;
int var_1;
type_3 var_3;
type_3 mod;
type_3 base_r;
var_2 = (type_3)modulus;
var_3 = 0;
for (var_1 = (int)*number; 0 < var_1; var_1 = var_1 + -1) {
var_3 = (number[var_1] % var_2 + var... | (translation_unit "ushort bignum_mod_short(Bignum_conflict number,ushort modulus)\n\n{\n ulong uVar1;\n ushort modulus_local;\n Bignum_conflict number_local;\n int i;\n ulong r;\n ulong mod;\n ulong base_r;\n \n uVar1 = (ulong)modulus;\n r = 0;\n for (i = (int)*number; 0 < i; i = i + -1) {\n r = (number[i... | (translation_unit "type_1 function_1(type_2 number,type_1 modulus)\n\n{\n type_3 var_2;\n type_1 modulus_local;\n type_2 number_local;\n int var_1;\n type_3 var_3;\n type_3 mod;\n type_3 base_r;\n \n var_2 = (type_3)modulus;\n var_3 = 0;\n for (var_1 = (int)*number; 0 < var_1; var_1 = var_1 + -1) {\n var_... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_stateme... |
372_psftp_and_psftp_strip.c | from_backend_eof | FUN_0011c806 | from_backend_eof |
int from_backend_eof(void *frontend)
{
void *frontend_local;
if (sent_eof == 0) {
connection_fatal(frontend,"Received unexpected end-of-file from SFTP server");
}
return 0;
}
|
undefined8 FUN_0011c806(undefined8 param_1)
{
if (DAT_001b8cf0 == 0) {
FUN_0011c4e0(param_1,"Received unexpected end-of-file from SFTP server");
}
return 0;
}
| (translation_unit "undefined8 FUN_0011c806(undefined8 param_1)\n\n{\n if (DAT_001b8cf0 == 0) {\n FUN_0011c4e0(param_1,"Received unexpected end-of-file from SFTP server");\n }\n return 0;\n}\n\n" (function_definition "undefined8 FUN_0011c806(undefined8 param_1)\n\n{\n if (DAT_001b8cf0 == 0) {\n FUN_0011c4e0(pa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV EAX,dword ptr [0x001b8cf0]
TEST EAX,EAX
JNZ 0x0011c834
MOV RAX,qword ptr [RBP + -0x8]
LEA RSI,[0x196740]
MOV RDI,RAX
MOV EAX,0x0
CALL 0x0011c4e0
MOV EAX,0x0
LEAVE
RET |
int function_1(void *frontend)
{
void *frontend_local;
if (var_1 == 0) {
var_2(frontend,"Received unexpected end-of-file from SFTP server");
}
return 0;
}
| (translation_unit "int from_backend_eof(void *frontend)\n\n{\n void *frontend_local;\n \n if (sent_eof == 0) {\n connection_fatal(frontend,"Received unexpected end-of-file from SFTP server");\n }\n return 0;\n}\n\n" (function_definition "int from_backend_eof(void *frontend)\n\n{\n void *frontend_local;\n \n ... | (translation_unit "int function_1(void *frontend)\n\n{\n void *frontend_local;\n \n if (var_1 == 0) {\n var_2(frontend,"Received unexpected end-of-file from SFTP server");\n }\n return 0;\n}\n\n" (function_definition "int function_1(void *frontend)\n\n{\n void *frontend_local;\n \n if (var_1 == 0) {\n var... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
809_psftp_and_psftp_strip.c | bigval_import_le | FUN_00157682 | bigval_import_le |
void bigval_import_le(bigval *r,void *vdata,int len)
{
int iVar1;
int len_local;
void *vdata_local;
bigval *r_local;
int i;
uchar *data;
bigval_clear(r);
for (i = 0; i < len; i = i + 1) {
iVar1 = i;
if (i < 0) {
iVar1 = i + 7;
}
r->w[iVar1 >> 3] =
r->w[iVar1 >> 3] | (... |
void FUN_00157682(long param_1,long param_2,int param_3)
{
int iVar1;
undefined4 local_14;
FUN_00157652(param_1);
for (local_14 = 0; local_14 < param_3; local_14 = local_14 + 1) {
iVar1 = local_14;
if (local_14 < 0) {
iVar1 = local_14 + 7;
}
*(ulong *)(param_1 + (long)(iVar1 >> 3) * 8... | (translation_unit "void FUN_00157682(long param_1,long param_2,int param_3)\n\n{\n int iVar1;\n undefined4 local_14;\n \n FUN_00157652(param_1);\n for (local_14 = 0; local_14 < param_3; local_14 = local_14 + 1) {\n iVar1 = local_14;\n if (local_14 < 0) {\n iVar1 = local_14 + 7;\n }\n *(ulong *)(pa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x28
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RDI,RAX
CALL 0x00157652
MOV dword ptr [RBP + -0xc],0x0
JMP 0x0015770f
MOV EAX,dword ptr [RB... |
void function_1(type_1 *r,void *vdata,int var_3)
{
int var_4;
int len_local;
void *vdata_local;
type_1 *r_local;
int var_2;
type_2 *data;
var_1(r);
for (var_2 = 0; var_2 < var_3; var_2 = var_2 + 1) {
var_4 = var_2;
if (var_2 < 0) {
var_4 = var_2 + 7;
}
r->w[var_4 >> 3] =
... | (translation_unit "void bigval_import_le(bigval *r,void *vdata,int len)\n\n{\n int iVar1;\n int len_local;\n void *vdata_local;\n bigval *r_local;\n int i;\n uchar *data;\n \n bigval_clear(r);\n for (i = 0; i < len; i = i + 1) {\n iVar1 = i;\n if (i < 0) {\n iVar1 = i + 7;\n }\n r->w[iVar1 >> ... | (translation_unit "void function_1(type_1 *r,void *vdata,int var_3)\n\n{\n int var_4;\n int len_local;\n void *vdata_local;\n type_1 *r_local;\n int var_2;\n type_2 *data;\n \n var_1(r);\n for (var_2 = 0; var_2 < var_3; var_2 = var_2 + 1) {\n var_4 = var_2;\n if (var_2 < 0) {\n var_4 = var_2 + 7;\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
337_psftp_and_psftp_strip.c | sftp_cmd_get | FUN_0011a1f1 | sftp_cmd_get |
int sftp_cmd_get(sftp_command *cmd)
{
int iVar1;
sftp_command *cmd_local;
iVar1 = sftp_general_get(cmd,0,0);
return iVar1;
}
|
void FUN_0011a1f1(undefined8 param_1)
{
FUN_00119e64(param_1,0,0);
return;
}
| (translation_unit "void FUN_0011a1f1(undefined8 param_1)\n\n{\n FUN_00119e64(param_1,0,0);\n return;\n}\n\n" (function_definition "void FUN_0011a1f1(undefined8 param_1)\n\n{\n FUN_00119e64(param_1,0,0);\n return;\n}" primitive_type (function_declarator "FUN_0011a1f1(undefined8 param_1)" identifier (parameter_list "... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,0x0
MOV ESI,0x0
MOV RDI,RAX
CALL 0x00119e64
LEAVE
RET |
int function_1(type_1 *cmd)
{
int iVar1;
type_1 *cmd_local;
iVar1 = var_1(cmd,0,0);
return iVar1;
}
| (translation_unit "int sftp_cmd_get(sftp_command *cmd)\n\n{\n int iVar1;\n sftp_command *cmd_local;\n \n iVar1 = sftp_general_get(cmd,0,0);\n return iVar1;\n}\n\n" (function_definition "int sftp_cmd_get(sftp_command *cmd)\n\n{\n int iVar1;\n sftp_command *cmd_local;\n \n iVar1 = sftp_general_get(cmd,0,0);\n r... | (translation_unit "int function_1(type_1 *cmd)\n\n{\n int iVar1;\n type_1 *cmd_local;\n \n iVar1 = var_1(cmd,0,0);\n return iVar1;\n}\n\n" (function_definition "int function_1(type_1 *cmd)\n\n{\n int iVar1;\n type_1 *cmd_local;\n \n iVar1 = var_1(cmd,0,0);\n return iVar1;\n}" primitive_type (function_declarat... | (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... |
140_psftp_and_psftp_strip.c | __do_global_dtors_aux | _FINI_0 | __do_global_dtors_aux |
void __do_global_dtors_aux(void)
{
if (completed_7325 == '\0') {
if (PTR___cxa_finalize_001b7ff8 != (undefined *)0x0) {
__cxa_finalize(__dso_handle);
}
deregister_tm_clones();
completed_7325 = 1;
return;
}
return;
}
|
void _FINI_0(void)
{
if (DAT_001b8c68 == '\0') {
if (PTR___cxa_finalize_001b7ff8 != (undefined *)0x0) {
__cxa_finalize(PTR_LOOP_001b8008);
}
FUN_001088c0();
DAT_001b8c68 = 1;
return;
}
return;
}
| (translation_unit "void _FINI_0(void)\n\n{\n if (DAT_001b8c68 == '\0') {\n if (PTR___cxa_finalize_001b7ff8 != (undefined *)0x0) {\n __cxa_finalize(PTR_LOOP_001b8008);\n }\n FUN_001088c0();\n DAT_001b8c68 = 1;\n return;\n }\n return;\n}\n\n" (function_definition "void _FINI_0(void)\n\n{\n if (DAT... | CMP byte ptr [0x001b8c68],0x0
JNZ 0x00108968
PUSH RBP
CMP qword ptr [0x001b7ff8],0x0
MOV RBP,RSP
JZ 0x00108953
MOV RDI,qword ptr [0x001b8008]
CALL 0x00108880
CALL 0x001088c0
MOV byte ptr [0x001b8c68],0x1
POP RBP
RET
RET |
void function_1(void)
{
if (var_1 == '\0') {
if (var_2 != (type_1 *)0x0) {
var_3(__dso_handle);
}
var_4();
var_1 = 1;
return;
}
return;
}
| (translation_unit "void __do_global_dtors_aux(void)\n\n{\n if (completed_7325 == '\0') {\n if (PTR___cxa_finalize_001b7ff8 != (undefined *)0x0) {\n __cxa_finalize(__dso_handle);\n }\n deregister_tm_clones();\n completed_7325 = 1;\n return;\n }\n return;\n}\n\n" (function_definition "void __do_glo... | (translation_unit "void function_1(void)\n\n{\n if (var_1 == '\0') {\n if (var_2 != (type_1 *)0x0) {\n var_3(__dso_handle);\n }\n var_4();\n var_1 = 1;\n return;\n }\n return;\n}\n\n" (function_definition "void function_1(void)\n\n{\n if (var_1 == '\0') {\n if (var_2 != (type_1 *)0x0) {\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (... |
575_psftp_and_psftp_strip.c | ssh_throttle_conn | FUN_0012ee4e | ssh_throttle_conn |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_throttle_conn(Ssh_conflict ssh,int adjust)
{
int iVar1;
int adjust_local;
Ssh_conflict ssh_local;
int old_count;
iVar1 = ssh->conn_throttle_count;
ssh->conn_throttle_count = ssh->conn_throttle_count + adjust;
if (ssh->... |
void FUN_0012ee4e(long param_1,int param_2)
{
int iVar1;
iVar1 = *(int *)(param_1 + 0x254);
*(int *)(param_1 + 0x254) = *(int *)(param_1 + 0x254) + param_2;
if (*(int *)(param_1 + 0x254) < 0) {
/* WARNING: Subroutine does not return */
__assert_fail("ssh->conn_throttle_count >= 0","... | (translation_unit "void FUN_0012ee4e(long param_1,int param_2)\n\n{\n int iVar1;\n \n iVar1 = *(int *)(param_1 + 0x254);\n *(int *)(param_1 + 0x254) = *(int *)(param_1 + 0x254) + param_2;\n if (*(int *)(param_1 + 0x254) < 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("ssh->... | 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 + 0x254]
MOV dword ptr [RBP + -0x4],EAX
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX,dword ptr [RAX + 0x254]
MOV EAX,dword ptr [RBP + -0x1c]
ADD EDX,EAX
MOV RAX,qword ptr [... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,int var_1)
{
int var_3;
int adjust_local;
type_1 ssh_local;
int old_count;
var_3 = ssh->conn_throttle_count;
ssh->conn_throttle_count = ssh->conn_throttle_count + var_1;
if (ssh->conn_throttle_count <... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_throttle_conn(Ssh_conflict ssh,int adjust)\n\n{\n int iVar1;\n int adjust_local;\n Ssh_conflict ssh_local;\n int old_count;\n \n iVar1 = ssh->conn_throttle_count;\n ssh->conn_throttle_count = ssh->conn_throttl... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,int var_1)\n\n{\n int var_3;\n int adjust_local;\n type_1 ssh_local;\n int old_count;\n \n var_3 = ssh->conn_throttle_count;\n ssh->conn_throttle_count = ssh->conn_throttle_count + var_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)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound... |
734_psftp_and_psftp_strip.c | blowfish_lsb_encrypt_ecb | FUN_0014fd4d | blowfish_lsb_encrypt_ecb |
void blowfish_lsb_encrypt_ecb(uchar *blk,int len,BlowfishContext *ctx)
{
long lVar1;
long in_FS_OFFSET;
BlowfishContext *ctx_local;
int len_local;
uchar *blk_local;
word32 xL;
word32 xR;
word32 out [2];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
len_local = len;
blk_local = blk;
if ((len & 7U)... |
void FUN_0014fd4d(undefined4 *param_1,uint param_2,undefined8 param_3)
{
long in_FS_OFFSET;
uint local_34;
undefined4 *local_30;
undefined local_18 [8];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_34 = param_2;
local_30 = param_1;
if ((param_2 & 7) != 0) {
... | (translation_unit "void FUN_0014fd4d(undefined4 *param_1,uint param_2,undefined8 param_3)\n\n{\n long in_FS_OFFSET;\n uint local_34;\n undefined4 *local_30;\n undefined local_18 [8];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_34 = param_2;\n local_30 = param_1;\n if ((param_2 & 7... | 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 RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x2c]
AND EAX,0x7
TEST EAX,EAX
JZ 0x0014fece
LEA RCX,[0x1a0260]
MOV EDX,0x14f
LEA RSI,[0x1a01... |
void function_1(type_1 *blk,int var_2,type_2 *ctx)
{
long var_7;
long var_1;
type_2 *ctx_local;
int var_4;
type_1 *var_6;
type_3 xL;
type_3 xR;
type_3 out [2];
var_7 = *(long *)(var_1 + 0x28);
var_4 = var_2;
var_6 = blk;
if ((var_2 & 7U) != 0) {
/* WARNING: Subroutine do... | (translation_unit "void blowfish_lsb_encrypt_ecb(uchar *blk,int len,BlowfishContext *ctx)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n BlowfishContext *ctx_local;\n int len_local;\n uchar *blk_local;\n word32 xL;\n word32 xR;\n word32 out [2];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n len_local = len;\n b... | (translation_unit "void function_1(type_1 *blk,int var_2,type_2 *ctx)\n\n{\n long var_7;\n long var_1;\n type_2 *ctx_local;\n int var_4;\n type_1 *var_6;\n type_3 xL;\n type_3 xR;\n type_3 out [2];\n \n var_7 = *(long *)(var_1 + 0x28);\n var_4 = var_2;\n var_6 = blk;\n if ((var_2 & 7U) != 0) {\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif... |
1269_pterm_and_pterm_strip.c | uxsel_set | FUN_0016745d | uxsel_set |
/* WARNING: Enum "GIOFlags": Some values do not have unique names */
void uxsel_set(int fd,int rwx,uxsel_callback_fn callback)
{
int *e;
uxsel_id *puVar1;
uxsel_callback_fn callback_local;
int rwx_local;
int fd_local;
fd *newfd;
if (fd < 0) {
/* WARNING: Subroutine does not retur... |
void FUN_0016745d(int param_1,int param_2,undefined8 param_3)
{
int *piVar1;
undefined8 uVar2;
if (param_1 < 0) {
/* WARNING: Subroutine does not return */
__assert_fail("fd >= 0","unix/uxsel.c",0x43,"uxsel_set");
}
FUN_00167509(param_1);
if (param_2 != 0) {
piVar1 = (int *)... | (translation_unit "void FUN_0016745d(int param_1,int param_2,undefined8 param_3)\n\n{\n int *piVar1;\n undefined8 uVar2;\n \n if (param_1 < 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("fd >= 0","unix/uxsel.c",0x43,"uxsel_set");\n }\n FUN_00167509(param_1);\n if (param_2... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x14],EDI
MOV dword ptr [RBP + -0x18],ESI
MOV qword ptr [RBP + -0x20],RDX
CMP dword ptr [RBP + -0x14],0x0
JNS 0x00167494
LEA RCX,[0x196540]
MOV EDX,0x43
LEA RSI,[0x196528]
LEA RDI,[0x196535]
CALL 0x0010f980
MOV EAX,dword ptr [RBP + -0x14]
MOV EDI,EAX
CALL 0x001675... |
/* WARNING: Enum "GIOFlags": Some values do not have unique names */
void function_1(int type_3,int var_3,type_1 callback)
{
int *var_5;
type_2 *puVar1;
type_1 callback_local;
int rwx_local;
int fd_local;
type_3 *newfd;
if (type_3 < 0) {
/* WARNING: Subroutine does not return */
... | (translation_unit "/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nvoid uxsel_set(int fd,int rwx,uxsel_callback_fn callback)\n\n{\n int *e;\n uxsel_id *puVar1;\n uxsel_callback_fn callback_local;\n int rwx_local;\n int fd_local;\n fd *newfd;\n \n if (fd < 0) {\n /* WAR... | (translation_unit "/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nvoid function_1(int type_3,int var_3,type_1 callback)\n\n{\n int *var_5;\n type_2 *puVar1;\n type_1 callback_local;\n int rwx_local;\n int fd_local;\n type_3 *newfd;\n \n if (type_3 < 0) {\n /* WARNING:... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declara... |
1070_pterm_and_pterm_strip.c | do_cmdline | FUN_00159490 | do_cmdline |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
int do_cmdline(int argc,char **argv,int do_everything,int *allow_launch,Conf *conf)
{
int iVar1;
long lVar2;
char *pcVar3;
char **ppcVar4;
int iVar5;
char *pcVar6;
FontSpec *pFVar7;
Filename *value;
long in_FS_OFFS... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
undefined4
FUN_00159490(int param_1,undefined8 *param_2,int param_3,undefined8 param_4,undefined8 param_5)
{
int iVar1;
undefined8 *puVar2;
int iVar3;
undefined8 uVar4;
undefined8 uVar5;
long in_FS_OFFSET;
double dVar6... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined4\nFUN_00159490(int param_1,undefined8 *param_2,int param_3,undefined8 param_4,undefined8 param_5)\n\n{\n int iVar1;\n undefined8 *puVar2;\n int iVar3;\n undefined8 uVar4;\n undefined8 uVar5;\n long... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xb0
MOV dword ptr [RBP + -0x94],EDI
MOV qword ptr [RBP + -0xa0],RSI
MOV dword ptr [RBP + -0x98],EDX
MOV qword ptr [RBP + -0xa8],RCX
MOV qword ptr [RBP + -0xb0],R8
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x88],0x0
JMP 0x0015a451
ADD qword... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
int function_1(int argc,char **argv,int var_8,int *allow_launch,type_1 *conf)
{
int var_3;
long var_34;
char *pcVar3;
char **ppcVar4;
int var_7;
char *pcVar6;
type_2 *pFVar7;
type_3 *value;
long var_1;
double dVa... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nint do_cmdline(int argc,char **argv,int do_everything,int *allow_launch,Conf *conf)\n\n{\n int iVar1;\n long lVar2;\n char *pcVar3;\n char **ppcVar4;\n int iVar5;\n char *pcVar6;\n FontSpec *pFVar7;\n File... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nint function_1(int argc,char **argv,int var_8,int *allow_launch,type_1 *conf)\n\n{\n int var_3;\n long var_34;\n char *pcVar3;\n char **ppcVar4;\n int var_7;\n char *pcVar6;\n type_2 *pFVar7;\n type_3 *val... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: ... |
811_psftp_and_psftp_strip.c | bigval_add | FUN_0015778e | bigval_add |
void bigval_add(bigval *r,bigval *a,bigval *b)
{
ulong uVar1;
ulong uVar2;
BignumInt BVar3;
ulong uVar4;
BignumInt BVar5;
ulong uVar6;
bigval *b_local;
bigval *a_local;
bigval *r_local;
BignumInt v0;
BignumInt v1;
BignumInt v2;
BignumInt v3;
BignumInt v4;
BignumInt v5;
BignumInt v6;
... |
void FUN_0015778e(long *param_1,ulong *param_2,ulong *param_3)
{
ulong uVar1;
ulong uVar2;
ulong uVar3;
ulong uVar4;
ulong uVar5;
ulong uVar6;
uVar2 = param_2[1];
uVar3 = param_2[2];
uVar4 = param_3[1];
uVar5 = param_3[2];
uVar6 = (ulong)CARRY8(*param_2,*param_3);
uVar1 = uVar2 + uVar4;
*... | (translation_unit "void FUN_0015778e(long *param_1,ulong *param_2,ulong *param_3)\n\n{\n ulong uVar1;\n ulong uVar2;\n ulong uVar3;\n ulong uVar4;\n ulong uVar5;\n ulong uVar6;\n \n uVar2 = param_2[1];\n uVar3 = param_2[2];\n uVar4 = param_3[1];\n uVar5 = param_3[2];\n uVar6 = (ulong)CARRY8(*param_2,*param_... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x20
MOV qword ptr [RBP + -0x88],RDI
MOV qword ptr [RBP + -0x90],RSI
MOV qword ptr [RBP + -0x98],RDX
MOV RAX,qword ptr [RBP + -0x90]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x80],RAX
MOV RAX,qword ptr [RBP + -0x90]
MOV RAX,qword ptr [RAX + 0x8]
MOV qword ptr [RBP + -0x78],RAX... |
void function_1(type_1 *r,type_1 *a,type_1 *b)
{
type_2 var_4;
type_2 var_2;
type_3 var_6;
type_2 var_3;
type_3 var_7;
type_2 var_5;
type_1 *b_local;
type_1 *a_local;
type_1 *r_local;
type_3 v0;
type_3 v1;
type_3 v2;
type_3 v3;
type_3 v4;
type_3 v5;
type_3 v6;
type_4 carry;
type_3 ... | (translation_unit "void bigval_add(bigval *r,bigval *a,bigval *b)\n\n{\n ulong uVar1;\n ulong uVar2;\n BignumInt BVar3;\n ulong uVar4;\n BignumInt BVar5;\n ulong uVar6;\n bigval *b_local;\n bigval *a_local;\n bigval *r_local;\n BignumInt v0;\n BignumInt v1;\n BignumInt v2;\n BignumInt v3;\n BignumInt v4;\... | (translation_unit "void function_1(type_1 *r,type_1 *a,type_1 *b)\n\n{\n type_2 var_4;\n type_2 var_2;\n type_3 var_6;\n type_2 var_3;\n type_3 var_7;\n type_2 var_5;\n type_1 *b_local;\n type_1 *a_local;\n type_1 *r_local;\n type_3 v0;\n type_3 v1;\n type_3 v2;\n type_3 v3;\n type_3 v4;\n type_3 v5;\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... |
294_psftp_and_psftp_strip.c | sk_proxy_close | FUN_00112fd5 | sk_proxy_close |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sk_proxy_close(Socket s)
{
Socket s_local;
Proxy_Socket ps;
(**(code **)(s[2]->plug + 8))(s[2]);
sk_addr_free((SockAddr)s[4]);
safefree(s);
return;
}
|
void FUN_00112fd5(long param_1)
{
(**(code **)(**(long **)(param_1 + 0x10) + 8))(*(undefined8 *)(param_1 + 0x10));
FUN_00186f67(*(undefined8 *)(param_1 + 0x20));
FUN_00110fa6(param_1);
return;
}
| (translation_unit "void FUN_00112fd5(long param_1)\n\n{\n (**(code **)(**(long **)(param_1 + 0x10) + 8))(*(undefined8 *)(param_1 + 0x10));\n FUN_00186f67(*(undefined8 *)(param_1 + 0x20));\n FUN_00110fa6(param_1);\n return;\n}\n\n" (function_definition "void FUN_00112fd5(long param_1)\n\n{\n (**(code **)(**(long **... | 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 + 0x10]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x8]
MOV RDX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RDX + 0x10]
MOV RDI,RDX
C... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 s)
{
type_1 s_local;
type_2 ps;
(**(type_3 **)(s[2]->plug + 8))(s[2]);
var_1((type_4)s[4]);
var_2(s);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sk_proxy_close(Socket s)\n\n{\n Socket s_local;\n Proxy_Socket ps;\n \n (**(code **)(s[2]->plug + 8))(s[2]);\n sk_addr_free((SockAddr)s[4]);\n safefree(s);\n return;\n}\n\n" comment (function_definition "void sk_p... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 s)\n\n{\n type_1 s_local;\n type_2 ps;\n \n (**(type_3 **)(s[2]->plug + 8))(s[2]);\n var_1((type_4)s[4]);\n var_2(s);\n return;\n}\n\n" comment (function_definition "void function_1(type_1 s)\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)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)... |
808_psftp_and_psftp_strip.c | bigval_clear | FUN_00157652 | bigval_clear |
void bigval_clear(bigval *r)
{
bigval *r_local;
int i;
for (i = 0; i < 3; i = i + 1) {
r->w[i] = 0;
}
return;
}
|
void FUN_00157652(long param_1)
{
undefined4 local_c;
for (local_c = 0; local_c < 3; local_c = local_c + 1) {
*(undefined8 *)(param_1 + (long)local_c * 8) = 0;
}
return;
}
| (translation_unit "void FUN_00157652(long param_1)\n\n{\n undefined4 local_c;\n \n for (local_c = 0; local_c < 3; local_c = local_c + 1) {\n *(undefined8 *)(param_1 + (long)local_c * 8) = 0;\n }\n return;\n}\n\n" (function_definition "void FUN_00157652(long param_1)\n\n{\n undefined4 local_c;\n \n for (local... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x4],0x0
JMP 0x00157679
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX,dword ptr [RBP + -0x4]
MOVSXD RDX,EDX
MOV qword ptr [RAX + RDX*0x8],0x0
ADD dword ptr [RBP + -0x4],0x1
CMP dword ptr [RBP + -0x4],0x2
JLE 0x00157663
NOP
POP RBP
RET |
void function_1(type_1 *r)
{
type_1 *r_local;
int var_1;
for (var_1 = 0; var_1 < 3; var_1 = var_1 + 1) {
r->w[var_1] = 0;
}
return;
}
| (translation_unit "void bigval_clear(bigval *r)\n\n{\n bigval *r_local;\n int i;\n \n for (i = 0; i < 3; i = i + 1) {\n r->w[i] = 0;\n }\n return;\n}\n\n" (function_definition "void bigval_clear(bigval *r)\n\n{\n bigval *r_local;\n int i;\n \n for (i = 0; i < 3; i = i + 1) {\n r->w[i] = 0;\n }\n retur... | (translation_unit "void function_1(type_1 *r)\n\n{\n type_1 *r_local;\n int var_1;\n \n for (var_1 = 0; var_1 < 3; var_1 = var_1 + 1) {\n r->w[var_1] = 0;\n }\n return;\n}\n\n" (function_definition "void function_1(type_1 *r)\n\n{\n type_1 *r_local;\n int var_1;\n \n for (var_1 = 0; var_1 < 3; var_1 = var_... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
221_psftp_and_psftp_strip.c | host_strrchr | FUN_0010f8b6 | host_strrchr |
char * host_strrchr(char *s,int c)
{
long lVar1;
char *pcVar2;
long in_FS_OFFSET;
int c_local;
char *s_local;
char set [2];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
set[0] = (char)c;
set[1] = '\0';
pcVar2 = host_strchr_internal(s,set,0);
if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {
... |
void FUN_0010f8b6(undefined8 param_1,undefined param_2)
{
long in_FS_OFFSET;
undefined local_12;
undefined local_11;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_11 = 0;
local_12 = param_2;
FUN_0010f76b(param_1,&local_12,0);
if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {
... | (translation_unit "void FUN_0010f8b6(undefined8 param_1,undefined param_2)\n\n{\n long in_FS_OFFSET;\n undefined local_12;\n undefined local_11;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_11 = 0;\n local_12 = param_2;\n FUN_0010f76b(param_1,&local_12,0);\n if (local_10 != *(long ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x1c]
MOV byte ptr [RBP + -0xa],AL
MOV byte ptr [RBP + -0x9],0x0
LEA RCX,[RBP + -0xa]
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX... |
char * function_1(char *s,int c)
{
long var_3;
char *pcVar2;
long var_1;
int c_local;
char *s_local;
char set [2];
var_3 = *(long *)(var_1 + 0x28);
set[0] = (char)c;
set[1] = '\0';
pcVar2 = var_2(s,set,0);
if (var_3 != *(long *)(var_1 + 0x28)) {
/* WARNING: Subroutine does... | (translation_unit "char * host_strrchr(char *s,int c)\n\n{\n long lVar1;\n char *pcVar2;\n long in_FS_OFFSET;\n int c_local;\n char *s_local;\n char set [2];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n set[0] = (char)c;\n set[1] = '\0';\n pcVar2 = host_strchr_internal(s,set,0);\n if (lVar1 != *(long *)(i... | (translation_unit "char * function_1(char *s,int c)\n\n{\n long var_3;\n char *pcVar2;\n long var_1;\n int c_local;\n char *s_local;\n char set [2];\n \n var_3 = *(long *)(var_1 + 0x28);\n set[0] = (char)c;\n set[1] = '\0';\n pcVar2 = var_2(s,set,0);\n if (var_3 != *(long *)(var_1 + 0x28)) {\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: (primi... |
1273_pterm_and_pterm_strip.c | select_result | FUN_00167604 | select_result |
/* WARNING: Enum "GIOFlags": Some values do not have unique names */
void select_result(int fd,int event)
{
int event_local;
int fd_local;
fd *fdstruct;
fd_local = fd;
fdstruct = (fd *)find234(fds,&fd_local,uxsel_fd_findcmp);
if (fdstruct != (fd *)0x0) {
(*fdstruct->callback)(fd_local,event);
}
... |
void FUN_00167604(undefined4 param_1,undefined4 param_2)
{
undefined4 local_1c [3];
long local_10;
local_1c[0] = param_1;
local_10 = FUN_00143c57(DAT_001a78c0,local_1c,FUN_001673f2);
if (local_10 != 0) {
(**(code **)(local_10 + 8))(local_1c[0],param_2);
}
return;
}
| (translation_unit "void FUN_00167604(undefined4 param_1,undefined4 param_2)\n\n{\n undefined4 local_1c [3];\n long local_10;\n \n local_1c[0] = param_1;\n local_10 = FUN_00143c57(DAT_001a78c0,local_1c,FUN_001673f2);\n if (local_10 != 0) {\n (**(code **)(local_10 + 8))(local_1c[0],param_2);\n }\n return;\n}\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x14],EDI
MOV dword ptr [RBP + -0x18],ESI
MOV RAX,qword ptr [0x001a78c0]
LEA RCX,[RBP + -0x14]
LEA RDX,[0x1673f2]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00143c57
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JZ 0x0016764e
MOV RAX,qword ptr [RBP + -0x8]
MOV... |
/* WARNING: Enum "GIOFlags": Some values do not have unique names */
void function_1(int type_1,int event)
{
int event_local;
int fd_local;
type_1 *var_2;
fd_local = type_1;
var_2 = (type_1 *)var_1(fds,&fd_local,uxsel_fd_findcmp);
if (var_2 != (type_1 *)0x0) {
(*var_2->callback)(fd_local,event);
... | (translation_unit "/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nvoid select_result(int fd,int event)\n\n{\n int event_local;\n int fd_local;\n fd *fdstruct;\n \n fd_local = fd;\n fdstruct = (fd *)find234(fds,&fd_local,uxsel_fd_findcmp);\n if (fdstruct != (fd *)0x0) {\n (*fdstruct->c... | (translation_unit "/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nvoid function_1(int type_1,int event)\n\n{\n int event_local;\n int fd_local;\n type_1 *var_2;\n \n fd_local = type_1;\n var_2 = (type_1 *)var_1(fds,&fd_local,uxsel_fd_findcmp);\n if (var_2 != (type_1 *)0x0) {\n (*var_2... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_... |
1081_pterm_and_pterm_strip.c | cache_conf_values | FUN_0015ab62 | cache_conf_values |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void cache_conf_values(gui_data *inst)
{
wchar_t wVar1;
gui_data *inst_local;
wVar1 = conf_get_int(inst->conf,0x88);
inst->bold_style = wVar1;
wVar1 = conf_get_int(inst->conf,0x7f);
inst->window_border = wVar1;
wVar1 = conf_get... |
void FUN_0015ab62(long param_1)
{
undefined4 uVar1;
uVar1 = FUN_00114ec2(*(undefined8 *)(param_1 + 0x22d0),0x88);
*(undefined4 *)(param_1 + 0x22f0) = uVar1;
uVar1 = FUN_00114ec2(*(undefined8 *)(param_1 + 0x22d0),0x7f);
*(undefined4 *)(param_1 + 0x22f4) = uVar1;
uVar1 = FUN_00114ec2(*(undefined8 *)(para... | (translation_unit "void FUN_0015ab62(long param_1)\n\n{\n undefined4 uVar1;\n \n uVar1 = FUN_00114ec2(*(undefined8 *)(param_1 + 0x22d0),0x88);\n *(undefined4 *)(param_1 + 0x22f0) = uVar1;\n uVar1 = FUN_00114ec2(*(undefined8 *)(param_1 + 0x22d0),0x7f);\n *(undefined4 *)(param_1 + 0x22f4) = uVar1;\n uVar1 = FUN_00... | 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 + 0x22d0]
MOV ESI,0x88
MOV RDI,RAX
CALL 0x00114ec2
MOV EDX,EAX
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x22f0],EDX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x22d0]
MOV ESI,0x... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *inst)
{
type_2 wVar1;
type_1 *inst_local;
wVar1 = var_1(inst->conf,0x88);
inst->bold_style = wVar1;
wVar1 = var_1(inst->conf,0x7f);
inst->window_border = wVar1;
wVar1 = var_1(inst->conf,100);
inst->cur... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid cache_conf_values(gui_data *inst)\n\n{\n wchar_t wVar1;\n gui_data *inst_local;\n \n wVar1 = conf_get_int(inst->conf,0x88);\n inst->bold_style = wVar1;\n wVar1 = conf_get_int(inst->conf,0x7f);\n inst->window_borde... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *inst)\n\n{\n type_2 wVar1;\n type_1 *inst_local;\n \n wVar1 = var_1(inst->conf,0x88);\n inst->bold_style = wVar1;\n wVar1 = var_1(inst->conf,0x7f);\n inst->window_border = wVar1;\n wVar1 = var_... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_ide... |
822_psftp_and_psftp_strip.c | poly_start | FUN_00158c58 | poly_start |
void poly_start(void *handle)
{
void *handle_local;
ccp_context *ctx;
*(undefined4 *)((long)handle + 0x108) = 0;
memset((void *)((long)handle + 0x10c),0,8);
poly1305_init((poly1305 *)((long)handle + 0x118));
return;
}
|
void FUN_00158c58(long param_1)
{
*(undefined4 *)(param_1 + 0x108) = 0;
memset((void *)(param_1 + 0x10c),0,8);
FUN_001588a1(param_1 + 0x118);
return;
}
| (translation_unit "void FUN_00158c58(long param_1)\n\n{\n *(undefined4 *)(param_1 + 0x108) = 0;\n memset((void *)(param_1 + 0x10c),0,8);\n FUN_001588a1(param_1 + 0x118);\n return;\n}\n\n" (function_definition "void FUN_00158c58(long param_1)\n\n{\n *(undefined4 *)(param_1 + 0x108) = 0;\n memset((void *)(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 dword ptr [RAX + 0x108],0x0
MOV RAX,qword ptr [RBP + -0x8]
ADD RAX,0x10c
MOV EDX,0x8
MOV ESI,0x0
MOV RDI,RAX
CALL 0x001083a0
MOV RAX,qword ptr [RBP + -0x8]
... |
void function_1(void *handle)
{
void *handle_local;
type_1 *ctx;
*(type_2 *)((long)handle + 0x108) = 0;
var_1((void *)((long)handle + 0x10c),0,8);
var_2((type_3 *)((long)handle + 0x118));
return;
}
| (translation_unit "void poly_start(void *handle)\n\n{\n void *handle_local;\n ccp_context *ctx;\n \n *(undefined4 *)((long)handle + 0x108) = 0;\n memset((void *)((long)handle + 0x10c),0,8);\n poly1305_init((poly1305 *)((long)handle + 0x118));\n return;\n}\n\n" (function_definition "void poly_start(void *handle)\... | (translation_unit "void function_1(void *handle)\n\n{\n void *handle_local;\n type_1 *ctx;\n \n *(type_2 *)((long)handle + 0x108) = 0;\n var_1((void *)((long)handle + 0x10c),0,8);\n var_2((type_3 *)((long)handle + 0x118));\n return;\n}\n\n" (function_definition "void function_1(void *handle)\n\n{\n void *handle... | (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... |
231_psftp_and_psftp_strip.c | toint | FUN_0010fff6 | toint |
int toint(uint u)
{
uint u_local;
if (((int)u < 0) && (-1 < (int)u)) {
u = 0x80000000;
}
return u;
}
|
int FUN_0010fff6(int param_1)
{
if ((param_1 < 0) && (-1 < param_1)) {
param_1 = -0x80000000;
}
return param_1;
}
| (translation_unit "int FUN_0010fff6(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_0010fff6(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 0x00110009
MOV EAX,dword ptr [RBP + -0x4]
JMP 0x0011001a
MOV EAX,dword ptr [RBP + -0x4]
TEST EAX,EAX
JNS 0x00110015
MOV EAX,dword ptr [RBP + -0x4]
JMP 0x0011001a
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... |
326_psftp_and_psftp_strip.c | sftp_finish_wildcard_matching | FUN_00119408 | sftp_finish_wildcard_matching |
void sftp_finish_wildcard_matching(SftpWildcardMatcher *swcm)
{
sftp_request *req_00;
sftp_packet *pktin_00;
SftpWildcardMatcher *swcm_local;
sftp_request *req;
sftp_packet *pktin;
req_00 = fxp_close_send(swcm->dirh);
pktin_00 = sftp_wait_for_reply(req_00);
fxp_close_recv(pktin_00,req_00);
if (sw... |
void FUN_00119408(undefined8 *param_1)
{
undefined8 uVar1;
undefined8 uVar2;
uVar1 = FUN_00124b70(*param_1);
uVar2 = FUN_0011745e(uVar1);
FUN_00124c00(uVar2,uVar1);
if (param_1[1] != 0) {
FUN_001258f2(param_1[1]);
}
FUN_00110fa6(param_1[4]);
FUN_00110fa6(param_1[3]);
FUN_00110fa6(param_1);
... | (translation_unit "void FUN_00119408(undefined8 *param_1)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n \n uVar1 = FUN_00124b70(*param_1);\n uVar2 = FUN_0011745e(uVar1);\n FUN_00124c00(uVar2,uVar1);\n if (param_1[1] != 0) {\n FUN_001258f2(param_1[1]);\n }\n FUN_00110fa6(param_1[4]);\n FUN_00110fa6(param_1... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x00124b70
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RDI,RAX
CALL 0x0011745e
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x10]
MOV RAX,qword p... |
void function_1(type_1 *swcm)
{
type_2 *req_00;
type_3 *pktin_00;
type_1 *swcm_local;
type_2 *req;
type_3 *pktin;
req_00 = var_1(swcm->dirh);
pktin_00 = var_2(req_00);
var_3(pktin_00,req_00);
if (swcm->names != (type_4 *)0x0) {
var_4(swcm->names);
}
var_5(swcm->prefix);
var_5(swcm->wild... | (translation_unit "void sftp_finish_wildcard_matching(SftpWildcardMatcher *swcm)\n\n{\n sftp_request *req_00;\n sftp_packet *pktin_00;\n SftpWildcardMatcher *swcm_local;\n sftp_request *req;\n sftp_packet *pktin;\n \n req_00 = fxp_close_send(swcm->dirh);\n pktin_00 = sftp_wait_for_reply(req_00);\n fxp_close_re... | (translation_unit "void function_1(type_1 *swcm)\n\n{\n type_2 *req_00;\n type_3 *pktin_00;\n type_1 *swcm_local;\n type_2 *req;\n type_3 *pktin;\n \n req_00 = var_1(swcm->dirh);\n pktin_00 = var_2(req_00);\n var_3(pktin_00,req_00);\n if (swcm->names != (type_4 *)0x0) {\n var_4(swcm->names);\n }\n var_5(... | (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... |
824_psftp_and_psftp_strip.c | poly_genresult | FUN_00158dd4 | poly_genresult |
void poly_genresult(void *handle,uchar *blk)
{
uchar *blk_local;
void *handle_local;
ccp_context *ctx;
poly1305_finalise((poly1305 *)((long)handle + 0x118),blk);
return;
}
|
void FUN_00158dd4(long param_1,undefined8 param_2)
{
FUN_00158b76(param_1 + 0x118,param_2);
return;
}
| (translation_unit "void FUN_00158dd4(long param_1,undefined8 param_2)\n\n{\n FUN_00158b76(param_1 + 0x118,param_2);\n return;\n}\n\n" (function_definition "void FUN_00158dd4(long param_1,undefined8 param_2)\n\n{\n FUN_00158b76(param_1 + 0x118,param_2);\n return;\n}" primitive_type (function_declarator "FUN_00158dd4... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
LEA RDX,[RAX + 0x118]
MOV RAX,qword ptr [RBP + -0x20]
MOV RSI,RAX
MOV RDI,RDX
CALL 0x00158b76
NOP
LEAVE
RET |
void function_1(void *handle,type_1 *blk)
{
type_1 *blk_local;
void *handle_local;
type_2 *ctx;
var_1((type_3 *)((long)handle + 0x118),blk);
return;
}
| (translation_unit "void poly_genresult(void *handle,uchar *blk)\n\n{\n uchar *blk_local;\n void *handle_local;\n ccp_context *ctx;\n \n poly1305_finalise((poly1305 *)((long)handle + 0x118),blk);\n return;\n}\n\n" (function_definition "void poly_genresult(void *handle,uchar *blk)\n\n{\n uchar *blk_local;\n void ... | (translation_unit "void function_1(void *handle,type_1 *blk)\n\n{\n type_1 *blk_local;\n void *handle_local;\n type_2 *ctx;\n \n var_1((type_3 *)((long)handle + 0x118),blk);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk)\n\n{\n type_1 *blk_local;\n void *handle_local;\n type_... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
707_psftp_and_psftp_strip.c | aes_encrypt | FUN_0014d9e4 | aes_encrypt |
void aes_encrypt(AESContext *ctx,word32 *block)
{
word32 *block_local;
AESContext *ctx_local;
(*ctx->encrypt)(ctx,block);
return;
}
|
void FUN_0014d9e4(long param_1,undefined8 param_2)
{
(**(code **)(param_1 + 0x3c0))(param_1,param_2);
return;
}
| (translation_unit "void FUN_0014d9e4(long param_1,undefined8 param_2)\n\n{\n (**(code **)(param_1 + 0x3c0))(param_1,param_2);\n return;\n}\n\n" (function_definition "void FUN_0014d9e4(long param_1,undefined8 param_2)\n\n{\n (**(code **)(param_1 + 0x3c0))(param_1,param_2);\n return;\n}" primitive_type (function_decl... | 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 + -0x8]
MOV RAX,qword ptr [RAX + 0x3c0]
MOV RCX,qword ptr [RBP + -0x10]
MOV RDX,qword ptr [RBP + -0x8]
MOV RSI,RCX
MOV RDI,RDX
CALL RAX
NOP
LEAVE
RET |
void function_1(type_1 *ctx,type_2 *block)
{
type_2 *block_local;
type_1 *ctx_local;
(*ctx->encrypt)(ctx,block);
return;
}
| (translation_unit "void aes_encrypt(AESContext *ctx,word32 *block)\n\n{\n word32 *block_local;\n AESContext *ctx_local;\n \n (*ctx->encrypt)(ctx,block);\n return;\n}\n\n" (function_definition "void aes_encrypt(AESContext *ctx,word32 *block)\n\n{\n word32 *block_local;\n AESContext *ctx_local;\n \n (*ctx->encry... | (translation_unit "void function_1(type_1 *ctx,type_2 *block)\n\n{\n type_2 *block_local;\n type_1 *ctx_local;\n \n (*ctx->encrypt)(ctx,block);\n return;\n}\n\n" (function_definition "void function_1(type_1 *ctx,type_2 *block)\n\n{\n type_2 *block_local;\n type_1 *ctx_local;\n \n (*ctx->encrypt)(ctx,block);\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... |
561_psftp_and_psftp_strip.c | ssh_process_incoming_data | FUN_0012e042 | ssh_process_incoming_data |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_process_incoming_data(Ssh_conflict ssh,uchar **data,int *datalen)
{
Packet *pkt;
int *datalen_local;
uchar **data_local;
Ssh_conflict ssh_local;
Packet *pktin;
pkt = (*ssh->s_rdpkt)(ssh,data,datalen);
if (pkt != (Packe... |
void FUN_0012e042(long param_1,undefined8 param_2,undefined8 param_3)
{
long lVar1;
lVar1 = (**(code **)(param_1 + 0x370))(param_1,param_2,param_3);
if (lVar1 != 0) {
(**(code **)(param_1 + 0x368))(param_1,0,0,lVar1);
FUN_00127565(lVar1);
}
return;
}
| (translation_unit "void FUN_0012e042(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n long lVar1;\n \n lVar1 = (**(code **)(param_1 + 0x370))(param_1,param_2,param_3);\n if (lVar1 != 0) {\n (**(code **)(param_1 + 0x368))(param_1,0,0,lVar1);\n FUN_00127565(lVar1);\n }\n return;\n}\n\n" (function_de... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x370]
MOV RDX,qword ptr [RBP + -0x28]
MOV RSI,qword ptr [RBP + -0x20]
MOV RCX,qword ptr [RBP + -0x18]
MOV RDI,RCX
CALL RAX
MOV qword... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 **data,int *datalen)
{
type_3 *var_1;
int *datalen_local;
type_2 **data_local;
type_1 ssh_local;
type_3 *pktin;
var_1 = (*ssh->s_rdpkt)(ssh,data,datalen);
if (var_1 != (type_3 *)0x0) {
(*ss... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_process_incoming_data(Ssh_conflict ssh,uchar **data,int *datalen)\n\n{\n Packet *pkt;\n int *datalen_local;\n uchar **data_local;\n Ssh_conflict ssh_local;\n Packet *pktin;\n \n pkt = (*ssh->s_rdpkt)(ssh,data,... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 **data,int *datalen)\n\n{\n type_3 *var_1;\n int *datalen_local;\n type_2 **data_local;\n type_1 ssh_local;\n type_3 *pktin;\n \n var_1 = (*ssh->s_rdpkt)(ssh,data,datalen);\n if (var_... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator... |
698_psftp_and_psftp_strip.c | ssh_cfg_info | FUN_00147e9e | ssh_cfg_info |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int ssh_cfg_info(void *handle)
{
int iVar1;
void *handle_local;
Ssh_conflict ssh;
if (*(int *)((long)handle + 0x250) == 0) {
iVar1 = 0;
}
else if (*(int *)((long)handle + 0x158) == 0) {
iVar1 = *(int *)((long)handle + 0x2... |
undefined4 FUN_00147e9e(long param_1)
{
undefined4 uVar1;
if (*(int *)(param_1 + 0x250) == 0) {
uVar1 = 0;
}
else if (*(int *)(param_1 + 0x158) == 0) {
uVar1 = *(undefined4 *)(param_1 + 0x250);
}
else {
uVar1 = 0xffffffff;
}
return uVar1;
}
| (translation_unit "undefined4 FUN_00147e9e(long param_1)\n\n{\n undefined4 uVar1;\n \n if (*(int *)(param_1 + 0x250) == 0) {\n uVar1 = 0;\n }\n else if (*(int *)(param_1 + 0x158) == 0) {\n uVar1 = *(undefined4 *)(param_1 + 0x250);\n }\n else {\n uVar1 = 0xffffffff;\n }\n return uVar1;\n}\n\n" (functio... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x250]
TEST EAX,EAX
JNZ 0x00147ec3
MOV EAX,0x0
JMP 0x00147ee2
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x158]
TEST EAX,EAX
JZ 0x00147... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *handle)
{
int iVar1;
void *handle_local;
type_1 ssh;
if (*(int *)((long)handle + 0x250) == 0) {
iVar1 = 0;
}
else if (*(int *)((long)handle + 0x158) == 0) {
iVar1 = *(int *)((long)handle + 0x250);
}... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ssh_cfg_info(void *handle)\n\n{\n int iVar1;\n void *handle_local;\n Ssh_conflict ssh;\n \n if (*(int *)((long)handle + 0x250) == 0) {\n iVar1 = 0;\n }\n else if (*(int *)((long)handle + 0x158) == 0) {\n iVar... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *handle)\n\n{\n int iVar1;\n void *handle_local;\n type_1 ssh;\n \n if (*(int *)((long)handle + 0x250) == 0) {\n iVar1 = 0;\n }\n else if (*(int *)((long)handle + 0x158) == 0) {\n iVar1 = *(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))))) body: (compound_statement (declaration type: (primitive... |
1238_pterm_and_pterm_strip.c | cleanup_utmp | FUN_0016596b | cleanup_utmp |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void cleanup_utmp(void)
{
long lVar1;
long in_FS_OFFSET;
timeval tv;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
if (pty_stamped_utmp != 0) {
utmp_entry.ut_type = 8;
memset(utmp_entry.ut_user,0,0x20);
gettimeofday((time... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void FUN_0016596b(void)
{
long in_FS_OFFSET;
timeval local_28;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (DAT_001a7738 != 0) {
_DAT_001a7740 = 8;
memset(&DAT_001a776c,0,0x20);
gettimeofday... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_0016596b(void)\n\n{\n long in_FS_OFFSET;\n timeval local_28;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (DAT_001a7738 != 0) {\n _DAT_001a7740 = 8;\n memset(&DAT_001a... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [0x001a7738]
TEST EAX,EAX
JZ 0x00165a33
MOV word ptr [0x001a7740],0x8
MOV EDX,0x20
MOV ESI,0x0
LEA RDI,[0x1a776c]
CALL 0x0010f800
LEA RAX,[RBP + -0x20]
MOV ESI,0x0
MOV RDI,RAX
CALL 0x00110990
MOV R... |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
long var_9;
long var_1;
type_1 tv;
var_9 = *(long *)(var_1 + 0x28);
if (var_2 != 0) {
utmp_entry.ut_type = 8;
var_3(utmp_entry.ut_user,0,0x20);
var_4((type_1 *)&tv,(type_2)0x0);
utmp_entr... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid cleanup_utmp(void)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n timeval tv;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if (pty_stamped_utmp != 0) {\n utmp_entry.ut_type = 8;\n memset(utmp_entry.ut_user,0... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n long var_9;\n long var_1;\n type_1 tv;\n \n var_9 = *(long *)(var_1 + 0x28);\n if (var_2 != 0) {\n utmp_entry.ut_type = 8;\n var_3(utmp_entry.ut_user,0,0x20);\n var_4((type_1 *)... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: ... |
711_psftp_and_psftp_strip.c | aes_sdctr | FUN_0014de98 | aes_sdctr |
void aes_sdctr(uchar *blk,int len,AESContext *ctx)
{
byte bVar1;
byte bVar2;
byte bVar3;
long lVar4;
long in_FS_OFFSET;
AESContext *ctx_local;
int len_local;
uchar *blk_local;
int i;
word32 tmp;
word32 iv [4];
word32 b [4];
lVar4 = *(long *)(in_FS_OFFSET + 0x28);
if ((len & 0xfU) != 0) ... |
void FUN_0014de98(long param_1,uint param_2,long param_3)
{
byte bVar1;
byte bVar2;
byte bVar3;
long in_FS_OFFSET;
uint local_54;
long local_50;
int local_40;
undefined8 local_38;
undefined8 local_30;
undefined8 local_28;
undefined8 local_20;
long local_10;
local_10 = *(long *)(in_FS_OFFS... | (translation_unit "void FUN_0014de98(long param_1,uint param_2,long param_3)\n\n{\n byte bVar1;\n byte bVar2;\n byte bVar3;\n long in_FS_OFFSET;\n uint local_54;\n long local_50;\n int local_40;\n undefined8 local_38;\n undefined8 local_30;\n undefined8 local_28;\n undefined8 local_20;\n long local_10;\n \... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x48],RDI
MOV dword ptr [RBP + -0x4c],ESI
MOV qword ptr [RBP + -0x58],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x4c]
AND EAX,0xf
TEST EAX,EAX
JZ 0x0014dee3
LEA RCX,[0x19f110]
MOV EDX,0x437
LEA RSI,[0x19ef... |
void function_1(type_1 *blk,int var_2,type_2 *ctx)
{
type_3 var_7;
type_3 var_8;
type_3 var_9;
long var_11;
long var_1;
type_2 *ctx_local;
int var_4;
type_1 *var_10;
int var_6;
type_4 tmp;
type_4 iv [4];
type_4 b [4];
var_11 = *(long *)(var_1 + 0x28);
if ((var_2 & 0xfU) != 0) {
... | (translation_unit "void aes_sdctr(uchar *blk,int len,AESContext *ctx)\n\n{\n byte bVar1;\n byte bVar2;\n byte bVar3;\n long lVar4;\n long in_FS_OFFSET;\n AESContext *ctx_local;\n int len_local;\n uchar *blk_local;\n int i;\n word32 tmp;\n word32 iv [4];\n word32 b [4];\n \n lVar4 = *(long *)(in_FS_OFFSET ... | (translation_unit "void function_1(type_1 *blk,int var_2,type_2 *ctx)\n\n{\n type_3 var_7;\n type_3 var_8;\n type_3 var_9;\n long var_11;\n long var_1;\n type_2 *ctx_local;\n int var_4;\n type_1 *var_10;\n int var_6;\n type_4 tmp;\n type_4 iv [4];\n type_4 b [4];\n \n var_11 = *(long *)(var_1 + 0x28);\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif... |
721_psftp_and_psftp_strip.c | aes256_encrypt_pubkey | FUN_0014e2ee | aes256_encrypt_pubkey |
void aes256_encrypt_pubkey(uchar *key,uchar *blk,int len)
{
long lVar1;
long in_FS_OFFSET;
int len_local;
uchar *blk_local;
uchar *key_local;
AESContext ctx;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
aes_setup(&ctx,0x10,key,0x20);
memset(ctx.iv,0,0x20);
aes_encrypt_cbc(blk,len,&ctx);
smemclr(&c... |
void FUN_0014e2ee(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
long in_FS_OFFSET;
undefined local_408 [976];
undefined auStack_38 [40];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_0014d44a(local_408,0x10,param_1,0x20);
memset(auStack_38,0,0x20);
FUN_0014da40(param_2... | (translation_unit "void FUN_0014e2ee(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n long in_FS_OFFSET;\n undefined local_408 [976];\n undefined auStack_38 [40];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_0014d44a(local_408,0x10,param_1,0x20);\n memset(auStack_38,0,0... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x420
MOV qword ptr [RBP + -0x408],RDI
MOV qword ptr [RBP + -0x410],RSI
MOV dword ptr [RBP + -0x414],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RDX,qword ptr [RBP + -0x408]
LEA RAX,[RBP + -0x400]
MOV ECX,0x20
MOV ESI,0x10
MOV RDI,RAX
CALL 0x0014d44a
LEA R... |
void function_1(type_1 *key,type_1 *blk,int len)
{
long var_6;
long var_1;
int len_local;
type_1 *blk_local;
type_1 *key_local;
type_2 ctx;
var_6 = *(long *)(var_1 + 0x28);
var_2(&ctx,0x10,key,0x20);
var_3(ctx.iv,0,0x20);
var_4(blk,len,&ctx);
var_5(&ctx,0x3f8);
if (var_6 != *(long *)(var_1 ... | (translation_unit "void aes256_encrypt_pubkey(uchar *key,uchar *blk,int len)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n int len_local;\n uchar *blk_local;\n uchar *key_local;\n AESContext ctx;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n aes_setup(&ctx,0x10,key,0x20);\n memset(ctx.iv,0,0x20);\n aes_encrypt_... | (translation_unit "void function_1(type_1 *key,type_1 *blk,int len)\n\n{\n long var_6;\n long var_1;\n int len_local;\n type_1 *blk_local;\n type_1 *key_local;\n type_2 ctx;\n \n var_6 = *(long *)(var_1 + 0x28);\n var_2(&ctx,0x10,key,0x20);\n var_3(ctx.iv,0,0x20);\n var_4(blk,len,&ctx);\n var_5(&ctx,0x3f8);... | (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... |
360_psftp_and_psftp_strip.c | sftp_getcmd | FUN_0011b9b5 | sftp_getcmd |
sftp_command * sftp_getcmd(FILE *fp,int mode,int modeflags)
{
int iVar1;
bool bVar2;
sftp_command *psVar3;
size_t sVar4;
char **ppcVar5;
char *pcVar6;
sftp_cmd_lookup *psVar7;
int modeflags_local;
int mode_local;
FILE *fp_local;
int quoting;
char *line;
char *p;
char *r;
sftp_command *cm... |
long * FUN_0011b9b5(long param_1,int param_2,uint param_3)
{
int iVar1;
undefined8 *puVar2;
bool bVar3;
char *pcVar4;
long *plVar5;
size_t sVar6;
long lVar7;
undefined8 uVar8;
char *local_48;
char *local_40;
char *local_38;
plVar5 = (long *)FUN_00110d9a(1,0x18);
*plVar5 = 0;
*(undefined... | (translation_unit "long * FUN_0011b9b5(long param_1,int param_2,uint param_3)\n\n{\n int iVar1;\n undefined8 *puVar2;\n bool bVar3;\n char *pcVar4;\n long *plVar5;\n size_t sVar6;\n long lVar7;\n undefined8 uVar8;\n char *local_48;\n char *local_40;\n char *local_38;\n \n plVar5 = (long *)FUN_00110d9a(1,0x... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x58
MOV qword ptr [RBP + -0x58],RDI
MOV dword ptr [RBP + -0x5c],ESI
MOV dword ptr [RBP + -0x60],EDX
MOV ESI,0x18
MOV EDI,0x1
CALL 0x00110d9a
MOV qword ptr [RBP + -0x28],RAX
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RAX],0x0
MOV RAX,qword ptr [RBP + -0x28]
MOV dword ptr [RAX +... |
type_1 * function_1(type_2 *var_2,int var_9,int var_5)
{
int var_18;
bool var_16;
type_1 *psVar3;
size_t sVar4;
char **ppcVar5;
char *pcVar6;
type_3 *var_20;
int modeflags_local;
int mode_local;
type_2 *fp_local;
int quoting;
char *var_8;
char *var_13;
char *var_17;
type_1 *cmd;
char *... | (translation_unit "sftp_command * sftp_getcmd(FILE *fp,int mode,int modeflags)\n\n{\n int iVar1;\n bool bVar2;\n sftp_command *psVar3;\n size_t sVar4;\n char **ppcVar5;\n char *pcVar6;\n sftp_cmd_lookup *psVar7;\n int modeflags_local;\n int mode_local;\n FILE *fp_local;\n int quoting;\n char *line;\n char ... | (translation_unit "type_1 * function_1(type_2 *var_2,int var_9,int var_5)\n\n{\n int var_18;\n bool var_16;\n type_1 *psVar3;\n size_t sVar4;\n char **ppcVar5;\n char *pcVar6;\n type_3 *var_20;\n int modeflags_local;\n int mode_local;\n type_2 *fp_local;\n int quoting;\n char *var_8;\n char *var_13;\n cha... | (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... |
826_psftp_and_psftp_strip.c | poly_op | FUN_00158e7e | poly_op |
void poly_op(void *handle,uchar *blk,int len,ulong seq)
{
long lVar1;
long in_FS_OFFSET;
ulong seq_local;
int len_local;
uchar *blk_local;
void *handle_local;
uchar iv [4];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
poly_start(handle);
iv[0] = (uchar)(seq >> 0x18);
iv[1] = (uchar)(seq >> 0x10);
... |
void FUN_00158e7e(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)
{
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);
FUN_00158c58(param_1);
local_14 = (undefine... | (translation_unit "void FUN_00158e7e(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)\n\n{\n long in_FS_OFFSET;\n undefined local_14;\n undefined local_13;\n undefined local_12;\n undefined local_11;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_00158c58(par... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV qword ptr [RBP + -0x30],RCX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RDI,RAX
CALL 0x00158c58
MOV RAX,qword ptr [RBP + -0... |
void function_1(void *handle,type_1 *blk,int len,type_2 var_3)
{
long var_6;
long var_1;
type_2 seq_local;
int len_local;
type_1 *blk_local;
void *handle_local;
type_1 iv [4];
var_6 = *(long *)(var_1 + 0x28);
var_2(handle);
iv[0] = (type_1)(var_3 >> 0x18);
iv[1] = (type_1)(var_3 >> 0x10);
i... | (translation_unit "void poly_op(void *handle,uchar *blk,int len,ulong seq)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n ulong seq_local;\n int len_local;\n uchar *blk_local;\n void *handle_local;\n uchar iv [4];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n poly_start(handle);\n iv[0] = (uchar)(seq >> 0x18);\n... | (translation_unit "void function_1(void *handle,type_1 *blk,int len,type_2 var_3)\n\n{\n long var_6;\n long var_1;\n type_2 seq_local;\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_1 iv [4];\n \n var_6 = *(long *)(var_1 + 0x28);\n var_2(handle);\n iv[0] = (type_1)(var_3 >> 0x18);\n iv[1... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
687_psftp_and_psftp_strip.c | ssh_alloc_sharing_channel | FUN_00147ab5 | ssh_alloc_sharing_channel |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
uint ssh_alloc_sharing_channel(Ssh_conflict ssh,void *sharing_ctx)
{
ssh_channel *c_00;
void *sharing_ctx_local;
Ssh_conflict ssh_local;
ssh_channel *c;
c_00 = (ssh_channel *)safemalloc(1,0x90);
c_00->ssh = ssh;
ssh_channel_ini... |
undefined4 FUN_00147ab5(undefined8 param_1,undefined8 param_2)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)FUN_00110d9a(1,0x90);
*puVar1 = param_1;
FUN_0013c397(puVar1);
*(undefined4 *)(puVar1 + 2) = 4;
puVar1[0xe] = param_2;
return *(undefined4 *)((long)puVar1 + 0xc);
}
| (translation_unit "undefined4 FUN_00147ab5(undefined8 param_1,undefined8 param_2)\n\n{\n undefined8 *puVar1;\n \n puVar1 = (undefined8 *)FUN_00110d9a(1,0x90);\n *puVar1 = param_1;\n FUN_0013c397(puVar1);\n *(undefined4 *)(puVar1 + 2) = 4;\n puVar1[0xe] = param_2;\n return *(undefined4 *)((long)puVar1 + 0xc);\n}... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV ESI,0x90
MOV EDI,0x1
CALL 0x00110d9a
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RBP + -0x18]
MOV qword ptr [RAX],RDX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0013c397
MOV ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_2 ssh,void *sharing_ctx)
{
type_3 *c_00;
void *sharing_ctx_local;
type_2 ssh_local;
type_3 *c;
c_00 = (type_3 *)var_1(1,0x90);
c_00->ssh = ssh;
var_2(c_00);
c_00->type = 4;
(c_00->u).a.inbuffer.head =... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nuint ssh_alloc_sharing_channel(Ssh_conflict ssh,void *sharing_ctx)\n\n{\n ssh_channel *c_00;\n void *sharing_ctx_local;\n Ssh_conflict ssh_local;\n ssh_channel *c;\n \n c_00 = (ssh_channel *)safemalloc(1,0x90);\n c_00-... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 ssh,void *sharing_ctx)\n\n{\n type_3 *c_00;\n void *sharing_ctx_local;\n type_2 ssh_local;\n type_3 *c;\n \n c_00 = (type_3 *)var_1(1,0x90);\n c_00->ssh = ssh;\n var_2(c_00);\n c_00->type = 4... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator... |
436_psftp_and_psftp_strip.c | fxp_open_send | FUN_0012486d | fxp_open_send |
sftp_request * fxp_open_send(char *path,int type,fxp_attrs *attrs)
{
sftp_request *psVar1;
sftp_packet *pkt;
fxp_attrs *attrs_local;
int type_local;
char *path_local;
sftp_request *req;
sftp_packet *pktout;
psVar1 = sftp_alloc_request();
pkt = sftp_pkt_init(3);
sftp_pkt_adduint32(pkt,(ulong)psV... |
undefined4 * FUN_0012486d(undefined8 param_1,int param_2,long param_3)
{
undefined4 *puVar1;
undefined8 uVar2;
puVar1 = (undefined4 *)FUN_001241c7();
uVar2 = FUN_0012363b(3);
FUN_001235c5(uVar2,*puVar1);
FUN_00123973(uVar2,param_1);
FUN_001235c5(uVar2,(long)param_2);
if (param_3 == 0) {
FUN_001... | (translation_unit "undefined4 * FUN_0012486d(undefined8 param_1,int param_2,long param_3)\n\n{\n undefined4 *puVar1;\n undefined8 uVar2;\n \n puVar1 = (undefined4 *)FUN_001241c7();\n uVar2 = FUN_0012363b(3);\n FUN_001235c5(uVar2,*puVar1);\n FUN_00123973(uVar2,param_1);\n FUN_001235c5(uVar2,(long)param_2);\n if... | 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
CALL 0x001241c7
MOV qword ptr [RBP + -0x10],RAX
MOV EDI,0x3
CALL 0x0012363b
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX]
MOV EDX,EAX
MOV RAX,qword p... |
type_1 * function_1(char *path,int type,type_2 *var_5)
{
type_1 *psVar1;
type_3 *pkt;
type_2 *attrs_local;
int type_local;
char *path_local;
type_1 *req;
type_3 *pktout;
psVar1 = var_1();
pkt = var_2(3);
var_3(pkt,(type_4)psVar1->id);
var_4(pkt,path);
var_3(pkt,(long)type);
if (var_5 == (... | (translation_unit "sftp_request * fxp_open_send(char *path,int type,fxp_attrs *attrs)\n\n{\n sftp_request *psVar1;\n sftp_packet *pkt;\n fxp_attrs *attrs_local;\n int type_local;\n char *path_local;\n sftp_request *req;\n sftp_packet *pktout;\n \n psVar1 = sftp_alloc_request();\n pkt = sftp_pkt_init(3);\n sf... | (translation_unit "type_1 * function_1(char *path,int type,type_2 *var_5)\n\n{\n type_1 *psVar1;\n type_3 *pkt;\n type_2 *attrs_local;\n int type_local;\n char *path_local;\n type_1 *req;\n type_3 *pktout;\n \n psVar1 = var_1();\n pkt = var_2(3);\n var_3(pkt,(type_4)psVar1->id);\n var_4(pkt,path);\n var_3(... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
825_psftp_and_psftp_strip.c | poly_verresult | FUN_00158e09 | poly_verresult |
int poly_verresult(void *handle,uchar *blk)
{
long lVar1;
int iVar2;
long in_FS_OFFSET;
uchar *blk_local;
void *handle_local;
int res;
ccp_context *ctx;
uchar mac [16];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
poly1305_finalise((poly1305 *)((long)handle + 0x118),mac);
iVar2 = smemeq(blk,mac,0x... |
undefined4 FUN_00158e09(long param_1,undefined8 param_2)
{
undefined4 uVar1;
long in_FS_OFFSET;
undefined local_28 [24];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_00158b76(param_1 + 0x118,local_28);
uVar1 = FUN_0011140b(param_2,local_28,0x10);
if (local_10 != *(long *)(in_FS_OFF... | (translation_unit "undefined4 FUN_00158e09(long param_1,undefined8 param_2)\n\n{\n undefined4 uVar1;\n long in_FS_OFFSET;\n undefined local_28 [24];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_00158b76(param_1 + 0x118,local_28);\n uVar1 = FUN_0011140b(param_2,local_28,0x10);\n if (lo... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x28],RAX
MOV RAX,qword ptr [RBP + -0x28]
LEA RDX,[RAX + 0x118]
LEA RAX,[RBP + -0x20]
MOV RSI,RAX... |
int function_1(void *handle,type_1 *blk)
{
long var_4;
int iVar2;
long var_1;
type_1 *blk_local;
void *handle_local;
int res;
type_2 *ctx;
type_1 mac [16];
var_4 = *(long *)(var_1 + 0x28);
var_2((type_3 *)((long)handle + 0x118),mac);
iVar2 = var_3(blk,mac,0x10);
if (var_4 != *(long *)(var_1... | (translation_unit "int poly_verresult(void *handle,uchar *blk)\n\n{\n long lVar1;\n int iVar2;\n long in_FS_OFFSET;\n uchar *blk_local;\n void *handle_local;\n int res;\n ccp_context *ctx;\n uchar mac [16];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n poly1305_finalise((poly1305 *)((long)handle + 0x118),ma... | (translation_unit "int function_1(void *handle,type_1 *blk)\n\n{\n long var_4;\n int iVar2;\n long var_1;\n type_1 *blk_local;\n void *handle_local;\n int res;\n type_2 *ctx;\n type_1 mac [16];\n \n var_4 = *(long *)(var_1 + 0x28);\n var_2((type_3 *)((long)handle + 0x118),mac);\n iVar2 = var_3(blk,mac,0x10)... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1206_pterm_and_pterm_strip.c | filename_char_sanitise | FUN_00164d20 | filename_char_sanitise |
char filename_char_sanitise(char c)
{
char c_local;
if (c == '/') {
c = '.';
}
return c;
}
|
char FUN_00164d20(char param_1)
{
if (param_1 == '/') {
param_1 = '.';
}
return param_1;
}
| (translation_unit "char FUN_00164d20(char param_1)\n\n{\n if (param_1 == '/') {\n param_1 = '.';\n }\n return param_1;\n}\n\n" (function_definition "char FUN_00164d20(char param_1)\n\n{\n if (param_1 == '/') {\n param_1 = '.';\n }\n return param_1;\n}" primitive_type (function_declarator "FUN_00164d20(char ... | PUSH RBP
MOV RBP,RSP
MOV EAX,EDI
MOV byte ptr [RBP + -0x4],AL
CMP byte ptr [RBP + -0x4],0x2f
JNZ 0x00164d36
MOV EAX,0x2e
JMP 0x00164d3a
MOVZX EAX,byte ptr [RBP + -0x4]
POP RBP
RET |
char function_1(char var_1)
{
char c_local;
if (var_1 == '/') {
var_1 = '.';
}
return var_1;
}
| (translation_unit "char filename_char_sanitise(char c)\n\n{\n char c_local;\n \n if (c == '/') {\n c = '.';\n }\n return c;\n}\n\n" (function_definition "char filename_char_sanitise(char c)\n\n{\n char c_local;\n \n if (c == '/') {\n c = '.';\n }\n return c;\n}" primitive_type (function_declarator "file... | (translation_unit "char function_1(char var_1)\n\n{\n char c_local;\n \n if (var_1 == '/') {\n var_1 = '.';\n }\n return var_1;\n}\n\n" (function_definition "char function_1(char var_1)\n\n{\n char c_local;\n \n if (var_1 == '/') {\n var_1 = '.';\n }\n return var_1;\n}" primitive_type (function_declarat... | (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: (primitive_type) declarator: (identifier)) (if_statem... |
765_psftp_and_psftp_strip.c | internal_add_shifted | FUN_001522e8 | internal_add_shifted |
void internal_add_shifted(BignumInt *number,BignumInt n,int shift)
{
ulong uVar1;
ulong uVar2;
int iVar3;
int iVar4;
byte bVar5;
ulong uVar6;
ulong uVar7;
int shift_local;
BignumInt n_local;
BignumInt *number_local;
int word;
int bshift;
BignumCarry carry;
BignumInt addendl;
BignumInt ad... |
void FUN_001522e8(ulong *param_1,ulong param_2,int param_3)
{
ulong uVar1;
ulong uVar2;
int iVar3;
byte bVar4;
ulong uVar5;
int local_78;
ulong local_70;
local_78 = param_3;
if (param_3 < 0) {
local_78 = param_3 + 0x3f;
}
local_78 = local_78 >> 6;
iVar3 = local_78 + 1;
bVar4 = (byte)(... | (translation_unit "void FUN_001522e8(ulong *param_1,ulong param_2,int param_3)\n\n{\n ulong uVar1;\n ulong uVar2;\n int iVar3;\n byte bVar4;\n ulong uVar5;\n int local_78;\n ulong local_70;\n \n local_78 = param_3;\n if (param_3 < 0) {\n local_78 = param_3 + 0x3f;\n }\n local_78 = local_78 >> 6;\n iVar3... | PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
SUB RSP,0x70
MOV qword ptr [RBP + -0x78],RDI
MOV qword ptr [RBP + -0x80],RSI
MOV dword ptr [RBP + -0x84],EDX
MOV EAX,dword ptr [RBP + -0x84]
LEA EDX,[RAX + 0x3f]
TEST EAX,EAX
CMOVS EAX,EDX
SAR EAX,0x6
ADD EAX,0x1
MOV dword ptr [RBP + -0x70],EAX
MOV EAX,dword ptr ... |
void function_1(type_1 *number,type_1 var_3,int var_1)
{
type_2 var_10;
type_2 var_8;
int var_2;
int iVar4;
type_3 var_4;
type_2 var_6;
type_2 var_7;
int shift_local;
type_1 n_local;
type_1 *number_local;
int var_12;
int bshift;
type_4 var_11;
type_1 addendl;
type_1 addendh;
type_5 ADC... | (translation_unit "void internal_add_shifted(BignumInt *number,BignumInt n,int shift)\n\n{\n ulong uVar1;\n ulong uVar2;\n int iVar3;\n int iVar4;\n byte bVar5;\n ulong uVar6;\n ulong uVar7;\n int shift_local;\n BignumInt n_local;\n BignumInt *number_local;\n int word;\n int bshift;\n BignumCarry carry;\n ... | (translation_unit "void function_1(type_1 *number,type_1 var_3,int var_1)\n\n{\n type_2 var_10;\n type_2 var_8;\n int var_2;\n int iVar4;\n type_3 var_4;\n type_2 var_6;\n type_2 var_7;\n int shift_local;\n type_1 n_local;\n type_1 *number_local;\n int var_12;\n int bshift;\n type_4 var_11;\n type_1 adden... | (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... |
1196_pterm_and_pterm_strip.c | unix_setup_config_box | FUN_001647ec | unix_setup_config_box |
void unix_setup_config_box(controlbox *b,int midsession,int protocol)
{
int iVar1;
control *pcVar2;
controlset *pcVar3;
char **ppcVar4;
intorptr *piVar5;
intorptr iVar6;
char *pcVar7;
int protocol_local;
int midsession_local;
controlbox *b_local;
int i;
controlset *s;
control *c;
pcVar3... |
void FUN_001647ec(undefined8 param_1,int param_2,int param_3)
{
int iVar1;
long lVar2;
int *piVar3;
long lVar4;
undefined8 uVar5;
int local_2c;
lVar4 = FUN_0011fcc5(param_1,"Terminal","printing","Remote-controlled printing");
if ((*(int *)(lVar4 + 0x1c) != 1) || (*(int *)**(undefined8 **)(lVar4 + 0... | (translation_unit "void FUN_001647ec(undefined8 param_1,int param_2,int param_3)\n\n{\n int iVar1;\n long lVar2;\n int *piVar3;\n long lVar4;\n undefined8 uVar5;\n int local_2c;\n \n lVar4 = FUN_0011fcc5(param_1,"Terminal","printing","Remote-controlled printing");\n if ((*(int *)(lVar4 + 0x1c) != 1) || (*(int ... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x38
MOV qword ptr [RBP + -0x38],RDI
MOV dword ptr [RBP + -0x3c],ESI
MOV dword ptr [RBP + -0x40],EDX
MOV RAX,qword ptr [RBP + -0x38]
LEA RCX,[0x195ed0]
LEA RDX,[0x195eeb]
LEA RSI,[0x195ef4]
MOV RDI,RAX
CALL 0x0011fcc5
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP + -0x20]
... |
void function_1(type_1 *b,int var_3,int var_11)
{
int iVar1;
type_2 *pcVar2;
type_3 *pcVar3;
char **ppcVar4;
type_4 *piVar5;
type_4 iVar6;
char *pcVar7;
int protocol_local;
int midsession_local;
type_1 *b_local;
int var_4;
type_3 *s;
type_2 *c;
pcVar3 = var_1(b,"Terminal","printing","Re... | (translation_unit "void unix_setup_config_box(controlbox *b,int midsession,int protocol)\n\n{\n int iVar1;\n control *pcVar2;\n controlset *pcVar3;\n char **ppcVar4;\n intorptr *piVar5;\n intorptr iVar6;\n char *pcVar7;\n int protocol_local;\n int midsession_local;\n controlbox *b_local;\n int i;\n controls... | (translation_unit "void function_1(type_1 *b,int var_3,int var_11)\n\n{\n int iVar1;\n type_2 *pcVar2;\n type_3 *pcVar3;\n char **ppcVar4;\n type_4 *piVar5;\n type_4 iVar6;\n char *pcVar7;\n int protocol_local;\n int midsession_local;\n type_1 *b_local;\n int var_4;\n type_3 *s;\n type_2 *c;\n \n pcVar3 ... | (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... |
658_psftp_and_psftp_strip.c | ssh2_msg_userauth_banner | FUN_0013ec80 | ssh2_msg_userauth_banner |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_msg_userauth_banner(Ssh_conflict ssh,Packet *pktin)
{
int iVar1;
long in_FS_OFFSET;
Packet *pktin_local;
Ssh_conflict ssh_local;
int size;
char *banner;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
iV... |
void FUN_0013ec80(long param_1,undefined8 param_2)
{
int iVar1;
long in_FS_OFFSET;
undefined4 local_1c;
long local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
iVar1 = FUN_0010bb08(*(undefined8 *)(param_1 + 0x380),0x24);
if (iVar1 != 0) {
iVar1 = FUN_00110963(param_1 + 0x218);
... | (translation_unit "void FUN_0013ec80(long param_1,undefined8 param_2)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n undefined4 local_1c;\n long local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n iVar1 = FUN_0010bb08(*(undefined8 *)(param_1 + 0x380),0x24);\n if (iVar1 != 0) {\n iVar1 = F... | 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 RAX,qword ptr [RBP + -0x28]
MOV RAX,qword ptr [RAX + 0x380]
MOV ESI,0x24
MOV RDI,RAX
CALL 0x0010bb08
TEST EAX,EAX
JZ 0x0013ed20
MOV RAX,qword ptr [... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pktin)
{
int var_3;
long var_1;
type_2 *pktin_local;
type_1 ssh_local;
int size;
char *var_6;
long var_8;
var_8 = *(long *)(var_1 + 0x28);
var_3 = var_2(ssh->conf,0x24);
if (var_3 != 0) ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_msg_userauth_banner(Ssh_conflict ssh,Packet *pktin)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n int size;\n char *banner;\n long local_10;\n \n local_10 = *(lon... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pktin)\n\n{\n int var_3;\n long var_1;\n type_2 *pktin_local;\n type_1 ssh_local;\n int size;\n char *var_6;\n long var_8;\n \n var_8 = *(long *)(var_1 + 0x28);\n var_3 = var_2(ssh... | (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... |
850_psftp_and_psftp_strip.c | des_cbc_decrypt | FUN_0015c73b | des_cbc_decrypt |
void des_cbc_decrypt(uchar *blk,uint len,DESContext *sched)
{
uint uVar1;
uint uVar2;
long lVar3;
uint L;
uint R;
long in_FS_OFFSET;
DESContext *sched_local;
uint len_local;
uchar *blk_local;
word32 iv0;
word32 iv1;
uint i;
word32 xL;
word32 xR;
word32 out [2];
lVar3 = *(long *)(in_... |
void FUN_0015c73b(byte *param_1,uint param_2,long param_3)
{
uint uVar1;
uint uVar2;
long in_FS_OFFSET;
byte *local_40;
uint local_2c;
uint local_28;
uint local_24;
uint local_18;
uint local_14;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if ((param_2 & 7) != 0) {
... | (translation_unit "void FUN_0015c73b(byte *param_1,uint param_2,long param_3)\n\n{\n uint uVar1;\n uint uVar2;\n long in_FS_OFFSET;\n byte *local_40;\n uint local_2c;\n uint local_28;\n uint local_24;\n uint local_18;\n uint local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if ((... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV dword ptr [RBP + -0x3c],ESI
MOV qword ptr [RBP + -0x48],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x3c]
AND EAX,0x7
TEST EAX,EAX
JZ 0x0015c786
LEA RCX,[0x1a1910]
MOV EDX,0x279
LEA RSI,[0x1a16... |
void function_1(type_1 *blk,type_2 var_2,type_3 *sched)
{
type_2 var_9;
type_2 var_10;
long var_11;
type_2 L;
type_2 R;
long var_1;
type_3 *sched_local;
type_2 len_local;
type_1 *var_5;
type_4 var_7;
type_4 var_8;
type_2 var_4;
type_4 xL;
type_4 xR;
type_4 out [2];
var_11 = *(long *... | (translation_unit "void des_cbc_decrypt(uchar *blk,uint len,DESContext *sched)\n\n{\n uint uVar1;\n uint uVar2;\n long lVar3;\n uint L;\n uint R;\n long in_FS_OFFSET;\n DESContext *sched_local;\n uint len_local;\n uchar *blk_local;\n word32 iv0;\n word32 iv1;\n uint i;\n word32 xL;\n word32 xR;\n word32 ... | (translation_unit "void function_1(type_1 *blk,type_2 var_2,type_3 *sched)\n\n{\n type_2 var_9;\n type_2 var_10;\n long var_11;\n type_2 L;\n type_2 R;\n long var_1;\n type_3 *sched_local;\n type_2 len_local;\n type_1 *var_5;\n type_4 var_7;\n type_4 var_8;\n type_2 var_4;\n type_4 xL;\n type_4 xR;\n typ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
612_psftp_and_psftp_strip.c | ssh1_msg_debug | FUN_001363f1 | ssh1_msg_debug |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh1_msg_debug(Ssh_conflict ssh,Packet *pktin)
{
long in_FS_OFFSET;
Packet *pktin_local;
Ssh_conflict ssh_local;
int msglen;
char *msg;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
ssh_pkt_getstring(pktin,&m... |
void FUN_001363f1(undefined8 param_1,undefined8 param_2)
{
long in_FS_OFFSET;
undefined4 local_1c;
undefined *local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_0012c24d(param_2,&local_18,&local_1c);
if (local_18 == (undefined *)0x0) {
local_18 = &DAT_0019a2bc;
}
FUN_0012... | (translation_unit "void FUN_001363f1(undefined8 param_1,undefined8 param_2)\n\n{\n long in_FS_OFFSET;\n undefined4 local_1c;\n undefined *local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_0012c24d(param_2,&local_18,&local_1c);\n if (local_18 == (undefined *)0x0) {\n local_18 = ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RDX,[RBP + -0x14]
LEA RCX,[RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x30]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x0012c24d
MOV RAX,qword ptr [RBP + -0x10]
TES... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pktin)
{
long var_1;
type_2 *pktin_local;
type_1 ssh_local;
int msglen;
char *var_3;
long var_5;
var_5 = *(long *)(var_1 + 0x28);
var_2(pktin,&var_3,&msglen);
if (var_3 == (char *)0x0) {
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh1_msg_debug(Ssh_conflict ssh,Packet *pktin)\n\n{\n long in_FS_OFFSET;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n int msglen;\n char *msg;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28)... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pktin)\n\n{\n long var_1;\n type_2 *pktin_local;\n type_1 ssh_local;\n int msglen;\n char *var_3;\n long var_5;\n \n var_5 = *(long *)(var_1 + 0x28);\n var_2(pktin,&var_3,&msglen);\... | (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... |
1155_pterm_and_pterm_strip.c | draw_set_colour | FUN_0015fcdc | draw_set_colour |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void draw_set_colour(draw_ctx *dctx,wchar_t col)
{
wchar_t col_local;
draw_ctx *dctx_local;
if ((dctx->uctx).type == ADDRTYPE_UNSPEC) {
cairo_set_source_rgb
((double)dctx->inst->cols[col].red / DAT_00195eb0,
... |
void FUN_0015fcdc(long *param_1,int param_2)
{
if (*(int *)(param_1 + 1) == 0) {
cairo_set_source_rgb
((double)*(ushort *)((long)param_2 * 0xc + *param_1 + 0xcc) / DAT_00195eb0,
(double)*(ushort *)((long)param_2 * 0xc + *param_1 + 0xce) / DAT_00195eb0,
(double)*(ushor... | (translation_unit "void FUN_0015fcdc(long *param_1,int param_2)\n\n{\n if (*(int *)(param_1 + 1) == 0) {\n cairo_set_source_rgb\n ((double)*(ushort *)((long)param_2 * 0xc + *param_1 + 0xcc) / DAT_00195eb0,\n (double)*(ushort *)((long)param_2 * 0xc + *param_1 + 0xce) / DAT_00195eb0,\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x8]
TEST EAX,EAX
JNZ 0x0015fdc1
MOV RAX,qword ptr [RBP + -0x8]
MOV RCX,qword ptr [RAX]
MOV EAX,dword ptr [RBP + -0xc]
MOVSXD RDX,EAX
MOV RAX,RDX
ADD RAX,RAX
ADD RAX,RD... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *dctx,type_2 col)
{
type_2 col_local;
type_1 *dctx_local;
if ((dctx->uctx).type == var_1) {
var_2
((double)dctx->inst->cols[col].red / var_3,
(double)dctx->inst->cols[col].green /... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid draw_set_colour(draw_ctx *dctx,wchar_t col)\n\n{\n wchar_t col_local;\n draw_ctx *dctx_local;\n \n if ((dctx->uctx).type == ADDRTYPE_UNSPEC) {\n cairo_set_source_rgb\n ((double)dctx->inst->cols[col].r... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *dctx,type_2 col)\n\n{\n type_2 col_local;\n type_1 *dctx_local;\n \n if ((dctx->uctx).type == var_1) {\n var_2\n ((double)dctx->inst->cols[col].red / var_3,\n (double)... | (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... |
1270_pterm_and_pterm_strip.c | uxsel_del | FUN_00167509 | uxsel_del |
/* WARNING: Enum "GIOFlags": Some values do not have unique names */
void uxsel_del(int fd)
{
int fd_local;
fd *oldfd;
fd_local = fd;
oldfd = (fd *)find234(fds,&fd_local,uxsel_fd_findcmp);
if (oldfd != (fd *)0x0) {
if (oldfd->id != (uxsel_id *)0x0) {
uxsel_input_remove(oldfd->id);
}
de... |
void FUN_00167509(undefined4 param_1)
{
undefined4 local_1c [3];
long local_10;
local_1c[0] = param_1;
local_10 = FUN_00143c57(DAT_001a78c0,local_1c,FUN_001673f2);
if (local_10 != 0) {
if (*(long *)(local_10 + 0x10) != 0) {
FUN_00147e15(*(undefined8 *)(local_10 + 0x10));
}
FUN_00144bcb(... | (translation_unit "void FUN_00167509(undefined4 param_1)\n\n{\n undefined4 local_1c [3];\n long local_10;\n \n local_1c[0] = param_1;\n local_10 = FUN_00143c57(DAT_001a78c0,local_1c,FUN_001673f2);\n if (local_10 != 0) {\n if (*(long *)(local_10 + 0x10) != 0) {\n FUN_00147e15(*(undefined8 *)(local_10 + 0x1... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x14],EDI
MOV RAX,qword ptr [0x001a78c0]
LEA RCX,[RBP + -0x14]
LEA RDX,[0x1673f2]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00143c57
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JZ 0x0016757b
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x10]
TEST... |
/* WARNING: Enum "GIOFlags": Some values do not have unique names */
void function_1(int type_1)
{
int fd_local;
type_1 *var_2;
fd_local = type_1;
var_2 = (type_1 *)var_1(fds,&fd_local,uxsel_fd_findcmp);
if (var_2 != (type_1 *)0x0) {
if (var_2->id != (type_2 *)0x0) {
var_3(var_2->id);
}
... | (translation_unit "/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nvoid uxsel_del(int fd)\n\n{\n int fd_local;\n fd *oldfd;\n \n fd_local = fd;\n oldfd = (fd *)find234(fds,&fd_local,uxsel_fd_findcmp);\n if (oldfd != (fd *)0x0) {\n if (oldfd->id != (uxsel_id *)0x0) {\n uxsel_input_r... | (translation_unit "/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nvoid function_1(int type_1)\n\n{\n int fd_local;\n type_1 *var_2;\n \n fd_local = type_1;\n var_2 = (type_1 *)var_1(fds,&fd_local,uxsel_fd_findcmp);\n if (var_2 != (type_1 *)0x0) {\n if (var_2->id != (type_2 *)0x0) {\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) ... |
545_psftp_and_psftp_strip.c | ssh2_pkt_send_with_padding | FUN_0012bea9 | ssh2_pkt_send_with_padding |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_pkt_send_with_padding(Ssh_conflict ssh,Packet *pkt,int padsize)
{
int iVar1;
Packet *pkt_00;
long in_FS_OFFSET;
int padsize_local;
Packet *pkt_local;
Ssh_conflict ssh_local;
char c;
int stringlen;
int i;
long local... |
void FUN_0012bea9(long param_1,undefined8 param_2)
{
int iVar1;
undefined8 uVar2;
long in_FS_OFFSET;
undefined local_19;
int local_18;
int local_14;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_0012bd1a(param_1,param_2);
if ((*(long *)(param_1 + 0x88) != 0) && ((*(uint *)(param... | (translation_unit "void FUN_0012bea9(long param_1,undefined8 param_2)\n\n{\n int iVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n undefined local_19;\n int local_18;\n int local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_0012bd1a(param_1,param_2);\n if ((*(long *)(param_1 + 0... | 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 FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RDX,qword ptr [RBP + -0x30]
MOV RAX,qword ptr [RBP + -0x28]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0012bd1a
MOV RAX,qword p... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pkt,int padsize)
{
int var_3;
type_2 *pkt_00;
long var_1;
int padsize_local;
type_2 *pkt_local;
type_1 ssh_local;
char c;
int var_4;
int var_7;
long var_11;
var_11 = *(long *)(var_1 + ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_pkt_send_with_padding(Ssh_conflict ssh,Packet *pkt,int padsize)\n\n{\n int iVar1;\n Packet *pkt_00;\n long in_FS_OFFSET;\n int padsize_local;\n Packet *pkt_local;\n Ssh_conflict ssh_local;\n char c;\n int st... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pkt,int padsize)\n\n{\n int var_3;\n type_2 *pkt_00;\n long var_1;\n int padsize_local;\n type_2 *pkt_local;\n type_1 ssh_local;\n char c;\n int var_4;\n int var_7;\n long var_11;\... | (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... |
1147_pterm_and_pterm_strip.c | scrollbar_moved | FUN_0015faa3 | scrollbar_moved |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void scrollbar_moved(GtkAdjustment *adj,gpointer data)
{
int iVar1;
double dVar2;
gpointer data_local;
GtkAdjustment *adj_local;
gui_data *inst;
iVar1 = conf_get_int(*(Conf **)((long)data + 0x22d0),0x6d);
if ((iVar1 != 0) && (*... |
void FUN_0015faa3(undefined8 param_1,long param_2)
{
int iVar1;
double dVar2;
iVar1 = FUN_00114ec2(*(undefined8 *)(param_2 + 0x22d0),0x6d);
if ((iVar1 != 0) && (*(int *)(param_2 + 0xd5c) == 0)) {
dVar2 = (double)gtk_adjustment_get_value(param_1);
FUN_0013f7b9(*(undefined8 *)(param_2 + 0xda0),1,(int... | (translation_unit "void FUN_0015faa3(undefined8 param_1,long param_2)\n\n{\n int iVar1;\n double dVar2;\n \n iVar1 = FUN_00114ec2(*(undefined8 *)(param_2 + 0x22d0),0x6d);\n if ((iVar1 != 0) && (*(int *)(param_2 + 0xd5c) == 0)) {\n dVar2 = (double)gtk_adjustment_get_value(param_1);\n FUN_0013f7b9(*(undefined8... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x22d0]
MOV ESI,0x6d
MOV RDI,RAX
CALL 0x00114ec2
TEST EAX,EAX
JZ 0x0015fb0f
MOV RAX,qword ptr [RBP + -0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *adj,type_2 data)
{
int var_2;
double dVar2;
type_2 data_local;
type_1 *adj_local;
type_3 *inst;
var_2 = var_1(*(type_4 **)((long)data + 0x22d0),0x6d);
if ((var_2 != 0) && (*(int *)((long)data + 0xd5c) ==... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid scrollbar_moved(GtkAdjustment *adj,gpointer data)\n\n{\n int iVar1;\n double dVar2;\n gpointer data_local;\n GtkAdjustment *adj_local;\n gui_data *inst;\n \n iVar1 = conf_get_int(*(Conf **)((long)data + 0x22d0),0x... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *adj,type_2 data)\n\n{\n int var_2;\n double dVar2;\n type_2 data_local;\n type_1 *adj_local;\n type_3 *inst;\n \n var_2 = var_1(*(type_4 **)((long)data + 0x22d0),0x6d);\n if ((var_2 != 0) && (*... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato... |
278_psftp_and_psftp_strip.c | pfl_closing | FUN_00111b95 | pfl_closing |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void pfl_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;
PortListener *pl;
pfl_terminate((PortListener *)plug);
return;
... |
void FUN_00111b95(undefined8 param_1)
{
FUN_00112b4d(param_1);
return;
}
| (translation_unit "void FUN_00111b95(undefined8 param_1)\n\n{\n FUN_00112b4d(param_1);\n return;\n}\n\n" (function_definition "void FUN_00111b95(undefined8 param_1)\n\n{\n FUN_00112b4d(param_1);\n return;\n}" primitive_type (function_declarator "FUN_00111b95(undefined8 param_1)" identifier (parameter_list "(undefin... | 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 RDI,RAX
CALL 0x00112b4d
NOP
LEAVE
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 plug,char *error_msg,int error_code,int calling_back)
{
int calling_back_local;
int error_code_local;
char *error_msg_local;
type_1 plug_local;
type_2 *pl;
var_1((type_2 *)plug);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid pfl_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 PortListener *pl;\n \n pfl_terminate((Por... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 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 type_1 plug_local;\n type_2 *pl;\n \n var_1((type_2 *)plug)... | (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:... |
276_psftp_and_psftp_strip.c | pfl_log | FUN_00111aff | pfl_log |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void pfl_log(Plug plug,int type,SockAddr addr,int port,char *error_msg,int error_code)
{
int error_code_local;
char *error_msg_local;
SockAddr addr_local;
int port_local;
int type_local;
Plug plug_local;
return;
}
|
void FUN_00111aff(void)
{
return;
}
| (translation_unit "void FUN_00111aff(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_00111aff(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_00111aff(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV qword ptr [RBP + -0x18],RDX
MOV dword ptr [RBP + -0x10],ECX
MOV qword ptr [RBP + -0x20],R8
MOV dword ptr [RBP + -0x24],R9D
NOP
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 plug,int type,type_2 addr,int port,char *error_msg,int error_code)
{
int error_code_local;
char *error_msg_local;
type_2 addr_local;
int port_local;
int type_local;
type_1 plug_local;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid pfl_log(Plug plug,int type,SockAddr addr,int port,char *error_msg,int error_code)\n\n{\n int error_code_local;\n char *error_msg_local;\n SockAddr addr_local;\n int port_local;\n int type_local;\n Plug plug_local;\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 plug,int type,type_2 addr,int port,char *error_msg,int error_code)\n\n{\n int error_code_local;\n char *error_msg_local;\n type_2 addr_local;\n int port_local;\n int type_local;\n type_1 plug_loca... | (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... |
607_psftp_and_psftp_strip.c | ssh1_msg_channel_data | FUN_001356bf | ssh1_msg_channel_data |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh1_msg_channel_data(Ssh_conflict ssh,Packet *pktin)
{
long in_FS_OFFSET;
Packet *pktin_local;
Ssh_conflict ssh_local;
int len;
int bufsize;
char *p;
ssh_channel *c;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + ... |
void FUN_001356bf(undefined8 param_1,undefined8 param_2)
{
long in_FS_OFFSET;
undefined4 local_28;
int local_24;
undefined8 local_20;
long local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_18 = FUN_0013c89f(param_1,param_2);
FUN_0012c24d(param_2,&local_20,&local_28);
if ... | (translation_unit "void FUN_001356bf(undefined8 param_1,undefined8 param_2)\n\n{\n long in_FS_OFFSET;\n undefined4 local_28;\n int local_24;\n undefined8 local_20;\n long local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_18 = FUN_0013c89f(param_1,param_2);\n FUN_0012c24d(param... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RDX,qword ptr [RBP + -0x30]
MOV RAX,qword ptr [RBP + -0x28]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0013c89f
MOV qword ptr [RBP + -0x10],RAX
LEA RDX,[RBP + ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pktin)
{
long var_1;
type_2 *pktin_local;
type_1 ssh_local;
int len;
int var_6;
char *p;
type_3 *var_4;
long var_8;
var_8 = *(long *)(var_1 + 0x28);
var_4 = var_2(ssh,pktin);
var_3(pkt... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh1_msg_channel_data(Ssh_conflict ssh,Packet *pktin)\n\n{\n long in_FS_OFFSET;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n int len;\n int bufsize;\n char *p;\n ssh_channel *c;\n long local_10;\n \n loca... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pktin)\n\n{\n long var_1;\n type_2 *pktin_local;\n type_1 ssh_local;\n int len;\n int var_6;\n char *p;\n type_3 *var_4;\n long var_8;\n \n var_8 = *(long *)(var_1 + 0x28);\n 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... |
443_psftp_and_psftp_strip.c | fxp_mkdir_recv | FUN_00124cb4 | fxp_mkdir_recv |
int fxp_mkdir_recv(sftp_packet *pktin,sftp_request *req)
{
int iVar1;
sftp_request *req_local;
sftp_packet *pktin_local;
int id;
safefree(req);
iVar1 = fxp_got_status(pktin);
sftp_pkt_free(pktin);
return (int)(iVar1 == 1);
}
|
bool FUN_00124cb4(undefined8 param_1,undefined8 param_2)
{
int iVar1;
FUN_00110fa6(param_2);
iVar1 = FUN_0012449d(param_1);
FUN_00123f15(param_1);
return iVar1 == 1;
}
| (translation_unit "bool FUN_00124cb4(undefined8 param_1,undefined8 param_2)\n\n{\n int iVar1;\n \n FUN_00110fa6(param_2);\n iVar1 = FUN_0012449d(param_1);\n FUN_00123f15(param_1);\n return iVar1 == 1;\n}\n\n" (function_definition "bool FUN_00124cb4(undefined8 param_1,undefined8 param_2)\n\n{\n int iVar1;\n \n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x20]
MOV RDI,RAX
CALL 0x00110fa6
MOV RAX,qword ptr [RBP + -0x18]
MOV RDI,RAX
CALL 0x0012449d
MOV dword ptr [RBP + -0x4],EAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RDI,RAX
CALL 0x00123f15
CMP dword p... |
int function_1(type_1 *pktin,type_2 *req)
{
int var_4;
type_2 *req_local;
type_1 *pktin_local;
int id;
var_1(req);
var_4 = var_2(pktin);
var_3(pktin);
return (int)(var_4 == 1);
}
| (translation_unit "int fxp_mkdir_recv(sftp_packet *pktin,sftp_request *req)\n\n{\n int iVar1;\n sftp_request *req_local;\n sftp_packet *pktin_local;\n int id;\n \n safefree(req);\n iVar1 = fxp_got_status(pktin);\n sftp_pkt_free(pktin);\n return (int)(iVar1 == 1);\n}\n\n" (function_definition "int fxp_mkdir_rec... | (translation_unit "int function_1(type_1 *pktin,type_2 *req)\n\n{\n int var_4;\n type_2 *req_local;\n type_1 *pktin_local;\n int id;\n \n var_1(req);\n var_4 = var_2(pktin);\n var_3(pktin);\n return (int)(var_4 == 1);\n}\n\n" (function_definition "int function_1(type_1 *pktin,type_2 *req)\n\n{\n int var_4;\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... |
637_psftp_and_psftp_strip.c | ssh2_msg_channel_data | FUN_0013cbda | ssh2_msg_channel_data |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_msg_channel_data(Ssh_conflict ssh,Packet *pktin)
{
int iVar1;
ulong uVar2;
long in_FS_OFFSET;
Packet *pktin_local;
Ssh_conflict ssh_local;
int length;
uint ext_type;
int bufsize;
char *data;
ssh_channel *c;
long ... |
void FUN_0013cbda(undefined8 param_1,long param_2)
{
int iVar1;
long in_FS_OFFSET;
int local_2c;
int local_28;
int local_24;
long local_20;
long local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_28 = 0;
local_18 = FUN_0013c89f(param_1,param_2);
if (local_18 != 0) {
... | (translation_unit "void FUN_0013cbda(undefined8 param_1,long param_2)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n int local_2c;\n int local_28;\n int local_24;\n long local_20;\n long local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_28 = 0;\n local_18 = FUN_0013c89f(param_1,pa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x20],0x0
MOV RDX,qword ptr [RBP + -0x40]
MOV RAX,qword ptr [RBP + -0x38]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0013c89f
MOV qword ptr [... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pktin)
{
int var_14;
type_3 uVar2;
long var_1;
type_2 *pktin_local;
type_1 ssh_local;
int var_7;
type_4 var_8;
int var_11;
char *var_6;
type_5 *var_3;
long var_16;
var_16 = *(long *)... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_msg_channel_data(Ssh_conflict ssh,Packet *pktin)\n\n{\n int iVar1;\n ulong uVar2;\n long in_FS_OFFSET;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n int length;\n uint ext_type;\n int bufsize;\n char *... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pktin)\n\n{\n int var_14;\n type_3 uVar2;\n long var_1;\n type_2 *pktin_local;\n type_1 ssh_local;\n int var_7;\n type_4 var_8;\n int var_11;\n char *var_6;\n type_5 *var_3;\n lon... | (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... |
529_psftp_and_psftp_strip.c | ssh_pkt_addstring_start | FUN_0012aeba | ssh_pkt_addstring_start |
void ssh_pkt_addstring_start(Packet *pkt)
{
Packet *pkt_local;
ssh_pkt_adduint32(pkt,0);
pkt->savedpos = pkt->length;
return;
}
|
void FUN_0012aeba(undefined8 *param_1)
{
FUN_0012ae44(param_1,0);
param_1[6] = *param_1;
return;
}
| (translation_unit "void FUN_0012aeba(undefined8 *param_1)\n\n{\n FUN_0012ae44(param_1,0);\n param_1[6] = *param_1;\n return;\n}\n\n" (function_definition "void FUN_0012aeba(undefined8 *param_1)\n\n{\n FUN_0012ae44(param_1,0);\n param_1[6] = *param_1;\n return;\n}" primitive_type (function_declarator "FUN_0012aeba... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV ESI,0x0
MOV RDI,RAX
CALL 0x0012ae44
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX + 0x30],RDX
NOP
LEAVE
RET |
void function_1(type_1 *pkt)
{
type_1 *pkt_local;
var_1(pkt,0);
pkt->savedpos = pkt->length;
return;
}
| (translation_unit "void ssh_pkt_addstring_start(Packet *pkt)\n\n{\n Packet *pkt_local;\n \n ssh_pkt_adduint32(pkt,0);\n pkt->savedpos = pkt->length;\n return;\n}\n\n" (function_definition "void ssh_pkt_addstring_start(Packet *pkt)\n\n{\n Packet *pkt_local;\n \n ssh_pkt_adduint32(pkt,0);\n pkt->savedpos = pkt->... | (translation_unit "void function_1(type_1 *pkt)\n\n{\n type_1 *pkt_local;\n \n var_1(pkt,0);\n pkt->savedpos = pkt->length;\n return;\n}\n\n" (function_definition "void function_1(type_1 *pkt)\n\n{\n type_1 *pkt_local;\n \n var_1(pkt,0);\n pkt->savedpos = pkt->length;\n return;\n}" primitive_type (function_de... | (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... |
1163_pterm_and_pterm_strip.c | do_text_internal | FUN_00160269 | do_text_internal |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void do_text_internal(Context ctx,wchar_t x,wchar_t y,wchar_t *text,wchar_t len,ulong attr,
wchar_t lattr)
{
long lVar1;
wchar_t wVar2;
bool bVar3;
int iVar4;
wchar_t wVar5;
undefined8 uVar6;
bool bVar7;
ulo... |
void FUN_00160269(long *param_1,int param_2,int param_3,undefined8 param_4,int param_5,ulong param_6
,uint param_7)
{
long lVar1;
uint uVar2;
bool bVar3;
int iVar4;
uint uVar5;
undefined8 uVar6;
bool bVar7;
int local_64;
int local_54;
int local_48;
uint local_44;
uint local_40... | (translation_unit "void FUN_00160269(long *param_1,int param_2,int param_3,undefined8 param_4,int param_5,ulong param_6\n ,uint param_7)\n\n{\n long lVar1;\n uint uVar2;\n bool bVar3;\n int iVar4;\n uint uVar5;\n undefined8 uVar6;\n bool bVar7;\n int local_64;\n int local_54;\n int local_48;\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x48],RDI
MOV dword ptr [RBP + -0x4c],ESI
MOV dword ptr [RBP + -0x50],EDX
MOV qword ptr [RBP + -0x58],RCX
MOV dword ptr [RBP + -0x5c],R8D
MOV qword ptr [RBP + -0x68],R9
MOV RAX,qword ptr [RBP + -0x48]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ctx,type_2 var_14,type_2 var_20,type_2 *text,type_2 len,type_3 var_5,
type_2 var_13)
{
long var_2;
type_2 wVar2;
bool var_6;
int var_4;
type_2 var_11;
type_4 uVar6;
bool bVar7;
type_3 ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid do_text_internal(Context ctx,wchar_t x,wchar_t y,wchar_t *text,wchar_t len,ulong attr,\n wchar_t lattr)\n\n{\n long lVar1;\n wchar_t wVar2;\n bool bVar3;\n int iVar4;\n wchar_t wVar5;\n undefine... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ctx,type_2 var_14,type_2 var_20,type_2 *text,type_2 len,type_3 var_5,\n type_2 var_13)\n\n{\n long var_2;\n type_2 wVar2;\n bool var_6;\n int var_4;\n type_2 var_11;\n type_4 u... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_decla... |
1097_pterm_and_pterm_strip.c | set_iconic | FUN_0015b00f | set_iconic |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void set_iconic(void *frontend,wchar_t iconic)
{
undefined8 uVar1;
wchar_t iconic_local;
void *frontend_local;
gui_data *inst;
if (iconic == L'\0') {
uVar1 = gtk_window_get_type();
/* WARNING: Load size is i... |
void FUN_0015b00f(undefined8 *param_1,int param_2)
{
undefined8 uVar1;
if (param_2 == 0) {
uVar1 = gtk_window_get_type();
uVar1 = g_type_check_instance_cast(*param_1,uVar1);
gtk_window_deiconify(uVar1);
}
else {
uVar1 = gtk_window_get_type();
uVar1 = g_type_check_instance_cast(*param_1,... | (translation_unit "void FUN_0015b00f(undefined8 *param_1,int param_2)\n\n{\n undefined8 uVar1;\n \n if (param_2 == 0) {\n uVar1 = gtk_window_get_type();\n uVar1 = g_type_check_instance_cast(*param_1,uVar1);\n gtk_window_deiconify(uVar1);\n }\n else {\n uVar1 = gtk_window_get_type();\n uVar1 = g_type... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
CMP dword ptr [RBP + -0x1c],0x0
JZ 0x0015b050
CALL 0x00110e90
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RSI,RDX
MOV RDI,RAX
CALL 0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *frontend,type_1 var_1)
{
type_2 uVar1;
type_1 iconic_local;
void *frontend_local;
type_3 *inst;
if (var_1 == L'\0') {
uVar1 = var_2();
/* WARNING: Load size is inaccurate */
uVar1 =... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid set_iconic(void *frontend,wchar_t iconic)\n\n{\n undefined8 uVar1;\n wchar_t iconic_local;\n void *frontend_local;\n gui_data *inst;\n \n if (iconic == L'\0') {\n uVar1 = gtk_window_get_type();\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *frontend,type_1 var_1)\n\n{\n type_2 uVar1;\n type_1 iconic_local;\n void *frontend_local;\n type_3 *inst;\n \n if (var_1 == L'\0') {\n uVar1 = var_2();\n /* WARNING: Load siz... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator... |
1195_pterm_and_pterm_strip.c | new_session_window | FUN_0016332a | new_session_window |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
/* WARNING: Enum "GdkEventType": Some values do not have unique names */
gui_data * new_session_window(Conf *conf,char *geometry_string)
{
GdkGravity GVar1;
uint uVar2;
int iVar3;
wchar_t wVar4;
GtkWidget *pGVar5;
undefined8 uVar6;
... |
undefined8 * FUN_0016332a(undefined8 param_1,long param_2)
{
int iVar1;
undefined4 uVar2;
undefined8 uVar3;
undefined8 uVar4;
long in_FS_OFFSET;
undefined4 local_90;
int local_8c;
int local_88;
int local_84;
int local_80;
uint local_7c;
undefined8 *local_78;
long local_70;
char *local_68;
... | (translation_unit "undefined8 * FUN_0016332a(undefined8 param_1,long param_2)\n\n{\n int iVar1;\n undefined4 uVar2;\n undefined8 uVar3;\n undefined8 uVar4;\n long in_FS_OFFSET;\n undefined4 local_90;\n int local_8c;\n int local_88;\n int local_84;\n int local_80;\n uint local_7c;\n undefined8 *local_78;\n ... | PUSH RBP
MOV RBP,RSP
PUSH R12
PUSH RBX
SUB RSP,0x90
MOV qword ptr [RBP + -0x98],RDI
MOV qword ptr [RBP + -0xa0],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
MOV ESI,0x2308
MOV EDI,0x1
CALL 0x001282f0
MOV qword ptr [RBP + -0x70],RAX
MOV RAX,qword ptr [RBP + -0x70]
MOV EDX,0x2308
MOV ESI,0x... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
/* WARNING: Enum "GdkEventType": Some values do not have unique names */
type_1 * function_1(type_2 *conf,char *var_4)
{
type_3 GVar1;
type_4 uVar2;
int var_25;
type_5 wVar4;
type_6 *pGVar5;
type_7 uVar6;
type_8 *pGVar7;
type_7 ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n\ngui_data * new_session_window(Conf *conf,char *geometry_string)\n\n{\n GdkGravity GVar1;\n uint uVar2;\n int iVar3;\n wchar_t wVar4;\n GtkWidget *... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *conf,char *var_4)\n\n{\n type_3 GVar1;\n type_4 uVar2;\n int var_25;\n type_5 wVar4;\n type_6 *pGVar5;\n type_7 uVar6... | (translation_unit (comment) (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_de... |
260_psftp_and_psftp_strip.c | match_ssh_id | FUN_00111478 | match_ssh_id |
int match_ssh_id(int stringlen,void *string,char *id)
{
int iVar1;
size_t sVar2;
char *id_local;
void *string_local;
int stringlen_local;
int idlen;
sVar2 = strlen(id);
if (((int)sVar2 == stringlen) && (iVar1 = memcmp(string,id,(long)(int)sVar2), iVar1 == 0)) {
return 1;
}
return 0;
}
|
undefined8 FUN_00111478(int param_1,void *param_2,char *param_3)
{
int iVar1;
size_t sVar2;
sVar2 = strlen(param_3);
if (((int)sVar2 == param_1) && (iVar1 = memcmp(param_2,param_3,(long)(int)sVar2), iVar1 == 0)) {
return 1;
}
return 0;
}
| (translation_unit "undefined8 FUN_00111478(int param_1,void *param_2,char *param_3)\n\n{\n int iVar1;\n size_t sVar2;\n \n sVar2 = strlen(param_3);\n if (((int)sVar2 == param_1) && (iVar1 = memcmp(param_2,param_3,(long)(int)sVar2), iVar1 == 0)) {\n return 1;\n }\n return 0;\n}\n\n" (function_definition "undef... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV dword ptr [RBP + -0x14],EDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV RAX,qword ptr [RBP + -0x28]
MOV RDI,RAX
CALL 0x00108250
MOV dword ptr [RBP + -0x4],EAX
MOV EAX,dword ptr [RBP + -0x4]
CMP EAX,dword ptr [RBP + -0x14]
JNZ 0x001114c6
MOV EAX,dword ptr [RB... |
int function_1(int var_2,void *string,char *id)
{
int var_4;
size_t sVar2;
char *id_local;
void *string_local;
int stringlen_local;
int idlen;
sVar2 = var_1(id);
if (((int)sVar2 == var_2) && (var_4 = var_3(string,id,(long)(int)sVar2), var_4 == 0)) {
return 1;
}
return 0;
}
| (translation_unit "int match_ssh_id(int stringlen,void *string,char *id)\n\n{\n int iVar1;\n size_t sVar2;\n char *id_local;\n void *string_local;\n int stringlen_local;\n int idlen;\n \n sVar2 = strlen(id);\n if (((int)sVar2 == stringlen) && (iVar1 = memcmp(string,id,(long)(int)sVar2), iVar1 == 0)) {\n ret... | (translation_unit "int function_1(int var_2,void *string,char *id)\n\n{\n int var_4;\n size_t sVar2;\n char *id_local;\n void *string_local;\n int stringlen_local;\n int idlen;\n \n sVar2 = var_1(id);\n if (((int)sVar2 == var_2) && (var_4 = var_3(string,id,(long)(int)sVar2), var_4 == 0)) {\n return 1;\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... |
802_psftp_and_psftp_strip.c | bignum_decimal | FUN_00156919 | bignum_decimal |
char * bignum_decimal(Bignum_conflict x)
{
ulong uVar1;
bool bVar2;
int iVar3;
char *__dest;
void *b;
long lVar4;
Bignum_conflict x_local;
int ndigits;
int ndigit;
int i;
int iszero;
BignumInt carry;
char *ret;
BignumInt *workspace;
BignumInt q;
BignumInt r;
iVar3 = bignum_bitcoun... |
void * FUN_00156919(long *param_1)
{
ulong uVar1;
bool bVar2;
int iVar3;
void *__dest;
long lVar4;
long lVar5;
int local_40;
int local_3c;
int local_38;
ulong local_30;
iVar3 = FUN_001550d7(param_1);
if (iVar3 == 0) {
local_40 = 1;
}
else {
local_40 = (iVar3 * 0x1c + 0x5c) / 0x5... | (translation_unit "void * FUN_00156919(long *param_1)\n\n{\n ulong uVar1;\n bool bVar2;\n int iVar3;\n void *__dest;\n long lVar4;\n long lVar5;\n int local_40;\n int local_3c;\n int local_38;\n ulong local_30;\n \n iVar3 = FUN_001550d7(param_1);\n if (iVar3 == 0) {\n local_40 = 1;\n }\n else {\n l... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x48],RDI
MOV RAX,qword ptr [RBP + -0x48]
MOV RDI,RAX
CALL 0x001550d7
MOV dword ptr [RBP + -0x30],EAX
CMP dword ptr [RBP + -0x30],0x0
JNZ 0x00156943
MOV dword ptr [RBP + -0x38],0x1
JMP 0x00156964
MOV EAX,dword ptr [RBP + -0x30]
IMUL EAX,EAX,0x1c
LEA ECX,[RAX + 0x5... |
char * function_1(type_1 x)
{
type_2 var_7;
bool bVar2;
int var_2;
char *var_11;
void *b;
long var_8;
type_1 x_local;
int var_4;
int var_9;
int var_5;
int iszero;
type_3 var_6;
char *ret;
type_3 *workspace;
type_3 q;
type_3 r;
var_2 = var_1(x);
if (var_2 == 0) {
var_4 = 1;
... | (translation_unit "char * bignum_decimal(Bignum_conflict x)\n\n{\n ulong uVar1;\n bool bVar2;\n int iVar3;\n char *__dest;\n void *b;\n long lVar4;\n Bignum_conflict x_local;\n int ndigits;\n int ndigit;\n int i;\n int iszero;\n BignumInt carry;\n char *ret;\n BignumInt *workspace;\n BignumInt q;\n Bign... | (translation_unit "char * function_1(type_1 x)\n\n{\n type_2 var_7;\n bool bVar2;\n int var_2;\n char *var_11;\n void *b;\n long var_8;\n type_1 x_local;\n int var_4;\n int var_9;\n int var_5;\n int iszero;\n type_3 var_6;\n char *ret;\n type_3 *workspace;\n type_3 q;\n type_3 r;\n \n var_2 = var_1(x)... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
1251_pterm_and_pterm_strip.c | pty_try_write | FUN_00167028 | pty_try_write |
void pty_try_write(Pty pty)
{
int iVar1;
ssize_t sVar2;
int *piVar3;
long in_FS_OFFSET;
Pty pty_local;
int len;
int ret;
void *data;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (pty->master_fd < 0) {
/* WARNING: Subroutine does not return */
__assert_f... |
void FUN_00167028(long param_1)
{
int iVar1;
ssize_t sVar2;
int *piVar3;
long in_FS_OFFSET;
int local_20;
int local_1c;
void *local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (*(int *)(param_1 + 8) < 0) {
/* WARNING: Subroutine does not return */
__... | (translation_unit "void FUN_00167028(long param_1)\n\n{\n int iVar1;\n ssize_t sVar2;\n int *piVar3;\n long in_FS_OFFSET;\n int local_20;\n int local_1c;\n void *local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (*(int *)(param_1 + 8) < 0) {\n /* WARNING: Subr... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x28]
MOV EAX,dword ptr [RAX + 0x8]
TEST EAX,EAX
JNS 0x001670f3
LEA RCX,[0x196518]
MOV EDX,0x42e
LEA RSI,[0x19643e]
LEA RDI,[0x1964da]
CALL 0x0010f980
MOV RA... |
void function_1(type_1 pty)
{
int var_4;
ssize_t sVar2;
int *piVar3;
long var_1;
type_1 pty_local;
int len;
int var_7;
void *data;
long var_13;
var_13 = *(long *)(var_1 + 0x28);
if (pty->master_fd < 0) {
/* WARNING: Subroutine does not return */
var_2("pty->master_fd >... | (translation_unit "void pty_try_write(Pty pty)\n\n{\n int iVar1;\n ssize_t sVar2;\n int *piVar3;\n long in_FS_OFFSET;\n Pty pty_local;\n int len;\n int ret;\n void *data;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (pty->master_fd < 0) {\n /* WARNING: Subroutine ... | (translation_unit "void function_1(type_1 pty)\n\n{\n int var_4;\n ssize_t sVar2;\n int *piVar3;\n long var_1;\n type_1 pty_local;\n int len;\n int var_7;\n void *data;\n long var_13;\n \n var_13 = *(long *)(var_1 + 0x28);\n if (pty->master_fd < 0) {\n /* WARNING: Subroutine does not retu... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declarat... |
515_psftp_and_psftp_strip.c | s_write | FUN_0012a388 | s_write |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int s_write(Ssh_conflict ssh,void *data,int len)
{
int iVar1;
int len_local;
void *data_local;
Ssh_conflict ssh_local;
if (ssh->logctx != (void *)0x0) {
log_packet(ssh->logctx,1,-1,(char *)0x0,data,len,0,(logblank_t *)0x0,(ulon... |
undefined8 FUN_0012a388(long param_1,undefined8 param_2,undefined4 param_3)
{
undefined8 uVar1;
if (*(long *)(param_1 + 0x30) != 0) {
FUN_0010e92a(*(undefined8 *)(param_1 + 0x30),1,0xffffffff,0,param_2,param_3,0,0,0,0,0);
}
if (*(long *)(param_1 + 0x20) == 0) {
uVar1 = 0;
}
else {
uVar1 = (... | (translation_unit "undefined8 FUN_0012a388(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n undefined8 uVar1;\n \n if (*(long *)(param_1 + 0x30) != 0) {\n FUN_0010e92a(*(undefined8 *)(param_1 + 0x30),1,0xffffffff,0,param_2,param_3,0,0,0,0,0);\n }\n if (*(long *)(param_1 + 0x20) == 0) {\n uVar1 = 0;... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x30]
TEST RAX,RAX
JZ 0x0012a3e6
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x30]
MOV ECX,dword ptr [RBP + -0x14]
MOV RDX,... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 ssh,void *data,int len)
{
int iVar1;
int len_local;
void *data_local;
type_1 ssh_local;
if (ssh->logctx != (void *)0x0) {
var_1(ssh->logctx,1,-1,(char *)0x0,data,len,0,(type_2 *)0x0,(type_3 *)0x0,0,(char *... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint s_write(Ssh_conflict ssh,void *data,int len)\n\n{\n int iVar1;\n int len_local;\n void *data_local;\n Ssh_conflict ssh_local;\n \n if (ssh->logctx != (void *)0x0) {\n log_packet(ssh->logctx,1,-1,(char *)0x0,data,... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 ssh,void *data,int len)\n\n{\n int iVar1;\n int len_local;\n void *data_local;\n type_1 ssh_local;\n \n if (ssh->logctx != (void *)0x0) {\n var_1(ssh->logctx,1,-1,(char *)0x0,data,len,0,(type_2 ... | (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:... |
700_psftp_and_psftp_strip.c | aes_encrypt_nb_4 | FUN_00147f00 | aes_encrypt_nb_4 |
void aes_encrypt_nb_4(AESContext *ctx,word32 *block)
{
uint *puVar1;
byte bVar2;
byte bVar3;
byte bVar4;
byte bVar5;
byte bVar6;
byte bVar7;
byte bVar8;
byte bVar9;
byte bVar10;
byte bVar11;
byte bVar12;
byte bVar13;
uint uVar14;
uint uVar15;
uint uVar16;
uint uVar17;
uint uVar18;
... |
void FUN_00147f00(uint *param_1,uint *param_2)
{
uint *puVar1;
byte bVar2;
byte bVar3;
byte bVar4;
byte bVar5;
byte bVar6;
byte bVar7;
byte bVar8;
byte bVar9;
byte bVar10;
byte bVar11;
byte bVar12;
byte bVar13;
uint uVar14;
uint uVar15;
uint uVar16;
uint uVar17;
uint uVar18;
uint... | (translation_unit "void FUN_00147f00(uint *param_1,uint *param_2)\n\n{\n uint *puVar1;\n byte bVar2;\n byte bVar3;\n byte bVar4;\n byte bVar5;\n byte bVar6;\n byte bVar7;\n byte bVar8;\n byte bVar9;\n byte bVar10;\n byte bVar11;\n byte bVar12;\n byte bVar13;\n uint uVar14;\n uint uVar15;\n uint uVar16;\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x28],RAX
MOV dword ptr [RBP + -0x2c],0x0
JMP 0x00148392
MOV RAX,qword ptr [RBP + -0x28]
LEA RDX,... |
void function_1(type_1 *ctx,type_2 *block)
{
type_3 *puVar1;
type_4 bVar2;
type_4 bVar3;
type_4 bVar4;
type_4 bVar5;
type_4 bVar6;
type_4 bVar7;
type_4 bVar8;
type_4 bVar9;
type_4 bVar10;
type_4 bVar11;
type_4 bVar12;
type_4 bVar13;
type_3 var_5;
type_3 var_6;
type_3 var_7;
type_3 va... | (translation_unit "void aes_encrypt_nb_4(AESContext *ctx,word32 *block)\n\n{\n uint *puVar1;\n byte bVar2;\n byte bVar3;\n byte bVar4;\n byte bVar5;\n byte bVar6;\n byte bVar7;\n byte bVar8;\n byte bVar9;\n byte bVar10;\n byte bVar11;\n byte bVar12;\n byte bVar13;\n uint uVar14;\n uint uVar15;\n uint uV... | (translation_unit "void function_1(type_1 *ctx,type_2 *block)\n\n{\n type_3 *puVar1;\n type_4 bVar2;\n type_4 bVar3;\n type_4 bVar4;\n type_4 bVar5;\n type_4 bVar6;\n type_4 bVar7;\n type_4 bVar8;\n type_4 bVar9;\n type_4 bVar10;\n type_4 bVar11;\n type_4 bVar12;\n type_4 bVar13;\n type_3 var_5;\n type_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... |
619_psftp_and_psftp_strip.c | ssh2_pkt_addstring_commasep | FUN_00136772 | ssh2_pkt_addstring_commasep |
void ssh2_pkt_addstring_commasep(Packet *pkt,char *data)
{
char *data_local;
Packet *pkt_local;
if (pkt->length != pkt->savedpos && -1 < pkt->length - pkt->savedpos) {
ssh_pkt_addstring_str(pkt,",");
}
ssh_pkt_addstring_str(pkt,data);
return;
}
|
void FUN_00136772(long *param_1,undefined8 param_2)
{
if (0 < *param_1 - param_1[6]) {
FUN_0012afea(param_1,&DAT_0019ac7f);
}
FUN_0012afea(param_1,param_2);
return;
}
| (translation_unit "void FUN_00136772(long *param_1,undefined8 param_2)\n\n{\n if (0 < *param_1 - param_1[6]) {\n FUN_0012afea(param_1,&DAT_0019ac7f);\n }\n FUN_0012afea(param_1,param_2);\n return;\n}\n\n" (function_definition "void FUN_00136772(long *param_1,undefined8 param_2)\n\n{\n if (0 < *param_1 - param_1... | 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 + -0x8]
MOV RDX,qword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x30]
SUB RDX,RAX
MOV RAX,RDX
TEST RAX,RAX
JLE 0x001367af
MOV RAX,qword ptr [RBP + -0x8]
LEA RSI,[0x19ac7f]
MOV ... |
void function_1(type_1 *pkt,char *data)
{
char *data_local;
type_1 *pkt_local;
if (pkt->length != pkt->savedpos && -1 < pkt->length - pkt->savedpos) {
var_1(pkt,",");
}
var_1(pkt,data);
return;
}
| (translation_unit "void ssh2_pkt_addstring_commasep(Packet *pkt,char *data)\n\n{\n char *data_local;\n Packet *pkt_local;\n \n if (pkt->length != pkt->savedpos && -1 < pkt->length - pkt->savedpos) {\n ssh_pkt_addstring_str(pkt,",");\n }\n ssh_pkt_addstring_str(pkt,data);\n return;\n}\n\n" (function_definition... | (translation_unit "void function_1(type_1 *pkt,char *data)\n\n{\n char *data_local;\n type_1 *pkt_local;\n \n if (pkt->length != pkt->savedpos && -1 < pkt->length - pkt->savedpos) {\n var_1(pkt,",");\n }\n var_1(pkt,data);\n return;\n}\n\n" (function_definition "void function_1(type_1 *pkt,char *data)\n\n{\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
1052_pterm_and_pterm_strip.c | style_changed | FUN_00156bcb | style_changed |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void style_changed(GtkTreeSelection *treeselection,gpointer data)
{
long lVar1;
int iVar2;
wchar_t size;
long in_FS_OFFSET;
gpointer data_local;
GtkTreeSelection *treeselection_local;
wchar_t minval;
GtkTreeModel *treemodel;
u... |
void FUN_00156bcb(undefined8 param_1,long param_2)
{
int iVar1;
undefined4 uVar2;
long in_FS_OFFSET;
int local_54;
undefined8 local_50;
long local_48;
long local_40;
undefined local_38 [40];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_48 = param_2;
if (((*(int *)(param_2... | (translation_unit "void FUN_00156bcb(undefined8 param_1,long param_2)\n\n{\n int iVar1;\n undefined4 uVar2;\n long in_FS_OFFSET;\n int local_54;\n undefined8 local_50;\n long local_48;\n long local_40;\n undefined local_38 [40];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_48 = p... | 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 RAX,qword ptr [RBP + -0x60]
MOV qword ptr [RBP + -0x40],RAX
MOV RAX,qword ptr [RBP + -0x40]
MOV EAX,dword ptr [RAX + 0xd0]
TEST EAX,EAX
JNZ 0x00156... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *treeselection,type_2 data)
{
long var_10;
int var_3;
type_3 size;
long var_1;
type_2 data_local;
type_1 *treeselection_local;
type_3 var_5;
type_4 *treemodel;
type_5 *fs;
type_6 *var_8;
type_7 treei... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid style_changed(GtkTreeSelection *treeselection,gpointer data)\n\n{\n long lVar1;\n int iVar2;\n wchar_t size;\n long in_FS_OFFSET;\n gpointer data_local;\n GtkTreeSelection *treeselection_local;\n wchar_t minval;\n... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *treeselection,type_2 data)\n\n{\n long var_10;\n int var_3;\n type_3 size;\n long var_1;\n type_2 data_local;\n type_1 *treeselection_local;\n type_3 var_5;\n type_4 *treemodel;\n type_5 *fs;\... | (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... |
664_psftp_and_psftp_strip.c | ssh2_msg_authconn | FUN_0013f65c | ssh2_msg_authconn |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_msg_authconn(Ssh_conflict ssh,Packet *pktin)
{
Packet *pktin_local;
Ssh_conflict ssh_local;
do_ssh2_authconn(ssh,(uchar *)0x0,0,pktin);
return;
}
|
void FUN_0013f65c(undefined8 param_1,undefined8 param_2)
{
FUN_0013f6ca(param_1,0,0,param_2);
return;
}
| (translation_unit "void FUN_0013f65c(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0013f6ca(param_1,0,0,param_2);\n return;\n}\n\n" (function_definition "void FUN_0013f65c(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0013f6ca(param_1,0,0,param_2);\n return;\n}" primitive_type (function_declarator "FUN_0013... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RDX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV RCX,RDX
MOV EDX,0x0
MOV ESI,0x0
MOV RDI,RAX
CALL 0x0013f6ca
NOP
LEAVE
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pktin)
{
type_2 *pktin_local;
type_1 ssh_local;
var_1(ssh,(type_3 *)0x0,0,pktin);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_msg_authconn(Ssh_conflict ssh,Packet *pktin)\n\n{\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n \n do_ssh2_authconn(ssh,(uchar *)0x0,0,pktin);\n return;\n}\n\n" comment (function_definition "void ssh2_msg_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pktin)\n\n{\n type_2 *pktin_local;\n type_1 ssh_local;\n \n var_1(ssh,(type_3 *)0x0,0,pktin);\n return;\n}\n\n" comment (function_definition "void function_1(type_1 ssh,type_2 *pktin)\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... |
1080_pterm_and_pterm_strip.c | buildinfo_gtk_version | FUN_0015ab3c | buildinfo_gtk_version |
/* WARNING: Unknown calling convention */
char * buildinfo_gtk_version(void)
{
char *pcVar1;
pcVar1 = dupprintf("%d.%d.%d",3,0x18,5);
return pcVar1;
}
|
void FUN_0015ab3c(void)
{
FUN_00127730("%d.%d.%d",3,0x18,5);
return;
}
| (translation_unit "void FUN_0015ab3c(void)\n\n{\n FUN_00127730("%d.%d.%d",3,0x18,5);\n return;\n}\n\n" (function_definition "void FUN_0015ab3c(void)\n\n{\n FUN_00127730("%d.%d.%d",3,0x18,5);\n return;\n}" primitive_type (function_declarator "FUN_0015ab3c(void)" identifier (parameter_list "(void)" ( (parameter_decla... | PUSH RBP
MOV RBP,RSP
MOV ECX,0x5
MOV EDX,0x18
MOV ESI,0x3
LEA RDI,[0x1954ff]
MOV EAX,0x0
CALL 0x00127730
POP RBP
RET |
/* WARNING: Unknown calling convention */
char * function_1(void)
{
char *pcVar1;
pcVar1 = var_1("%d.%d.%d",3,0x18,5);
return pcVar1;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n\nchar * buildinfo_gtk_version(void)\n\n{\n char *pcVar1;\n \n pcVar1 = dupprintf("%d.%d.%d",3,0x18,5);\n return pcVar1;\n}\n\n" comment (function_definition "char * buildinfo_gtk_version(void)\n\n{\n char *pcVar1;\n \n pcVar1 = dupprintf("%d.%d.%d",3... | (translation_unit "/* WARNING: Unknown calling convention */\n\nchar * function_1(void)\n\n{\n char *pcVar1;\n \n pcVar1 = var_1("%d.%d.%d",3,0x18,5);\n return pcVar1;\n}\n\n" comment (function_definition "char * function_1(void)\n\n{\n char *pcVar1;\n \n pcVar1 = var_1("%d.%d.%d",3,0x18,5);\n return pcVar1;\n}... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (primitive_type) declarator: (point... |
309_psftp_and_psftp_strip.c | new_connection | FUN_00113cb5 | new_connection |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
Socket new_connection(SockAddr addr,char *hostname,int port,int privport,int oobinline,int nodelay,
int keepalive,Plug plug,Conf *conf)
{
long lVar1;
int iVar2;
uint uVar3;
Proxy_Socket pSVar4;
Conf *pCVar5;
cha... |
undefined8 *
FUN_00113cb5(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined4 param_4,
undefined4 param_5,undefined4 param_6,undefined4 param_7,undefined8 *param_8,
undefined8 param_9)
{
int iVar1;
undefined4 uVar2;
undefined8 *puVar3;
undefined8 uVar4;
long lVar5;
... | (translation_unit "undefined8 *\nFUN_00113cb5(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined4 param_4,\n undefined4 param_5,undefined4 param_6,undefined4 param_7,undefined8 *param_8,\n undefined8 param_9)\n\n{\n int iVar1;\n undefined4 uVar2;\n undefined8 *puVar3;\n undefin... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x198
MOV qword ptr [RBP + -0x178],RDI
MOV qword ptr [RBP + -0x180],RSI
MOV dword ptr [RBP + -0x184],EDX
MOV dword ptr [RBP + -0x188],ECX
MOV dword ptr [RBP + -0x18c],R8D
MOV dword ptr [RBP + -0x190],R9D
MOV RAX,qword ptr [RBP + 0x18]
MOV qword ptr [RBP + -0x198],RAX
MOV RAX,qword ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_2 addr,char *hostname,int port,int privport,int oobinline,int nodelay,
int keepalive,type_3 plug,type_4 *conf)
{
long var_20;
int var_3;
type_5 uVar3;
type_6 var_7;
type_4 *pCVar5;
char *v... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nSocket new_connection(SockAddr addr,char *hostname,int port,int privport,int oobinline,int nodelay,\n int keepalive,Plug plug,Conf *conf)\n\n{\n long lVar1;\n int iVar2;\n uint uVar3;\n Proxy_Socket pS... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 addr,char *hostname,int port,int privport,int oobinline,int nodelay,\n int keepalive,type_3 plug,type_4 *conf)\n\n{\n long var_20;\n int var_3;\n type_5 uVar3;\n type_6 var_7;\... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator... |
508_psftp_and_psftp_strip.c | ssh1_log_outgoing_packet | FUN_00127775 | ssh1_log_outgoing_packet |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh1_log_outgoing_packet(Ssh_conflict ssh,Packet *pkt)
{
long lVar1;
long lVar2;
uchar *data;
int iVar3;
char *texttype;
long in_FS_OFFSET;
Packet *pkt_local;
Ssh_conflict ssh_local;
int slen;
int nblanks;
char *str;
... |
void FUN_00127775(long param_1,ulong *param_2)
{
ulong uVar1;
ulong uVar2;
int iVar3;
undefined8 uVar4;
long in_FS_OFFSET;
int local_68;
int local_64;
long local_60;
int local_58 [14];
long local_20;
local_20 = *(long *)(in_FS_OFFSET + 0x28);
local_64 = 0;
*param_2 = *param_2 - (param_2[5... | (translation_unit "void FUN_00127775(long param_1,ulong *param_2)\n\n{\n ulong uVar1;\n ulong uVar2;\n int iVar3;\n undefined8 uVar4;\n long in_FS_OFFSET;\n int local_68;\n int local_64;\n long local_60;\n int local_58 [14];\n long local_20;\n \n local_20 = *(long *)(in_FS_OFFSET + 0x28);\n local_64 = 0;\n... | PUSH RBP
MOV RBP,RSP
PUSH R12
PUSH RBX
SUB RSP,0x60
MOV qword ptr [RBP + -0x68],RDI
MOV qword ptr [RBP + -0x70],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x5c],0x0
MOV RAX,qword ptr [RBP + -0x70]
MOV RDX,qword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x70]
MOV RCX,qwor... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pkt)
{
long var_10;
long lVar2;
type_3 *data;
int var_7;
char *texttype;
long var_1;
type_2 *pkt_local;
type_1 ssh_local;
int slen;
int var_5;
char *var_4;
type_4 blanks [4];
var_1... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh1_log_outgoing_packet(Ssh_conflict ssh,Packet *pkt)\n\n{\n long lVar1;\n long lVar2;\n uchar *data;\n int iVar3;\n char *texttype;\n long in_FS_OFFSET;\n Packet *pkt_local;\n Ssh_conflict ssh_local;\n int sle... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pkt)\n\n{\n long var_10;\n long lVar2;\n type_3 *data;\n int var_7;\n char *texttype;\n long var_1;\n type_2 *pkt_local;\n type_1 ssh_local;\n int slen;\n int var_5;\n char *var_4... | (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... |
1297_pterm_and_pterm_strip.c | enum_settings_finish | FUN_00168c14 | enum_settings_finish |
void enum_settings_finish(void *handle)
{
void *handle_local;
DIR *dp;
closedir((DIR *)handle);
return;
}
|
void FUN_00168c14(DIR *param_1)
{
closedir(param_1);
return;
}
| (translation_unit "void FUN_00168c14(DIR *param_1)\n\n{\n closedir(param_1);\n return;\n}\n\n" (function_definition "void FUN_00168c14(DIR *param_1)\n\n{\n closedir(param_1);\n return;\n}" primitive_type (function_declarator "FUN_00168c14(DIR *param_1)" identifier (parameter_list "(DIR *param_1)" ( (parameter_decla... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00110960
NOP
LEAVE
RET |
void function_1(void *handle)
{
void *handle_local;
type_1 *dp;
var_1((type_1 *)handle);
return;
}
| (translation_unit "void enum_settings_finish(void *handle)\n\n{\n void *handle_local;\n DIR *dp;\n \n closedir((DIR *)handle);\n return;\n}\n\n" (function_definition "void enum_settings_finish(void *handle)\n\n{\n void *handle_local;\n DIR *dp;\n \n closedir((DIR *)handle);\n return;\n}" primitive_type (funct... | (translation_unit "void function_1(void *handle)\n\n{\n void *handle_local;\n type_1 *dp;\n \n var_1((type_1 *)handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle)\n\n{\n void *handle_local;\n type_1 *dp;\n \n var_1((type_1 *)handle);\n return;\n}" primitive_type (function_declarator... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
160_psftp_and_psftp_strip.c | free_value | FUN_0010b791 | free_value |
void free_value(value *val,int type)
{
int type_local;
value *val_local;
if (type == 2) {
safefree((val->u).stringval);
}
else if (type == 3) {
filename_free((val->u).fileval);
}
else if (type == 4) {
fontspec_free((val->u).fontval);
}
return;
}
|
void FUN_0010b791(undefined8 *param_1,int param_2)
{
if (param_2 == 2) {
FUN_00110fa6(*param_1);
}
else if (param_2 == 3) {
FUN_00185dc8(*param_1);
}
else if (param_2 == 4) {
FUN_0018637f(*param_1);
}
return;
}
| (translation_unit "void FUN_0010b791(undefined8 *param_1,int param_2)\n\n{\n if (param_2 == 2) {\n FUN_00110fa6(*param_1);\n }\n else if (param_2 == 3) {\n FUN_00185dc8(*param_1);\n }\n else if (param_2 == 4) {\n FUN_0018637f(*param_1);\n }\n return;\n}\n\n" (function_definition "void FUN_0010b791(undef... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
CMP dword ptr [RBP + -0xc],0x2
JNZ 0x0010b7b7
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x00110fa6
JMP 0x0010b7e3
CMP dword ptr [RBP + -0xc],0x3
JNZ 0x0010b7ce
MOV RAX,qword ptr [RBP + -0x8]
MOV... |
void function_1(type_1 *val,int var_1)
{
int type_local;
type_1 *val_local;
if (var_1 == 2) {
var_2((val->u).stringval);
}
else if (var_1 == 3) {
var_3((val->u).fileval);
}
else if (var_1 == 4) {
var_4((val->u).fontval);
}
return;
}
| (translation_unit "void free_value(value *val,int type)\n\n{\n int type_local;\n value *val_local;\n \n if (type == 2) {\n safefree((val->u).stringval);\n }\n else if (type == 3) {\n filename_free((val->u).fileval);\n }\n else if (type == 4) {\n fontspec_free((val->u).fontval);\n }\n return;\n}\n\n" ... | (translation_unit "void function_1(type_1 *val,int var_1)\n\n{\n int type_local;\n type_1 *val_local;\n \n if (var_1 == 2) {\n var_2((val->u).stringval);\n }\n else if (var_1 == 3) {\n var_3((val->u).fileval);\n }\n else if (var_1 == 4) {\n var_4((val->u).fontval);\n }\n return;\n}\n\n" (function_def... | (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... |
603_psftp_and_psftp_strip.c | ssh1_msg_channel_open_failure | FUN_001353f3 | ssh1_msg_channel_open_failure |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh1_msg_channel_open_failure(Ssh_conflict ssh,Packet *pktin)
{
ssh_channel *e;
Packet *pktin_local;
Ssh_conflict ssh_local;
ssh_channel *c;
e = ssh_channel_msg(ssh,pktin);
if ((e != (ssh_channel *)0x0) && (e->type == 3)) {
... |
void FUN_001353f3(long param_1,undefined8 param_2)
{
long lVar1;
lVar1 = FUN_0013c89f(param_1,param_2);
if ((lVar1 != 0) && (*(int *)(lVar1 + 0x10) == 3)) {
FUN_0018517a(*(undefined8 *)(param_1 + 0x188),"Forwarded connection refused by server");
FUN_00112b0d(*(undefined8 *)(lVar1 + 0x70));
FUN_00... | (translation_unit "void FUN_001353f3(long param_1,undefined8 param_2)\n\n{\n long lVar1;\n \n lVar1 = FUN_0013c89f(param_1,param_2);\n if ((lVar1 != 0) && (*(int *)(lVar1 + 0x10) == 3)) {\n FUN_0018517a(*(undefined8 *)(param_1 + 0x188),"Forwarded connection refused by server");\n FUN_00112b0d(*(undefined8 *)(... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RDX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0013c89f
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JZ 0x0013547d
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dwo... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pktin)
{
type_3 *var_2;
type_2 *pktin_local;
type_1 ssh_local;
type_3 *c;
var_2 = var_1(ssh,pktin);
if ((var_2 != (type_3 *)0x0) && (var_2->type == 3)) {
var_3(ssh->frontend,"Forwarded conne... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh1_msg_channel_open_failure(Ssh_conflict ssh,Packet *pktin)\n\n{\n ssh_channel *e;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n ssh_channel *c;\n \n e = ssh_channel_msg(ssh,pktin);\n if ((e != (ssh_channel... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pktin)\n\n{\n type_3 *var_2;\n type_2 *pktin_local;\n type_1 ssh_local;\n type_3 *c;\n \n var_2 = var_1(ssh,pktin);\n if ((var_2 != (type_3 *)0x0) && (var_2->type == 3)) {\n var_3(... | (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... |
428_psftp_and_psftp_strip.c | mkstr | FUN_00124446 | mkstr |
char * mkstr(char *s,int len)
{
char *__dest;
int len_local;
char *s_local;
char *p;
__dest = (char *)safemalloc((long)(len + 1),1);
memcpy(__dest,s,(long)len);
__dest[len] = '\0';
return __dest;
}
|
void * FUN_00124446(void *param_1,int param_2)
{
void *__dest;
__dest = (void *)FUN_00110d9a((long)(param_2 + 1),1);
memcpy(__dest,param_1,(long)param_2);
*(undefined *)((long)__dest + (long)param_2) = 0;
return __dest;
}
| (translation_unit "void * FUN_00124446(void *param_1,int param_2)\n\n{\n void *__dest;\n \n __dest = (void *)FUN_00110d9a((long)(param_2 + 1),1);\n memcpy(__dest,param_1,(long)param_2);\n *(undefined *)((long)__dest + (long)param_2) = 0;\n return __dest;\n}\n\n" (function_definition "void * FUN_00124446(void *par... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV EAX,dword ptr [RBP + -0x1c]
ADD EAX,0x1
CDQE
MOV ESI,0x1
MOV RDI,RAX
CALL 0x00110d9a
MOV qword ptr [RBP + -0x8],RAX
MOV EAX,dword ptr [RBP + -0x1c]
MOVSXD RDX,EAX
MOV RCX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RBP ... |
char * function_1(char *s,int var_2)
{
char *__dest;
int len_local;
char *s_local;
char *p;
__dest = (char *)var_1((long)(var_2 + 1),1);
var_3(__dest,s,(long)var_2);
__dest[var_2] = '\0';
return __dest;
}
| (translation_unit "char * mkstr(char *s,int len)\n\n{\n char *__dest;\n int len_local;\n char *s_local;\n char *p;\n \n __dest = (char *)safemalloc((long)(len + 1),1);\n memcpy(__dest,s,(long)len);\n __dest[len] = '\0';\n return __dest;\n}\n\n" (function_definition "char * mkstr(char *s,int len)\n\n{\n char *... | (translation_unit "char * function_1(char *s,int var_2)\n\n{\n char *__dest;\n int len_local;\n char *s_local;\n char *p;\n \n __dest = (char *)var_1((long)(var_2 + 1),1);\n var_3(__dest,s,(long)var_2);\n __dest[var_2] = '\0';\n return __dest;\n}\n\n" (function_definition "char * function_1(char *s,int var_2)\... | (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... |
480_psftp_and_psftp_strip.c | xfer_cleanup | FUN_00126386 | xfer_cleanup |
void xfer_cleanup(fxp_xfer *xfer)
{
req *ptr;
fxp_xfer *xfer_local;
req *rr;
while (xfer->head != (req *)0x0) {
ptr = xfer->head;
xfer->head = xfer->head->next;
safefree(ptr->buffer);
safefree(ptr);
}
safefree(xfer);
return;
}
|
void FUN_00126386(long param_1)
{
undefined8 *puVar1;
while (*(long *)(param_1 + 0x48) != 0) {
puVar1 = *(undefined8 **)(param_1 + 0x48);
*(undefined8 *)(param_1 + 0x48) = *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x28);
FUN_00110fa6(*puVar1);
FUN_00110fa6(puVar1);
}
FUN_00110fa6(param_1)... | (translation_unit "void FUN_00126386(long param_1)\n\n{\n undefined8 *puVar1;\n \n while (*(long *)(param_1 + 0x48) != 0) {\n puVar1 = *(undefined8 **)(param_1 + 0x48);\n *(undefined8 *)(param_1 + 0x48) = *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x28);\n FUN_00110fa6(*puVar1);\n FUN_00110fa6(puVar1);\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
JMP 0x001263cf
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x48]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x48]
MOV RDX,qword ptr [RAX + 0x28]
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RAX ... |
void function_1(type_1 *xfer)
{
type_2 *ptr;
type_1 *xfer_local;
type_2 *rr;
while (xfer->head != (type_2 *)0x0) {
ptr = xfer->head;
xfer->head = xfer->head->next;
var_1(ptr->buffer);
var_1(ptr);
}
var_1(xfer);
return;
}
| (translation_unit "void xfer_cleanup(fxp_xfer *xfer)\n\n{\n req *ptr;\n fxp_xfer *xfer_local;\n req *rr;\n \n while (xfer->head != (req *)0x0) {\n ptr = xfer->head;\n xfer->head = xfer->head->next;\n safefree(ptr->buffer);\n safefree(ptr);\n }\n safefree(xfer);\n return;\n}\n\n" (function_definition... | (translation_unit "void function_1(type_1 *xfer)\n\n{\n type_2 *ptr;\n type_1 *xfer_local;\n type_2 *rr;\n \n while (xfer->head != (type_2 *)0x0) {\n ptr = xfer->head;\n xfer->head = xfer->head->next;\n var_1(ptr->buffer);\n var_1(ptr);\n }\n var_1(xfer);\n return;\n}\n\n" (function_definition "void... | (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... |
589_psftp_and_psftp_strip.c | sshfwd_write | FUN_001336c2 | sshfwd_write |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int sshfwd_write(ssh_channel *c,char *buf,int len)
{
int iVar1;
int len_local;
char *buf_local;
ssh_channel *c_local;
Ssh_conflict ssh;
if (c->ssh->state == CHAN_SHARING) {
iVar1 = 0;
}
else {
iVar1 = ssh_send_channel... |
undefined8 FUN_001336c2(long *param_1,undefined8 param_2,undefined4 param_3)
{
undefined8 uVar1;
if (*(int *)(*param_1 + 0x1d0) == 4) {
uVar1 = 0;
}
else {
uVar1 = FUN_0013c0bc(param_1,param_2,param_3);
}
return uVar1;
}
| (translation_unit "undefined8 FUN_001336c2(long *param_1,undefined8 param_2,undefined4 param_3)\n\n{\n undefined8 uVar1;\n \n if (*(int *)(*param_1 + 0x1d0) == 4) {\n uVar1 = 0;\n }\n else {\n uVar1 = FUN_0013c0bc(param_1,param_2,param_3);\n }\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_00... | 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 RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x1d0]
CMP EAX,0x4
JNZ 0x001336f6
MOV EAX,0x0
J... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 *c,char *buf,int len)
{
int iVar1;
int len_local;
char *buf_local;
type_1 *c_local;
type_2 ssh;
if (c->ssh->state == var_1) {
iVar1 = 0;
}
else {
iVar1 = var_2(c,buf,len);
}
return iVar1;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint sshfwd_write(ssh_channel *c,char *buf,int len)\n\n{\n int iVar1;\n int len_local;\n char *buf_local;\n ssh_channel *c_local;\n Ssh_conflict ssh;\n \n if (c->ssh->state == CHAN_SHARING) {\n iVar1 = 0;\n }\n els... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 *c,char *buf,int len)\n\n{\n int iVar1;\n int len_local;\n char *buf_local;\n type_1 *c_local;\n type_2 ssh;\n \n if (c->ssh->state == var_1) {\n iVar1 = 0;\n }\n else {\n iVar1 = var_2(c,... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator... |
748_psftp_and_psftp_strip.c | blowfish_sesskey | FUN_00150fe8 | blowfish_sesskey |
void blowfish_sesskey(void *handle,uchar *key)
{
long lVar1;
ulong uVar2;
undefined8 *puVar3;
undefined8 *puVar4;
byte bVar5;
uchar *key_local;
void *handle_local;
BlowfishContext *ctx;
bVar5 = 0;
blowfish_setkey((BlowfishContext *)handle,key,0x20);
*(undefined4 *)((long)handle + 0x1048) = 0;... |
void FUN_00150fe8(undefined8 *param_1,undefined8 param_2)
{
long lVar1;
ulong uVar2;
undefined8 *puVar3;
undefined8 *puVar4;
byte bVar5;
bVar5 = 0;
FUN_00150e40(param_1,param_2,0x20);
*(undefined4 *)(param_1 + 0x209) = 0;
*(undefined4 *)((long)param_1 + 0x104c) = 0;
param_1[0x20a] = *param_1;
... | (translation_unit "void FUN_00150fe8(undefined8 *param_1,undefined8 param_2)\n\n{\n long lVar1;\n ulong uVar2;\n undefined8 *puVar3;\n undefined8 *puVar4;\n byte bVar5;\n \n bVar5 = 0;\n FUN_00150e40(param_1,param_2,0x20);\n *(undefined4 *)(param_1 + 0x209) = 0;\n *(undefined4 *)((long)param_1 + 0x104c) = 0;\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RCX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,0x20
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00150e40
MOV RAX,qword ptr [RBP + -0x8]
MOV dword pt... |
void function_1(void *handle,type_1 *key)
{
long var_2;
type_2 var_3;
type_3 *var_4;
type_3 *var_5;
type_4 bVar5;
type_1 *key_local;
void *handle_local;
type_5 *ctx;
bVar5 = 0;
var_1((type_5 *)handle,key,0x20);
*(type_6 *)((long)handle + 0x1048) = 0;
*(type_6 *)((long)handle + 0x104c) = 0;
... | (translation_unit "void blowfish_sesskey(void *handle,uchar *key)\n\n{\n long lVar1;\n ulong uVar2;\n undefined8 *puVar3;\n undefined8 *puVar4;\n byte bVar5;\n uchar *key_local;\n void *handle_local;\n BlowfishContext *ctx;\n \n bVar5 = 0;\n blowfish_setkey((BlowfishContext *)handle,key,0x20);\n *(undefined... | (translation_unit "void function_1(void *handle,type_1 *key)\n\n{\n long var_2;\n type_2 var_3;\n type_3 *var_4;\n type_3 *var_5;\n type_4 bVar5;\n type_1 *key_local;\n void *handle_local;\n type_5 *ctx;\n \n bVar5 = 0;\n var_1((type_5 *)handle,key,0x20);\n *(type_6 *)((long)handle + 0x1048) = 0;\n *(type_... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1306_pterm_and_pterm_strip.c | wc_to_mb | FUN_00169555 | wc_to_mb |
wchar_t wc_to_mb(wchar_t codepage,wchar_t flags,wchar_t *wcstr,wchar_t wclen,char *mbstr,
wchar_t mblen,char *defchr,wchar_t *defused,unicode_data *ucsdata)
{
long lVar1;
wchar_t wVar2;
size_t sVar3;
long in_FS_OFFSET;
unicode_data *ucsdata_local;
wchar_t *defused_local;
char *defchr_loc... |
ulong FUN_00169555(int param_1,undefined4 param_2,wchar_t *param_3,int param_4,long param_5,
int param_6,undefined *param_7,undefined4 *param_8)
{
size_t sVar1;
ulong uVar2;
long in_FS_OFFSET;
int local_5c;
wchar_t *local_58;
undefined4 local_50;
int local_4c;
uint local_3c;
uint l... | (translation_unit "ulong FUN_00169555(int param_1,undefined4 param_2,wchar_t *param_3,int param_4,long param_5,\n int param_6,undefined *param_7,undefined4 *param_8)\n\n{\n size_t sVar1;\n ulong uVar2;\n long in_FS_OFFSET;\n int local_5c;\n wchar_t *local_58;\n undefined4 local_50;\n int local_4... | PUSH RBP
MOV RBP,RSP
ADD RSP,-0x80
MOV dword ptr [RBP + -0x44],EDI
MOV dword ptr [RBP + -0x48],ESI
MOV qword ptr [RBP + -0x50],RDX
MOV dword ptr [RBP + -0x54],ECX
MOV qword ptr [RBP + -0x60],R8
MOV dword ptr [RBP + -0x58],R9D
MOV RAX,qword ptr [RBP + 0x10]
MOV qword ptr [RBP + -0x68],RAX
MOV RAX,qword ptr [RBP + 0x18]
... |
type_1 function_1(type_1 var_3,type_1 flags,type_1 *wcstr,type_1 wclen,char *var_11,
type_1 var_9,char *var_14,type_1 *var_2,type_2 *ucsdata)
{
long var_16;
type_1 wVar2;
size_t sVar3;
long var_1;
type_2 *ucsdata_local;
type_1 *defused_local;
char *defchr_local;
char *mbstr_local;
ty... | (translation_unit "wchar_t wc_to_mb(wchar_t codepage,wchar_t flags,wchar_t *wcstr,wchar_t wclen,char *mbstr,\n wchar_t mblen,char *defchr,wchar_t *defused,unicode_data *ucsdata)\n\n{\n long lVar1;\n wchar_t wVar2;\n size_t sVar3;\n long in_FS_OFFSET;\n unicode_data *ucsdata_local;\n wchar_t *defuse... | (translation_unit "type_1 function_1(type_1 var_3,type_1 flags,type_1 *wcstr,type_1 wclen,char *var_11,\n type_1 var_9,char *var_14,type_1 *var_2,type_2 *ucsdata)\n\n{\n long var_16;\n type_1 wVar2;\n size_t sVar3;\n long var_1;\n type_2 *ucsdata_local;\n type_1 *defused_local;\n char *defchr_loca... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration ty... |
467_psftp_and_psftp_strip.c | fxp_get_userdata | FUN_00125a6b | fxp_get_userdata |
void * fxp_get_userdata(sftp_request *req)
{
sftp_request *req_local;
return req->userdata;
}
|
undefined8 FUN_00125a6b(long param_1)
{
return *(undefined8 *)(param_1 + 8);
}
| (translation_unit "undefined8 FUN_00125a6b(long param_1)\n\n{\n return *(undefined8 *)(param_1 + 8);\n}\n\n" (function_definition "undefined8 FUN_00125a6b(long param_1)\n\n{\n return *(undefined8 *)(param_1 + 8);\n}" type_identifier (function_declarator "FUN_00125a6b(long param_1)" identifier (parameter_list "(long p... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
POP RBP
RET |
void * function_1(type_1 *req)
{
type_1 *req_local;
return req->userdata;
}
| (translation_unit "void * fxp_get_userdata(sftp_request *req)\n\n{\n sftp_request *req_local;\n \n return req->userdata;\n}\n\n" (function_definition "void * fxp_get_userdata(sftp_request *req)\n\n{\n sftp_request *req_local;\n \n return req->userdata;\n}" primitive_type (pointer_declarator "* fxp_get_userdata(sf... | (translation_unit "void * function_1(type_1 *req)\n\n{\n type_1 *req_local;\n \n return req->userdata;\n}\n\n" (function_definition "void * function_1(type_1 *req)\n\n{\n type_1 *req_local;\n \n return req->userdata;\n}" primitive_type (pointer_declarator "* function_1(type_1 *req)" * (function_declarator "functi... | (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... |
154_psftp_and_psftp_strip.c | cmdline_process_param | FUN_0010938d | cmdline_process_param |
int cmdline_process_param(char *p,char *value,int need_save,Conf *conf)
{
char cVar1;
int iVar2;
char *pcVar3;
char *value_00;
FILE *__stream;
Filename *pFVar4;
size_t sVar5;
Conf *conf_local;
int need_save_local;
char *value_local;
char *p_local;
char type;
int ret;
int cmdlen;
int cmds... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
undefined4 FUN_0010938d(char *param_1,char *param_2,int param_3,undefined8 param_4)
{
char cVar1;
int iVar2;
undefined8 uVar3;
long lVar4;
FILE *__stream;
char *pcVar5;
size_t sVar6;
undefined8 uVar7;
undefined4 lo... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined4 FUN_0010938d(char *param_1,char *param_2,int param_3,undefined8 param_4)\n\n{\n char cVar1;\n int iVar2;\n undefined8 uVar3;\n long lVar4;\n FILE *__stream;\n char *pcVar5;\n size_t sVar6;\n und... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xd0
MOV qword ptr [RBP + -0xb8],RDI
MOV qword ptr [RBP + -0xc0],RSI
MOV dword ptr [RBP + -0xc4],EDX
MOV qword ptr [RBP + -0xd0],RCX
MOV dword ptr [RBP + -0xa0],0x0
MOV RAX,qword ptr [RBP + -0xb8]
LEA RSI,[0x1930ff]
MOV RDI,RAX
CALL 0x001084c0
TEST EAX,EAX
JNZ 0x0010944b
CMP qword ptr [RBP ... |
int function_1(char *p,char *var_3,int var_4,type_1 *conf)
{
char cVar1;
int var_2;
char *var_20;
char *value_00;
type_2 *var_24;
type_3 *pFVar4;
size_t sVar5;
type_1 *conf_local;
int need_save_local;
char *value_local;
char *p_local;
char type;
int ret;
int var_27;
int var_26;
int d;
... | (translation_unit "int cmdline_process_param(char *p,char *value,int need_save,Conf *conf)\n\n{\n char cVar1;\n int iVar2;\n char *pcVar3;\n char *value_00;\n FILE *__stream;\n Filename *pFVar4;\n size_t sVar5;\n Conf *conf_local;\n int need_save_local;\n char *value_local;\n char *p_local;\n char type;\n ... | (translation_unit "int function_1(char *p,char *var_3,int var_4,type_1 *conf)\n\n{\n char cVar1;\n int var_2;\n char *var_20;\n char *value_00;\n type_2 *var_24;\n type_3 *pFVar4;\n size_t sVar5;\n type_1 *conf_local;\n int need_save_local;\n char *value_local;\n char *p_local;\n char type;\n int ret;\n i... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
271_psftp_and_psftp_strip.c | new_portfwd_state | FUN_001119cf | new_portfwd_state |
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
PortForwarding * new_portfwd_state(void)
{
PortForwarding *pPVar1;
PortForwarding *pf;
pPVar1 = (PortForwarding *)safemalloc(1,0x60);
pPVar1->hostname = (char *)0x0;
pPVar1->socksbuf = (cha... |
long FUN_001119cf(void)
{
long lVar1;
lVar1 = FUN_00110d9a(1,0x60);
*(undefined8 *)(lVar1 + 0x30) = 0;
*(undefined8 *)(lVar1 + 0x40) = 0;
*(undefined4 *)(lVar1 + 0x4c) = 0;
*(undefined4 *)(lVar1 + 0x48) = *(undefined4 *)(lVar1 + 0x4c);
*(undefined8 *)(lVar1 + 0x50) = 0;
return lVar1;
}
| (translation_unit "long FUN_001119cf(void)\n\n{\n long lVar1;\n \n lVar1 = FUN_00110d9a(1,0x60);\n *(undefined8 *)(lVar1 + 0x30) = 0;\n *(undefined8 *)(lVar1 + 0x40) = 0;\n *(undefined4 *)(lVar1 + 0x4c) = 0;\n *(undefined4 *)(lVar1 + 0x48) = *(undefined4 *)(lVar1 + 0x4c);\n *(undefined8 *)(lVar1 + 0x50) = 0;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV ESI,0x60
MOV EDI,0x1
CALL 0x00110d9a
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX + 0x30],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX + 0x40],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x4c],0x0
MOV RAX,qword ptr [RBP + -0x... |
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(void)
{
type_1 *pPVar1;
type_1 *pf;
pPVar1 = (type_1 *)var_1(1,0x60);
pPVar1->hostname = (char *)0x0;
pPVar1->socksbuf = (char *)0x0;
pPVar1->sockssize = 0;
pPVar1->... | (translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nPortForwarding * new_portfwd_state(void)\n\n{\n PortForwarding *pPVar1;\n PortForwarding *pf;\n \n pPVar1 = (PortForwarding *)safemalloc(1,0x60);\n pPVar1->hostname = (char *)0x... | (translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(void)\n\n{\n type_1 *pPVar1;\n type_1 *pf;\n \n pPVar1 = (type_1 *)var_1(1,0x60);\n pPVar1->hostname = (char *)0x0;\n pPVar1->socksbuf = (char *)0x0;\n pPV... | (translation_unit (comment) (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) declar... |
1194_pterm_and_pterm_strip.c | get_monitor_geometry | FUN_001632af | get_monitor_geometry |
void get_monitor_geometry(GtkWidget *widget,GdkRectangle_conflict *geometry)
{
undefined8 uVar1;
long lVar2;
GdkRectangle_conflict *geometry_local;
GtkWidget *widget_local;
GdkMonitor *monitor;
GdkDisplay *display;
GdkWindow *gdkwindow;
uVar1 = gtk_widget_get_display(widget);
lVar2 = gtk_widget_g... |
void FUN_001632af(undefined8 param_1,undefined8 param_2)
{
undefined8 uVar1;
long lVar2;
undefined8 local_20;
uVar1 = gtk_widget_get_display(param_1);
lVar2 = gtk_widget_get_window(param_1);
if (lVar2 == 0) {
local_20 = gdk_display_get_monitor(uVar1,0);
}
else {
local_20 = gdk_display_get_m... | (translation_unit "void FUN_001632af(undefined8 param_1,undefined8 param_2)\n\n{\n undefined8 uVar1;\n long lVar2;\n undefined8 local_20;\n \n uVar1 = gtk_widget_get_display(param_1);\n lVar2 = gtk_widget_get_window(param_1);\n if (lVar2 == 0) {\n local_20 = gdk_display_get_monitor(uVar1,0);\n }\n else {\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr [RBP + -0x28]
MOV RDI,RAX
CALL 0x0010f7d0
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x28]
MOV RDI,RAX
CALL 0x0010f5a0
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JZ 0x001... |
void function_1(type_1 *widget,type_2 *geometry)
{
type_3 uVar1;
long var_3;
type_2 *geometry_local;
type_1 *widget_local;
type_4 *monitor;
type_5 *display;
type_6 *gdkwindow;
uVar1 = var_1(widget);
var_3 = var_2(widget);
if (var_3 == 0) {
monitor = (type_4 *)var_4(uVar1,0);
}
else {
... | (translation_unit "void get_monitor_geometry(GtkWidget *widget,GdkRectangle_conflict *geometry)\n\n{\n undefined8 uVar1;\n long lVar2;\n GdkRectangle_conflict *geometry_local;\n GtkWidget *widget_local;\n GdkMonitor *monitor;\n GdkDisplay *display;\n GdkWindow *gdkwindow;\n \n uVar1 = gtk_widget_get_display(wi... | (translation_unit "void function_1(type_1 *widget,type_2 *geometry)\n\n{\n type_3 uVar1;\n long var_3;\n type_2 *geometry_local;\n type_1 *widget_local;\n type_4 *monitor;\n type_5 *display;\n type_6 *gdkwindow;\n \n uVar1 = var_1(widget);\n var_3 = var_2(widget);\n if (var_3 == 0) {\n monitor = (type_4 *... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
645_psftp_and_psftp_strip.c | ssh_channel_got_eof | FUN_0013d364 | ssh_channel_got_eof |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_channel_got_eof(ssh_channel *c)
{
Ssh_conflict psVar1;
int iVar2;
ssh_channel *c_local;
Ssh_conflict ssh;
if ((c->closes & 4U) == 0) {
c->closes = c->closes | 4;
if (c->type == 1) {
if ((c->u).a.inbuffer.head... |
void FUN_0013d364(long *param_1)
{
long lVar1;
int iVar2;
if ((*(uint *)(param_1 + 3) & 4) == 0) {
*(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) | 4;
if (*(int *)(param_1 + 2) == 1) {
if (param_1[0xe] == 0) {
/* WARNING: Subroutine does not return */
__assert_fail(... | (translation_unit "void FUN_0013d364(long *param_1)\n\n{\n long lVar1;\n int iVar2;\n \n if ((*(uint *)(param_1 + 3) & 4) == 0) {\n *(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) | 4;\n if (*(int *)(param_1 + 2) == 1) {\n if (param_1[0xe] == 0) {\n /* WARNING: Subroutine does not retu... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x18]
AND EAX,0x4
TEST EAX,EAX
JNZ 0x0013d4ae
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x18]
OR EAX,0x4
MOV EDX,EAX
MOV RAX,qword ptr [RBP + -0x18]
MOV dword ptr [RAX + 0x18],EDX
MO... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *c)
{
type_2 psVar1;
int var_6;
type_1 *c_local;
type_2 ssh;
if ((c->closes & 4U) == 0) {
c->closes = c->closes | 4;
if (c->type == 1) {
if ((c->u).a.inbuffer.head == (type_3 *)0x0) {
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_channel_got_eof(ssh_channel *c)\n\n{\n Ssh_conflict psVar1;\n int iVar2;\n ssh_channel *c_local;\n Ssh_conflict ssh;\n \n if ((c->closes & 4U) == 0) {\n c->closes = c->closes | 4;\n if (c->type == 1) {\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *c)\n\n{\n type_2 psVar1;\n int var_6;\n type_1 *c_local;\n type_2 ssh;\n \n if ((c->closes & 4U) == 0) {\n c->closes = c->closes | 4;\n if (c->type == 1) {\n if ((c->u).a.inbuffer.head... | (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... |
497_psftp_and_psftp_strip.c | ssh_rportcmp_ssh2 | FUN_0012707a | ssh_rportcmp_ssh2 |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int ssh_rportcmp_ssh2(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
int i;
ssh_rportfwd *a;
ssh_rportfwd *b;
iVar1 = strcmp(*(char **)((long)av + 8),*(char **)((long)bv + 8));
if (iVar1 == 0) {
... |
undefined8 FUN_0012707a(uint *param_1,uint *param_2)
{
int iVar1;
undefined8 uVar2;
iVar1 = strcmp(*(char **)(param_1 + 2),*(char **)(param_2 + 2));
if (iVar1 == 0) {
if (*param_2 < *param_1) {
uVar2 = 1;
}
else if (*param_1 < *param_2) {
uVar2 = 0xffffffff;
}
else {
u... | (translation_unit "undefined8 FUN_0012707a(uint *param_1,uint *param_2)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n iVar1 = strcmp(*(char **)(param_1 + 2),*(char **)(param_2 + 2));\n if (iVar1 == 0) {\n if (*param_2 < *param_1) {\n uVar2 = 1;\n }\n else if (*param_1 < *param_2) {\n uVar2 = 0xffff... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x30]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RAX + 0x8]
MOV RAX,qword ptr [RBP + -0x10]
MO... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *av,void *bv)
{
int var_2;
void *bv_local;
void *av_local;
int i;
type_1 *a;
type_1 *b;
var_2 = var_1(*(char **)((long)av + 8),*(char **)((long)bv + 8));
if (var_2 == 0) {
/* WARNING: L... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ssh_rportcmp_ssh2(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n int i;\n ssh_rportfwd *a;\n ssh_rportfwd *b;\n \n iVar1 = strcmp(*(char **)((long)av + 8),*(char **)((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 var_2;\n void *bv_local;\n void *av_local;\n int i;\n type_1 *a;\n type_1 *b;\n \n var_2 = var_1(*(char **)((long)av + 8),*(char **)((long)bv + 8));\n if (var_2 == 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:... |
746_psftp_and_psftp_strip.c | blowfish256_key | FUN_00150efc | blowfish256_key |
void blowfish256_key(void *handle,uchar *key)
{
uchar *key_local;
void *handle_local;
BlowfishContext *ctx;
blowfish_setkey((BlowfishContext *)handle,key,0x20);
return;
}
|
void FUN_00150efc(undefined8 param_1,undefined8 param_2)
{
FUN_00150e40(param_1,param_2,0x20);
return;
}
| (translation_unit "void FUN_00150efc(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00150e40(param_1,param_2,0x20);\n return;\n}\n\n" (function_definition "void FUN_00150efc(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00150e40(param_1,param_2,0x20);\n return;\n}" primitive_type (function_declarator "FUN_00... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RCX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,0x20
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00150e40
NOP
LEAVE
RET |
void function_1(void *handle,type_1 *key)
{
type_1 *key_local;
void *handle_local;
type_2 *ctx;
var_1((type_2 *)handle,key,0x20);
return;
}
| (translation_unit "void blowfish256_key(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n BlowfishContext *ctx;\n \n blowfish_setkey((BlowfishContext *)handle,key,0x20);\n return;\n}\n\n" (function_definition "void blowfish256_key(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void ... | (translation_unit "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handle_local;\n type_2 *ctx;\n \n var_1((type_2 *)handle,key,0x20);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handle_local;\n type_2 *ctx;\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
407_psftp_and_psftp_strip.c | sftp_pkt_adduint32 | FUN_001235c5 | sftp_pkt_adduint32 |
void sftp_pkt_adduint32(sftp_packet *pkt,ulong value)
{
long lVar1;
long in_FS_OFFSET;
ulong value_local;
sftp_packet *pkt_local;
uchar x [4];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
x[0] = (uchar)(value >> 0x18);
x[1] = (uchar)(value >> 0x10);
x[2] = (uchar)(value >> 8);
x[3] = (uchar)value;
... |
void FUN_001235c5(undefined8 param_1,undefined8 param_2)
{
long in_FS_OFFSET;
undefined local_14;
undefined local_13;
undefined local_12;
undefined local_11;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_14 = (undefined)((ulong)param_2 >> 0x18);
local_13 = (undefined)((ulong)par... | (translation_unit "void FUN_001235c5(undefined8 param_1,undefined8 param_2)\n\n{\n long in_FS_OFFSET;\n undefined local_14;\n undefined local_13;\n undefined local_12;\n undefined local_11;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_14 = (undefined)((ulong)param_2 >> 0x18);\n loc... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x20]
SHR RAX,0x18
MOV byte ptr [RBP + -0xc],AL
MOV RAX,qword ptr [RBP + -0x20]
SHR RAX,0x10
MOV byte ptr [RBP + -0xb],AL
MOV... |
void function_1(type_1 *pkt,type_2 var_2)
{
long var_4;
long var_1;
type_2 value_local;
type_1 *pkt_local;
type_3 x [4];
var_4 = *(long *)(var_1 + 0x28);
x[0] = (type_3)(var_2 >> 0x18);
x[1] = (type_3)(var_2 >> 0x10);
x[2] = (type_3)(var_2 >> 8);
x[3] = (type_3)var_2;
var_3(pkt,x,4);
if (va... | (translation_unit "void sftp_pkt_adduint32(sftp_packet *pkt,ulong value)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n ulong value_local;\n sftp_packet *pkt_local;\n uchar x [4];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n x[0] = (uchar)(value >> 0x18);\n x[1] = (uchar)(value >> 0x10);\n x[2] = (uchar)(value >... | (translation_unit "void function_1(type_1 *pkt,type_2 var_2)\n\n{\n long var_4;\n long var_1;\n type_2 value_local;\n type_1 *pkt_local;\n type_3 x [4];\n \n var_4 = *(long *)(var_1 + 0x28);\n x[0] = (type_3)(var_2 >> 0x18);\n x[1] = (type_3)(var_2 >> 0x10);\n x[2] = (type_3)(var_2 >> 8);\n x[3] = (type_3)va... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.