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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
635_psftp_and_psftp_strip.c | ssh2_msg_channel_response | FUN_0013cac8 | ssh2_msg_channel_response |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_msg_channel_response(Ssh_conflict ssh,Packet *pktin)
{
outstanding_channel_request *ptr;
ssh_channel *c_00;
Packet *pktin_local;
Ssh_conflict ssh_local;
ssh_channel *c;
outstanding_channel_request *ocr;
c_00 = ssh_cha... |
void FUN_0013cac8(undefined8 param_1,undefined8 param_2)
{
undefined8 *puVar1;
long lVar2;
lVar2 = FUN_0013c89f(param_1,param_2);
if (lVar2 != 0) {
puVar1 = *(undefined8 **)(lVar2 + 0x58);
if (puVar1 == (undefined8 *)0x0) {
FUN_001455a1(param_1,param_2);
}
else {
(*(code *)*puVa... | (translation_unit "void FUN_0013cac8(undefined8 param_1,undefined8 param_2)\n\n{\n undefined8 *puVar1;\n long lVar2;\n \n lVar2 = FUN_0013c89f(param_1,param_2);\n if (lVar2 != 0) {\n puVar1 = *(undefined8 **)(lVar2 + 0x58);\n if (puVar1 == (undefined8 *)0x0) {\n FUN_001455a1(param_1,param_2);\n }\n ... | 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 + -0x10],RAX
CMP qword ptr [RBP + -0x10],0x0
JZ 0x0013cb64
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pktin)
{
type_3 *var_3;
type_4 *var_2;
type_2 *pktin_local;
type_1 ssh_local;
type_4 *c;
type_3 *ocr;
var_2 = var_1(ssh,pktin);
if (var_2 != (type_4 *)0x0) {
var_3 = (var_2->v).v2.chanre... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_msg_channel_response(Ssh_conflict ssh,Packet *pktin)\n\n{\n outstanding_channel_request *ptr;\n ssh_channel *c_00;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n ssh_channel *c;\n outstanding_channel_reque... | (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_3;\n type_4 *var_2;\n type_2 *pktin_local;\n type_1 ssh_local;\n type_4 *c;\n type_3 *ocr;\n \n var_2 = var_1(ssh,pktin);\n if (var_2 != (type_4 *)0x0) {\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... |
806_psftp_and_psftp_strip.c | chacha20_encrypt | FUN_0015759d | chacha20_encrypt |
void chacha20_encrypt(chacha20 *ctx,uchar *blk,int len)
{
int iVar1;
int len_local;
uchar *blk_local;
chacha20 *ctx_local;
len_local = len;
blk_local = blk;
while (len_local != 0) {
if (0x3f < ctx->currentIndex) {
chacha20_round(ctx);
}
for (; (ctx->currentIndex < 0x40 && (len_local... |
void FUN_0015759d(long param_1,byte *param_2,int param_3)
{
int iVar1;
int local_1c;
byte *local_18;
local_1c = param_3;
local_18 = param_2;
while (local_1c != 0) {
if (0x3f < *(int *)(param_1 + 0x80)) {
FUN_00156beb(param_1);
}
for (; (*(int *)(param_1 + 0x80) < 0x40 && (local_1c != ... | (translation_unit "void FUN_0015759d(long param_1,byte *param_2,int param_3)\n\n{\n int iVar1;\n int local_1c;\n byte *local_18;\n \n local_1c = param_3;\n local_18 = param_2;\n while (local_1c != 0) {\n if (0x3f < *(int *)(param_1 + 0x80)) {\n FUN_00156beb(param_1);\n }\n for (; (*(int *)(param_1 ... | 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
JMP 0x0015761d
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x80]
CMP EAX,0x3f
JLE 0x00157608
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00156beb
JMP 0x00157608
MOV RAX,qwor... |
void function_1(type_1 *ctx,type_2 *blk,int len)
{
int var_3;
int var_1;
type_2 *var_4;
type_1 *ctx_local;
var_1 = len;
var_4 = blk;
while (var_1 != 0) {
if (0x3f < ctx->currentIndex) {
var_2(ctx);
}
for (; (ctx->currentIndex < 0x40 && (var_1 != 0)); var_1 = var_1 + -1) {
var_... | (translation_unit "void chacha20_encrypt(chacha20 *ctx,uchar *blk,int len)\n\n{\n int iVar1;\n int len_local;\n uchar *blk_local;\n chacha20 *ctx_local;\n \n len_local = len;\n blk_local = blk;\n while (len_local != 0) {\n if (0x3f < ctx->currentIndex) {\n chacha20_round(ctx);\n }\n for (; (ctx->c... | (translation_unit "void function_1(type_1 *ctx,type_2 *blk,int len)\n\n{\n int var_3;\n int var_1;\n type_2 *var_4;\n type_1 *ctx_local;\n \n var_1 = len;\n var_4 = blk;\n while (var_1 != 0) {\n if (0x3f < ctx->currentIndex) {\n var_2(ctx);\n }\n for (; (ctx->currentIndex < 0x40 && (var_1 != 0)); ... | (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... |
191_psftp_and_psftp_strip.c | proxy_socks5_selectchap | FUN_0010d779 | proxy_socks5_selectchap |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int proxy_socks5_selectchap(Proxy_Socket p)
{
long lVar1;
char *__s;
char *pcVar2;
size_t sVar3;
long in_FS_OFFSET;
Proxy_Socket p_local;
int ulen;
char *username;
char *password;
char chapbuf [514];
lVar1 = *(long *)(i... |
undefined8 FUN_0010d779(long param_1)
{
char *__s;
char *pcVar1;
size_t sVar2;
long in_FS_OFFSET;
int local_22c;
undefined local_218;
undefined local_217;
undefined local_216;
undefined local_215;
undefined local_214;
undefined local_213;
undefined local_212;
undefined auStack_211 [513];
l... | (translation_unit "undefined8 FUN_0010d779(long param_1)\n\n{\n char *__s;\n char *pcVar1;\n size_t sVar2;\n long in_FS_OFFSET;\n int local_22c;\n undefined local_218;\n undefined local_217;\n undefined local_216;\n undefined local_215;\n undefined local_214;\n undefined local_213;\n undefined local_212;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x240
MOV qword ptr [RBP + -0x238],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x238]
MOV RAX,qword ptr [RAX + 0xd0]
MOV ESI,0x10
MOV RDI,RAX
CALL 0x0010bd08
MOV qword ptr [RBP + -0x220],RAX
MOV RAX,qword ptr [RBP + -0x238]
MOV RAX,qw... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 p)
{
long var_7;
char *__s;
char *pcVar2;
size_t sVar3;
long var_1;
type_1 p_local;
int var_4;
char *username;
char *password;
char var_6 [514];
var_7 = *(long *)(var_1 + 0x28);
__s = var_2(p->co... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint proxy_socks5_selectchap(Proxy_Socket p)\n\n{\n long lVar1;\n char *__s;\n char *pcVar2;\n size_t sVar3;\n long in_FS_OFFSET;\n Proxy_Socket p_local;\n int ulen;\n char *username;\n char *password;\n char chapbuf... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 p)\n\n{\n long var_7;\n char *__s;\n char *pcVar2;\n size_t sVar3;\n long var_1;\n type_1 p_local;\n int var_4;\n char *username;\n char *password;\n char var_6 [514];\n \n var_7 = *(long *)(... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identi... |
433_psftp_and_psftp_strip.c | fxp_init | FUN_001245da | fxp_init |
/* WARNING: Unknown calling convention */
int fxp_init(void)
{
int iVar1;
long in_FS_OFFSET;
ulong remotever;
sftp_packet *pktout;
sftp_packet *pktin;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
pktout = sftp_pkt_init(1);
sftp_pkt_adduint32(pktout,3);
sftp_send(pktout);
pktin =... |
undefined8 FUN_001245da(void)
{
int iVar1;
undefined8 uVar2;
long in_FS_OFFSET;
ulong local_28;
undefined8 local_20;
long local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_20 = FUN_0012363b(1);
FUN_001235c5(local_20,3);
FUN_00123f4b(local_20);
local_18 = FUN_00123fec... | (translation_unit "undefined8 FUN_001245da(void)\n\n{\n int iVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n ulong local_28;\n undefined8 local_20;\n long local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_20 = FUN_0012363b(1);\n FUN_001235c5(local_20,3);\n FUN_00123f4b(loca... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EDI,0x1
CALL 0x0012363b
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV ESI,0x3
MOV RDI,RAX
CALL 0x001235c5
MOV RAX,qword ptr [RBP + -0x18]
MOV RDI,RAX
CALL 0x00123f4b
CALL 0x00123fec
MOV qwo... |
/* WARNING: Unknown calling convention */
int function_1(void)
{
int var_9;
long var_1;
type_1 var_11;
type_2 *pktout;
type_2 *var_6;
long var_12;
var_12 = *(long *)(var_1 + 0x28);
pktout = var_2(1);
var_3(pktout,3);
var_4(pktout);
var_6 = var_5();
if (var_6 == (type_2 *)0x0) {
var_7("... | (translation_unit "/* WARNING: Unknown calling convention */\n\nint fxp_init(void)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n ulong remotever;\n sftp_packet *pktout;\n sftp_packet *pktin;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n pktout = sftp_pkt_init(1);\n sftp_pkt_adduint32(pktout,3)... | (translation_unit "/* WARNING: Unknown calling convention */\n\nint function_1(void)\n\n{\n int var_9;\n long var_1;\n type_1 var_11;\n type_2 *pktout;\n type_2 *var_6;\n long var_12;\n \n var_12 = *(long *)(var_1 + 0x28);\n pktout = var_2(1);\n var_3(pktout,3);\n var_4(pktout);\n var_6 = var_5();\n if (va... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized... |
791_psftp_and_psftp_strip.c | bigmul | FUN_00155c51 | bigmul |
Bignum_conflict bigmul(Bignum_conflict a,Bignum_conflict b)
{
Bignum_conflict pBVar1;
Bignum_conflict b_local;
Bignum_conflict a_local;
pBVar1 = bigmuladd(a,b,(Bignum_conflict)0x0);
return pBVar1;
}
|
void FUN_00155c51(undefined8 param_1,undefined8 param_2)
{
FUN_00155854(param_1,param_2,0);
return;
}
| (translation_unit "void FUN_00155c51(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00155854(param_1,param_2,0);\n return;\n}\n\n" (function_definition "void FUN_00155c51(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00155854(param_1,param_2,0);\n return;\n}" primitive_type (function_declarator "FUN_00155c51... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RCX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,0x0
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00155854
LEAVE
RET |
type_1 function_1(type_1 a,type_1 b)
{
type_1 pBVar1;
type_1 b_local;
type_1 a_local;
pBVar1 = var_1(a,b,(type_1)0x0);
return pBVar1;
}
| (translation_unit "Bignum_conflict bigmul(Bignum_conflict a,Bignum_conflict b)\n\n{\n Bignum_conflict pBVar1;\n Bignum_conflict b_local;\n Bignum_conflict a_local;\n \n pBVar1 = bigmuladd(a,b,(Bignum_conflict)0x0);\n return pBVar1;\n}\n\n" (function_definition "Bignum_conflict bigmul(Bignum_conflict a,Bignum_conf... | (translation_unit "type_1 function_1(type_1 a,type_1 b)\n\n{\n type_1 pBVar1;\n type_1 b_local;\n type_1 a_local;\n \n pBVar1 = var_1(a,b,(type_1)0x0);\n return pBVar1;\n}\n\n" (function_definition "type_1 function_1(type_1 a,type_1 b)\n\n{\n type_1 pBVar1;\n type_1 b_local;\n type_1 a_local;\n \n pBVar1 = v... | (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... |
424_psftp_and_psftp_strip.c | sftp_alloc_request | FUN_001241c7 | sftp_alloc_request |
/* WARNING: Unknown calling convention */
sftp_request * sftp_alloc_request(void)
{
void *pvVar1;
long in_FS_OFFSET;
uint i;
uint low;
uint high;
int tsize;
uint mid;
sftp_request *r;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (sftp_requests == (tree234 *)0x0) {
sftp_re... |
int * FUN_001241c7(void)
{
long lVar1;
long in_FS_OFFSET;
int local_2c;
uint local_28;
uint local_24;
uint local_20;
uint local_1c;
int *local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (DAT_001b8d48 == 0) {
DAT_001b8d48 = FUN_00181d4a(FUN_00124125);
}
local_24 =... | (translation_unit "int * FUN_001241c7(void)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n int local_2c;\n uint local_28;\n uint local_24;\n uint local_20;\n uint local_1c;\n int *local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (DAT_001b8d48 == 0) {\n DAT_001b8d48 = FUN_00181d4... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [0x001b8d48]
TEST RAX,RAX
JNZ 0x001241fd
LEA RDI,[0x124125]
CALL 0x00181d4a
MOV qword ptr [0x001b8d48],RAX
MOV RAX,qword ptr [0x001b8d48]
MOV RDI,RAX
CALL 0x00181e8d
MOV dword ptr [RBP + -0x18],EAX... |
/* WARNING: Unknown calling convention */
type_1 * function_1(void)
{
void *var_10;
long var_1;
type_2 i;
type_2 var_6;
type_2 var_5;
int tsize;
type_2 var_8;
type_1 *r;
long var_14;
var_14 = *(long *)(var_1 + 0x28);
if (var_2 == (type_3 *)0x0) {
var_2 = var_3(sftp_reqcmp);
}
var_5 =... | (translation_unit "/* WARNING: Unknown calling convention */\n\nsftp_request * sftp_alloc_request(void)\n\n{\n void *pvVar1;\n long in_FS_OFFSET;\n uint i;\n uint low;\n uint high;\n int tsize;\n uint mid;\n sftp_request *r;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (sftp_request... | (translation_unit "/* WARNING: Unknown calling convention */\n\ntype_1 * function_1(void)\n\n{\n void *var_10;\n long var_1;\n type_2 i;\n type_2 var_6;\n type_2 var_5;\n int tsize;\n type_2 var_8;\n type_1 *r;\n long var_14;\n \n var_14 = *(long *)(var_1 + 0x28);\n if (var_2 == (type_3 *)0x0) {\n var_2 ... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (primitive_type) declarator: (poin... |
451_psftp_and_psftp_strip.c | fxp_stat_recv | FUN_00124f73 | fxp_stat_recv |
int fxp_stat_recv(sftp_packet *pktin,sftp_request *req,fxp_attrs *attrs)
{
int iVar1;
fxp_attrs *attrs_local;
sftp_request *req_local;
sftp_packet *pktin_local;
safefree(req);
if (pktin->type == 0x69) {
iVar1 = sftp_pkt_getattrs(pktin,attrs);
if (iVar1 == 0) {
fxp_internal_error("malforme... |
undefined8 FUN_00124f73(long param_1,undefined8 param_2,undefined8 param_3)
{
int iVar1;
undefined8 uVar2;
FUN_00110fa6(param_2);
if (*(int *)(param_1 + 0x14) == 0x69) {
iVar1 = FUN_00123cff(param_1,param_3);
if (iVar1 == 0) {
FUN_001245a1("malformed SSH_FXP_ATTRS packet");
FUN_00123f15... | (translation_unit "undefined8 FUN_00124f73(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n FUN_00110fa6(param_2);\n if (*(int *)(param_1 + 0x14) == 0x69) {\n iVar1 = FUN_00123cff(param_1,param_3);\n if (iVar1 == 0) {\n FUN_001245a1("malformed SSH_FXP_ATTRS ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [RBP + -0x10]
MOV RDI,RAX
CALL 0x00110fa6
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x14]
CMP EAX,0x69
JNZ 0x00124fe8
MOV RDX,qword ptr [RBP + -0x18]
MOV RAX,q... |
int function_1(type_1 *pktin,type_2 *req,type_3 *attrs)
{
int var_3;
type_3 *attrs_local;
type_2 *req_local;
type_1 *pktin_local;
var_1(req);
if (pktin->type == 0x69) {
var_3 = var_2(pktin,attrs);
if (var_3 == 0) {
var_4("malformed SSH_FXP_ATTRS packet");
var_5(pktin);
var_3 =... | (translation_unit "int fxp_stat_recv(sftp_packet *pktin,sftp_request *req,fxp_attrs *attrs)\n\n{\n int iVar1;\n fxp_attrs *attrs_local;\n sftp_request *req_local;\n sftp_packet *pktin_local;\n \n safefree(req);\n if (pktin->type == 0x69) {\n iVar1 = sftp_pkt_getattrs(pktin,attrs);\n if (iVar1 == 0) {\n ... | (translation_unit "int function_1(type_1 *pktin,type_2 *req,type_3 *attrs)\n\n{\n int var_3;\n type_3 *attrs_local;\n type_2 *req_local;\n type_1 *pktin_local;\n \n var_1(req);\n if (pktin->type == 0x69) {\n var_3 = var_2(pktin,attrs);\n if (var_3 == 0) {\n var_4("malformed SSH_FXP_ATTRS packet");\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... |
387_psftp_and_psftp_strip.c | gppfile | FUN_0011da88 | gppfile |
void gppfile(void *handle,char *name,Conf *conf,int primary)
{
int primary_local;
Conf *conf_local;
char *name_local;
void *handle_local;
Filename *result;
result = read_setting_filename(handle,name);
if (result == (Filename *)0x0) {
result = platform_default_filename(name);
}
conf_set_filena... |
void FUN_0011da88(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)
{
undefined8 local_10;
local_10 = FUN_0018e87c(param_1,param_2);
if (local_10 == 0) {
local_10 = FUN_0018b8dc(param_2);
}
FUN_0010c823(param_3,param_4,local_10);
FUN_00185dc8(local_10);
return;
}
| (translation_unit "void FUN_0011da88(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n undefined8 local_10;\n \n local_10 = FUN_0018e87c(param_1,param_2);\n if (local_10 == 0) {\n local_10 = FUN_0018b8dc(param_2);\n }\n FUN_0010c823(param_3,param_4,local_10);\n FUN_00185dc8(l... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV dword ptr [RBP + -0x2c],ECX
MOV RDX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0018e87c
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0... |
void function_1(void *handle,char *name,type_1 *conf,int primary)
{
int primary_local;
type_1 *conf_local;
char *name_local;
void *handle_local;
type_2 *var_2;
var_2 = var_1(handle,name);
if (var_2 == (type_2 *)0x0) {
var_2 = var_3(name);
}
var_4(conf,primary,var_2);
var_5(var_2);
return;... | (translation_unit "void gppfile(void *handle,char *name,Conf *conf,int primary)\n\n{\n int primary_local;\n Conf *conf_local;\n char *name_local;\n void *handle_local;\n Filename *result;\n \n result = read_setting_filename(handle,name);\n if (result == (Filename *)0x0) {\n result = platform_default_filename... | (translation_unit "void function_1(void *handle,char *name,type_1 *conf,int primary)\n\n{\n int primary_local;\n type_1 *conf_local;\n char *name_local;\n void *handle_local;\n type_2 *var_2;\n \n var_2 = var_1(handle,name);\n if (var_2 == (type_2 *)0x0) {\n var_2 = var_3(name);\n }\n var_4(conf,primary,va... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
438_psftp_and_psftp_strip.c | fxp_opendir_send | FUN_00124a1f | fxp_opendir_send |
sftp_request * fxp_opendir_send(char *path)
{
sftp_request *psVar1;
sftp_packet *pkt;
char *path_local;
sftp_request *req;
sftp_packet *pktout;
psVar1 = sftp_alloc_request();
pkt = sftp_pkt_init(0xb);
sftp_pkt_adduint32(pkt,(ulong)psVar1->id);
sftp_pkt_addstring(pkt,path);
sftp_send(pkt);
ret... |
undefined4 * FUN_00124a1f(undefined8 param_1)
{
undefined4 *puVar1;
undefined8 uVar2;
puVar1 = (undefined4 *)FUN_001241c7();
uVar2 = FUN_0012363b(0xb);
FUN_001235c5(uVar2,*puVar1);
FUN_00123973(uVar2,param_1);
FUN_00123f4b(uVar2);
return puVar1;
}
| (translation_unit "undefined4 * FUN_00124a1f(undefined8 param_1)\n\n{\n undefined4 *puVar1;\n undefined8 uVar2;\n \n puVar1 = (undefined4 *)FUN_001241c7();\n uVar2 = FUN_0012363b(0xb);\n FUN_001235c5(uVar2,*puVar1);\n FUN_00123973(uVar2,param_1);\n FUN_00123f4b(uVar2);\n return puVar1;\n}\n\n" (function_defini... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
CALL 0x001241c7
MOV qword ptr [RBP + -0x10],RAX
MOV EDI,0xb
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 ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x001235c5
MOV RDX,... |
type_1 * function_1(char *path)
{
type_1 *psVar1;
type_2 *pkt;
char *path_local;
type_1 *req;
type_2 *pktout;
psVar1 = var_1();
pkt = var_2(0xb);
var_3(pkt,(type_3)psVar1->id);
var_4(pkt,path);
var_5(pkt);
return psVar1;
}
| (translation_unit "sftp_request * fxp_opendir_send(char *path)\n\n{\n sftp_request *psVar1;\n sftp_packet *pkt;\n char *path_local;\n sftp_request *req;\n sftp_packet *pktout;\n \n psVar1 = sftp_alloc_request();\n pkt = sftp_pkt_init(0xb);\n sftp_pkt_adduint32(pkt,(ulong)psVar1->id);\n sftp_pkt_addstring(pkt,... | (translation_unit "type_1 * function_1(char *path)\n\n{\n type_1 *psVar1;\n type_2 *pkt;\n char *path_local;\n type_1 *req;\n type_2 *pktout;\n \n psVar1 = var_1();\n pkt = var_2(0xb);\n var_3(pkt,(type_3)psVar1->id);\n var_4(pkt,path);\n var_5(pkt);\n return psVar1;\n}\n\n" (function_definition "type_1 * f... | (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... |
564_psftp_and_psftp_strip.c | ssh_set_frozen | FUN_0012e1e5 | ssh_set_frozen |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_set_frozen(Ssh_conflict ssh,int frozen)
{
int frozen_local;
Ssh_conflict ssh_local;
if (ssh->s != (Socket)0x0) {
(*(*ssh->s)->set_frozen)(ssh->s,frozen);
}
ssh->frozen = frozen;
return;
}
|
void FUN_0012e1e5(long param_1,undefined4 param_2)
{
if (*(long *)(param_1 + 0x20) != 0) {
(**(code **)(**(long **)(param_1 + 0x20) + 0x30))(*(undefined8 *)(param_1 + 0x20),param_2);
}
*(undefined4 *)(param_1 + 0x3a8) = param_2;
return;
}
| (translation_unit "void FUN_0012e1e5(long param_1,undefined4 param_2)\n\n{\n if (*(long *)(param_1 + 0x20) != 0) {\n (**(code **)(**(long **)(param_1 + 0x20) + 0x30))(*(undefined8 *)(param_1 + 0x20),param_2);\n }\n *(undefined4 *)(param_1 + 0x3a8) = param_2;\n return;\n}\n\n" (function_definition "void FUN_0012e... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x20]
TEST RAX,RAX
JZ 0x0012e222
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x20]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x30]
MOV RDX,qword ptr ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,int frozen)
{
int frozen_local;
type_1 ssh_local;
if (ssh->s != (type_2)0x0) {
(*(*ssh->s)->set_frozen)(ssh->s,frozen);
}
ssh->frozen = frozen;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_set_frozen(Ssh_conflict ssh,int frozen)\n\n{\n int frozen_local;\n Ssh_conflict ssh_local;\n \n if (ssh->s != (Socket)0x0) {\n (*(*ssh->s)->set_frozen)(ssh->s,frozen);\n }\n ssh->frozen = frozen;\n return;\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,int frozen)\n\n{\n int frozen_local;\n type_1 ssh_local;\n \n if (ssh->s != (type_2)0x0) {\n (*(*ssh->s)->set_frozen)(ssh->s,frozen);\n }\n ssh->frozen = frozen;\n return;\n}\n\n" comment ... | (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... |
305_psftp_and_psftp_strip.c | plug_proxy_accepting | FUN_00113611 | plug_proxy_accepting |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int plug_proxy_accepting(Plug p,accept_fn_t constructor,accept_ctx_t ctx)
{
plug_function_table *ppVar1;
int iVar2;
accept_ctx_t ctx_local;
accept_fn_t constructor_local;
Plug p_local;
Proxy_Plug pp;
Proxy_Socket ps;
ppVar1 =... |
void FUN_00113611(long param_1,undefined8 param_2,undefined8 param_3)
{
long lVar1;
lVar1 = *(long *)(param_1 + 8);
if (*(int *)(lVar1 + 0x84) == 0) {
(**(code **)(**(long **)(lVar1 + 0x18) + 0x20))(*(undefined8 *)(lVar1 + 0x18),param_2,param_3);
}
else {
*(undefined8 *)(lVar1 + 0xc0) = param_2;
... | (translation_unit "void FUN_00113611(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n long lVar1;\n \n lVar1 = *(long *)(param_1 + 8);\n if (*(int *)(lVar1 + 0x84) == 0) {\n (**(code **)(**(long **)(lVar1 + 0x18) + 0x20))(*(undefined8 *)(lVar1 + 0x18),param_2,param_3);\n }\n else {\n *(undefined8 ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x8]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MO... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 p,type_2 constructor,type_3 ctx)
{
type_4 *var_1;
int iVar2;
type_3 ctx_local;
type_2 constructor_local;
type_1 p_local;
type_5 pp;
type_6 ps;
var_1 = p[1];
if (*(int *)((long)&var_1[3].closing + 4) ==... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint plug_proxy_accepting(Plug p,accept_fn_t constructor,accept_ctx_t ctx)\n\n{\n plug_function_table *ppVar1;\n int iVar2;\n accept_ctx_t ctx_local;\n accept_fn_t constructor_local;\n Plug p_local;\n Proxy_Plug pp;\n P... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 p,type_2 constructor,type_3 ctx)\n\n{\n type_4 *var_1;\n int iVar2;\n type_3 ctx_local;\n type_2 constructor_local;\n type_1 p_local;\n type_5 pp;\n type_6 ps;\n \n var_1 = p[1];\n if (*(int *)... | (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... |
310_psftp_and_psftp_strip.c | new_listener | FUN_001143b8 | new_listener |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
Socket new_listener(char *srcaddr,int port,Plug plug,int param_4,Conf *conf,int addressfamily)
{
Socket ppsVar1;
int addressfamily_local;
Conf *conf_local;
Plug plug_local;
int local_host_only_local;
int port_local;
char *srcaddr_... |
void FUN_001143b8(undefined8 param_1,undefined4 param_2,undefined8 param_3,undefined4 param_4,
undefined8 param_5,undefined4 param_6)
{
FUN_00187a9f(param_1,param_2,param_3,param_4,param_6);
return;
}
| (translation_unit "void FUN_001143b8(undefined8 param_1,undefined4 param_2,undefined8 param_3,undefined4 param_4,\n undefined8 param_5,undefined4 param_6)\n\n{\n FUN_00187a9f(param_1,param_2,param_3,param_4,param_6);\n return;\n}\n\n" (function_definition "void FUN_001143b8(undefined8 param_1,undefine... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
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
MOV EDI,dword ptr [RBP + -0x24]
MOV ECX,dword ptr [RBP + -0x10]
MOV RDX,qword ptr [RBP + -0x18]
M... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(char *srcaddr,int port,type_2 plug,int param_4,type_3 *conf,int addressfamily)
{
type_1 ppsVar1;
int addressfamily_local;
type_3 *conf_local;
type_2 plug_local;
int local_host_only_local;
int port_local;
char *sr... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nSocket new_listener(char *srcaddr,int port,Plug plug,int param_4,Conf *conf,int addressfamily)\n\n{\n Socket ppsVar1;\n int addressfamily_local;\n Conf *conf_local;\n Plug plug_local;\n int local_host_only_local;\n int ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(char *srcaddr,int port,type_2 plug,int param_4,type_3 *conf,int addressfamily)\n\n{\n type_1 ppsVar1;\n int addressfamily_local;\n type_3 *conf_local;\n type_2 plug_local;\n int local_host_only_local;\n... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator... |
1272_pterm_and_pterm_strip.c | first_fd | FUN_001675d5 | first_fd |
/* WARNING: Enum "GIOFlags": Some values do not have unique names */
int first_fd(int *state,int *rwx)
{
int iVar1;
int *rwx_local;
int *state_local;
*state = 0;
iVar1 = next_fd(state,rwx);
return iVar1;
}
|
void FUN_001675d5(undefined4 *param_1,undefined8 param_2)
{
*param_1 = 0;
FUN_0016757e(param_1,param_2);
return;
}
| (translation_unit "void FUN_001675d5(undefined4 *param_1,undefined8 param_2)\n\n{\n *param_1 = 0;\n FUN_0016757e(param_1,param_2);\n return;\n}\n\n" (function_definition "void FUN_001675d5(undefined4 *param_1,undefined8 param_2)\n\n{\n *param_1 = 0;\n FUN_0016757e(param_1,param_2);\n return;\n}" primitive_type (f... | 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 dword ptr [RAX],0x0
MOV RDX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0016757e
LEAVE
RET |
/* WARNING: Enum "GIOFlags": Some values do not have unique names */
int function_1(int *state,int *rwx)
{
int iVar1;
int *rwx_local;
int *state_local;
*state = 0;
iVar1 = var_1(state,rwx);
return iVar1;
}
| (translation_unit "/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nint first_fd(int *state,int *rwx)\n\n{\n int iVar1;\n int *rwx_local;\n int *state_local;\n \n *state = 0;\n iVar1 = next_fd(state,rwx);\n return iVar1;\n}\n\n" comment (function_definition "int first_fd(int *state,int *rw... | (translation_unit "/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nint function_1(int *state,int *rwx)\n\n{\n int iVar1;\n int *rwx_local;\n int *state_local;\n \n *state = 0;\n iVar1 = var_1(state,rwx);\n return iVar1;\n}\n\n" comment (function_definition "int function_1(int *state,int *... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator:... |
209_psftp_and_psftp_strip.c | logtraffic | FUN_0010e82d | logtraffic |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void logtraffic(void *handle,uchar c,int logmode)
{
int logmode_local;
uchar c_local;
void *handle_local;
LogContext *ctx;
if ((0 < *(int *)((long)handle + 0x40)) && (logmode == *(int *)((long)handle + 0x40))) {
c_local = c;
... |
void FUN_0010e82d(long param_1,undefined param_2,int param_3)
{
undefined local_24 [4];
long local_20;
long local_10;
if ((0 < *(int *)(param_1 + 0x40)) && (param_3 == *(int *)(param_1 + 0x40))) {
local_24[0] = param_2;
local_20 = param_1;
local_10 = param_1;
FUN_0010dfde(param_1,local_24,1... | (translation_unit "void FUN_0010e82d(long param_1,undefined param_2,int param_3)\n\n{\n undefined local_24 [4];\n long local_20;\n long local_10;\n \n if ((0 < *(int *)(param_1 + 0x40)) && (param_3 == *(int *)(param_1 + 0x40))) {\n local_24[0] = param_2;\n local_20 = param_1;\n local_10 = param_1;\n FU... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV EAX,ESI
MOV dword ptr [RBP + -0x20],EDX
MOV byte ptr [RBP + -0x1c],AL
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x40]
TEST EAX,EAX
JLE 0x0010e878
MOV RAX,qword ptr [RBP + -0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *handle,type_1 c,int var_1)
{
int logmode_local;
type_1 c_local;
void *handle_local;
type_2 *ctx;
if ((0 < *(int *)((long)handle + 0x40)) && (var_1 == *(int *)((long)handle + 0x40))) {
c_local = c;
hand... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid logtraffic(void *handle,uchar c,int logmode)\n\n{\n int logmode_local;\n uchar c_local;\n void *handle_local;\n LogContext *ctx;\n \n if ((0 < *(int *)((long)handle + 0x40)) && (logmode == *(int *)((long)handle + 0... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *handle,type_1 c,int var_1)\n\n{\n int logmode_local;\n type_1 c_local;\n void *handle_local;\n type_2 *ctx;\n \n if ((0 < *(int *)((long)handle + 0x40)) && (var_1 == *(int *)((long)handle + 0x40)))... | (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... |
585_psftp_and_psftp_strip.c | ssh_channel_try_eof | FUN_0013349e | ssh_channel_try_eof |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_channel_try_eof(ssh_channel *c)
{
Ssh_conflict ssh_00;
int iVar1;
Packet *pkt;
ssh_channel *c_local;
Ssh_conflict ssh;
Packet *pktout;
ssh_00 = c->ssh;
if (c->pending_eof != 0) {
if ((c->halfopen == 0) &&
... |
void FUN_0013349e(long *param_1)
{
long lVar1;
int iVar2;
undefined8 uVar3;
lVar1 = *param_1;
if (*(int *)((long)param_1 + 0x1c) != 0) {
if ((*(int *)((long)param_1 + 0x14) == 0) &&
((*(int *)(lVar1 + 0x250) != 2 || (iVar2 = FUN_00110963(param_1 + 5), iVar2 < 1)))) {
*(undefined4 *)((lon... | (translation_unit "void FUN_0013349e(long *param_1)\n\n{\n long lVar1;\n int iVar2;\n undefined8 uVar3;\n \n lVar1 = *param_1;\n if (*(int *)((long)param_1 + 0x1c) != 0) {\n if ((*(int *)((long)param_1 + 0x14) == 0) &&\n ((*(int *)(lVar1 + 0x250) != 2 || (iVar2 = FUN_00110963(param_1 + 5), iVar2 < 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 qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x1c]
TEST EAX,EAX
JNZ 0x001334df
LEA RCX,[0x19c9f0]
MOV EDX,0x13db
LEA RSI,[0x198cc6]
LEA RDI,[0x19a54b]
CAL... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *c)
{
type_2 ssh_00;
int var_2;
type_3 *pkt;
type_1 *c_local;
type_2 ssh;
type_3 *pktout;
ssh_00 = c->ssh;
if (c->pending_eof != 0) {
if ((c->halfopen == 0) &&
((ssh_00->version != 2 || (var_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_channel_try_eof(ssh_channel *c)\n\n{\n Ssh_conflict ssh_00;\n int iVar1;\n Packet *pkt;\n ssh_channel *c_local;\n Ssh_conflict ssh;\n Packet *pktout;\n \n ssh_00 = c->ssh;\n if (c->pending_eof != 0) {\n i... | (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 ssh_00;\n int var_2;\n type_3 *pkt;\n type_1 *c_local;\n type_2 ssh;\n type_3 *pktout;\n \n ssh_00 = c->ssh;\n if (c->pending_eof != 0) {\n if ((c->halfopen == 0) &&\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_ide... |
1256_pterm_and_pterm_strip.c | pty_special | FUN_001672e8 | pty_special |
void pty_special(void *handle,Telnet_Special code)
{
Telnet_Special code_local;
void *handle_local;
return;
}
|
void FUN_001672e8(void)
{
return;
}
| (translation_unit "void FUN_001672e8(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_001672e8(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_001672e8(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
NOP
POP RBP
RET |
void function_1(void *handle,type_1 code)
{
type_1 code_local;
void *handle_local;
return;
}
| (translation_unit "void pty_special(void *handle,Telnet_Special code)\n\n{\n Telnet_Special code_local;\n void *handle_local;\n \n return;\n}\n\n" (function_definition "void pty_special(void *handle,Telnet_Special code)\n\n{\n Telnet_Special code_local;\n void *handle_local;\n \n return;\n}" primitive_type (fun... | (translation_unit "void function_1(void *handle,type_1 code)\n\n{\n type_1 code_local;\n void *handle_local;\n \n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 code)\n\n{\n type_1 code_local;\n void *handle_local;\n \n return;\n}" primitive_type (function_declarator "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: (identif... |
1123_pterm_and_pterm_strip.c | focus_event | FUN_0015e0da | focus_event |
/* WARNING: Enum "GdkEventType": Some values do not have unique names */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
gint focus_event(GtkWidget *widget,GdkEventFocus *event,gpointer data)
{
gpointer data_local;
GdkEventFocus *event_local;
GtkWidget *widget_local;
gui_data *inst;
... |
undefined8 FUN_0015e0da(undefined8 param_1,long param_2,long param_3)
{
FUN_00141fbd(*(undefined8 *)(param_3 + 0xda0),(int)*(short *)(param_2 + 0x12));
FUN_00131cab(*(undefined8 *)(param_3 + 0xda0));
FUN_0015b443(param_3,1);
return 0;
}
| (translation_unit "undefined8 FUN_0015e0da(undefined8 param_1,long param_2,long param_3)\n\n{\n FUN_00141fbd(*(undefined8 *)(param_3 + 0xda0),(int)*(short *)(param_2 + 0x12));\n FUN_00131cab(*(undefined8 *)(param_3 + 0xda0));\n FUN_0015b443(param_3,1);\n return 0;\n}\n\n" (function_definition "undefined8 FUN_0015e0... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOVZX EAX,word ptr [RAX + 0x12]
MOVSX EDX,AX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [... |
/* WARNING: Enum "GdkEventType": Some values do not have unique names */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_2 *widget,type_3 *event,type_4 data)
{
type_4 data_local;
type_3 *event_local;
type_2 *widget_local;
type_5 *inst;
var_1(*(type_6 **)((... | (translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ngint focus_event(GtkWidget *widget,GdkEventFocus *event,gpointer data)\n\n{\n gpointer data_local;\n GdkEventFocus *event_local;\n GtkWidget *widget... | (translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 *widget,type_3 *event,type_4 data)\n\n{\n type_4 data_local;\n type_3 *event_local;\n type_2 *widget_local;\n type_5 *inst... | (translation_unit (comment) (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier... |
1192_pterm_and_pterm_strip.c | update_specials_menu | FUN_00162ccc | update_specials_menu |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void update_specials_menu(void *frontend)
{
wchar_t wVar1;
undefined8 uVar2;
GtkWidget *pGVar3;
undefined8 uVar4;
void *frontend_local;
wchar_t i;
wchar_t nesting;
telnet_special_conflict *specials;
GtkWidget *menu;
GtkWidge... |
void FUN_00162ccc(long param_1)
{
int iVar1;
undefined8 uVar2;
undefined8 uVar3;
undefined8 uVar4;
int local_48;
int local_44;
long local_40;
undefined8 local_38;
undefined8 local_30;
long local_28;
if (*(long *)(param_1 + 0xd90) == 0) {
local_40 = 0;
}
else {
local_40 = (**(code ... | (translation_unit "void FUN_00162ccc(long param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n undefined8 uVar4;\n int local_48;\n int local_44;\n long local_40;\n undefined8 local_38;\n undefined8 local_30;\n long local_28;\n \n if (*(long *)(param_1 + 0xd90) == 0) {\n local_40 = 0;\n }... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x48
MOV qword ptr [RBP + -0x48],RDI
MOV RAX,qword ptr [RBP + -0x48]
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0xd90]
TEST RAX,RAX
JZ 0x00162d16
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0xd90]
MOV RAX,qword ptr [RAX + 0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *frontend)
{
type_1 var_7;
type_2 uVar2;
type_3 *pGVar3;
type_2 uVar4;
void *frontend_local;
type_1 var_19;
type_1 var_6;
type_4 *var_4;
type_3 *menu;
type_3 *saved_menu;
type_3 *var_18;
type_5 *inst... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid update_specials_menu(void *frontend)\n\n{\n wchar_t wVar1;\n undefined8 uVar2;\n GtkWidget *pGVar3;\n undefined8 uVar4;\n void *frontend_local;\n wchar_t i;\n wchar_t nesting;\n telnet_special_conflict *specials;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *frontend)\n\n{\n type_1 var_7;\n type_2 uVar2;\n type_3 *pGVar3;\n type_2 uVar4;\n void *frontend_local;\n type_1 var_19;\n type_1 var_6;\n type_4 *var_4;\n type_3 *menu;\n type_3 *saved_menu;\... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_iden... |
159_psftp_and_psftp_strip.c | copy_key | FUN_0010b720 | copy_key |
void copy_key(key *to,key *from)
{
char *pcVar1;
key *from_local;
key *to_local;
to->primary = from->primary;
if (subkeytypes[to->primary] == 1) {
(to->secondary).i = (from->secondary).i;
}
else if (subkeytypes[to->primary] == 2) {
pcVar1 = dupstr((from->secondary).s);
(to->secondary).s =... |
void FUN_0010b720(int *param_1,int *param_2)
{
undefined8 uVar1;
*param_1 = *param_2;
if (*(int *)(&DAT_001b8020 + (long)*param_1 * 4) == 1) {
param_1[2] = param_2[2];
}
else if (*(int *)(&DAT_001b8020 + (long)*param_1 * 4) == 2) {
uVar1 = FUN_0010fd06(*(undefined8 *)(param_2 + 2));
*(undefin... | (translation_unit "void FUN_0010b720(int *param_1,int *param_2)\n\n{\n undefined8 uVar1;\n \n *param_1 = *param_2;\n if (*(int *)(&DAT_001b8020 + (long)*param_1 * 4) == 1) {\n param_1[2] = param_2[2];\n }\n else if (*(int *)(&DAT_001b8020 + (long)*param_1 * 4) == 2) {\n uVar1 = FUN_0010fd06(*(undefined8 *)(... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x10]
MOV EDX,dword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX],EDX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX]
CDQE
LEA RDX,[RAX*0x4]
LEA RAX,[0x1b8020]
MOV EAX,dword p... |
void function_1(type_1 *to,type_1 *from)
{
char *pcVar1;
type_1 *from_local;
type_1 *to_local;
to->primary = from->primary;
if (subkeytypes[to->primary] == 1) {
(to->secondary).i = (from->secondary).i;
}
else if (subkeytypes[to->primary] == 2) {
pcVar1 = var_1((from->secondary).s);
(to->s... | (translation_unit "void copy_key(key *to,key *from)\n\n{\n char *pcVar1;\n key *from_local;\n key *to_local;\n \n to->primary = from->primary;\n if (subkeytypes[to->primary] == 1) {\n (to->secondary).i = (from->secondary).i;\n }\n else if (subkeytypes[to->primary] == 2) {\n pcVar1 = dupstr((from->secondar... | (translation_unit "void function_1(type_1 *to,type_1 *from)\n\n{\n char *pcVar1;\n type_1 *from_local;\n type_1 *to_local;\n \n to->primary = from->primary;\n if (subkeytypes[to->primary] == 1) {\n (to->secondary).i = (from->secondary).i;\n }\n else if (subkeytypes[to->primary] == 2) {\n pcVar1 = var_1((f... | (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... |
485_psftp_and_psftp_strip.c | ssh_comp_none_init | FUN_00126c08 | ssh_comp_none_init |
/* WARNING: Unknown calling convention */
void * ssh_comp_none_init(void)
{
return (void *)0x0;
}
|
undefined8 FUN_00126c08(void)
{
return 0;
}
| (translation_unit "undefined8 FUN_00126c08(void)\n\n{\n return 0;\n}\n\n" (function_definition "undefined8 FUN_00126c08(void)\n\n{\n return 0;\n}" type_identifier (function_declarator "FUN_00126c08(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n ... | PUSH RBP
MOV RBP,RSP
MOV EAX,0x0
POP RBP
RET |
/* WARNING: Unknown calling convention */
void * function_1(void)
{
return (void *)0x0;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * ssh_comp_none_init(void)\n\n{\n return (void *)0x0;\n}\n\n" comment (function_definition "void * ssh_comp_none_init(void)\n\n{\n return (void *)0x0;\n}" primitive_type (pointer_declarator "* ssh_comp_none_init(void)" * (function_declarator "ssh_co... | (translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * function_1(void)\n\n{\n return (void *)0x0;\n}\n\n" comment (function_definition "void * function_1(void)\n\n{\n return (void *)0x0;\n}" primitive_type (pointer_declarator "* function_1(void)" * (function_declarator "function_1(void)" identifier (... | (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 (return_statement (cast_expression type: (type_descrip... |
634_psftp_and_psftp_strip.c | ssh2_handle_winadj_response | FUN_0013ca6c | ssh2_handle_winadj_response |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_handle_winadj_response(ssh_channel *c,Packet *pktin,void *ctx)
{
void *ctx_local;
Packet *pktin_local;
ssh_channel *c_local;
uint *sizep;
/* WARNING: Load size is inaccurate */
(c->v).v2.remlocwin = *c... |
void FUN_0013ca6c(long param_1,undefined8 param_2,int *param_3)
{
*(int *)(param_1 + 0x50) = *param_3 + *(int *)(param_1 + 0x50);
FUN_00110fa6(param_3);
if (*(int *)(param_1 + 0x68) == 1) {
*(undefined4 *)(param_1 + 0x68) = 2;
}
return;
}
| (translation_unit "void FUN_0013ca6c(long param_1,undefined8 param_2,int *param_3)\n\n{\n *(int *)(param_1 + 0x50) = *param_3 + *(int *)(param_1 + 0x50);\n FUN_00110fa6(param_3);\n if (*(int *)(param_1 + 0x68) == 1) {\n *(undefined4 *)(param_1 + 0x68) = 2;\n }\n return;\n}\n\n" (function_definition "void FUN_00... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x50]
MOV EDX,EAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RA... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *c,type_2 *pktin,void *ctx)
{
void *ctx_local;
type_2 *pktin_local;
type_1 *c_local;
type_3 *sizep;
/* WARNING: Load size is inaccurate */
(c->v).v2.remlocwin = *ctx + (c->v).v2.remlocwin;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_handle_winadj_response(ssh_channel *c,Packet *pktin,void *ctx)\n\n{\n void *ctx_local;\n Packet *pktin_local;\n ssh_channel *c_local;\n uint *sizep;\n \n /* WARNING: Load size is inaccurate *... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *c,type_2 *pktin,void *ctx)\n\n{\n void *ctx_local;\n type_2 *pktin_local;\n type_1 *c_local;\n type_3 *sizep;\n \n /* WARNING: Load size is inaccurate */\n (c->v).v2.remlocwin ... | (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... |
363_psftp_and_psftp_strip.c | do_sftp | FUN_0011bf9f | do_sftp |
int do_sftp(int mode,int modeflags,char *batchfile)
{
int iVar1;
sftp_command *psVar2;
FILE *__stream;
char *batchfile_local;
int modeflags_local;
int mode_local;
int ret;
int i;
sftp_command *cmd;
FILE *fp;
sftp_command *cmd_1;
if (mode == 0) {
do {
psVar2 = sftp_getcmd((FILE *)0... |
undefined8 FUN_0011bf9f(int param_1,uint param_2,char *param_3)
{
int iVar1;
long *plVar2;
FILE *__stream;
long lVar3;
int local_28;
int local_24;
if (param_1 == 0) {
do {
plVar2 = (long *)FUN_0011b9b5(0,0,0);
if (plVar2 == (long *)0x0) {
return 0;
}
iVar1 = (*(cod... | (translation_unit "undefined8 FUN_0011bf9f(int param_1,uint param_2,char *param_3)\n\n{\n int iVar1;\n long *plVar2;\n FILE *__stream;\n long lVar3;\n int local_28;\n int local_24;\n \n if (param_1 == 0) {\n do {\n plVar2 = (long *)FUN_0011b9b5(0,0,0);\n if (plVar2 == (long *)0x0) {\n return... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV dword ptr [RBP + -0x24],EDI
MOV dword ptr [RBP + -0x28],ESI
MOV qword ptr [RBP + -0x30],RDX
CMP dword ptr [RBP + -0x24],0x0
JNZ 0x0011c060
MOV EDX,0x0
MOV ESI,0x0
MOV EDI,0x0
CALL 0x0011b9b5
MOV qword ptr [RBP + -0x18],RAX
CMP qword ptr [RBP + -0x18],0x0
JZ 0x0011c11c
MOV RAX,qword... |
int function_1(int var_1,int var_11,char *batchfile)
{
int var_6;
type_1 *var_3;
type_2 *var_8;
char *batchfile_local;
int modeflags_local;
int mode_local;
int var_10;
int var_4;
type_1 *cmd;
type_2 *fp;
type_1 *cmd_1;
if (var_1 == 0) {
do {
var_3 = var_2((type_2 *)0x0,0,0);
... | (translation_unit "int do_sftp(int mode,int modeflags,char *batchfile)\n\n{\n int iVar1;\n sftp_command *psVar2;\n FILE *__stream;\n char *batchfile_local;\n int modeflags_local;\n int mode_local;\n int ret;\n int i;\n sftp_command *cmd;\n FILE *fp;\n sftp_command *cmd_1;\n \n if (mode == 0) {\n do {\n ... | (translation_unit "int function_1(int var_1,int var_11,char *batchfile)\n\n{\n int var_6;\n type_1 *var_3;\n type_2 *var_8;\n char *batchfile_local;\n int modeflags_local;\n int mode_local;\n int var_10;\n int var_4;\n type_1 *cmd;\n type_2 *fp;\n type_1 *cmd_1;\n \n if (var_1 == 0) {\n do {\n var_... | (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: (identifier)) (parameter_declaration type:... |
199_psftp_and_psftp_strip.c | uint64_to_double | FUN_0010dd69 | uint64_to_double |
double uint64_to_double(uint64 x)
{
uint64 x_local;
return (double)x.lo + DAT_00193910 * (double)x.hi;
}
|
double FUN_0010dd69(ulong param_1,ulong param_2)
{
return (double)param_2 + DAT_00193910 * (double)param_1;
}
| (translation_unit "double FUN_0010dd69(ulong param_1,ulong param_2)\n\n{\n return (double)param_2 + DAT_00193910 * (double)param_1;\n}\n\n" (function_definition "double FUN_0010dd69(ulong param_1,ulong param_2)\n\n{\n return (double)param_2 + DAT_00193910 * (double)param_1;\n}" primitive_type (function_declarator "FU... | PUSH RBP
MOV RBP,RSP
MOV RAX,RDI
MOV RCX,RSI
MOV RDX,RCX
MOV qword ptr [RBP + -0x10],RAX
MOV qword ptr [RBP + -0x8],RDX
MOV RAX,qword ptr [RBP + -0x10]
TEST RAX,RAX
JS 0x0010dd8e
CVTSI2SD XMM0,RAX
JMP 0x0010dda3
MOV RDX,RAX
SHR RDX,0x1
AND EAX,0x1
OR RDX,RAX
CVTSI2SD XMM0,RDX
ADDSD XMM0,XMM0
MOVSD XMM1,qword ptr [0x001... |
double function_1(type_1 x)
{
type_1 x_local;
return (double)x.lo + var_1 * (double)x.hi;
}
| (translation_unit "double uint64_to_double(uint64 x)\n\n{\n uint64 x_local;\n \n return (double)x.lo + DAT_00193910 * (double)x.hi;\n}\n\n" (function_definition "double uint64_to_double(uint64 x)\n\n{\n uint64 x_local;\n \n return (double)x.lo + DAT_00193910 * (double)x.hi;\n}" primitive_type (function_declarator... | (translation_unit "double function_1(type_1 x)\n\n{\n type_1 x_local;\n \n return (double)x.lo + var_1 * (double)x.hi;\n}\n\n" (function_definition "double function_1(type_1 x)\n\n{\n type_1 x_local;\n \n return (double)x.lo + var_1 * (double)x.hi;\n}" primitive_type (function_declarator "function_1(type_1 x)" id... | (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)) (return_... |
342_psftp_and_psftp_strip.c | sftp_cmd_mput | FUN_0011a5b3 | sftp_cmd_mput |
int sftp_cmd_mput(sftp_command *cmd)
{
int iVar1;
sftp_command *cmd_local;
iVar1 = sftp_general_put(cmd,0,1);
return iVar1;
}
|
void FUN_0011a5b3(undefined8 param_1)
{
FUN_0011a25d(param_1,0,1);
return;
}
| (translation_unit "void FUN_0011a5b3(undefined8 param_1)\n\n{\n FUN_0011a25d(param_1,0,1);\n return;\n}\n\n" (function_definition "void FUN_0011a5b3(undefined8 param_1)\n\n{\n FUN_0011a25d(param_1,0,1);\n return;\n}" primitive_type (function_declarator "FUN_0011a5b3(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,0x1
MOV ESI,0x0
MOV RDI,RAX
CALL 0x0011a25d
LEAVE
RET |
int function_1(type_1 *cmd)
{
int iVar1;
type_1 *cmd_local;
iVar1 = var_1(cmd,0,1);
return iVar1;
}
| (translation_unit "int sftp_cmd_mput(sftp_command *cmd)\n\n{\n int iVar1;\n sftp_command *cmd_local;\n \n iVar1 = sftp_general_put(cmd,0,1);\n return iVar1;\n}\n\n" (function_definition "int sftp_cmd_mput(sftp_command *cmd)\n\n{\n int iVar1;\n sftp_command *cmd_local;\n \n iVar1 = sftp_general_put(cmd,0,1);\n ... | (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,1);\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,1);\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... |
568_psftp_and_psftp_strip.c | ssh_connshare_log | FUN_0012e680 | ssh_connshare_log |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_connshare_log(Ssh_conflict ssh,int event,char *logtext,char *ds_err,char *us_err)
{
char *us_err_local;
char *ds_err_local;
char *logtext_local;
int event_local;
Ssh_conflict ssh_local;
if (event == 0) {
if (logtext ... |
void FUN_0012e680(undefined8 param_1,int param_2,long param_3,long param_4,long param_5)
{
if (param_2 == 0) {
if (param_3 == 0) {
if (param_4 != 0) {
FUN_00126ce9(param_1,"Could not set up connection sharing as downstream: %s",param_4);
}
if (param_5 != 0) {
FUN_00126ce9(param... | (translation_unit "void FUN_0012e680(undefined8 param_1,int param_2,long param_3,long param_4,long param_5)\n\n{\n if (param_2 == 0) {\n if (param_3 == 0) {\n if (param_4 != 0) {\n FUN_00126ce9(param_1,"Could not set up connection sharing as downstream: %s",param_4);\n }\n if (param_5 != 0) {\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV qword ptr [RBP + -0x18],RDX
MOV qword ptr [RBP + -0x20],RCX
MOV qword ptr [RBP + -0x28],R8
CMP dword ptr [RBP + -0xc],0x0
JNZ 0x0012e715
CMP qword ptr [RBP + -0x18],0x0
JZ 0x0012e6c9
MOV RDX,qword ptr [RBP + -0x18]
MOV R... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,int var_1,char *var_2,char *var_3,char *var_5)
{
char *us_err_local;
char *ds_err_local;
char *logtext_local;
int event_local;
type_1 ssh_local;
if (var_1 == 0) {
if (var_2 == (char *)0x0) {
i... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_connshare_log(Ssh_conflict ssh,int event,char *logtext,char *ds_err,char *us_err)\n\n{\n char *us_err_local;\n char *ds_err_local;\n char *logtext_local;\n int event_local;\n Ssh_conflict ssh_local;\n \n if (e... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,int var_1,char *var_2,char *var_3,char *var_5)\n\n{\n char *us_err_local;\n char *ds_err_local;\n char *logtext_local;\n int event_local;\n type_1 ssh_local;\n \n if (var_1 == 0) {\n if (v... | (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... |
1177_pterm_and_pterm_strip.c | clear_scrollback_menuitem | FUN_00161bbc | clear_scrollback_menuitem |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void clear_scrollback_menuitem(GtkMenuItem *item,gpointer data)
{
gpointer data_local;
GtkMenuItem *item_local;
gui_data *inst;
term_clrsb(*(Terminal **)((long)data + 0xda0));
return;
}
|
void FUN_00161bbc(undefined8 param_1,long param_2)
{
FUN_00132a97(*(undefined8 *)(param_2 + 0xda0));
return;
}
| (translation_unit "void FUN_00161bbc(undefined8 param_1,long param_2)\n\n{\n FUN_00132a97(*(undefined8 *)(param_2 + 0xda0));\n return;\n}\n\n" (function_definition "void FUN_00161bbc(undefined8 param_1,long param_2)\n\n{\n FUN_00132a97(*(undefined8 *)(param_2 + 0xda0));\n return;\n}" primitive_type (function_declar... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0xda0]
MOV RDI,RAX
CALL 0x00132a97
NOP
LEAVE
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *item,type_2 data)
{
type_2 data_local;
type_1 *item_local;
type_3 *inst;
var_1(*(type_4 **)((long)data + 0xda0));
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid clear_scrollback_menuitem(GtkMenuItem *item,gpointer data)\n\n{\n gpointer data_local;\n GtkMenuItem *item_local;\n gui_data *inst;\n \n term_clrsb(*(Terminal **)((long)data + 0xda0));\n return;\n}\n\n" comment (fu... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *item,type_2 data)\n\n{\n type_2 data_local;\n type_1 *item_local;\n type_3 *inst;\n \n var_1(*(type_4 **)((long)data + 0xda0));\n return;\n}\n\n" comment (function_definition "void function_1(typ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato... |
560_psftp_and_psftp_strip.c | do_ssh_connection_init | FUN_0012db74 | do_ssh_connection_init |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int do_ssh_connection_init(Ssh_conflict ssh,uchar c)
{
int *piVar1;
long lVar2;
int iVar3;
void *pvVar4;
size_t sVar5;
char *pcVar6;
Pinger ppVar7;
uchar c_local;
Ssh_conflict ssh_local;
do_ssh_connection_init_state *s;
in... |
undefined8 FUN_0012db74(long param_1,char param_2)
{
int *piVar1;
long lVar2;
int iVar3;
undefined8 uVar4;
size_t sVar5;
if (*(long *)(param_1 + 0x2a8) == 0) {
uVar4 = FUN_00110d9a(1,0x28);
*(undefined8 *)(param_1 + 0x2a8) = uVar4;
**(undefined4 **)(param_1 + 0x2a8) = 0;
}
piVar1 = *(in... | (translation_unit "undefined8 FUN_0012db74(long param_1,char param_2)\n\n{\n int *piVar1;\n long lVar2;\n int iVar3;\n undefined8 uVar4;\n size_t sVar5;\n \n if (*(long *)(param_1 + 0x2a8) == 0) {\n uVar4 = FUN_00110d9a(1,0x28);\n *(undefined8 *)(param_1 + 0x2a8) = uVar4;\n **(undefined4 **)(param_1 + 0... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x28
MOV qword ptr [RBP + -0x28],RDI
MOV EAX,ESI
MOV byte ptr [RBP + -0x2c],AL
MOV RAX,qword ptr [RBP + -0x28]
MOV RAX,qword ptr [RAX + 0x2a8]
TEST RAX,RAX
JNZ 0x0012dbcc
MOV ESI,0x28
MOV EDI,0x1
CALL 0x00110d9a
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RAX + 0x2a8... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 ssh,type_2 var_3)
{
int *var_4;
long var_10;
int var_2;
void *pvVar4;
size_t var_9;
char *pcVar6;
type_3 ppVar7;
type_2 c_local;
type_1 ssh_local;
type_4 *s;
int *crLine;
if (ssh->type_4 == (void... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint do_ssh_connection_init(Ssh_conflict ssh,uchar c)\n\n{\n int *piVar1;\n long lVar2;\n int iVar3;\n void *pvVar4;\n size_t sVar5;\n char *pcVar6;\n Pinger ppVar7;\n uchar c_local;\n Ssh_conflict ssh_local;\n do_ss... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 ssh,type_2 var_3)\n\n{\n int *var_4;\n long var_10;\n int var_2;\n void *pvVar4;\n size_t var_9;\n char *pcVar6;\n type_3 ppVar7;\n type_2 c_local;\n type_1 ssh_local;\n type_4 *s;\n int *crLi... | (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)))) body: (compoun... |
168_psftp_and_psftp_strip.c | conf_copy | FUN_0010bada | conf_copy |
Conf * conf_copy(Conf *oldconf)
{
Conf *newconf_00;
Conf *oldconf_local;
Conf *newconf;
newconf_00 = conf_new();
conf_copy_into(newconf_00,oldconf);
return newconf_00;
}
|
undefined8 FUN_0010bada(undefined8 param_1)
{
undefined8 uVar1;
uVar1 = FUN_0010b8cf();
FUN_0010ba1b(uVar1,param_1);
return uVar1;
}
| (translation_unit "undefined8 FUN_0010bada(undefined8 param_1)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_0010b8cf();\n FUN_0010ba1b(uVar1,param_1);\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_0010bada(undefined8 param_1)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_0010b8cf();\n FUN_0010ba1b(uVar... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
CALL 0x0010b8cf
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0010ba1b
MOV RAX,qword ptr [RBP + -0x8]
LEAVE
RET |
type_1 * function_1(type_1 *oldconf)
{
type_1 *newconf_00;
type_1 *oldconf_local;
type_1 *newconf;
newconf_00 = var_1();
var_2(newconf_00,oldconf);
return newconf_00;
}
| (translation_unit "Conf * conf_copy(Conf *oldconf)\n\n{\n Conf *newconf_00;\n Conf *oldconf_local;\n Conf *newconf;\n \n newconf_00 = conf_new();\n conf_copy_into(newconf_00,oldconf);\n return newconf_00;\n}\n\n" (function_definition "Conf * conf_copy(Conf *oldconf)\n\n{\n Conf *newconf_00;\n Conf *oldconf_loc... | (translation_unit "type_1 * function_1(type_1 *oldconf)\n\n{\n type_1 *newconf_00;\n type_1 *oldconf_local;\n type_1 *newconf;\n \n newconf_00 = var_1();\n var_2(newconf_00,oldconf);\n return newconf_00;\n}\n\n" (function_definition "type_1 * function_1(type_1 *oldconf)\n\n{\n type_1 *newconf_00;\n type_1 *old... | (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... |
579_psftp_and_psftp_strip.c | ssh_agentf_got_response | FUN_0012f0fc | ssh_agentf_got_response |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_agentf_got_response(ssh_channel *c,void *reply,int replylen)
{
int replylen_local;
void *reply_local;
ssh_channel *c_local;
(c->u).a.pending = (agent_pending_query *)0x0;
if ((c->closes & 1U) != 0) {
/*... |
void FUN_0012f0fc(long param_1,undefined *param_2,undefined4 param_3)
{
undefined4 local_1c;
undefined *local_18;
*(undefined8 *)(param_1 + 0x88) = 0;
if ((*(uint *)(param_1 + 0x18) & 1) != 0) {
/* WARNING: Subroutine does not return */
__assert_fail("!(c->closes & CLOSES_SENT_EOF)"... | (translation_unit "void FUN_0012f0fc(long param_1,undefined *param_2,undefined4 param_3)\n\n{\n undefined4 local_1c;\n undefined *local_18;\n \n *(undefined8 *)(param_1 + 0x88) = 0;\n if ((*(uint *)(param_1 + 0x18) & 1) != 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("!(c-... | 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 qword ptr [RAX + 0x88],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x18]
AND EAX,0x1
TEST EAX,EAX
JZ 0x0012f14b
LEA RCX,[0x19c9a0]
MOV EDX,0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *c,void *var_2,int replylen)
{
int replylen_local;
void *reply_local;
type_1 *c_local;
(c->u).a.pending = (type_2 *)0x0;
if ((c->closes & 1U) != 0) {
/* WARNING: Subroutine does not return... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_agentf_got_response(ssh_channel *c,void *reply,int replylen)\n\n{\n int replylen_local;\n void *reply_local;\n ssh_channel *c_local;\n \n (c->u).a.pending = (agent_pending_query *)0x0;\n if ((c->closes & 1U) !=... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *c,void *var_2,int replylen)\n\n{\n int replylen_local;\n void *reply_local;\n type_1 *c_local;\n \n (c->u).a.pending = (type_2 *)0x0;\n if ((c->closes & 1U) != 0) {\n /* WARNIN... | (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... |
486_psftp_and_psftp_strip.c | ssh_comp_none_cleanup | FUN_00126c13 | ssh_comp_none_cleanup |
void ssh_comp_none_cleanup(void *handle)
{
void *handle_local;
return;
}
|
void FUN_00126c13(void)
{
return;
}
| (translation_unit "void FUN_00126c13(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_00126c13(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_00126c13(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 ssh_comp_none_cleanup(void *handle)\n\n{\n void *handle_local;\n \n return;\n}\n\n" (function_definition "void ssh_comp_none_cleanup(void *handle)\n\n{\n void *handle_local;\n \n return;\n}" primitive_type (function_declarator "ssh_comp_none_cleanup(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... |
1044_pterm_and_pterm_strip.c | unifontsel_set_filter_buttons | FUN_001558b3 | unifontsel_set_filter_buttons |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void unifontsel_set_filter_buttons(unifontsel_internal *fs)
{
wchar_t wVar1;
uint uVar2;
undefined8 uVar3;
unifontsel_internal *fs_local;
wchar_t i;
wchar_t flagbit;
for (i = L'\0'; i < fs->n_filter_buttons; i = i + L'\x01') {
... |
void FUN_001558b3(long param_1)
{
uint uVar1;
uint uVar2;
undefined8 uVar3;
int local_20;
for (local_20 = 0; local_20 < *(int *)(param_1 + 0x78); local_20 = local_20 + 1) {
uVar3 = g_type_check_instance_cast
(*(undefined8 *)(param_1 + 8 + ((long)local_20 + 10) * 8),0x50);
uV... | (translation_unit "void FUN_001558b3(long param_1)\n\n{\n uint uVar1;\n uint uVar2;\n undefined8 uVar3;\n int local_20;\n \n for (local_20 = 0; local_20 < *(int *)(param_1 + 0x78); local_20 = local_20 + 1) {\n uVar3 = g_type_check_instance_cast\n (*(undefined8 *)(param_1 + 8 + ((long)local... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x28
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x18],0x0
JMP 0x00155944
MOV RAX,qword ptr [RBP + -0x28]
MOV EDX,dword ptr [RBP + -0x18]
MOVSXD RDX,EDX
ADD RDX,0xa
MOV RAX,qword ptr [RAX + RDX*0x8 + 0x8]
MOV ESI,0x50
MOV RDI,RAX
CALL 0x0010f530
LEA RSI,[0x1948a5]
MOV RDI... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *fs)
{
type_2 var_6;
type_3 var_7;
type_4 uVar3;
type_1 *fs_local;
type_2 var_1;
type_2 flagbit;
for (var_1 = L'\0'; var_1 < fs->n_filter_buttons; var_1 = var_1 + L'\x01') {
uVar3 = var_2(fs->filter_b... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid unifontsel_set_filter_buttons(unifontsel_internal *fs)\n\n{\n wchar_t wVar1;\n uint uVar2;\n undefined8 uVar3;\n unifontsel_internal *fs_local;\n wchar_t i;\n wchar_t flagbit;\n \n for (i = L'\0'; i < fs->n_filte... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *fs)\n\n{\n type_2 var_6;\n type_3 var_7;\n type_4 uVar3;\n type_1 *fs_local;\n type_2 var_1;\n type_2 flagbit;\n \n for (var_1 = L'\0'; var_1 < fs->n_filter_buttons; var_1 = var_1 + L'\x01') {\... | (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... |
173_psftp_and_psftp_strip.c | conf_get_str_str | FUN_0010bef5 | conf_get_str_str |
char * conf_get_str_str(Conf *conf,int primary,char *secondary)
{
char *pcVar1;
char *secondary_local;
int primary_local;
Conf *conf_local;
char *ret;
pcVar1 = conf_get_str_str_opt(conf,primary,secondary);
if (pcVar1 == (char *)0x0) {
/* WARNING: Subroutine does not return */
... |
long FUN_0010bef5(undefined8 param_1,undefined4 param_2,undefined8 param_3)
{
long lVar1;
lVar1 = FUN_0010be04(param_1,param_2,param_3);
if (lVar1 == 0) {
/* WARNING: Subroutine does not return */
__assert_fail("ret","conf.c",0x13b,"conf_get_str_str");
}
return lVar1;
}
| (translation_unit "long FUN_0010bef5(undefined8 param_1,undefined4 param_2,undefined8 param_3)\n\n{\n long lVar1;\n \n lVar1 = FUN_0010be04(param_1,param_2,param_3);\n if (lVar1 == 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("ret","conf.c",0x13b,"conf_get_str_str");\n }\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 RDX,qword ptr [RBP + -0x28]
MOV ECX,dword ptr [RBP + -0x1c]
MOV RAX,qword ptr [RBP + -0x18]
MOV ESI,ECX
MOV RDI,RAX
CALL 0x0010be04
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0... |
char * function_1(type_1 *conf,int primary,char *secondary)
{
char *var_2;
char *secondary_local;
int primary_local;
type_1 *conf_local;
char *ret;
var_2 = var_1(conf,primary,secondary);
if (var_2 == (char *)0x0) {
/* WARNING: Subroutine does not return */
var_3("ret","conf.c"... | (translation_unit "char * conf_get_str_str(Conf *conf,int primary,char *secondary)\n\n{\n char *pcVar1;\n char *secondary_local;\n int primary_local;\n Conf *conf_local;\n char *ret;\n \n pcVar1 = conf_get_str_str_opt(conf,primary,secondary);\n if (pcVar1 == (char *)0x0) {\n /* WARNING: Subro... | (translation_unit "char * function_1(type_1 *conf,int primary,char *secondary)\n\n{\n char *var_2;\n char *secondary_local;\n int primary_local;\n type_1 *conf_local;\n char *ret;\n \n var_2 = var_1(conf,primary,secondary);\n if (var_2 == (char *)0x0) {\n /* WARNING: Subroutine does not retur... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
563_psftp_and_psftp_strip.c | ssh_process_queued_incoming_data | FUN_0012e10b | ssh_process_queued_incoming_data |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_process_queued_incoming_data(Ssh_conflict ssh)
{
int iVar1;
long in_FS_OFFSET;
Ssh_conflict ssh_local;
int len;
int origlen;
void *vdata;
uchar *data;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
whi... |
void FUN_0012e10b(long param_1)
{
int iVar1;
long in_FS_OFFSET;
int local_28;
int local_24;
undefined8 local_20;
undefined8 local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
while (*(int *)(param_1 + 0x3a8) == 0) {
iVar1 = FUN_00110963(param_1 + 0x3b0);
if (iVar1 == 0) b... | (translation_unit "void FUN_0012e10b(long param_1)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n int local_28;\n int local_24;\n undefined8 local_20;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n while (*(int *)(param_1 + 0x3a8) == 0) {\n iVar1 = FUN_00110963(param_1 ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
JMP 0x0012e1a6
MOV RAX,qword ptr [RBP + -0x28]
LEA RCX,[RAX + 0x3b0]
LEA RDX,[RBP + -0x20]
LEA RAX,[RBP + -0x18]
MOV RSI,RAX
MOV RDI,RCX
CALL 0x00110c52
MOV RAX,qword ptr [RBP + -0x18... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh)
{
int var_3;
long var_1;
type_1 ssh_local;
int var_5;
int var_7;
void *vdata;
type_2 *data;
long var_9;
var_9 = *(long *)(var_1 + 0x28);
while (ssh->frozen == 0) {
var_3 = var_2(&ssh->queue... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_process_queued_incoming_data(Ssh_conflict ssh)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n Ssh_conflict ssh_local;\n int len;\n int origlen;\n void *vdata;\n uchar *data;\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)\n\n{\n int var_3;\n long var_1;\n type_1 ssh_local;\n int var_5;\n int var_7;\n void *vdata;\n type_2 *data;\n long var_9;\n \n var_9 = *(long *)(var_1 + 0x28);\n while (ssh->frozen == 0... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier))... |
404_psftp_and_psftp_strip.c | sftp_pkt_ensure | FUN_001234cd | sftp_pkt_ensure |
void sftp_pkt_ensure(sftp_packet *pkt,int length)
{
char *pcVar1;
int length_local;
sftp_packet *pkt_local;
if ((int)pkt->maxlen < length) {
pkt->maxlen = length + 0x100;
pcVar1 = (char *)saferealloc(pkt->data,(ulong)pkt->maxlen,1);
pkt->data = pcVar1;
}
return;
}
|
void FUN_001234cd(undefined8 *param_1,int param_2)
{
undefined8 uVar1;
if (*(int *)((long)param_1 + 0xc) < param_2) {
*(int *)((long)param_1 + 0xc) = param_2 + 0x100;
uVar1 = FUN_00110e91(*param_1,*(undefined4 *)((long)param_1 + 0xc),1);
*param_1 = uVar1;
}
return;
}
| (translation_unit "void FUN_001234cd(undefined8 *param_1,int param_2)\n\n{\n undefined8 uVar1;\n \n if (*(int *)((long)param_1 + 0xc) < param_2) {\n *(int *)((long)param_1 + 0xc) = param_2 + 0x100;\n uVar1 = FUN_00110e91(*param_1,*(undefined4 *)((long)param_1 + 0xc),1);\n *param_1 = uVar1;\n }\n return;\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 + 0xc]
CMP dword ptr [RBP + -0xc],EAX
JLE 0x00123523
MOV EAX,dword ptr [RBP + -0xc]
ADD EAX,0x100
MOV EDX,EAX
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0xc],EDX... |
void function_1(type_1 *pkt,int var_1)
{
char *pcVar1;
int length_local;
type_1 *pkt_local;
if ((int)pkt->maxlen < var_1) {
pkt->maxlen = var_1 + 0x100;
pcVar1 = (char *)var_2(pkt->data,(type_2)pkt->maxlen,1);
pkt->data = pcVar1;
}
return;
}
| (translation_unit "void sftp_pkt_ensure(sftp_packet *pkt,int length)\n\n{\n char *pcVar1;\n int length_local;\n sftp_packet *pkt_local;\n \n if ((int)pkt->maxlen < length) {\n pkt->maxlen = length + 0x100;\n pcVar1 = (char *)saferealloc(pkt->data,(ulong)pkt->maxlen,1);\n pkt->data = pcVar1;\n }\n return... | (translation_unit "void function_1(type_1 *pkt,int var_1)\n\n{\n char *pcVar1;\n int length_local;\n type_1 *pkt_local;\n \n if ((int)pkt->maxlen < var_1) {\n pkt->maxlen = var_1 + 0x100;\n pcVar1 = (char *)var_2(pkt->data,(type_2)pkt->maxlen,1);\n pkt->data = pcVar1;\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... |
729_psftp_and_psftp_strip.c | arcfour256_key | FUN_0014e80e | arcfour256_key |
void arcfour256_key(void *handle,uchar *key)
{
uchar *key_local;
void *handle_local;
ArcfourContext *ctx;
arcfour_setkey((ArcfourContext *)handle,key,0x20);
arcfour_stir((ArcfourContext *)handle);
return;
}
|
void FUN_0014e80e(undefined8 param_1,undefined8 param_2)
{
FUN_0014e568(param_1,param_2,0x20);
FUN_0014e762(param_1);
return;
}
| (translation_unit "void FUN_0014e80e(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0014e568(param_1,param_2,0x20);\n FUN_0014e762(param_1);\n return;\n}\n\n" (function_definition "void FUN_0014e80e(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0014e568(param_1,param_2,0x20);\n FUN_0014e762(param_1);\n ret... | 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 0x0014e568
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
... |
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);
var_2((type_2 *)handle);
return;
}
| (translation_unit "void arcfour256_key(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n ArcfourContext *ctx;\n \n arcfour_setkey((ArcfourContext *)handle,key,0x20);\n arcfour_stir((ArcfourContext *)handle);\n return;\n}\n\n" (function_definition "void arcfour256_key(void *handle,uchar *k... | (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 var_2((type_2 *)handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handl... | (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... |
389_psftp_and_psftp_strip.c | gppi | FUN_0011db30 | gppi |
void gppi(void *handle,char *name,int def,Conf *conf,int primary)
{
int value;
Conf *conf_local;
int primary_local;
int def_local;
char *name_local;
void *handle_local;
value = gppi_raw(handle,name,def);
conf_set_int(conf,primary,value);
return;
}
|
void FUN_0011db30(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
undefined4 param_5)
{
undefined4 uVar1;
uVar1 = FUN_0011daf1(param_1,param_2,param_3);
FUN_0010c3cc(param_4,param_5,uVar1);
return;
}
| (translation_unit "void FUN_0011db30(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n undefined4 param_5)\n\n{\n undefined4 uVar1;\n \n uVar1 = FUN_0011daf1(param_1,param_2,param_3);\n FUN_0010c3cc(param_4,param_5,uVar1);\n return;\n}\n\n" (function_definition "void FU... | 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 dword ptr [RBP + -0x18],R8D
MOV EDX,dword ptr [RBP + -0x14]
MOV RCX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x0... |
void function_1(void *handle,char *name,int def,type_1 *conf,int primary)
{
int value;
type_1 *conf_local;
int primary_local;
int def_local;
char *name_local;
void *handle_local;
value = var_1(handle,name,def);
var_2(conf,primary,value);
return;
}
| (translation_unit "void gppi(void *handle,char *name,int def,Conf *conf,int primary)\n\n{\n int value;\n Conf *conf_local;\n int primary_local;\n int def_local;\n char *name_local;\n void *handle_local;\n \n value = gppi_raw(handle,name,def);\n conf_set_int(conf,primary,value);\n return;\n}\n\n" (function_def... | (translation_unit "void function_1(void *handle,char *name,int def,type_1 *conf,int primary)\n\n{\n int value;\n type_1 *conf_local;\n int primary_local;\n int def_local;\n char *name_local;\n void *handle_local;\n \n value = var_1(handle,name,def);\n var_2(conf,primary,value);\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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
334_psftp_and_psftp_strip.c | sftp_cmd_cd | FUN_00119ca1 | sftp_cmd_cd |
int sftp_cmd_cd(sftp_command *cmd)
{
int iVar1;
sftp_request *psVar2;
sftp_packet *psVar3;
fxp_handle *handle;
char *pcVar4;
sftp_command *cmd_local;
char *dir;
sftp_request *req;
sftp_packet *pktin;
fxp_handle *dirh;
if (back == (Backend *)0x0) {
not_connected();
iVar1 = 0;
}
els... |
undefined8 FUN_00119ca1(long *param_1)
{
undefined8 uVar1;
undefined8 uVar2;
long lVar3;
long local_28;
if (DAT_001b8cf8 == 0) {
FUN_00117801();
uVar1 = 0;
}
else {
if (*(int *)(param_1 + 1) < 2) {
local_28 = FUN_0010fd06(DAT_001b9630);
}
else {
local_28 = FUN_001174da... | (translation_unit "undefined8 FUN_00119ca1(long *param_1)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n long lVar3;\n long local_28;\n \n if (DAT_001b8cf8 == 0) {\n FUN_00117801();\n uVar1 = 0;\n }\n else {\n if (*(int *)(param_1 + 1) < 2) {\n local_28 = FUN_0010fd06(DAT_001b9630);\n }\n el... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV RAX,qword ptr [0x001b8cf8]
TEST RAX,RAX
JNZ 0x00119cc8
CALL 0x00117801
MOV EAX,0x0
JMP 0x00119e1c
MOV RAX,qword ptr [RBP + -0x28]
MOV EAX,dword ptr [RAX + 0x8]
CMP EAX,0x1
JG 0x00119ce9
MOV RAX,qword ptr [0x001b9630]
MOV RDI,RAX
CALL 0x0010fd06
MOV q... |
int function_1(type_1 *cmd)
{
int iVar1;
type_2 *psVar2;
type_3 *psVar3;
type_4 *var_11;
char *pcVar4;
type_1 *cmd_local;
char *var_5;
type_2 *req;
type_3 *pktin;
type_4 *dirh;
if (var_1 == (type_5 *)0x0) {
var_2();
iVar1 = 0;
}
else {
if (cmd->nwords < 2) {
var_5 = var_... | (translation_unit "int sftp_cmd_cd(sftp_command *cmd)\n\n{\n int iVar1;\n sftp_request *psVar2;\n sftp_packet *psVar3;\n fxp_handle *handle;\n char *pcVar4;\n sftp_command *cmd_local;\n char *dir;\n sftp_request *req;\n sftp_packet *pktin;\n fxp_handle *dirh;\n \n if (back == (Backend *)0x0) {\n not_conn... | (translation_unit "int function_1(type_1 *cmd)\n\n{\n int iVar1;\n type_2 *psVar2;\n type_3 *psVar3;\n type_4 *var_11;\n char *pcVar4;\n type_1 *cmd_local;\n char *var_5;\n type_2 *req;\n type_3 *pktin;\n type_4 *dirh;\n \n if (var_1 == (type_5 *)0x0) {\n var_2();\n iVar1 = 0;\n }\n else {\n if (... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) de... |
261_psftp_and_psftp_strip.c | get_ssh_string | FUN_001114cd | get_ssh_string |
void * get_ssh_string(int *datalen,void **data,int *stringlen)
{
uint uVar1;
void *pvVar2;
int *stringlen_local;
void **data_local;
int *datalen_local;
uint len;
void *ret;
if (*datalen < 4) {
pvVar2 = (void *)0x0;
}
else {
/* WARNING: Load size is inaccurate */
uVar... |
long FUN_001114cd(int *param_1,long *param_2,uint *param_3)
{
uint uVar1;
long lVar2;
if (*param_1 < 4) {
lVar2 = 0;
}
else {
uVar1 = (uint)*(byte *)(*param_2 + 3) |
(uint)*(byte *)*param_2 << 0x18 | (uint)*(byte *)(*param_2 + 1) << 0x10 |
(uint)*(byte *)(*param_2 + 2) << ... | (translation_unit "long FUN_001114cd(int *param_1,long *param_2,uint *param_3)\n\n{\n uint uVar1;\n long lVar2;\n \n if (*param_1 < 4) {\n lVar2 = 0;\n }\n else {\n uVar1 = (uint)*(byte *)(*param_2 + 3) |\n (uint)*(byte *)*param_2 << 0x18 | (uint)*(byte *)(*param_2 + 1) << 0x10 |\n (ui... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX]
CMP EAX,0x3
JG 0x001114f2
MOV EAX,0x0
JMP 0x001115a3
MOV RAX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RAX]
MOVZX EAX,byte ptr [RAX]
MOVZX EAX,AL
... |
void * function_1(int *datalen,void **data,int *stringlen)
{
type_1 var_1;
void *pvVar2;
int *stringlen_local;
void **data_local;
int *datalen_local;
type_1 len;
void *ret;
if (*datalen < 4) {
pvVar2 = (void *)0x0;
}
else {
/* WARNING: Load size is inaccurate */
var_... | (translation_unit "void * get_ssh_string(int *datalen,void **data,int *stringlen)\n\n{\n uint uVar1;\n void *pvVar2;\n int *stringlen_local;\n void **data_local;\n int *datalen_local;\n uint len;\n void *ret;\n \n if (*datalen < 4) {\n pvVar2 = (void *)0x0;\n }\n else {\n /* WARNING: Lo... | (translation_unit "void * function_1(int *datalen,void **data,int *stringlen)\n\n{\n type_1 var_1;\n void *pvVar2;\n int *stringlen_local;\n void **data_local;\n int *datalen_local;\n type_1 len;\n void *ret;\n \n if (*datalen < 4) {\n pvVar2 = (void *)0x0;\n }\n else {\n /* WARNING: Lo... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primi... |
1216_pterm_and_pterm_strip.c | fontspec_free | FUN_001651f7 | fontspec_free |
void fontspec_free(FontSpec *f)
{
FontSpec *f_local;
safefree(f->name);
safefree(f);
return;
}
|
void FUN_001651f7(undefined8 *param_1)
{
FUN_001284fc(*param_1);
FUN_001284fc(param_1);
return;
}
| (translation_unit "void FUN_001651f7(undefined8 *param_1)\n\n{\n FUN_001284fc(*param_1);\n FUN_001284fc(param_1);\n return;\n}\n\n" (function_definition "void FUN_001651f7(undefined8 *param_1)\n\n{\n FUN_001284fc(*param_1);\n FUN_001284fc(param_1);\n return;\n}" primitive_type (function_declarator "FUN_001651f7(u... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x001284fc
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x001284fc
NOP
LEAVE
RET |
void function_1(type_1 *f)
{
type_1 *f_local;
var_1(f->name);
var_1(f);
return;
}
| (translation_unit "void fontspec_free(FontSpec *f)\n\n{\n FontSpec *f_local;\n \n safefree(f->name);\n safefree(f);\n return;\n}\n\n" (function_definition "void fontspec_free(FontSpec *f)\n\n{\n FontSpec *f_local;\n \n safefree(f->name);\n safefree(f);\n return;\n}" primitive_type (function_declarator "fontsp... | (translation_unit "void function_1(type_1 *f)\n\n{\n type_1 *f_local;\n \n var_1(f->name);\n var_1(f);\n return;\n}\n\n" (function_definition "void function_1(type_1 *f)\n\n{\n type_1 *f_local;\n \n var_1(f->name);\n var_1(f);\n return;\n}" primitive_type (function_declarator "function_1(type_1 *f)" identifie... | (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... |
1169_pterm_and_pterm_strip.c | get_x_display | FUN_001612c3 | get_x_display |
char * get_x_display(void *frontend)
{
undefined8 uVar1;
char *pcVar2;
void *frontend_local;
uVar1 = gdk_display_get_default();
pcVar2 = (char *)gdk_display_get_name(uVar1);
return pcVar2;
}
|
void FUN_001612c3(void)
{
undefined8 uVar1;
uVar1 = gdk_display_get_default();
gdk_display_get_name(uVar1);
return;
}
| (translation_unit "void FUN_001612c3(void)\n\n{\n undefined8 uVar1;\n \n uVar1 = gdk_display_get_default();\n gdk_display_get_name(uVar1);\n return;\n}\n\n" (function_definition "void FUN_001612c3(void)\n\n{\n undefined8 uVar1;\n \n uVar1 = gdk_display_get_default();\n gdk_display_get_name(uVar1);\n return;\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
CALL 0x0010fd30
MOV RDI,RAX
CALL 0x00110480
LEAVE
RET |
char * function_1(void *frontend)
{
type_1 uVar1;
char *pcVar2;
void *frontend_local;
uVar1 = var_1();
pcVar2 = (char *)var_2(uVar1);
return pcVar2;
}
| (translation_unit "char * get_x_display(void *frontend)\n\n{\n undefined8 uVar1;\n char *pcVar2;\n void *frontend_local;\n \n uVar1 = gdk_display_get_default();\n pcVar2 = (char *)gdk_display_get_name(uVar1);\n return pcVar2;\n}\n\n" (function_definition "char * get_x_display(void *frontend)\n\n{\n undefined8 u... | (translation_unit "char * function_1(void *frontend)\n\n{\n type_1 uVar1;\n char *pcVar2;\n void *frontend_local;\n \n uVar1 = var_1();\n pcVar2 = (char *)var_2(uVar1);\n return pcVar2;\n}\n\n" (function_definition "char * function_1(void *frontend)\n\n{\n type_1 uVar1;\n char *pcVar2;\n void *frontend_local;... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decla... |
251_psftp_and_psftp_strip.c | bufchain_fetch | FUN_00110c9b | bufchain_fetch |
void bufchain_fetch(bufchain *ch,void *data,int len)
{
int len_local;
void *data_local;
bufchain *ch_local;
int remlen;
bufchain_granule *tmp;
char *data_c;
tmp = ch->head;
len_local = len;
data_c = (char *)data;
if (ch->buffersize < len) {
/* WARNING: Subroutine does not re... |
void FUN_00110c9b(undefined8 *param_1,void *param_2,int param_3)
{
int local_3c;
int local_1c;
undefined8 *local_18;
void *local_10;
local_18 = (undefined8 *)*param_1;
local_3c = param_3;
local_10 = param_2;
if (*(int *)(param_1 + 2) < param_3) {
/* WARNING: Subroutine does not ... | (translation_unit "void FUN_00110c9b(undefined8 *param_1,void *param_2,int param_3)\n\n{\n int local_3c;\n int local_1c;\n undefined8 *local_18;\n void *local_10;\n \n local_18 = (undefined8 *)*param_1;\n local_3c = param_3;\n local_10 = param_2;\n if (*(int *)(param_1 + 2) < param_3) {\n /*... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV dword ptr [RBP + -0x34],EDX
MOV RAX,qword ptr [RBP + -0x30]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x28]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x28]
MOV EAX... |
void function_1(type_1 *ch,void *data,int var_1)
{
int var_3;
void *data_local;
type_1 *ch_local;
int var_6;
type_2 *var_4;
char *var_7;
var_4 = ch->head;
var_3 = var_1;
var_7 = (char *)data;
if (ch->buffersize < var_1) {
/* WARNING: Subroutine does not return */
var_2("... | (translation_unit "void bufchain_fetch(bufchain *ch,void *data,int len)\n\n{\n int len_local;\n void *data_local;\n bufchain *ch_local;\n int remlen;\n bufchain_granule *tmp;\n char *data_c;\n \n tmp = ch->head;\n len_local = len;\n data_c = (char *)data;\n if (ch->buffersize < len) {\n /*... | (translation_unit "void function_1(type_1 *ch,void *data,int var_1)\n\n{\n int var_3;\n void *data_local;\n type_1 *ch_local;\n int var_6;\n type_2 *var_4;\n char *var_7;\n \n var_4 = ch->head;\n var_3 = var_1;\n var_7 = (char *)data;\n if (ch->buffersize < var_1) {\n /* WARNING: Subroutin... | (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... |
277_psftp_and_psftp_strip.c | pfd_closing | FUN_00111b1c | pfd_closing |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void pfd_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;
PortForwarding *pf;
if (error_msg == (char *)0x0) {
if (plug[... |
void FUN_00111b1c(long param_1,long param_2)
{
if (param_2 == 0) {
if (*(long *)(param_1 + 8) != 0) {
FUN_001335ee(*(undefined8 *)(param_1 + 8));
}
}
else if (*(long *)(param_1 + 8) == 0) {
FUN_00112b0d(param_1);
}
else {
FUN_00133641(*(undefined8 *)(param_1 + 8),param_2);
}
return... | (translation_unit "void FUN_00111b1c(long param_1,long param_2)\n\n{\n if (param_2 == 0) {\n if (*(long *)(param_1 + 8) != 0) {\n FUN_001335ee(*(undefined8 *)(param_1 + 8));\n }\n }\n else if (*(long *)(param_1 + 8) == 0) {\n FUN_00112b0d(param_1);\n }\n else {\n FUN_00133641(*(undefined8 *)(param... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV dword ptr [RBP + -0x28],ECX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x20],0x0
JZ 0x00111b75
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 plug,char *var_1,int error_code,int calling_back)
{
int calling_back_local;
int error_code_local;
char *error_msg_local;
type_1 plug_local;
type_2 *pf;
if (var_1 == (char *)0x0) {
if (plug[1] != (type_3... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid pfd_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 PortForwarding *pf;\n \n if (error_msg ==... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 plug,char *var_1,int error_code,int calling_back)\n\n{\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n type_1 plug_local;\n type_2 *pf;\n \n if (var_1 == (char *)0x0)... | (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:... |
409_psftp_and_psftp_strip.c | sftp_pkt_adduint64 | FUN_001236b0 | sftp_pkt_adduint64 |
void sftp_pkt_adduint64(sftp_packet *pkt,uint64 value)
{
long lVar1;
long in_FS_OFFSET;
uint64 value_local;
sftp_packet *pkt_local;
uchar x [8];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
x[0] = value.hi._3_1_;
x[1] = value.hi._2_1_;
x[2] = value.hi._1_1_;
x[3] = value.hi;
x[4] = value.lo._3_1_;... |
void FUN_001236b0(undefined8 param_1,undefined8 param_2,undefined8 param_3)
{
long in_FS_OFFSET;
undefined local_18;
undefined local_17;
undefined local_16;
undefined local_15;
undefined local_14;
undefined local_13;
undefined local_12;
undefined local_11;
long local_10;
local_10 = *(long *)(... | (translation_unit "void FUN_001236b0(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n long in_FS_OFFSET;\n undefined local_18;\n undefined local_17;\n undefined local_16;\n undefined local_15;\n undefined local_14;\n undefined local_13;\n undefined local_12;\n undefined local_11;\n long local_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,RSI
MOV RCX,RDX
MOV RDX,RCX
MOV qword ptr [RBP + -0x30],RAX
MOV qword ptr [RBP + -0x28],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x30]
SHR RAX,0x18
MOV byte ptr [RBP + -0x10],AL
MOV RAX,... |
void function_1(type_1 *pkt,type_2 value)
{
long var_3;
long var_1;
type_2 value_local;
type_1 *pkt_local;
type_3 x [8];
var_3 = *(long *)(var_1 + 0x28);
x[0] = value.hi._3_1_;
x[1] = value.hi._2_1_;
x[2] = value.hi._1_1_;
x[3] = value.hi;
x[4] = value.lo._3_1_;
x[5] = value.lo._2_1_;
x[6... | (translation_unit "void sftp_pkt_adduint64(sftp_packet *pkt,uint64 value)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n uint64 value_local;\n sftp_packet *pkt_local;\n uchar x [8];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n x[0] = value.hi._3_1_;\n x[1] = value.hi._2_1_;\n x[2] = value.hi._1_1_;\n x[3] = val... | (translation_unit "void function_1(type_1 *pkt,type_2 value)\n\n{\n long var_3;\n long var_1;\n type_2 value_local;\n type_1 *pkt_local;\n type_3 x [8];\n \n var_3 = *(long *)(var_1 + 0x28);\n x[0] = value.hi._3_1_;\n x[1] = value.hi._2_1_;\n x[2] = value.hi._1_1_;\n x[3] = value.hi;\n x[4] = value.lo._3_1_... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
760_psftp_and_psftp_strip.c | internal_sub | FUN_00151437 | internal_sub |
void internal_sub(BignumInt *a,BignumInt *b,BignumInt *c,int len)
{
ulong uVar1;
BignumInt BVar2;
int len_local;
BignumInt *c_local;
BignumInt *b_local;
BignumInt *a_local;
int i;
BignumCarry carry;
BignumDblInt ADC_temp;
carry = 1;
for (i = len + -1; -1 < i; i = i + -1) {
uVar1 = a[i] + ... |
void FUN_00151437(long param_1,long param_2,long param_3,int param_4)
{
ulong uVar1;
long lVar2;
ulong uVar3;
ulong uVar4;
undefined4 local_24;
undefined8 local_20;
local_20 = 1;
for (local_24 = param_4 + -1; -1 < local_24; local_24 = local_24 + -1) {
uVar3 = *(ulong *)(param_1 + (long)local_24... | (translation_unit "void FUN_00151437(long param_1,long param_2,long param_3,int param_4)\n\n{\n ulong uVar1;\n long lVar2;\n ulong uVar3;\n ulong uVar4;\n undefined4 local_24;\n undefined8 local_20;\n \n local_20 = 1;\n for (local_24 = param_4 + -1; -1 < local_24; local_24 = local_24 + -1) {\n uVar3 = *(ulo... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV dword ptr [RBP + -0x3c],ECX
MOV qword ptr [RBP + -0x18],0x1
MOV EAX,dword ptr [RBP + -0x3c]
SUB EAX,0x1
MOV dword ptr [RBP + -0x1c],EAX
JMP 0x001514f9
MOV EAX,dword ptr [RBP + -0x1c]
CDQE
LEA RDX,[RA... |
void function_1(type_1 *a,type_1 *b,type_1 *c,int var_1)
{
type_2 var_3;
type_1 BVar2;
int len_local;
type_1 *c_local;
type_1 *b_local;
type_1 *a_local;
int var_2;
type_3 var_4;
type_4 ADC_temp;
var_4 = 1;
for (var_2 = var_1 + -1; -1 < var_2; var_2 = var_2 + -1) {
var_3 = a[var_2] + ~b[va... | (translation_unit "void internal_sub(BignumInt *a,BignumInt *b,BignumInt *c,int len)\n\n{\n ulong uVar1;\n BignumInt BVar2;\n int len_local;\n BignumInt *c_local;\n BignumInt *b_local;\n BignumInt *a_local;\n int i;\n BignumCarry carry;\n BignumDblInt ADC_temp;\n \n carry = 1;\n for (i = len + -1; -1 < i; i... | (translation_unit "void function_1(type_1 *a,type_1 *b,type_1 *c,int var_1)\n\n{\n type_2 var_3;\n type_1 BVar2;\n int len_local;\n type_1 *c_local;\n type_1 *b_local;\n type_1 *a_local;\n int var_2;\n type_3 var_4;\n type_4 ADC_temp;\n \n var_4 = 1;\n for (var_2 = var_1 + -1; -1 < var_2; var_2 = var_2 + -1... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
1134_pterm_and_pterm_strip.c | retrieve_cutbuffer | FUN_0015e9b8 | retrieve_cutbuffer |
char * retrieve_cutbuffer(wchar_t *nbytes)
{
undefined8 uVar1;
wchar_t *nbytes_local;
char *ptr;
Display *disp;
uVar1 = gdk_display_get_default();
uVar1 = gdk_x11_display_get_xdisplay(uVar1);
ptr = (char *)XFetchBytes(uVar1,nbytes);
if ((*nbytes < L'\x01') && (ptr != (char *)0x0)) {
XFree(ptr);... |
long FUN_0015e9b8(int *param_1)
{
undefined8 uVar1;
undefined8 local_18;
uVar1 = gdk_display_get_default();
uVar1 = gdk_x11_display_get_xdisplay(uVar1);
local_18 = XFetchBytes(uVar1,param_1);
if ((*param_1 < 1) && (local_18 != 0)) {
XFree(local_18);
local_18 = 0;
}
return local_18;
}
| (translation_unit "long FUN_0015e9b8(int *param_1)\n\n{\n undefined8 uVar1;\n undefined8 local_18;\n \n uVar1 = gdk_display_get_default();\n uVar1 = gdk_x11_display_get_xdisplay(uVar1);\n local_18 = XFetchBytes(uVar1,param_1);\n if ((*param_1 < 1) && (local_18 != 0)) {\n XFree(local_18);\n local_18 = 0;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
CALL 0x0010fd30
MOV RDI,RAX
CALL 0x00110e10
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0010fbd0
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dwor... |
char * function_1(type_1 *nbytes)
{
type_2 uVar1;
type_1 *nbytes_local;
char *var_4;
type_3 *disp;
uVar1 = var_1();
uVar1 = var_2(uVar1);
var_4 = (char *)var_3(uVar1,nbytes);
if ((*nbytes < L'\x01') && (var_4 != (char *)0x0)) {
var_5(var_4);
var_4 = (char *)0x0;
}
return var_4;
}
| (translation_unit "char * retrieve_cutbuffer(wchar_t *nbytes)\n\n{\n undefined8 uVar1;\n wchar_t *nbytes_local;\n char *ptr;\n Display *disp;\n \n uVar1 = gdk_display_get_default();\n uVar1 = gdk_x11_display_get_xdisplay(uVar1);\n ptr = (char *)XFetchBytes(uVar1,nbytes);\n if ((*nbytes < L'\x01') && (ptr != (c... | (translation_unit "char * function_1(type_1 *nbytes)\n\n{\n type_2 uVar1;\n type_1 *nbytes_local;\n char *var_4;\n type_3 *disp;\n \n uVar1 = var_1();\n uVar1 = var_2(uVar1);\n var_4 = (char *)var_3(uVar1,nbytes);\n if ((*nbytes < L'\x01') && (var_4 != (char *)0x0)) {\n var_5(var_4);\n var_4 = (char *)0x... | (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... |
796_psftp_and_psftp_strip.c | bignum_add_long | FUN_0015611f | bignum_add_long |
Bignum_conflict bignum_add_long(Bignum_conflict number,ulong n)
{
BignumInt BVar1;
Bignum_conflict pBVar2;
ulong uVar3;
ulong uVar4;
ulong n_local;
Bignum_conflict number_local;
int words;
int i;
int maxwords;
BignumCarry carry;
Bignum_conflict ret;
BignumInt nword;
BignumInt numword;
Bign... |
long * FUN_0015611f(ulong *param_1,ulong param_2)
{
long lVar1;
long *plVar2;
ulong uVar3;
ulong uVar4;
int local_64;
int local_60;
ulong local_58;
local_64 = (int)*param_1;
if (local_64 < 1) {
local_64 = 1;
}
plVar2 = (long *)FUN_00151193(local_64 + 1);
local_58 = 0;
*plVar2 = 0;
f... | (translation_unit "long * FUN_0015611f(ulong *param_1,ulong param_2)\n\n{\n long lVar1;\n long *plVar2;\n ulong uVar3;\n ulong uVar4;\n int local_64;\n int local_60;\n ulong local_58;\n \n local_64 = (int)*param_1;\n if (local_64 < 1) {\n local_64 = 1;\n }\n plVar2 = (long *)FUN_00151193(local_64 + 1);\n... | PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
SUB RSP,0x50
MOV qword ptr [RBP + -0x68],RDI
MOV qword ptr [RBP + -0x70],RSI
MOV dword ptr [RBP + -0x54],0x1
MOV RAX,qword ptr [RBP + -0x68]
MOV RAX,qword ptr [RAX]
MOV dword ptr [RBP + -0x5c],EAX
MOV EAX,dword ptr [RBP + -0x5c]
CMP EAX,dword ptr [RBP + -0x54]
JG... |
type_1 function_1(type_1 number,type_2 n)
{
type_3 BVar1;
type_1 pBVar2;
type_2 var_5;
type_2 var_4;
type_2 n_local;
type_1 number_local;
int var_1;
int var_3;
int maxwords;
type_4 var_6;
type_1 ret;
type_3 nword;
type_3 numword;
type_5 ADC_temp;
var_1 = (int)*number;
if (var_1 < 1)... | (translation_unit "Bignum_conflict bignum_add_long(Bignum_conflict number,ulong n)\n\n{\n BignumInt BVar1;\n Bignum_conflict pBVar2;\n ulong uVar3;\n ulong uVar4;\n ulong n_local;\n Bignum_conflict number_local;\n int words;\n int i;\n int maxwords;\n BignumCarry carry;\n Bignum_conflict ret;\n BignumInt nw... | (translation_unit "type_1 function_1(type_1 number,type_2 n)\n\n{\n type_3 BVar1;\n type_1 pBVar2;\n type_2 var_5;\n type_2 var_4;\n type_2 n_local;\n type_1 number_local;\n int var_1;\n int var_3;\n int maxwords;\n type_4 var_6;\n type_1 ret;\n type_3 nword;\n type_3 numword;\n type_5 ADC_temp;\n \n va... | (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... |
1225_pterm_and_pterm_strip.c | printer_get_name | FUN_0016561e | printer_get_name |
char * printer_get_name(printer_enum *pe,int i)
{
int i_local;
printer_enum *pe_local;
return (char *)0x0;
}
|
undefined8 FUN_0016561e(void)
{
return 0;
}
| (translation_unit "undefined8 FUN_0016561e(void)\n\n{\n return 0;\n}\n\n" (function_definition "undefined8 FUN_0016561e(void)\n\n{\n return 0;\n}" type_identifier (function_declarator "FUN_0016561e(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV EAX,0x0
POP RBP
RET |
char * function_1(type_1 *pe,int i)
{
int i_local;
type_1 *pe_local;
return (char *)0x0;
}
| (translation_unit "char * printer_get_name(printer_enum *pe,int i)\n\n{\n int i_local;\n printer_enum *pe_local;\n \n return (char *)0x0;\n}\n\n" (function_definition "char * printer_get_name(printer_enum *pe,int i)\n\n{\n int i_local;\n printer_enum *pe_local;\n \n return (char *)0x0;\n}" primitive_type (point... | (translation_unit "char * function_1(type_1 *pe,int i)\n\n{\n int i_local;\n type_1 *pe_local;\n \n return (char *)0x0;\n}\n\n" (function_definition "char * function_1(type_1 *pe,int i)\n\n{\n int i_local;\n type_1 *pe_local;\n \n return (char *)0x0;\n}" primitive_type (pointer_declarator "* function_1(type_1 *... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
1318_pterm_and_pterm_strip.c | mk_wcswidth_cjk | FUN_0016a0e0 | mk_wcswidth_cjk |
int mk_wcswidth_cjk(uint *pwcs,size_t n)
{
int iVar1;
size_t n_local;
uint *pwcs_local;
int width;
int w;
width = 0;
n_local = n;
pwcs_local = pwcs;
while( true ) {
if (*pwcs_local == 0) {
return width;
}
if (n_local == 0) break;
iVar1 = mk_wcwidth_cjk(*pwcs_local);
if (... |
int FUN_0016a0e0(int *param_1,long param_2)
{
int iVar1;
long local_28;
int *local_20;
int local_10;
local_10 = 0;
local_28 = param_2;
local_20 = param_1;
while( true ) {
if (*local_20 == 0) {
return local_10;
}
if (local_28 == 0) break;
iVar1 = FUN_0016a0a8(*local_20);
if... | (translation_unit "int FUN_0016a0e0(int *param_1,long param_2)\n\n{\n int iVar1;\n long local_28;\n int *local_20;\n int local_10;\n \n local_10 = 0;\n local_28 = param_2;\n local_20 = param_1;\n while( true ) {\n if (*local_20 == 0) {\n return local_10;\n }\n if (local_28 == 0) break;\n iVar1... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x8],0x0
JMP 0x0016a121
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX]
MOV EDI,EAX
CALL 0x0016a0a8
MOV dword ptr [RBP + -0x4],EAX
CMP dword ptr [RBP + -0x4],0x0
JNS 0x0016a116
MOV EAX,0xfffff... |
int function_1(type_1 *pwcs,size_t n)
{
int var_3;
size_t var_1;
type_1 *var_5;
int var_4;
int w;
var_4 = 0;
var_1 = n;
var_5 = pwcs;
while( true ) {
if (*var_5 == 0) {
return var_4;
}
if (var_1 == 0) break;
var_3 = var_2(*var_5);
if (var_3 < 0) {
return -1;
}
... | (translation_unit "int mk_wcswidth_cjk(uint *pwcs,size_t n)\n\n{\n int iVar1;\n size_t n_local;\n uint *pwcs_local;\n int width;\n int w;\n \n width = 0;\n n_local = n;\n pwcs_local = pwcs;\n while( true ) {\n if (*pwcs_local == 0) {\n return width;\n }\n if (n_local == 0) break;\n iVar1 = mk... | (translation_unit "int function_1(type_1 *pwcs,size_t n)\n\n{\n int var_3;\n size_t var_1;\n type_1 *var_5;\n int var_4;\n int w;\n \n var_4 = 0;\n var_1 = n;\n var_5 = pwcs;\n while( true ) {\n if (*var_5 == 0) {\n return var_4;\n }\n if (var_1 == 0) break;\n var_3 = var_2(*var_5);\n if (... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif... |
752_psftp_and_psftp_strip.c | blowfish_ssh2_decrypt_blk | FUN_0015112d | blowfish_ssh2_decrypt_blk |
void blowfish_ssh2_decrypt_blk(void *handle,uchar *blk,int len)
{
int len_local;
uchar *blk_local;
void *handle_local;
BlowfishContext *ctx;
blowfish_msb_decrypt_cbc(blk,len,(BlowfishContext *)handle);
return;
}
|
void FUN_0015112d(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
FUN_001502cf(param_2,param_3,param_1);
return;
}
| (translation_unit "void FUN_0015112d(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_001502cf(param_2,param_3,param_1);\n return;\n}\n\n" (function_definition "void FUN_0015112d(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_001502cf(param_2,param_3,param_1);\n return;\n}"... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x8]
MOV ECX,dword ptr [RBP + -0x24]
MOV RAX,qword ptr [RBP + -0x20]
MOV ESI,ECX
MOV RDI,RAX
CALL 0x0... |
void function_1(void *handle,type_1 *blk,int len)
{
int len_local;
type_1 *blk_local;
void *handle_local;
type_2 *ctx;
var_1(blk,len,(type_2 *)handle);
return;
}
| (translation_unit "void blowfish_ssh2_decrypt_blk(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n BlowfishContext *ctx;\n \n blowfish_msb_decrypt_cbc(blk,len,(BlowfishContext *)handle);\n return;\n}\n\n" (function_definition "void blowfish_ssh2_decrypt_blk(void ... | (translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_2 *ctx;\n \n var_1(blk,len,(type_2 *)handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *bl... | (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... |
1113_pterm_and_pterm_strip.c | input_method_commit_event | FUN_0015d715 | input_method_commit_event |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void input_method_commit_event(GtkIMContext *imc,gchar *str,gpointer data)
{
size_t sVar1;
gpointer data_local;
gchar *str_local;
GtkIMContext *imc_local;
gui_data *inst;
if (*(long *)((long)data + 0xd88) != 0) {
sVar1 = strl... |
void FUN_0015d715(undefined8 param_1,char *param_2,long param_3)
{
size_t sVar1;
if (*(long *)(param_3 + 0xd88) != 0) {
sVar1 = strlen(param_2);
FUN_00122113(*(undefined8 *)(param_3 + 0xd88),0x37,param_2,sVar1 & 0xffffffff,1);
}
FUN_0015b443(param_3,0);
FUN_00131d9b(*(undefined8 *)(param_3 + 0xda... | (translation_unit "void FUN_0015d715(undefined8 param_1,char *param_2,long param_3)\n\n{\n size_t sVar1;\n \n if (*(long *)(param_3 + 0xd88) != 0) {\n sVar1 = strlen(param_2);\n FUN_00122113(*(undefined8 *)(param_3 + 0xd88),0x37,param_2,sVar1 & 0xffffffff,1);\n }\n FUN_0015b443(param_3,0);\n FUN_00131d9b(*(... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0xd88]
TEST RAX,RAX
JZ 0x0015d771
MOV RAX,qword ptr [RBP + -0x20]
MOV R... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *imc,type_2 *str,type_3 data)
{
size_t sVar1;
type_3 data_local;
type_2 *str_local;
type_1 *imc_local;
type_4 *inst;
if (*(long *)((long)data + 0xd88) != 0) {
sVar1 = var_1(str);
var_2(*(void **)((l... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid input_method_commit_event(GtkIMContext *imc,gchar *str,gpointer data)\n\n{\n size_t sVar1;\n gpointer data_local;\n gchar *str_local;\n GtkIMContext *imc_local;\n gui_data *inst;\n \n if (*(long *)((long)data + 0x... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *imc,type_2 *str,type_3 data)\n\n{\n size_t sVar1;\n type_3 data_local;\n type_2 *str_local;\n type_1 *imc_local;\n type_4 *inst;\n \n if (*(long *)((long)data + 0xd88) != 0) {\n sVar1 = var_1... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato... |
148_psftp_and_psftp_strip.c | run_toplevel_callbacks | FUN_00108f6a | run_toplevel_callbacks |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void run_toplevel_callbacks(void)
{
toplevel_callback_fn_t *pp_Var1;
void **ppvVar2;
if (cbhead != (callback *)0x0) {
cbcurr = cbhead;
if (cbhead->next == (callback *)0x0) {
cbtail = (callback *)0x0;
}
pp_Var1... |
void FUN_00108f6a(void)
{
long *plVar1;
long *plVar2;
if (DAT_001b8c78 != (long *)0x0) {
DAT_001b8c70 = DAT_001b8c78;
if ((long *)*DAT_001b8c78 == (long *)0x0) {
DAT_001b8c80 = 0;
}
plVar1 = DAT_001b8c78 + 1;
plVar2 = DAT_001b8c78 + 2;
DAT_001b8c78 = (long *)*DAT_001b8c78;
(... | (translation_unit "void FUN_00108f6a(void)\n\n{\n long *plVar1;\n long *plVar2;\n \n if (DAT_001b8c78 != (long *)0x0) {\n DAT_001b8c70 = DAT_001b8c78;\n if ((long *)*DAT_001b8c78 == (long *)0x0) {\n DAT_001b8c80 = 0;\n }\n plVar1 = DAT_001b8c78 + 1;\n plVar2 = DAT_001b8c78 + 2;\n DAT_001b8c78... | PUSH RBP
MOV RBP,RSP
MOV RAX,qword ptr [0x001b8c78]
TEST RAX,RAX
JZ 0x00108fe5
MOV RAX,qword ptr [0x001b8c78]
MOV qword ptr [0x001b8c70],RAX
MOV RAX,qword ptr [0x001b8c78]
MOV RAX,qword ptr [RAX]
MOV qword ptr [0x001b8c78],RAX
MOV RAX,qword ptr [0x001b8c78]
TEST RAX,RAX
JNZ 0x00108fb0
MOV qword ptr [0x001b8c80],0x0
MOV... |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
type_1 *pp_Var1;
void **ppvVar2;
if (var_1 != (type_2 *)0x0) {
cbcurr = var_1;
if (var_1->next == (type_2 *)0x0) {
cbtail = (type_2 *)0x0;
}
pp_Var1 = &var_1->fn;
ppvVar2 = &var_1->... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid run_toplevel_callbacks(void)\n\n{\n toplevel_callback_fn_t *pp_Var1;\n void **ppvVar2;\n \n if (cbhead != (callback *)0x0) {\n cbcurr = cbhead;\n if (cbhead->next == (callback *)0x0) {\n cbtail = (call... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n type_1 *pp_Var1;\n void **ppvVar2;\n \n if (var_1 != (type_2 *)0x0) {\n cbcurr = var_1;\n if (var_1->next == (type_2 *)0x0) {\n cbtail = (type_2 *)0x0;\n }\n pp_Var1 = &va... | (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: (type_identifier) declarator: (pointer_declarator declarator: (ident... |
1175_pterm_and_pterm_strip.c | set_geom_hints | FUN_00161a9d | set_geom_hints |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void set_geom_hints(gui_data *inst)
{
long lVar1;
undefined8 uVar2;
long in_FS_OFFSET;
gui_data *inst_local;
gint flags;
GdkGeometry geom;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
flags = 0x2a;
compute_geom_hints(inst,&geom)... |
void FUN_00161a9d(undefined8 *param_1)
{
undefined8 uVar1;
long in_FS_OFFSET;
undefined4 local_5c;
undefined local_58 [56];
long local_20;
local_20 = *(long *)(in_FS_OFFSET + 0x28);
local_5c = 0x2a;
FUN_00161811(param_1,local_58);
if (*(int *)(param_1 + 0x13) != 0) {
local_5c = 0xaa;
}
uV... | (translation_unit "void FUN_00161a9d(undefined8 *param_1)\n\n{\n undefined8 uVar1;\n long in_FS_OFFSET;\n undefined4 local_5c;\n undefined local_58 [56];\n long local_20;\n \n local_20 = *(long *)(in_FS_OFFSET + 0x28);\n local_5c = 0x2a;\n FUN_00161811(param_1,local_58);\n if (*(int *)(param_1 + 0x13) != 0) {... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x68
MOV qword ptr [RBP + -0x68],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x54],0x2a
LEA RDX,[RBP + -0x50]
MOV RAX,qword ptr [RBP + -0x68]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00161811
MOV RAX,qword ptr [RBP + -0x68]
MOV EAX,dword ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *inst)
{
long var_6;
type_2 uVar2;
long var_1;
type_1 *inst_local;
type_3 flags;
type_4 geom;
var_6 = *(long *)(var_1 + 0x28);
flags = 0x2a;
var_2(inst,&geom);
if (inst->gotpos != L'\0') {
flags... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid set_geom_hints(gui_data *inst)\n\n{\n long lVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n gui_data *inst_local;\n gint flags;\n GdkGeometry geom;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n flags = 0x2a;\n... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *inst)\n\n{\n long var_6;\n type_2 uVar2;\n long var_1;\n type_1 *inst_local;\n type_3 flags;\n type_4 geom;\n \n var_6 = *(long *)(var_1 + 0x28);\n flags = 0x2a;\n var_2(inst,&geom);\n if (i... | (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... |
157_psftp_and_psftp_strip.c | conf_cmp_constkey | FUN_0010b60b | conf_cmp_constkey |
int conf_cmp_constkey(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
key *a;
constkey *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < *bv) {
iVar1 = -1;
}
else {
/* WARNING: ... |
int FUN_0010b60b(int *param_1,int *param_2)
{
int iVar1;
if (*param_1 < *param_2) {
iVar1 = -1;
}
else if (*param_2 < *param_1) {
iVar1 = 1;
}
else if (*(int *)(&DAT_001b8020 + (long)*param_1 * 4) == 1) {
if (param_1[2] < param_2[2]) {
iVar1 = -1;
}
else if (param_2[2] < param... | (translation_unit "int FUN_0010b60b(int *param_1,int *param_2)\n\n{\n int iVar1;\n \n if (*param_1 < *param_2) {\n iVar1 = -1;\n }\n else if (*param_2 < *param_1) {\n iVar1 = 1;\n }\n else if (*(int *)(&DAT_001b8020 + (long)*param_1 * 4) == 1) {\n if (param_1[2] < param_2[2]) {\n iVar1 = -1;\n }... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EDX,dword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,... |
int function_1(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
type_1 *a;
type_2 *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < *bv) {
iVar1 = -1;
}
else {
/* WARNING: Load s... | (translation_unit "int conf_cmp_constkey(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n key *a;\n constkey *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n iVar1 = -1;\n }\n else {\... | (translation_unit "int function_1(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n type_1 *a;\n type_2 *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n iVar1 = -1;\n }\n else {\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
281_psftp_and_psftp_strip.c | pfd_sent | FUN_001125e6 | pfd_sent |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void pfd_sent(Plug plug,int bufsize)
{
int bufsize_local;
Plug plug_local;
PortForwarding *pf;
if (plug[1] != (plug_function_table *)0x0) {
sshfwd_unthrottle((ssh_channel *)plug[1],bufsize);
}
return;
}
|
void FUN_001125e6(long param_1,undefined4 param_2)
{
if (*(long *)(param_1 + 8) != 0) {
FUN_0013370e(*(undefined8 *)(param_1 + 8),param_2);
}
return;
}
| (translation_unit "void FUN_001125e6(long param_1,undefined4 param_2)\n\n{\n if (*(long *)(param_1 + 8) != 0) {\n FUN_0013370e(*(undefined8 *)(param_1 + 8),param_2);\n }\n return;\n}\n\n" (function_definition "void FUN_001125e6(long param_1,undefined4 param_2)\n\n{\n if (*(long *)(param_1 + 8) != 0) {\n FUN_0... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
TEST RAX,RAX
JZ 0x0011261f
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
MOV EDX,dw... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 plug,int bufsize)
{
int bufsize_local;
type_1 plug_local;
type_2 *pf;
if (plug[1] != (type_3 *)0x0) {
var_1((type_4 *)plug[1],bufsize);
}
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid pfd_sent(Plug plug,int bufsize)\n\n{\n int bufsize_local;\n Plug plug_local;\n PortForwarding *pf;\n \n if (plug[1] != (plug_function_table *)0x0) {\n sshfwd_unthrottle((ssh_channel *)plug[1],bufsize);\n }\n re... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 plug,int bufsize)\n\n{\n int bufsize_local;\n type_1 plug_local;\n type_2 *pf;\n \n if (plug[1] != (type_3 *)0x0) {\n var_1((type_4 *)plug[1],bufsize);\n }\n return;\n}\n\n" comment (function_... | (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... |
183_psftp_and_psftp_strip.c | conf_set_filename | FUN_0010c823 | conf_set_filename |
void conf_set_filename(Conf *conf,int primary,Filename *value)
{
conf_entry *entry_00;
Filename *pFVar1;
Filename *value_local;
int primary_local;
Conf *conf_local;
conf_entry *entry;
entry_00 = (conf_entry *)safemalloc(1,0x18);
if (subkeytypes[primary] != 0) {
/* WARNING: Subro... |
void FUN_0010c823(undefined8 param_1,int param_2,undefined8 param_3)
{
int *piVar1;
undefined8 uVar2;
piVar1 = (int *)FUN_00110d9a(1,0x18);
if (*(int *)(&DAT_001b8020 + (long)param_2 * 4) != 0) {
/* WARNING: Subroutine does not return */
__assert_fail("subkeytypes[primary] == TYPE_N... | (translation_unit "void FUN_0010c823(undefined8 param_1,int param_2,undefined8 param_3)\n\n{\n int *piVar1;\n undefined8 uVar2;\n \n piVar1 = (int *)FUN_00110d9a(1,0x18);\n if (*(int *)(&DAT_001b8020 + (long)param_2 * 4) != 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("sub... | 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 ESI,0x18
MOV EDI,0x1
CALL 0x00110d9a
MOV qword ptr [RBP + -0x8],RAX
MOV EAX,dword ptr [RBP + -0x1c]
CDQE
LEA RDX,[RAX*0x4]
LEA RAX,[0x1b8020]
MOV EAX,dword ptr [RDX + RAX*0x1]
TEST EAX,E... |
void function_1(type_1 *conf,int primary,type_2 *value)
{
type_3 *entry_00;
type_2 *pFVar1;
type_2 *value_local;
int primary_local;
type_1 *conf_local;
type_3 *entry;
entry_00 = (type_3 *)var_1(1,0x18);
if (subkeytypes[primary] != 0) {
/* WARNING: Subroutine does not return */
... | (translation_unit "void conf_set_filename(Conf *conf,int primary,Filename *value)\n\n{\n conf_entry *entry_00;\n Filename *pFVar1;\n Filename *value_local;\n int primary_local;\n Conf *conf_local;\n conf_entry *entry;\n \n entry_00 = (conf_entry *)safemalloc(1,0x18);\n if (subkeytypes[primary] != 0) {\n ... | (translation_unit "void function_1(type_1 *conf,int primary,type_2 *value)\n\n{\n type_3 *entry_00;\n type_2 *pFVar1;\n type_2 *value_local;\n int primary_local;\n type_1 *conf_local;\n type_3 *entry;\n \n entry_00 = (type_3 *)var_1(1,0x18);\n if (subkeytypes[primary] != 0) {\n /* WARNING: S... | (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... |
1188_pterm_and_pterm_strip.c | saved_session_menuitem | FUN_0016293b | saved_session_menuitem |
void saved_session_menuitem(GtkMenuItem *item,gpointer data)
{
undefined8 uVar1;
char *str_00;
gpointer data_local;
GtkMenuItem *item_local;
char *str;
uVar1 = g_type_check_instance_cast(item,0x50);
str_00 = (char *)g_object_get_data(uVar1,"user-data");
launch_saved_session(str_00);
return;
}
|
void FUN_0016293b(undefined8 param_1)
{
undefined8 uVar1;
uVar1 = g_type_check_instance_cast(param_1,0x50);
uVar1 = g_object_get_data(uVar1,"user-data");
FUN_001590ba(uVar1);
return;
}
| (translation_unit "void FUN_0016293b(undefined8 param_1)\n\n{\n undefined8 uVar1;\n \n uVar1 = g_type_check_instance_cast(param_1,0x50);\n uVar1 = g_object_get_data(uVar1,"user-data");\n FUN_001590ba(uVar1);\n return;\n}\n\n" (function_definition "void FUN_0016293b(undefined8 param_1)\n\n{\n undefined8 uVar1;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV ESI,0x50
MOV RDI,RAX
CALL 0x0010f530
LEA RSI,[0x195acb]
MOV RDI,RAX
CALL 0x00110de0
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x001590ba
NOP
LEAVE
RE... |
void function_1(type_1 *item,type_2 data)
{
type_3 uVar1;
char *str_00;
type_2 data_local;
type_1 *item_local;
char *str;
uVar1 = var_1(item,0x50);
str_00 = (char *)var_2(uVar1,"user-data");
var_3(str_00);
return;
}
| (translation_unit "void saved_session_menuitem(GtkMenuItem *item,gpointer data)\n\n{\n undefined8 uVar1;\n char *str_00;\n gpointer data_local;\n GtkMenuItem *item_local;\n char *str;\n \n uVar1 = g_type_check_instance_cast(item,0x50);\n str_00 = (char *)g_object_get_data(uVar1,"user-data");\n launch_saved_ses... | (translation_unit "void function_1(type_1 *item,type_2 data)\n\n{\n type_3 uVar1;\n char *str_00;\n type_2 data_local;\n type_1 *item_local;\n char *str;\n \n uVar1 = var_1(item,0x50);\n str_00 = (char *)var_2(uVar1,"user-data");\n var_3(str_00);\n return;\n}\n\n" (function_definition "void function_1(type_1 ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
280_psftp_and_psftp_strip.c | pfd_receive | FUN_00111c58 | pfd_receive |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void pfd_receive(Plug plug,int urgent,char *data,int len)
{
char *__src;
char cVar1;
long lVar2;
int iVar3;
int iVar4;
plug_function_table *ppVar5;
long in_FS_OFFSET;
char *data_local;
int len_local;
int urgent_local;
Plug... |
void FUN_00111c58(long param_1,undefined8 param_2,undefined *param_3,int param_4)
{
undefined *__src;
char cVar1;
int iVar2;
int iVar3;
undefined8 uVar4;
long in_FS_OFFSET;
undefined *local_60;
int local_58;
int local_3c;
undefined local_38;
int local_34;
undefined local_1a;
undefined local_... | (translation_unit "void FUN_00111c58(long param_1,undefined8 param_2,undefined *param_3,int param_4)\n\n{\n undefined *__src;\n char cVar1;\n int iVar2;\n int iVar3;\n undefined8 uVar4;\n long in_FS_OFFSET;\n undefined *local_60;\n int local_58;\n int local_3c;\n undefined local_38;\n int local_34;\n undefi... | 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 dword ptr [RBP + -0x50],ECX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x48]
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_3,int urgent,char *data,int len)
{
char *__src;
char var_14;
long var_21;
int var_4;
int var_19;
type_2 *ppVar5;
long var_1;
char *var_6;
int var_2;
int urgent_local;
type_1 plug_local;
int var... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid pfd_receive(Plug plug,int urgent,char *data,int len)\n\n{\n char *__src;\n char cVar1;\n long lVar2;\n int iVar3;\n int iVar4;\n plug_function_table *ppVar5;\n long in_FS_OFFSET;\n char *data_local;\n int len_lo... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_3,int urgent,char *data,int len)\n\n{\n char *__src;\n char var_14;\n long var_21;\n int var_4;\n int var_19;\n type_2 *ppVar5;\n long var_1;\n char *var_6;\n int var_2;\n int urgent_local... | (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... |
437_psftp_and_psftp_strip.c | fxp_open_recv | FUN_0012492d | fxp_open_recv |
fxp_handle * fxp_open_recv(sftp_packet *pktin,sftp_request *req)
{
int iVar1;
char *pcVar2;
fxp_handle *pfVar3;
long in_FS_OFFSET;
sftp_request *req_local;
sftp_packet *pktin_local;
int len;
char *hstring;
fxp_handle *handle;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
safefre... |
undefined8 * FUN_0012492d(long param_1,undefined8 param_2)
{
int iVar1;
undefined8 uVar2;
undefined8 *puVar3;
long in_FS_OFFSET;
undefined4 local_24;
undefined8 local_20;
undefined8 *local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_00110fa6(param_2);
if (*(int *)(param_... | (translation_unit "undefined8 * FUN_0012492d(long param_1,undefined8 param_2)\n\n{\n int iVar1;\n undefined8 uVar2;\n undefined8 *puVar3;\n long in_FS_OFFSET;\n undefined4 local_24;\n undefined8 local_20;\n undefined8 *local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_00110fa6(... | 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 + -0x30]
MOV RDI,RAX
CALL 0x00110fa6
MOV RAX,qword ptr [RBP + -0x28]
MOV EAX,dword ptr [RAX + 0x14]
CMP EAX,0x66
JNZ 0x001249ec
... |
type_1 * function_1(type_2 *pktin,type_3 *req)
{
int var_4;
char *pcVar2;
type_1 *pfVar3;
long var_1;
type_3 *req_local;
type_2 *pktin_local;
int len;
char *hstring;
type_1 *handle;
long var_10;
var_10 = *(long *)(var_1 + 0x28);
var_2(req);
if (pktin->type == 0x66) {
var_4 = var_3(pkt... | (translation_unit "fxp_handle * fxp_open_recv(sftp_packet *pktin,sftp_request *req)\n\n{\n int iVar1;\n char *pcVar2;\n fxp_handle *pfVar3;\n long in_FS_OFFSET;\n sftp_request *req_local;\n sftp_packet *pktin_local;\n int len;\n char *hstring;\n fxp_handle *handle;\n long local_10;\n \n local_10 = *(long *)... | (translation_unit "type_1 * function_1(type_2 *pktin,type_3 *req)\n\n{\n int var_4;\n char *pcVar2;\n type_1 *pfVar3;\n long var_1;\n type_3 *req_local;\n type_2 *pktin_local;\n int len;\n char *hstring;\n type_1 *handle;\n long var_10;\n \n var_10 = *(long *)(var_1 + 0x28);\n var_2(req);\n if (pktin->typ... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (typ... |
1179_pterm_and_pterm_strip.c | copy_all_menuitem | FUN_00161c40 | copy_all_menuitem |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void copy_all_menuitem(GtkMenuItem *item,gpointer data)
{
gpointer data_local;
GtkMenuItem *item_local;
gui_data *inst;
term_copyall(*(Terminal **)((long)data + 0xda0));
return;
}
|
void FUN_00161c40(undefined8 param_1,long param_2)
{
FUN_001402c7(*(undefined8 *)(param_2 + 0xda0));
return;
}
| (translation_unit "void FUN_00161c40(undefined8 param_1,long param_2)\n\n{\n FUN_001402c7(*(undefined8 *)(param_2 + 0xda0));\n return;\n}\n\n" (function_definition "void FUN_00161c40(undefined8 param_1,long param_2)\n\n{\n FUN_001402c7(*(undefined8 *)(param_2 + 0xda0));\n return;\n}" primitive_type (function_declar... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0xda0]
MOV RDI,RAX
CALL 0x001402c7
NOP
LEAVE
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *item,type_2 data)
{
type_2 data_local;
type_1 *item_local;
type_3 *inst;
var_1(*(type_4 **)((long)data + 0xda0));
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid copy_all_menuitem(GtkMenuItem *item,gpointer data)\n\n{\n gpointer data_local;\n GtkMenuItem *item_local;\n gui_data *inst;\n \n term_copyall(*(Terminal **)((long)data + 0xda0));\n return;\n}\n\n" comment (function... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *item,type_2 data)\n\n{\n type_2 data_local;\n type_1 *item_local;\n type_3 *inst;\n \n var_1(*(type_4 **)((long)data + 0xda0));\n return;\n}\n\n" comment (function_definition "void function_1(typ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato... |
307_psftp_and_psftp_strip.c | dns_log_msg | FUN_00113afe | dns_log_msg |
char * dns_log_msg(char *host,int addressfamily,char *reason)
{
char *pcVar1;
char *reason_local;
int addressfamily_local;
char *host_local;
if (addressfamily == 1) {
pcVar1 = " (IPv4)";
}
else if (addressfamily == 2) {
pcVar1 = " (IPv6)";
}
else {
pcVar1 = "";
}
pcVar1 = dupprint... |
void FUN_00113afe(undefined8 param_1,int param_2,undefined8 param_3)
{
char *pcVar1;
if (param_2 == 1) {
pcVar1 = " (IPv4)";
}
else if (param_2 == 2) {
pcVar1 = " (IPv6)";
}
else {
pcVar1 = "";
}
FUN_001101da("Looking up host \"%s\"%s for %s",param_1,pcVar1,param_3);
return;
}
| (translation_unit "void FUN_00113afe(undefined8 param_1,int param_2,undefined8 param_3)\n\n{\n char *pcVar1;\n \n if (param_2 == 1) {\n pcVar1 = " (IPv4)";\n }\n else if (param_2 == 2) {\n pcVar1 = " (IPv6)";\n }\n else {\n pcVar1 = "";\n }\n FUN_001101da("Looking up host \"%s\"%s for %s",param_1,pcVa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV qword ptr [RBP + -0x18],RDX
CMP dword ptr [RBP + -0xc],0x1
JZ 0x00113b2f
CMP dword ptr [RBP + -0xc],0x2
JNZ 0x00113b26
LEA RAX,[0x193ed0]
JMP 0x00113b36
LEA RAX,[0x193ed8]
JMP 0x00113b36
LEA RAX,[0x193ed9]
MOV RDX,qword ... |
char * function_1(char *host,int var_1,char *reason)
{
char *pcVar1;
char *reason_local;
int addressfamily_local;
char *host_local;
if (var_1 == 1) {
pcVar1 = " (IPv4)";
}
else if (var_1 == 2) {
pcVar1 = " (IPv6)";
}
else {
pcVar1 = "";
}
pcVar1 = var_2("Looking up host \"%s\"%s f... | (translation_unit "char * dns_log_msg(char *host,int addressfamily,char *reason)\n\n{\n char *pcVar1;\n char *reason_local;\n int addressfamily_local;\n char *host_local;\n \n if (addressfamily == 1) {\n pcVar1 = " (IPv4)";\n }\n else if (addressfamily == 2) {\n pcVar1 = " (IPv6)";\n }\n else {\n pcV... | (translation_unit "char * function_1(char *host,int var_1,char *reason)\n\n{\n char *pcVar1;\n char *reason_local;\n int addressfamily_local;\n char *host_local;\n \n if (var_1 == 1) {\n pcVar1 = " (IPv4)";\n }\n else if (var_1 == 2) {\n pcVar1 = " (IPv6)";\n }\n else {\n pcVar1 = "";\n }\n pcVar1 ... | (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... |
1208_pterm_and_pterm_strip.c | pgp_fingerprints | FUN_00164dda | pgp_fingerprints |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void pgp_fingerprints(void)
{
fwrite("These are the fingerprints of the PuTTY PGP Master Keys. They can\nbe used to establish a trust path from this executable to another\none. See the manual for more information.\n(Note: these fingerprin... |
void FUN_00164dda(void)
{
fwrite("These are the fingerprints of the PuTTY PGP Master Keys. They can\nbe used to establish a trust path from this executable to another\none. See the manual for more information.\n(Note: these fingerprints have nothing to do with SSH!)\n\nPuTTY Master Key as of 2015 (RSA, 4096-bit):\n... | (translation_unit "void FUN_00164dda(void)\n\n{\n fwrite("These are the fingerprints of the PuTTY PGP Master Keys. They can\nbe used to establish a trust path from this executable to another\none. See the manual for more information.\n(Note: these fingerprints have nothing to do with SSH!)\n\nPuTTY Master Key as of 20... | PUSH RBP
MOV RBP,RSP
MOV RAX,qword ptr [0x001a75c0]
MOV RCX,RAX
MOV EDX,0x208
MOV ESI,0x1
LEA RDI,[0x196018]
CALL 0x00110e70
NOP
POP RBP
RET |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
var_1("These are the fingerprints of the PuTTY PGP Master Keys. They can\nbe used to establish a trust path from this executable to another\none. See the manual for more information.\n(Note: these fingerprints have... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid pgp_fingerprints(void)\n\n{\n fwrite("These are the fingerprints of the PuTTY PGP Master Keys. They can\nbe used to establish a trust path from this executable to another\none. See the manual for more information.\n... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n var_1("These are the fingerprints of the PuTTY PGP Master Keys. They can\nbe used to establish a trust path from this executable to another\none. See the manual for more information.\n(Note: ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list... |
1072_pterm_and_pterm_strip.c | main | FUN_0015a49c | main |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int main(int argc,char **argv)
{
char **ppcVar1;
int iVar2;
char *pcVar3;
size_t n;
long in_FS_OFFSET;
char **argv_local;
int argc_local;
int allow_launch;
int need_config_box;
int i;
int oldargc;
Conf *conf;
long loca... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
undefined8 FUN_0015a49c(int param_1,undefined8 *param_2)
{
undefined8 *puVar1;
int iVar2;
undefined8 uVar3;
size_t sVar4;
long in_FS_OFFSET;
undefined8 *local_48;
int local_3c;
int local_38;
int local_34;
int loc... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined8 FUN_0015a49c(int param_1,undefined8 *param_2)\n\n{\n undefined8 *puVar1;\n int iVar2;\n undefined8 uVar3;\n size_t sVar4;\n long in_FS_OFFSET;\n undefined8 *local_48;\n int local_3c;\n int local... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x38
MOV dword ptr [RBP + -0x34],EDI
MOV qword ptr [RBP + -0x40],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
LEA RSI,[0x195438]
MOV EDI,0x0
CALL 0x0010fd90
MOV EDI,0x1
CALL 0x001656bb
MOV RAX,qword ptr [RBP + -0x40]
MOV RAX,qword ptr [RAX]
MOV qword ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(int argc,char **argv)
{
char **ppcVar1;
int var_16;
char *pcVar3;
size_t n;
long var_1;
char **argv_local;
int var_6;
int var_22;
int var_29;
int var_7;
int var_11;
type_1 *conf;
long var_33;
var_33... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint main(int argc,char **argv)\n\n{\n char **ppcVar1;\n int iVar2;\n char *pcVar3;\n size_t n;\n long in_FS_OFFSET;\n char **argv_local;\n int argc_local;\n int allow_launch;\n int need_config_box;\n int i;\n int o... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(int argc,char **argv)\n\n{\n char **ppcVar1;\n int var_16;\n char *pcVar3;\n size_t n;\n long var_1;\n char **argv_local;\n int var_6;\n int var_22;\n int var_29;\n int var_7;\n int var_11;\n type_1... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: ... |
630_psftp_and_psftp_strip.c | ssh2_chanreq_init | FUN_0013c5a0 | ssh2_chanreq_init |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
Packet * ssh2_chanreq_init(ssh_channel *c,char *type,cchandler_fn_t handler,void *ctx)
{
Packet *pkt;
void *ctx_local;
cchandler_fn_t handler_local;
char *type_local;
ssh_channel *c_local;
Packet *pktout;
if ((c->closes & 10U) ... |
undefined8 FUN_0013c5a0(long param_1,undefined8 param_2,long param_3,undefined8 param_4)
{
undefined8 uVar1;
if ((*(uint *)(param_1 + 0x18) & 10) != 0) {
/* WARNING: Subroutine does not return */
__assert_fail("!(c->closes & (CLOSES_SENT_CLOSE | CLOSES_RCVD_CLOSE))","ssh.c",0x1f01,
... | (translation_unit "undefined8 FUN_0013c5a0(long param_1,undefined8 param_2,long param_3,undefined8 param_4)\n\n{\n undefined8 uVar1;\n \n if ((*(uint *)(param_1 + 0x18) & 10) != 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("!(c->closes & (CLOSES_SENT_CLOSE | CLOSES_RCVD_CLOS... | 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 qword ptr [RBP + -0x30],RCX
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x18]
AND EAX,0xa
TEST EAX,EAX
JZ 0x0013c5e5
LEA RCX,[0x19cad0]
MOV EDX,0x1f01
LEA RSI,[0x198cc6]
LEA... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 *c,char *type,type_3 var_6,void *ctx)
{
type_1 *pkt;
void *ctx_local;
type_3 handler_local;
char *type_local;
type_2 *c_local;
type_1 *pktout;
if ((c->closes & 10U) != 0) {
/* WARN... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nPacket * ssh2_chanreq_init(ssh_channel *c,char *type,cchandler_fn_t handler,void *ctx)\n\n{\n Packet *pkt;\n void *ctx_local;\n cchandler_fn_t handler_local;\n char *type_local;\n ssh_channel *c_local;\n Packet *pktout;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *c,char *type,type_3 var_6,void *ctx)\n\n{\n type_1 *pkt;\n void *ctx_local;\n type_3 handler_local;\n char *type_local;\n type_2 *c_local;\n type_1 *pktout;\n \n if ((c->closes & 10U) != 0)... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration ... |
1237_pterm_and_pterm_strip.c | setup_utmp | FUN_00165838 | setup_utmp |
void setup_utmp(char *ttyname,char *location)
{
long lVar1;
__uid_t __uid;
passwd *ppVar2;
long in_FS_OFFSET;
char *location_local;
char *ttyname_local;
passwd *pw;
timeval tv;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
__uid = getuid();
ppVar2 = getpwuid(__uid);
memset(&utmp_entry,0,0x180);
... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void FUN_00165838(long param_1,char *param_2)
{
__uid_t __uid;
passwd *ppVar1;
long in_FS_OFFSET;
timeval local_28;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
__uid = getuid();
ppVar1 = getpwuid(__u... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_00165838(long param_1,char *param_2)\n\n{\n __uid_t __uid;\n passwd *ppVar1;\n long in_FS_OFFSET;\n timeval local_28;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n __uid = get... | 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
CALL 0x0010f6f0
MOV EDI,EAX
CALL 0x001101e0
MOV qword ptr [RBP + -0x28],RAX
MOV EDX,0x180
MOV ESI,0x0
LEA RDI,[0x1a7740]
CALL 0x0010f800
MOV word ptr [... |
void function_1(char *var_7,char *location)
{
long var_13;
type_1 __uid;
type_2 *ppVar2;
long var_1;
char *location_local;
char *ttyname_local;
type_2 *pw;
type_3 tv;
var_13 = *(long *)(var_1 + 0x28);
__uid = var_2();
ppVar2 = var_3(__uid);
var_4(&utmp_entry,0,0x180);
utmp_entry.ut_type =... | (translation_unit "void setup_utmp(char *ttyname,char *location)\n\n{\n long lVar1;\n __uid_t __uid;\n passwd *ppVar2;\n long in_FS_OFFSET;\n char *location_local;\n char *ttyname_local;\n passwd *pw;\n timeval tv;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n __uid = getuid();\n ppVar2 = getpwuid(__uid);\... | (translation_unit "void function_1(char *var_7,char *location)\n\n{\n long var_13;\n type_1 __uid;\n type_2 *ppVar2;\n long var_1;\n char *location_local;\n char *ttyname_local;\n type_2 *pw;\n type_3 tv;\n \n var_13 = *(long *)(var_1 + 0x28);\n __uid = var_2();\n ppVar2 = var_3(__uid);\n var_4(&utmp_entry... | (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_... |
245_psftp_and_psftp_strip.c | bufchain_init | FUN_001108d6 | bufchain_init |
void bufchain_init(bufchain *ch)
{
bufchain *ch_local;
ch->tail = (bufchain_granule *)0x0;
ch->head = ch->tail;
ch->buffersize = 0;
return;
}
|
void FUN_001108d6(undefined8 *param_1)
{
param_1[1] = 0;
*param_1 = param_1[1];
*(undefined4 *)(param_1 + 2) = 0;
return;
}
| (translation_unit "void FUN_001108d6(undefined8 *param_1)\n\n{\n param_1[1] = 0;\n *param_1 = param_1[1];\n *(undefined4 *)(param_1 + 2) = 0;\n return;\n}\n\n" (function_definition "void FUN_001108d6(undefined8 *param_1)\n\n{\n param_1[1] = 0;\n *param_1 = param_1[1];\n *(undefined4 *)(param_1 + 2) = 0;\n retur... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX + 0x8],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RAX + 0x8]
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX],RDX
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x10],0x0
NOP
POP RBP
RET |
void function_1(type_1 *ch)
{
type_1 *ch_local;
ch->tail = (type_2 *)0x0;
ch->head = ch->tail;
ch->buffersize = 0;
return;
}
| (translation_unit "void bufchain_init(bufchain *ch)\n\n{\n bufchain *ch_local;\n \n ch->tail = (bufchain_granule *)0x0;\n ch->head = ch->tail;\n ch->buffersize = 0;\n return;\n}\n\n" (function_definition "void bufchain_init(bufchain *ch)\n\n{\n bufchain *ch_local;\n \n ch->tail = (bufchain_granule *)0x0;\n ch... | (translation_unit "void function_1(type_1 *ch)\n\n{\n type_1 *ch_local;\n \n ch->tail = (type_2 *)0x0;\n ch->head = ch->tail;\n ch->buffersize = 0;\n return;\n}\n\n" (function_definition "void function_1(type_1 *ch)\n\n{\n type_1 *ch_local;\n \n ch->tail = (type_2 *)0x0;\n ch->head = ch->tail;\n ch->buffersi... | (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... |
709_psftp_and_psftp_strip.c | aes_encrypt_cbc | FUN_0014da40 | aes_encrypt_cbc |
void aes_encrypt_cbc(uchar *blk,int len,AESContext *ctx)
{
long lVar1;
long in_FS_OFFSET;
AESContext *ctx_local;
int len_local;
uchar *blk_local;
int i;
word32 iv [4];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
if ((len & 0xfU) != 0) {
/* WARNING: Subroutine does not return */
... |
void FUN_0014da40(long param_1,uint param_2,long param_3)
{
long in_FS_OFFSET;
uint local_44;
long local_40;
int local_2c;
undefined8 local_28;
undefined8 local_20;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if ((param_2 & 0xf) != 0) {
/* WARNING: Subroutine doe... | (translation_unit "void FUN_0014da40(long param_1,uint param_2,long param_3)\n\n{\n long in_FS_OFFSET;\n uint local_44;\n long local_40;\n int local_2c;\n undefined8 local_28;\n undefined8 local_20;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if ((param_2 & 0xf) != 0) {\n ... | 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,0xf
TEST EAX,EAX
JZ 0x0014da8b
LEA RCX,[0x19f0f0]
MOV EDX,0x409
LEA RSI,[0x19ef... |
void function_1(type_1 *blk,int var_2,type_2 *ctx)
{
long var_8;
long var_1;
type_2 *ctx_local;
int var_4;
type_1 *var_7;
int var_5;
type_3 iv [4];
var_8 = *(long *)(var_1 + 0x28);
if ((var_2 & 0xfU) != 0) {
/* WARNING: Subroutine does not return */
var_3("(len & 15) == 0"... | (translation_unit "void aes_encrypt_cbc(uchar *blk,int len,AESContext *ctx)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n AESContext *ctx_local;\n int len_local;\n uchar *blk_local;\n int i;\n word32 iv [4];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if ((len & 0xfU) != 0) {\n /* WARNING: S... | (translation_unit "void function_1(type_1 *blk,int var_2,type_2 *ctx)\n\n{\n long var_8;\n long var_1;\n type_2 *ctx_local;\n int var_4;\n type_1 *var_7;\n int var_5;\n type_3 iv [4];\n \n var_8 = *(long *)(var_1 + 0x28);\n if ((var_2 & 0xfU) != 0) {\n /* WARNING: Subroutine does not return... | (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... |
1213_pterm_and_pterm_strip.c | f_open | FUN_00165103 | f_open |
FILE * f_open(Filename *filename,char *mode,int is_private)
{
int __fd;
FILE *pFVar1;
int is_private_local;
char *mode_local;
Filename *filename_local;
int fd;
if (is_private == 0) {
pFVar1 = fopen64(filename->path,mode);
}
else {
if (*mode != 'w') {
/* WARNING: Subrou... |
FILE * FUN_00165103(undefined8 *param_1,char *param_2,int param_3)
{
int __fd;
FILE *pFVar1;
if (param_3 == 0) {
pFVar1 = fopen64((char *)*param_1,param_2);
}
else {
if (*param_2 != 'w') {
/* WARNING: Subroutine does not return */
__assert_fail("mode[0] == \'w\'","unix/u... | (translation_unit "FILE * FUN_00165103(undefined8 *param_1,char *param_2,int param_3)\n\n{\n int __fd;\n FILE *pFVar1;\n \n if (param_3 == 0) {\n pFVar1 = fopen64((char *)*param_1,param_2);\n }\n else {\n if (*param_2 != 'w') {\n /* WARNING: Subroutine does not return */\n __assert_f... | 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
CMP dword ptr [RBP + -0x24],0x0
JNZ 0x00165134
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV RDX,qword ptr [RBP + -0x20]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00110150
JMP 0x0016519d
... |
type_1 * function_1(type_2 *filename,char *mode,int var_1)
{
int var_5;
type_1 *pFVar1;
int is_private_local;
char *mode_local;
type_2 *filename_local;
int fd;
if (var_1 == 0) {
pFVar1 = var_2(filename->path,mode);
}
else {
if (*mode != 'w') {
/* WARNING: Subroutine do... | (translation_unit "FILE * f_open(Filename *filename,char *mode,int is_private)\n\n{\n int __fd;\n FILE *pFVar1;\n int is_private_local;\n char *mode_local;\n Filename *filename_local;\n int fd;\n \n if (is_private == 0) {\n pFVar1 = fopen64(filename->path,mode);\n }\n else {\n if (*mode != 'w') {\n ... | (translation_unit "type_1 * function_1(type_2 *filename,char *mode,int var_1)\n\n{\n int var_5;\n type_1 *pFVar1;\n int is_private_local;\n char *mode_local;\n type_2 *filename_local;\n int fd;\n \n if (var_1 == 0) {\n pFVar1 = var_2(filename->path,mode);\n }\n else {\n if (*mode != 'w') {\n ... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (pri... |
562_psftp_and_psftp_strip.c | ssh_queue_incoming_data | FUN_0012e0ae | ssh_queue_incoming_data |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_queue_incoming_data(Ssh_conflict ssh,uchar **data,int *datalen)
{
int *datalen_local;
uchar **data_local;
Ssh_conflict ssh_local;
bufchain_add(&ssh->queued_incoming_data,*data,*datalen);
*data = *data + *datalen;
*datale... |
void FUN_0012e0ae(long param_1,long *param_2,int *param_3)
{
FUN_00110974(param_1 + 0x3b0,*param_2,*param_3);
*param_2 = *param_2 + (long)*param_3;
*param_3 = 0;
return;
}
| (translation_unit "void FUN_0012e0ae(long param_1,long *param_2,int *param_3)\n\n{\n FUN_00110974(param_1 + 0x3b0,*param_2,*param_3);\n *param_2 = *param_2 + (long)*param_3;\n *param_3 = 0;\n return;\n}\n\n" (function_definition "void FUN_0012e0ae(long param_1,long *param_2,int *param_3)\n\n{\n FUN_00110974(param_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX,dword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV RCX,qword ptr [RBP + -0x8]
ADD RCX,0x3b0
MOV RSI,RAX
MOV RDI,RCX
CALL 0x001... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 **data,int *datalen)
{
int *datalen_local;
type_2 **data_local;
type_1 ssh_local;
var_1(&ssh->queued_incoming_data,*data,*datalen);
*data = *data + *datalen;
*datalen = 0;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_queue_incoming_data(Ssh_conflict ssh,uchar **data,int *datalen)\n\n{\n int *datalen_local;\n uchar **data_local;\n Ssh_conflict ssh_local;\n \n bufchain_add(&ssh->queued_incoming_data,*data,*datalen);\n *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 int *datalen_local;\n type_2 **data_local;\n type_1 ssh_local;\n \n var_1(&ssh->queued_incoming_data,*data,*datalen);\n *data = *data + *datalen;\n *datalen... | (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... |
1184_pterm_and_pterm_strip.c | change_font_size | FUN_00162542 | change_font_size |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void change_font_size(gui_data *inst,wchar_t increment)
{
long lVar1;
wchar_t h;
wchar_t w;
char *name;
FontSpec *pFVar2;
long in_FS_OFFSET;
wchar_t increment_local;
gui_data *inst_local;
wchar_t i;
char *errmsg;
char *new... |
void FUN_00162542(long param_1,undefined4 param_2)
{
undefined4 uVar1;
undefined4 uVar2;
long lVar3;
undefined8 uVar4;
long lVar5;
long in_FS_OFFSET;
uint local_7c;
long local_78;
long alStack_68 [4];
long alStack_48 [5];
long local_20;
local_20 = *(long *)(in_FS_OFFSET + 0x28);
local_78 ... | (translation_unit "void FUN_00162542(long param_1,undefined4 param_2)\n\n{\n undefined4 uVar1;\n undefined4 uVar2;\n long lVar3;\n undefined8 uVar4;\n long lVar5;\n long in_FS_OFFSET;\n uint local_7c;\n long local_78;\n long alStack_68 [4];\n long alStack_48 [5];\n long local_20;\n \n local_20 = *(long *)(... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x88
MOV qword ptr [RBP + -0x88],RDI
MOV dword ptr [RBP + -0x8c],ESI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
MOV qword ptr [RBP + -0x70],0x0
MOV dword ptr [RBP + -0x74],0x0
JMP 0x001625a1
MOV EAX,dword ptr [RBP + -0x74]
CDQE
MOV qword ptr [RBP + RAX*... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *inst,type_2 increment)
{
long var_18;
type_2 h;
type_2 w;
char *var_4;
type_3 *pFVar2;
long var_1;
type_2 increment_local;
type_1 *inst_local;
type_2 var_2;
char *var_11;
char *newname;
type_3 *ol... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid change_font_size(gui_data *inst,wchar_t increment)\n\n{\n long lVar1;\n wchar_t h;\n wchar_t w;\n char *name;\n FontSpec *pFVar2;\n long in_FS_OFFSET;\n wchar_t increment_local;\n gui_data *inst_local;\n wchar_t... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *inst,type_2 increment)\n\n{\n long var_18;\n type_2 h;\n type_2 w;\n char *var_4;\n type_3 *pFVar2;\n long var_1;\n type_2 increment_local;\n type_1 *inst_local;\n type_2 var_2;\n char *var_1... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato... |
1217_pterm_and_pterm_strip.c | fontspec_serialise | FUN_00165221 | fontspec_serialise |
int fontspec_serialise(FontSpec *f,void *data)
{
size_t sVar1;
void *data_local;
FontSpec *f_local;
int len;
sVar1 = strlen(f->name);
if (data != (void *)0x0) {
strcpy((char *)data,f->name);
}
return (int)sVar1 + 1;
}
|
int FUN_00165221(undefined8 *param_1,char *param_2)
{
size_t sVar1;
sVar1 = strlen((char *)*param_1);
if (param_2 != (char *)0x0) {
strcpy(param_2,(char *)*param_1);
}
return (int)sVar1 + 1;
}
| (translation_unit "int FUN_00165221(undefined8 *param_1,char *param_2)\n\n{\n size_t sVar1;\n \n sVar1 = strlen((char *)*param_1);\n if (param_2 != (char *)0x0) {\n strcpy(param_2,(char *)*param_1);\n }\n return (int)sVar1 + 1;\n}\n\n" (function_definition "int FUN_00165221(undefined8 *param_1,char *param_2)\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x0010f5e0
MOV dword ptr [RBP + -0x4],EAX
CMP qword ptr [RBP + -0x20],0x0
JZ 0x00165260
MOV RAX,qword ptr [RBP + -0x18]
MOV RDX,qword ptr [RAX]
MOV R... |
int function_1(type_1 *f,void *var_2)
{
size_t sVar1;
void *data_local;
type_1 *f_local;
int len;
sVar1 = var_1(f->name);
if (var_2 != (void *)0x0) {
var_3((char *)var_2,f->name);
}
return (int)sVar1 + 1;
}
| (translation_unit "int fontspec_serialise(FontSpec *f,void *data)\n\n{\n size_t sVar1;\n void *data_local;\n FontSpec *f_local;\n int len;\n \n sVar1 = strlen(f->name);\n if (data != (void *)0x0) {\n strcpy((char *)data,f->name);\n }\n return (int)sVar1 + 1;\n}\n\n" (function_definition "int fontspec_serial... | (translation_unit "int function_1(type_1 *f,void *var_2)\n\n{\n size_t sVar1;\n void *data_local;\n type_1 *f_local;\n int len;\n \n sVar1 = var_1(f->name);\n if (var_2 != (void *)0x0) {\n var_3((char *)var_2,f->name);\n }\n return (int)sVar1 + 1;\n}\n\n" (function_definition "int function_1(type_1 *f,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))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
1050_pterm_and_pterm_strip.c | update_for_intended_size | FUN_001568c9 | update_for_intended_size |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
fontinfo * update_for_intended_size(unifontsel_internal *fs,fontinfo *info)
{
long lVar1;
undefined8 uVar2;
wchar_t wVar3;
fontinfo *pfVar4;
long in_FS_OFFSET;
fontinfo *info_local;
unifontsel_internal *fs_local;
wchar_t pos;
... |
long FUN_001568c9(long param_1,undefined8 *param_2)
{
int iVar1;
long lVar2;
long in_FS_OFFSET;
int local_6c;
long local_68;
long local_60;
undefined8 local_58;
undefined8 local_50;
undefined8 local_48;
undefined8 local_40;
undefined8 local_38;
undefined4 local_30;
undefined4 uStack_2c;
un... | (translation_unit "long FUN_001568c9(long param_1,undefined8 *param_2)\n\n{\n int iVar1;\n long lVar2;\n long in_FS_OFFSET;\n int local_6c;\n long local_68;\n long local_60;\n undefined8 local_58;\n undefined8 local_50;\n undefined8 local_48;\n undefined8 local_40;\n undefined8 local_38;\n undefined4 local_... | PUSH RBP
MOV RBP,RSP
ADD RSP,-0x80
MOV qword ptr [RBP + -0x78],RDI
MOV qword ptr [RBP + -0x80],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x80]
MOV RDX,qword ptr [RAX]
MOV RCX,qword ptr [RAX + 0x8]
MOV qword ptr [RBP + -0x50],RDX
MOV qword ptr [RBP + -0x48],RCX
... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 *fs,type_1 *info)
{
long var_9;
type_3 uVar2;
type_4 var_7;
type_1 *pfVar4;
long var_1;
type_1 *info_local;
type_2 *fs_local;
type_4 var_5;
type_1 *var_3;
type_1 *var_8;
type_1 info2;
var_9 ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nfontinfo * update_for_intended_size(unifontsel_internal *fs,fontinfo *info)\n\n{\n long lVar1;\n undefined8 uVar2;\n wchar_t wVar3;\n fontinfo *pfVar4;\n long in_FS_OFFSET;\n fontinfo *info_local;\n unifontsel_internal... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *fs,type_1 *info)\n\n{\n long var_9;\n type_3 uVar2;\n type_4 var_7;\n type_1 *pfVar4;\n long var_1;\n type_1 *info_local;\n type_2 *fs_local;\n type_4 var_5;\n type_1 *var_3;\n type_1 *va... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration ... |
602_psftp_and_psftp_strip.c | ssh1_msg_channel_open_confirmation | FUN_0013535d | ssh1_msg_channel_open_confirmation |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh1_msg_channel_open_confirmation(Ssh_conflict ssh,Packet *pktin)
{
ssh_channel *c_00;
ulong uVar1;
Packet *pktin_local;
Ssh_conflict ssh_local;
ssh_channel *c;
c_00 = ssh_channel_msg(ssh,pktin);
if ((c_00 != (ssh_channel... |
void FUN_0013535d(undefined8 param_1,undefined8 param_2)
{
undefined4 uVar1;
long lVar2;
lVar2 = FUN_0013c89f(param_1,param_2);
if ((lVar2 != 0) && (*(int *)(lVar2 + 0x10) == 3)) {
uVar1 = FUN_0012c115(param_2);
*(undefined4 *)(lVar2 + 8) = uVar1;
*(undefined4 *)(lVar2 + 0x14) = 0;
*(undefi... | (translation_unit "void FUN_0013535d(undefined8 param_1,undefined8 param_2)\n\n{\n undefined4 uVar1;\n long lVar2;\n \n lVar2 = FUN_0013c89f(param_1,param_2);\n if ((lVar2 != 0) && (*(int *)(lVar2 + 0x10) == 3)) {\n uVar1 = FUN_0012c115(param_2);\n *(undefined4 *)(lVar2 + 8) = uVar1;\n *(undefined4 *)(lVa... | 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 0x001353d2
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_4 uVar1;
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)) {
uVar1 = var_3(pktin)... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh1_msg_channel_open_confirmation(Ssh_conflict ssh,Packet *pktin)\n\n{\n ssh_channel *c_00;\n ulong uVar1;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n ssh_channel *c;\n \n c_00 = ssh_channel_msg(ssh,pktin)... | (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_4 uVar1;\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 == ... | (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... |
335_psftp_and_psftp_strip.c | sftp_cmd_pwd | FUN_00119e1e | sftp_cmd_pwd |
int sftp_cmd_pwd(sftp_command *cmd)
{
bool bVar1;
sftp_command *cmd_local;
bVar1 = back != (Backend *)0x0;
if (bVar1) {
printf("Remote directory is %s\n",pwd);
}
else {
not_connected();
}
return (int)bVar1;
}
|
bool FUN_00119e1e(void)
{
bool bVar1;
bVar1 = DAT_001b8cf8 != 0;
if (bVar1) {
printf("Remote directory is %s\n",DAT_001b9610);
}
else {
FUN_00117801();
}
return bVar1;
}
| (translation_unit "bool FUN_00119e1e(void)\n\n{\n bool bVar1;\n \n bVar1 = DAT_001b8cf8 != 0;\n if (bVar1) {\n printf("Remote directory is %s\n",DAT_001b9610);\n }\n else {\n FUN_00117801();\n }\n return bVar1;\n}\n\n" (function_definition "bool FUN_00119e1e(void)\n\n{\n bool bVar1;\n \n bVar1 = DAT_00... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [0x001b8cf8]
TEST RAX,RAX
JNZ 0x00119e42
CALL 0x00117801
MOV EAX,0x0
JMP 0x00119e62
MOV RAX,qword ptr [0x001b9610]
MOV RSI,RAX
LEA RDI,[0x1949ec]
MOV EAX,0x0
CALL 0x001082e0
MOV EAX,0x1
LEAVE
RET |
int function_1(type_1 *cmd)
{
bool bVar1;
type_1 *cmd_local;
bVar1 = var_1 != (type_2 *)0x0;
if (bVar1) {
var_2("Remote directory is %s\n",pwd);
}
else {
var_3();
}
return (int)bVar1;
}
| (translation_unit "int sftp_cmd_pwd(sftp_command *cmd)\n\n{\n bool bVar1;\n sftp_command *cmd_local;\n \n bVar1 = back != (Backend *)0x0;\n if (bVar1) {\n printf("Remote directory is %s\n",pwd);\n }\n else {\n not_connected();\n }\n return (int)bVar1;\n}\n\n" (function_definition "int sftp_cmd_pwd(sftp_c... | (translation_unit "int function_1(type_1 *cmd)\n\n{\n bool bVar1;\n type_1 *cmd_local;\n \n bVar1 = var_1 != (type_2 *)0x0;\n if (bVar1) {\n var_2("Remote directory is %s\n",pwd);\n }\n else {\n var_3();\n }\n return (int)bVar1;\n}\n\n" (function_definition "int function_1(type_1 *cmd)\n\n{\n bool bVar1... | (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... |
1117_pterm_and_pterm_strip.c | scroll_event | FUN_0015dd1b | scroll_event |
/* WARNING: Enum "GdkEventType": Some values do not have unique names */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
gboolean scroll_event(GtkWidget *widget,GdkEventScroll *event,gpointer data)
{
int iVar1;
gboolean gVar2;
long in_FS_OFFSET;
gpointer data_local;
GdkEventScroll ... |
undefined8 FUN_0015dd1b(undefined8 param_1,long param_2,undefined8 param_3)
{
int iVar1;
undefined8 uVar2;
long in_FS_OFFSET;
undefined local_28 [8];
undefined8 local_20;
undefined8 local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_18 = param_3;
iVar1 = gdk_event_get_scr... | (translation_unit "undefined8 FUN_0015dd1b(undefined8 param_1,long param_2,undefined8 param_3)\n\n{\n int iVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n undefined local_28 [8];\n undefined8 local_20;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_18 = param_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x10],RAX
LEA RDX,[RBP + -0x18]
LEA RCX,[RBP + -0x20]
MOV RAX,qwo... |
/* WARNING: Enum "GdkEventType": Some values do not have unique names */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_2 *widget,type_3 *event,type_4 data)
{
int var_3;
type_1 gVar2;
long var_1;
type_4 data_local;
type_3 *event_local;
type_2 *widget_local... | (translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ngboolean scroll_event(GtkWidget *widget,GdkEventScroll *event,gpointer data)\n\n{\n int iVar1;\n gboolean gVar2;\n long in_FS_OFFSET;\n gpointer da... | (translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 *widget,type_3 *event,type_4 data)\n\n{\n int var_3;\n type_1 gVar2;\n long var_1;\n type_4 data_local;\n type_3 *event_l... | (translation_unit (comment) (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier... |
767_psftp_and_psftp_strip.c | reciprocal_word | FUN_001525dc | reciprocal_word |
BignumInt reciprocal_word(BignumInt d)
{
ulong uVar1;
undefined auVar2 [16];
undefined auVar3 [16];
undefined auVar4 [16];
undefined auVar5 [16];
undefined auVar6 [16];
undefined auVar7 [16];
undefined auVar8 [16];
undefined auVar9 [16];
undefined auVar10 [16];
undefined auVar11 [16];
long lVa... |
ulong FUN_001525dc(ulong param_1)
{
ulong uVar1;
undefined auVar2 [16];
undefined auVar3 [16];
undefined auVar4 [16];
undefined auVar5 [16];
undefined auVar6 [16];
undefined auVar7 [16];
undefined auVar8 [16];
undefined auVar9 [16];
undefined auVar10 [16];
undefined auVar11 [16];
long lVar12;
... | (translation_unit "ulong FUN_001525dc(ulong param_1)\n\n{\n ulong uVar1;\n undefined auVar2 [16];\n undefined auVar3 [16];\n undefined auVar4 [16];\n undefined auVar5 [16];\n undefined auVar6 [16];\n undefined auVar7 [16];\n undefined auVar8 [16];\n undefined auVar9 [16];\n undefined auVar10 [16];\n undefine... | PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x108
MOV qword ptr [RBP + -0xe8],RDI
MOV RAX,qword ptr [RBP + -0xe8]
SHR RAX,0x3f
CMP RAX,0x1
JZ 0x00152627
LEA RCX,[0x1a0480]
MOV EDX,0x22c
LEA RSI,[0x1a0300]
LEA RDI,[0x1a035a]
CALL 0x00108360
MOV RAX,qword ptr [RBP + -0xe8]
SHR RAX,0x20
ADD R... |
type_1 function_1(type_1 var_1)
{
type_2 var_14;
type_3 var_2 [16];
type_3 var_6 [16];
type_3 var_8 [16];
type_3 var_3 [16];
type_3 var_7 [16];
type_3 var_9 [16];
type_3 var_4 [16];
type_3 var_17 [16];
type_3 var_10 [16];
type_3 var_18 [16];
long var_16;
type_1 d_local;
int corrections;
... | (translation_unit "BignumInt reciprocal_word(BignumInt d)\n\n{\n ulong uVar1;\n undefined auVar2 [16];\n undefined auVar3 [16];\n undefined auVar4 [16];\n undefined auVar5 [16];\n undefined auVar6 [16];\n undefined auVar7 [16];\n undefined auVar8 [16];\n undefined auVar9 [16];\n undefined auVar10 [16];\n und... | (translation_unit "type_1 function_1(type_1 var_1)\n\n{\n type_2 var_14;\n type_3 var_2 [16];\n type_3 var_6 [16];\n type_3 var_8 [16];\n type_3 var_3 [16];\n type_3 var_7 [16];\n type_3 var_9 [16];\n type_3 var_4 [16];\n type_3 var_17 [16];\n type_3 var_10 [16];\n type_3 var_18 [16];\n long var_16;\n type... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declar... |
670_psftp_and_psftp_strip.c | ssh2_msg_unexpected | FUN_001455a1 | ssh2_msg_unexpected |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_msg_unexpected(Ssh_conflict ssh,Packet *pktin)
{
char *pcVar1;
Packet *pktin_local;
Ssh_conflict ssh_local;
char *buf;
pcVar1 = ssh2_pkt_type(ssh->pkt_kctx,ssh->pkt_actx,pktin->type);
pcVar1 = dupprintf("Server protocol... |
void FUN_001455a1(long param_1,long param_2)
{
undefined8 uVar1;
uVar1 = FUN_00126829(*(undefined4 *)(param_1 + 0x230),*(undefined4 *)(param_1 + 0x234),
*(undefined4 *)(param_2 + 0x10));
uVar1 = FUN_001101da("Server protocol violation: unexpected %s packet",uVar1);
FUN_0012f3f8(param... | (translation_unit "void FUN_001455a1(long param_1,long param_2)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_00126829(*(undefined4 *)(param_1 + 0x230),*(undefined4 *)(param_1 + 0x234),\n *(undefined4 *)(param_2 + 0x10));\n uVar1 = FUN_001101da("Server protocol violation: unexpected %s packet",uVa... | 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 EDX,dword ptr [RAX + 0x10]
MOV RAX,qword ptr [RBP + -0x18]
MOV ECX,dword ptr [RAX + 0x234]
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x230]
MOV ESI,ECX
MOV EDI,EAX
CALL 0x... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pktin)
{
char *pcVar1;
type_2 *pktin_local;
type_1 ssh_local;
char *buf;
pcVar1 = var_1(ssh->pkt_kctx,ssh->pkt_actx,pktin->type);
pcVar1 = var_2("Server protocol violation: unexpected %s packet"... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_msg_unexpected(Ssh_conflict ssh,Packet *pktin)\n\n{\n char *pcVar1;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n char *buf;\n \n pcVar1 = ssh2_pkt_type(ssh->pkt_kctx,ssh->pkt_actx,pktin->type);\n pcVar1... | (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 char *pcVar1;\n type_2 *pktin_local;\n type_1 ssh_local;\n char *buf;\n \n pcVar1 = var_1(ssh->pkt_kctx,ssh->pkt_actx,pktin->type);\n pcVar1 = var_2("Server protocol vio... | (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... |
1282_pterm_and_pterm_strip.c | close_settings_w | FUN_0016814a | close_settings_w |
void close_settings_w(void *handle)
{
void *handle_local;
FILE *fp;
fclose((FILE *)handle);
return;
}
|
void FUN_0016814a(FILE *param_1)
{
fclose(param_1);
return;
}
| (translation_unit "void FUN_0016814a(FILE *param_1)\n\n{\n fclose(param_1);\n return;\n}\n\n" (function_definition "void FUN_0016814a(FILE *param_1)\n\n{\n fclose(param_1);\n return;\n}" primitive_type (function_declarator "FUN_0016814a(FILE *param_1)" identifier (parameter_list "(FILE *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 0x0010ff70
NOP
LEAVE
RET |
void function_1(void *handle)
{
void *handle_local;
type_1 *fp;
var_1((type_1 *)handle);
return;
}
| (translation_unit "void close_settings_w(void *handle)\n\n{\n void *handle_local;\n FILE *fp;\n \n fclose((FILE *)handle);\n return;\n}\n\n" (function_definition "void close_settings_w(void *handle)\n\n{\n void *handle_local;\n FILE *fp;\n \n fclose((FILE *)handle);\n return;\n}" primitive_type (function_decl... | (translation_unit "void function_1(void *handle)\n\n{\n void *handle_local;\n type_1 *fp;\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 *fp;\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... |
1189_pterm_and_pterm_strip.c | saved_session_freedata | FUN_0016297e | saved_session_freedata |
void saved_session_freedata(GtkMenuItem *item,gpointer data)
{
undefined8 uVar1;
void *ptr;
gpointer data_local;
GtkMenuItem *item_local;
char *str;
uVar1 = g_type_check_instance_cast(item,0x50);
ptr = (void *)g_object_get_data(uVar1,"user-data");
safefree(ptr);
return;
}
|
void FUN_0016297e(undefined8 param_1)
{
undefined8 uVar1;
uVar1 = g_type_check_instance_cast(param_1,0x50);
uVar1 = g_object_get_data(uVar1,"user-data");
FUN_001284fc(uVar1);
return;
}
| (translation_unit "void FUN_0016297e(undefined8 param_1)\n\n{\n undefined8 uVar1;\n \n uVar1 = g_type_check_instance_cast(param_1,0x50);\n uVar1 = g_object_get_data(uVar1,"user-data");\n FUN_001284fc(uVar1);\n return;\n}\n\n" (function_definition "void FUN_0016297e(undefined8 param_1)\n\n{\n undefined8 uVar1;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV ESI,0x50
MOV RDI,RAX
CALL 0x0010f530
LEA RSI,[0x195acb]
MOV RDI,RAX
CALL 0x00110de0
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x001284fc
NOP
LEAVE
RE... |
void function_1(type_1 *item,type_2 data)
{
type_3 uVar1;
void *ptr;
type_2 data_local;
type_1 *item_local;
char *str;
uVar1 = var_1(item,0x50);
ptr = (void *)var_2(uVar1,"user-data");
var_3(ptr);
return;
}
| (translation_unit "void saved_session_freedata(GtkMenuItem *item,gpointer data)\n\n{\n undefined8 uVar1;\n void *ptr;\n gpointer data_local;\n GtkMenuItem *item_local;\n char *str;\n \n uVar1 = g_type_check_instance_cast(item,0x50);\n ptr = (void *)g_object_get_data(uVar1,"user-data");\n safefree(ptr);\n retu... | (translation_unit "void function_1(type_1 *item,type_2 data)\n\n{\n type_3 uVar1;\n void *ptr;\n type_2 data_local;\n type_1 *item_local;\n char *str;\n \n uVar1 = var_1(item,0x50);\n ptr = (void *)var_2(uVar1,"user-data");\n var_3(ptr);\n return;\n}\n\n" (function_definition "void function_1(type_1 *item,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... |
649_psftp_and_psftp_strip.c | ssh2_channel_open_failure_error_text | FUN_0013d791 | ssh2_channel_open_failure_error_text |
char * ssh2_channel_open_failure_error_text(Packet *pktin)
{
long lVar1;
ulong uVar2;
char *pcVar3;
long in_FS_OFFSET;
Packet *pktin_local;
int reason_length;
uint reason_code;
char *reason_string;
char *reason_code_string;
char reason_code_buf [256];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
... |
void FUN_0013d791(undefined8 param_1)
{
long in_FS_OFFSET;
undefined4 local_130;
uint local_12c;
undefined *local_128;
char *local_120;
char local_118 [264];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_12c = FUN_0012c115(param_1);
if ((local_12c < 5) && (*(long *)(&DAT_001b5... | (translation_unit "void FUN_0013d791(undefined8 param_1)\n\n{\n long in_FS_OFFSET;\n undefined4 local_130;\n uint local_12c;\n undefined *local_128;\n char *local_120;\n char local_118 [264];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_12c = FUN_0012c115(param_1);\n if ((local_12... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x140
MOV qword ptr [RBP + -0x138],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x138]
MOV RDI,RAX
CALL 0x0012c115
MOV dword ptr [RBP + -0x124],EAX
CMP dword ptr [RBP + -0x124],0x4
JA 0x0013d810
MOV EAX,dword ptr [RBP + -0x124]
LEA RDX... |
char * function_1(type_1 *pktin)
{
long var_9;
type_2 var_4;
char *pcVar3;
long var_1;
type_1 *pktin_local;
int reason_length;
type_3 var_3;
char *var_7;
char *reason_code_string;
char reason_code_buf [256];
var_9 = *(long *)(var_1 + 0x28);
var_4 = var_2(pktin);
var_3 = (type_3)var_4;
i... | (translation_unit "char * ssh2_channel_open_failure_error_text(Packet *pktin)\n\n{\n long lVar1;\n ulong uVar2;\n char *pcVar3;\n long in_FS_OFFSET;\n Packet *pktin_local;\n int reason_length;\n uint reason_code;\n char *reason_string;\n char *reason_code_string;\n char reason_code_buf [256];\n \n lVar1 = *... | (translation_unit "char * function_1(type_1 *pktin)\n\n{\n long var_9;\n type_2 var_4;\n char *pcVar3;\n long var_1;\n type_1 *pktin_local;\n int reason_length;\n type_3 var_3;\n char *var_7;\n char *reason_code_string;\n char reason_code_buf [256];\n \n var_9 = *(long *)(var_1 + 0x28);\n var_4 = var_2(pkt... | (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... |
1278_pterm_and_pterm_strip.c | make_filename | FUN_00167a40 | make_filename |
char * make_filename(int index,char *subname)
{
__uid_t __uid;
int iVar1;
char *pcVar2;
passwd *ppVar3;
char *pcVar4;
char *subname_local;
int index_local;
char *tmp;
char *ret;
char *xdg_dir;
char *old_dir;
char *old_dir2;
char *pwd_home;
char *env;
char *home;
passwd *pwd;
char *ol... |
char * FUN_00167a40(int param_1,undefined8 param_2)
{
__uid_t __uid;
int iVar1;
char *pcVar2;
passwd *ppVar3;
char *pcVar4;
undefined8 uVar5;
undefined8 uVar6;
char *local_60;
char *local_58;
char *local_50;
char *local_48;
char *local_40;
char *local_38;
if (param_1 == 0) {
pcVar2 ... | (translation_unit "char * FUN_00167a40(int param_1,undefined8 param_2)\n\n{\n __uid_t __uid;\n int iVar1;\n char *pcVar2;\n passwd *ppVar3;\n char *pcVar4;\n undefined8 uVar5;\n undefined8 uVar6;\n char *local_60;\n char *local_58;\n char *local_50;\n char *local_48;\n char *local_40;\n char *local_38;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV dword ptr [RBP + -0x64],EDI
MOV qword ptr [RBP + -0x70],RSI
CMP dword ptr [RBP + -0x64],0x0
JNZ 0x00167ce2
LEA RDI,[0x196581]
CALL 0x001102c0
MOV qword ptr [RBP + -0x28],RAX
CMP qword ptr [RBP + -0x28],0x0
JZ 0x00167a81
MOV RAX,qword ptr [RBP + -0x28]
MOV RDI,RAX
CALL 0x0012725c
JM... |
char * function_1(int var_1,char *subname)
{
type_1 __uid;
int var_12;
char *var_3;
type_2 *var_6;
char *var_7;
char *subname_local;
int index_local;
char *tmp;
char *var_16;
char *var_9;
char *var_14;
char *var_15;
char *var_10;
char *env;
char *home;
type_2 *pwd;
char *old_dir3;
... | (translation_unit "char * make_filename(int index,char *subname)\n\n{\n __uid_t __uid;\n int iVar1;\n char *pcVar2;\n passwd *ppVar3;\n char *pcVar4;\n char *subname_local;\n int index_local;\n char *tmp;\n char *ret;\n char *xdg_dir;\n char *old_dir;\n char *old_dir2;\n char *pwd_home;\n char *env;\n ch... | (translation_unit "char * function_1(int var_1,char *subname)\n\n{\n type_1 __uid;\n int var_12;\n char *var_3;\n type_2 *var_6;\n char *var_7;\n char *subname_local;\n int index_local;\n char *tmp;\n char *var_16;\n char *var_9;\n char *var_14;\n char *var_15;\n char *var_10;\n char *env;\n char *home;\... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_d... |
1264_pterm_and_pterm_strip.c | pty_exitcode | FUN_00167361 | pty_exitcode |
int pty_exitcode(void *handle)
{
int iVar1;
void *handle_local;
Pty pty;
if (*(int *)((long)handle + 0x1028) == 0) {
iVar1 = -1;
}
else {
iVar1 = *(int *)((long)handle + 0x102c);
}
return iVar1;
}
|
undefined4 FUN_00167361(long param_1)
{
undefined4 uVar1;
if (*(int *)(param_1 + 0x1028) == 0) {
uVar1 = 0xffffffff;
}
else {
uVar1 = *(undefined4 *)(param_1 + 0x102c);
}
return uVar1;
}
| (translation_unit "undefined4 FUN_00167361(long param_1)\n\n{\n undefined4 uVar1;\n \n if (*(int *)(param_1 + 0x1028) == 0) {\n uVar1 = 0xffffffff;\n }\n else {\n uVar1 = *(undefined4 *)(param_1 + 0x102c);\n }\n return uVar1;\n}\n\n" (function_definition "undefined4 FUN_00167361(long param_1)\n\n{\n undef... | 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 + 0x1028]
TEST EAX,EAX
JNZ 0x00167386
MOV EAX,0xffffffff
JMP 0x00167390
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x102c]
POP RBP
RET |
int function_1(void *handle)
{
int iVar1;
void *handle_local;
type_1 pty;
if (*(int *)((long)handle + 0x1028) == 0) {
iVar1 = -1;
}
else {
iVar1 = *(int *)((long)handle + 0x102c);
}
return iVar1;
}
| (translation_unit "int pty_exitcode(void *handle)\n\n{\n int iVar1;\n void *handle_local;\n Pty pty;\n \n if (*(int *)((long)handle + 0x1028) == 0) {\n iVar1 = -1;\n }\n else {\n iVar1 = *(int *)((long)handle + 0x102c);\n }\n return iVar1;\n}\n\n" (function_definition "int pty_exitcode(void *handle)\n\n{... | (translation_unit "int function_1(void *handle)\n\n{\n int iVar1;\n void *handle_local;\n type_1 pty;\n \n if (*(int *)((long)handle + 0x1028) == 0) {\n iVar1 = -1;\n }\n else {\n iVar1 = *(int *)((long)handle + 0x102c);\n }\n return iVar1;\n}\n\n" (function_definition "int function_1(void *handle)\n\n{\... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
780_psftp_and_psftp_strip.c | bignum_bitcount | FUN_001550d7 | bignum_bitcount |
int bignum_bitcount(Bignum_conflict bn)
{
byte bVar1;
int iVar2;
int iVar3;
Bignum_conflict bn_local;
int bitcount;
bitcount = (int)*bn * 0x40;
do {
iVar2 = bitcount;
bitcount = iVar2 + -1;
if (bitcount < 0) {
return iVar2;
}
iVar3 = bitcount;
if (bitcount < 0) {
i... |
int FUN_001550d7(undefined8 *param_1)
{
byte bVar1;
int iVar2;
int iVar3;
int local_c;
local_c = (int)*param_1 * 0x40;
do {
iVar2 = local_c;
local_c = iVar2 + -1;
if (local_c < 0) {
return iVar2;
}
iVar3 = local_c;
if (local_c < 0) {
iVar3 = iVar2 + 0x3e;
}
b... | (translation_unit "int FUN_001550d7(undefined8 *param_1)\n\n{\n byte bVar1;\n int iVar2;\n int iVar3;\n int local_c;\n \n local_c = (int)*param_1 * 0x40;\n do {\n iVar2 = local_c;\n local_c = iVar2 + -1;\n if (local_c < 0) {\n return iVar2;\n }\n iVar3 = local_c;\n if (local_c < 0) {\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
SHL EAX,0x6
SUB EAX,0x1
MOV dword ptr [RBP + -0x4],EAX
JMP 0x001550f5
SUB dword ptr [RBP + -0x4],0x1
CMP dword ptr [RBP + -0x4],0x0
JS 0x0015513c
MOV EAX,dword ptr [RBP + -0x4]
LEA EDX,[RAX + 0x3f]
TEST EAX,EAX
... |
int function_1(type_1 bn)
{
type_2 var_4;
int var_1;
int var_3;
type_1 bn_local;
int var_2;
var_2 = (int)*bn * 0x40;
do {
var_1 = var_2;
var_2 = var_1 + -1;
if (var_2 < 0) {
return var_1;
}
var_3 = var_2;
if (var_2 < 0) {
var_3 = var_1 + 0x3e;
}
var_4 = (ty... | (translation_unit "int bignum_bitcount(Bignum_conflict bn)\n\n{\n byte bVar1;\n int iVar2;\n int iVar3;\n Bignum_conflict bn_local;\n int bitcount;\n \n bitcount = (int)*bn * 0x40;\n do {\n iVar2 = bitcount;\n bitcount = iVar2 + -1;\n if (bitcount < 0) {\n return iVar2;\n }\n iVar3 = bitcoun... | (translation_unit "int function_1(type_1 bn)\n\n{\n type_2 var_4;\n int var_1;\n int var_3;\n type_1 bn_local;\n int var_2;\n \n var_2 = (int)*bn * 0x40;\n do {\n var_1 = var_2;\n var_2 = var_1 + -1;\n if (var_2 < 0) {\n return var_1;\n }\n var_3 = var_2;\n if (var_2 < 0) {\n var_3 =... | (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... |
357_psftp_and_psftp_strip.c | sftp_cmd_pling | FUN_0011b69b | sftp_cmd_pling |
int sftp_cmd_pling(sftp_command *cmd)
{
int iVar1;
sftp_command *cmd_local;
int exitcode;
iVar1 = system(cmd->words[1]);
return (int)(iVar1 == 0);
}
|
bool FUN_0011b69b(long *param_1)
{
int iVar1;
iVar1 = system(*(char **)(*param_1 + 8));
return iVar1 == 0;
}
| (translation_unit "bool FUN_0011b69b(long *param_1)\n\n{\n int iVar1;\n \n iVar1 = system(*(char **)(*param_1 + 8));\n return iVar1 == 0;\n}\n\n" (function_definition "bool FUN_0011b69b(long *param_1)\n\n{\n int iVar1;\n \n iVar1 = system(*(char **)(*param_1 + 8));\n return iVar1 == 0;\n}" primitive_type (funct... | 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]
ADD RAX,0x8
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x00108290
MOV dword ptr [RBP + -0x4],EAX
CMP dword ptr [RBP + -0x4],0x0
SETZ AL
MOVZX EAX,AL
LEAVE
RET |
int function_1(type_1 *cmd)
{
int var_2;
type_1 *cmd_local;
int exitcode;
var_2 = var_1(cmd->words[1]);
return (int)(var_2 == 0);
}
| (translation_unit "int sftp_cmd_pling(sftp_command *cmd)\n\n{\n int iVar1;\n sftp_command *cmd_local;\n int exitcode;\n \n iVar1 = system(cmd->words[1]);\n return (int)(iVar1 == 0);\n}\n\n" (function_definition "int sftp_cmd_pling(sftp_command *cmd)\n\n{\n int iVar1;\n sftp_command *cmd_local;\n int exitcode;\... | (translation_unit "int function_1(type_1 *cmd)\n\n{\n int var_2;\n type_1 *cmd_local;\n int exitcode;\n \n var_2 = var_1(cmd->words[1]);\n return (int)(var_2 == 0);\n}\n\n" (function_definition "int function_1(type_1 *cmd)\n\n{\n int var_2;\n type_1 *cmd_local;\n int exitcode;\n \n var_2 = var_1(cmd->words[1... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) de... |
1176_pterm_and_pterm_strip.c | compute_whole_window_size | FUN_00161b37 | compute_whole_window_size |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void compute_whole_window_size
(gui_data *inst,wchar_t wchars,wchar_t hchars,wchar_t *wpix,wchar_t *hpix)
{
long lVar1;
long in_FS_OFFSET;
wchar_t *hpix_local;
wchar_t *wpix_local;
wchar_t hchars_local;
wchar_t wchars... |
void FUN_00161b37(undefined8 param_1,int param_2,int param_3,int *param_4,int *param_5)
{
long in_FS_OFFSET;
undefined local_48 [16];
int local_38;
int local_34;
int local_30;
int local_2c;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_00161811(param_1,local_48);
if (param_4 != ... | (translation_unit "void FUN_00161b37(undefined8 param_1,int param_2,int param_3,int *param_4,int *param_5)\n\n{\n long in_FS_OFFSET;\n undefined local_48 [16];\n int local_38;\n int local_34;\n int local_30;\n int local_2c;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_00161811(param_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x48],RDI
MOV dword ptr [RBP + -0x4c],ESI
MOV dword ptr [RBP + -0x50],EDX
MOV qword ptr [RBP + -0x58],RCX
MOV qword ptr [RBP + -0x60],R8
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RDX,[RBP + -0x40]
MOV RAX,qword ptr [RBP + -0x48]
MO... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1
(type_1 *inst,type_2 var_4,type_2 var_6,type_2 *var_3,type_2 *var_5)
{
long var_7;
long var_1;
type_2 *hpix_local;
type_2 *wpix_local;
type_2 hchars_local;
type_2 wchars_local;
type_1 *inst_local;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid compute_whole_window_size\n (gui_data *inst,wchar_t wchars,wchar_t hchars,wchar_t *wpix,wchar_t *hpix)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n wchar_t *hpix_local;\n wchar_t *wpix_local;\n wchar_t hc... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1\n (type_1 *inst,type_2 var_4,type_2 var_6,type_2 *var_3,type_2 *var_5)\n\n{\n long var_7;\n long var_1;\n type_2 *hpix_local;\n type_2 *wpix_local;\n type_2 hchars_local;\n type_2 wchars_lo... | (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... |
847_psftp_and_psftp_strip.c | des_encipher | FUN_00159b24 | des_encipher |
void des_encipher(word32 *output,word32 L,word32 R,DESContext *sched)
{
uint uVar1;
uint uVar2;
uint uVar3;
uint uVar4;
uint uVar5;
DESContext *sched_local;
word32 R_local;
word32 L_local;
word32 *output_local;
word32 swap;
word32 s0246;
word32 s1357;
uVar2 = (L >> 4 ^ R) & 0xf0f0f0f;
u... |
void FUN_00159b24(uint *param_1,uint param_2,uint param_3,uint *param_4)
{
uint uVar1;
uint uVar2;
uint uVar3;
uint uVar4;
uVar1 = (param_2 >> 4 ^ param_3) & 0xf0f0f0f;
param_2 = param_2 ^ uVar1 << 4;
param_3 = param_3 ^ uVar1;
uVar1 = (param_2 >> 0x10 ^ param_3) & 0xffff;
param_2 = param_2 ^ uVa... | (translation_unit "void FUN_00159b24(uint *param_1,uint param_2,uint param_3,uint *param_4)\n\n{\n uint uVar1;\n uint uVar2;\n uint uVar3;\n uint uVar4;\n \n uVar1 = (param_2 >> 4 ^ param_3) & 0xf0f0f0f;\n param_2 = param_2 ^ uVar1 << 4;\n param_3 = param_3 ^ uVar1;\n uVar1 = (param_2 >> 0x10 ^ param_3) & 0xff... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV dword ptr [RBP + -0x20],EDX
MOV qword ptr [RBP + -0x28],RCX
MOV EAX,dword ptr [RBP + -0x1c]
SHR EAX,0x4
XOR EAX,dword ptr [RBP + -0x20]
AND EAX,0xf0f0f0f
MOV dword ptr [RBP + -0xc],EAX
MOV EAX,dword ptr [RBP + -0xc]
SHL EAX,0x4
XOR... |
void function_1(type_1 *output,type_1 var_1,type_1 var_2,type_2 *sched)
{
type_3 var_4;
type_3 var_3;
type_3 var_5;
type_3 var_6;
type_3 var_7;
type_2 *sched_local;
type_1 R_local;
type_1 L_local;
type_1 *output_local;
type_1 swap;
type_1 s0246;
type_1 s1357;
var_3 = (var_1 >> 4 ^ var_2) ... | (translation_unit "void des_encipher(word32 *output,word32 L,word32 R,DESContext *sched)\n\n{\n uint uVar1;\n uint uVar2;\n uint uVar3;\n uint uVar4;\n uint uVar5;\n DESContext *sched_local;\n word32 R_local;\n word32 L_local;\n word32 *output_local;\n word32 swap;\n word32 s0246;\n word32 s1357;\n \n uVa... | (translation_unit "void function_1(type_1 *output,type_1 var_1,type_1 var_2,type_2 *sched)\n\n{\n type_3 var_4;\n type_3 var_3;\n type_3 var_5;\n type_3 var_6;\n type_3 var_7;\n type_2 *sched_local;\n type_1 R_local;\n type_1 L_local;\n type_1 *output_local;\n type_1 swap;\n type_1 s0246;\n type_1 s1357;\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: (identi... |
631_psftp_and_psftp_strip.c | ssh_channel_unthrottle | FUN_0013c65b | ssh_channel_unthrottle |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_channel_unthrottle(ssh_channel *c,int bufsize)
{
Ssh_conflict ssh_00;
int iVar1;
int bufsize_local;
ssh_channel *c_local;
int buflimit;
Ssh_conflict ssh;
ssh_00 = c->ssh;
if (ssh_00->version == 1) {
buflimit = 0x... |
void FUN_0013c65b(long *param_1,int param_2)
{
long lVar1;
int iVar2;
int local_14;
lVar1 = *param_1;
if (*(int *)(lVar1 + 0x250) == 1) {
local_14 = 0x8000;
}
else {
iVar2 = FUN_0013c343(lVar1);
if (iVar2 == 0) {
local_14 = *(int *)((long)param_1 + 0x4c);
}
else {
loca... | (translation_unit "void FUN_0013c65b(long *param_1,int param_2)\n\n{\n long lVar1;\n int iVar2;\n int local_14;\n \n lVar1 = *param_1;\n if (*(int *)(lVar1 + 0x250) == 1) {\n local_14 = 0x8000;\n }\n else {\n iVar2 = FUN_0013c343(lVar1);\n if (iVar2 == 0) {\n local_14 = *(int *)((long)param_1 + 0x... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x250]
CMP EAX,0x1
JNZ 0x0013c68d
MOV dword ptr [RBP + -0xc],0x8000
JMP 0x0013c... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *c,int var_3)
{
type_2 ssh_00;
int var_2;
int bufsize_local;
type_1 *c_local;
int var_4;
type_2 ssh;
ssh_00 = c->ssh;
if (ssh_00->version == 1) {
var_4 = 0x8000;
}
else {
var_2 = var_1(ssh_0... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_channel_unthrottle(ssh_channel *c,int bufsize)\n\n{\n Ssh_conflict ssh_00;\n int iVar1;\n int bufsize_local;\n ssh_channel *c_local;\n int buflimit;\n Ssh_conflict ssh;\n \n ssh_00 = c->ssh;\n if (ssh_00->ve... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *c,int var_3)\n\n{\n type_2 ssh_00;\n int var_2;\n int bufsize_local;\n type_1 *c_local;\n int var_4;\n type_2 ssh;\n \n ssh_00 = c->ssh;\n if (ssh_00->version == 1) {\n var_4 = 0x8000;\n }... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator... |
1229_pterm_and_pterm_strip.c | cleanup_exit | FUN_00165675 | cleanup_exit |
void cleanup_exit(int code)
{
int code_local;
/* WARNING: Subroutine does not return */
exit(code);
}
|
void FUN_00165675(int param_1)
{
/* WARNING: Subroutine does not return */
exit(param_1);
}
| (translation_unit "void FUN_00165675(int param_1)\n\n{\n /* WARNING: Subroutine does not return */\n exit(param_1);\n}\n\n" (function_definition "void FUN_00165675(int param_1)\n\n{\n /* WARNING: Subroutine does not return */\n exit(param_1);\n}" primitive_type (function_declarat... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV dword ptr [RBP + -0x4],EDI
MOV EAX,dword ptr [RBP + -0x4]
MOV EDI,EAX
CALL 0x001102a0 |
void function_1(int code)
{
int code_local;
/* WARNING: Subroutine does not return */
var_1(code);
}
| (translation_unit "void cleanup_exit(int code)\n\n{\n int code_local;\n \n /* WARNING: Subroutine does not return */\n exit(code);\n}\n\n" (function_definition "void cleanup_exit(int code)\n\n{\n int code_local;\n \n /* WARNING: Subroutine does not return */\n exit(code);\n}"... | (translation_unit "void function_1(int code)\n\n{\n int code_local;\n \n /* WARNING: Subroutine does not return */\n var_1(code);\n}\n\n" (function_definition "void function_1(int code)\n\n{\n int code_local;\n \n /* WARNING: Subroutine does not return */\n var_1(code);\n}" p... | (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)) (comment) ... |
1085_pterm_and_pterm_strip.c | platform_default_s | FUN_0015ad8a | platform_default_s |
char * platform_default_s(char *name)
{
int iVar1;
char *pcVar2;
char *name_local;
iVar1 = strcmp(name,"SerialLine");
if (iVar1 == 0) {
pcVar2 = dupstr("/dev/ttyS0");
}
else {
pcVar2 = (char *)0x0;
}
return pcVar2;
}
|
undefined8 FUN_0015ad8a(char *param_1)
{
int iVar1;
undefined8 uVar2;
iVar1 = strcmp(param_1,"SerialLine");
if (iVar1 == 0) {
uVar2 = FUN_0012725c("/dev/ttyS0");
}
else {
uVar2 = 0;
}
return uVar2;
}
| (translation_unit "undefined8 FUN_0015ad8a(char *param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n iVar1 = strcmp(param_1,"SerialLine");\n if (iVar1 == 0) {\n uVar2 = FUN_0012725c("/dev/ttyS0");\n }\n else {\n uVar2 = 0;\n }\n return uVar2;\n}\n\n" (function_definition "undefined8 FUN_0015ad8a(char *pa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
LEA RSI,[0x195549]
MOV RDI,RAX
CALL 0x001105b0
TEST EAX,EAX
JNZ 0x0015adbb
LEA RDI,[0x195554]
CALL 0x0012725c
JMP 0x0015adc0
MOV EAX,0x0
LEAVE
RET |
char * function_1(char *name)
{
int var_2;
char *pcVar2;
char *name_local;
var_2 = var_1(name,"SerialLine");
if (var_2 == 0) {
pcVar2 = var_3("/dev/ttyS0");
}
else {
pcVar2 = (char *)0x0;
}
return pcVar2;
}
| (translation_unit "char * platform_default_s(char *name)\n\n{\n int iVar1;\n char *pcVar2;\n char *name_local;\n \n iVar1 = strcmp(name,"SerialLine");\n if (iVar1 == 0) {\n pcVar2 = dupstr("/dev/ttyS0");\n }\n else {\n pcVar2 = (char *)0x0;\n }\n return pcVar2;\n}\n\n" (function_definition "char * platf... | (translation_unit "char * function_1(char *name)\n\n{\n int var_2;\n char *pcVar2;\n char *name_local;\n \n var_2 = var_1(name,"SerialLine");\n if (var_2 == 0) {\n pcVar2 = var_3("/dev/ttyS0");\n }\n else {\n pcVar2 = (char *)0x0;\n }\n return pcVar2;\n}\n\n" (function_definition "char * function_1(char... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decla... |
553_psftp_and_psftp_strip.c | ssh1_pkt_getmp | FUN_0012c4c2 | ssh1_pkt_getmp |
Bignum ssh1_pkt_getmp(Packet *pkt)
{
int iVar1;
long in_FS_OFFSET;
Packet *pkt_local;
int j;
Bignum b;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
iVar1 = ssh1_read_bignum(pkt->body + pkt->savedpos,(int)pkt->length - (int)pkt->savedpos,
(Bignum_conflict *)&b... |
undefined8 FUN_0012c4c2(undefined8 *param_1)
{
int iVar1;
long in_FS_OFFSET;
undefined8 local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
iVar1 = FUN_00155010(param_1[5] + param_1[6],(int)*param_1 - (int)param_1[6],&local_18);
if (iVar1 < 0) {
local_18 = 0;
}
else {
para... | (translation_unit "undefined8 FUN_0012c4c2(undefined8 *param_1)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n iVar1 = FUN_00155010(param_1[5] + param_1[6],(int)*param_1 - (int)param_1[6],&local_18);\n if (iVar1 < 0) {\n local_... | 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 RAX,qword ptr [RAX]
MOV EDX,EAX
MOV RAX,qword ptr [RBP + -0x28]
MOV RAX,qword ptr [RAX + 0x30]
SUB EDX,EAX
MOV EAX,EDX
MOV ESI,EAX
MOV RAX,qword pt... |
type_1 function_1(type_2 *pkt)
{
int var_3;
long var_1;
type_2 *pkt_local;
int j;
type_1 b;
long var_4;
var_4 = *(long *)(var_1 + 0x28);
var_3 = var_2(pkt->body + pkt->savedpos,(int)pkt->length - (int)pkt->savedpos,
(type_3 *)&b);
if (var_3 < 0) {
b = (type_1)0x0;
... | (translation_unit "Bignum ssh1_pkt_getmp(Packet *pkt)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n Packet *pkt_local;\n int j;\n Bignum b;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n iVar1 = ssh1_read_bignum(pkt->body + pkt->savedpos,(int)pkt->length - (int)pkt->savedpos,\n ... | (translation_unit "type_1 function_1(type_2 *pkt)\n\n{\n int var_3;\n long var_1;\n type_2 *pkt_local;\n int j;\n type_1 b;\n long var_4;\n \n var_4 = *(long *)(var_1 + 0x28);\n var_3 = var_2(pkt->body + pkt->savedpos,(int)pkt->length - (int)pkt->savedpos,\n (type_3 *)&b);\n if (var_... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) d... |
1152_pterm_and_pterm_strip.c | get_ctx | FUN_0015fb9e | get_ctx |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
Context get_ctx(void *frontend)
{
long lVar1;
draw_ctx *dctx_00;
undefined8 uVar2;
GtkWidget *pGVar3;
cairo_t *pcVar4;
void *frontend_local;
gui_data *inst;
draw_ctx *dctx;
lVar1 = gtk_widget_get_window(*(undefined8 *)((lon... |
long * FUN_0015fb9e(long param_1)
{
long lVar1;
long *plVar2;
undefined8 uVar3;
lVar1 = gtk_widget_get_window(*(undefined8 *)(param_1 + 8));
if (lVar1 == 0) {
plVar2 = (long *)0x0;
}
else {
plVar2 = (long *)FUN_001282f0(1,0x60);
*plVar2 = param_1;
*(undefined4 *)(plVar2 + 1) = *(undef... | (translation_unit "long * FUN_0015fb9e(long param_1)\n\n{\n long lVar1;\n long *plVar2;\n undefined8 uVar3;\n \n lVar1 = gtk_widget_get_window(*(undefined8 *)(param_1 + 8));\n if (lVar1 == 0) {\n plVar2 = (long *)0x0;\n }\n else {\n plVar2 = (long *)FUN_001282f0(1,0x60);\n *plVar2 = param_1;\n *(und... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x8]
MOV RDI,RAX
CALL 0x0010f5a0
TEST RAX,RAX
JNZ 0x0015fbd1
MOV EAX,0x0
JMP 0x0015fc5e
MOV ESI,0x60
MOV EDI,0x1
CALL 0x001282f0
MOV ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(void *frontend)
{
long var_2;
type_2 *dctx_00;
type_3 uVar2;
type_4 *pGVar3;
type_5 *pcVar4;
void *frontend_local;
type_6 *inst;
type_2 *dctx;
var_2 = var_1(*(type_3 *)((long)frontend + 8));
if (var_2 ==... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nContext get_ctx(void *frontend)\n\n{\n long lVar1;\n draw_ctx *dctx_00;\n undefined8 uVar2;\n GtkWidget *pGVar3;\n cairo_t *pcVar4;\n void *frontend_local;\n gui_data *inst;\n draw_ctx *dctx;\n \n lVar1 = gtk_widget... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(void *frontend)\n\n{\n long var_2;\n type_2 *dctx_00;\n type_3 uVar2;\n type_4 *pGVar3;\n type_5 *pcVar4;\n void *frontend_local;\n type_6 *inst;\n type_2 *dctx;\n \n var_2 = var_1(*(type_3 *)((lon... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_ty... |
445_psftp_and_psftp_strip.c | fxp_rmdir_recv | FUN_00124d5e | fxp_rmdir_recv |
int fxp_rmdir_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_00124d5e(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_00124d5e(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_00124d5e(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_rmdir_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_rmdir_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... |
1100_pterm_and_pterm_strip.c | refresh_window | FUN_0015b136 | refresh_window |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void refresh_window(void *frontend)
{
void *frontend_local;
gui_data *inst;
term_invalidate(*(Terminal **)((long)frontend + 0xda0));
return;
}
|
void FUN_0015b136(long param_1)
{
FUN_0013f494(*(undefined8 *)(param_1 + 0xda0));
return;
}
| (translation_unit "void FUN_0015b136(long param_1)\n\n{\n FUN_0013f494(*(undefined8 *)(param_1 + 0xda0));\n return;\n}\n\n" (function_definition "void FUN_0015b136(long param_1)\n\n{\n FUN_0013f494(*(undefined8 *)(param_1 + 0xda0));\n return;\n}" primitive_type (function_declarator "FUN_0015b136(long param_1)" iden... | 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 + 0xda0]
MOV RDI,RAX
CALL 0x0013f494
NOP
LEAVE
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *frontend)
{
void *frontend_local;
type_1 *inst;
var_1(*(type_2 **)((long)frontend + 0xda0));
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid refresh_window(void *frontend)\n\n{\n void *frontend_local;\n gui_data *inst;\n \n term_invalidate(*(Terminal **)((long)frontend + 0xda0));\n return;\n}\n\n" comment (function_definition "void refresh_window(void *f... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *frontend)\n\n{\n void *frontend_local;\n type_1 *inst;\n \n var_1(*(type_2 **)((long)frontend + 0xda0));\n return;\n}\n\n" comment (function_definition "void function_1(void *frontend)\n\n{\n void ... | (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... |
262_psftp_and_psftp_strip.c | get_ssh_uint32 | FUN_001115a5 | get_ssh_uint32 |
int get_ssh_uint32(int *datalen,void **data,uint *ret)
{
int iVar1;
uint *ret_local;
void **data_local;
int *datalen_local;
iVar1 = *datalen;
if (3 < iVar1) {
/* WARNING: Load size is inaccurate */
*ret = (uint)**data << 0x18 | (uint)*(byte *)((long)*data + 1) << 0x10 |
... |
bool FUN_001115a5(int *param_1,long *param_2,uint *param_3)
{
int iVar1;
iVar1 = *param_1;
if (3 < iVar1) {
*param_3 = (uint)*(byte *)*param_2 << 0x18 | (uint)*(byte *)(*param_2 + 1) << 0x10 |
(uint)*(byte *)(*param_2 + 2) << 8 | (uint)*(byte *)(*param_2 + 3);
*param_1 = *param_1 + -4;... | (translation_unit "bool FUN_001115a5(int *param_1,long *param_2,uint *param_3)\n\n{\n int iVar1;\n \n iVar1 = *param_1;\n if (3 < iVar1) {\n *param_3 = (uint)*(byte *)*param_2 << 0x18 | (uint)*(byte *)(*param_2 + 1) << 0x10 |\n (uint)*(byte *)(*param_2 + 2) << 8 | (uint)*(byte *)(*param_2 + 3);\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX]
CMP EAX,0x3
JG 0x001115c7
MOV EAX,0x0
JMP 0x00111644
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOVZX EAX,byte ptr [RAX]
MOVZX EAX,AL
SH... |
int function_1(int *datalen,void **data,type_1 *ret)
{
int var_1;
type_1 *ret_local;
void **data_local;
int *datalen_local;
var_1 = *datalen;
if (3 < var_1) {
/* WARNING: Load size is inaccurate */
*ret = (type_1)**data << 0x18 | (type_1)*(type_2 *)((long)*data + 1) << 0x10 |
... | (translation_unit "int get_ssh_uint32(int *datalen,void **data,uint *ret)\n\n{\n int iVar1;\n uint *ret_local;\n void **data_local;\n int *datalen_local;\n \n iVar1 = *datalen;\n if (3 < iVar1) {\n /* WARNING: Load size is inaccurate */\n *ret = (uint)**data << 0x18 | (uint)*(byte *)((long)... | (translation_unit "int function_1(int *datalen,void **data,type_1 *ret)\n\n{\n int var_1;\n type_1 *ret_local;\n void **data_local;\n int *datalen_local;\n \n var_1 = *datalen;\n if (3 < var_1) {\n /* WARNING: Load size is inaccurate */\n *ret = (type_1)**data << 0x18 | (type_1)*(type_2 *)(... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
299_psftp_and_psftp_strip.c | sk_proxy_set_frozen | FUN_001131c8 | sk_proxy_set_frozen |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sk_proxy_set_frozen(Socket s,int is_frozen)
{
long lVar1;
int iVar2;
long in_FS_OFFSET;
int is_frozen_local;
Socket s_local;
int len;
void *data;
Proxy_Socket ps;
char databuf [512];
lVar1 = *(long *)(in_FS_OFFSET + ... |
void FUN_001131c8(long param_1,undefined4 param_2)
{
int iVar1;
long in_FS_OFFSET;
uint local_22c;
void *local_228;
long local_220;
undefined local_218 [520];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_220 = param_1;
if (*(int *)(param_1 + 0x84) == 0) {
iVar1 = FUN_0011... | (translation_unit "void FUN_001131c8(long param_1,undefined4 param_2)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n uint local_22c;\n void *local_228;\n long local_220;\n undefined local_218 [520];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_220 = param_1;\n if (*(int *)(param_1 + 0x8... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x240
MOV qword ptr [RBP + -0x238],RDI
MOV dword ptr [RBP + -0x23c],ESI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x238]
MOV qword ptr [RBP + -0x218],RAX
MOV RAX,qword ptr [RBP + -0x218]
MOV EAX,dword ptr [RAX + 0x84]
TEST EAX,EAX
JZ 0x... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_3,int is_frozen)
{
long var_8;
int var_4;
long var_1;
int is_frozen_local;
type_1 s_local;
int len;
void *data;
type_2 ps;
char databuf [512];
var_8 = *(long *)(var_1 + 0x28);
ps = (type_2)var... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sk_proxy_set_frozen(Socket s,int is_frozen)\n\n{\n long lVar1;\n int iVar2;\n long in_FS_OFFSET;\n int is_frozen_local;\n Socket s_local;\n int len;\n void *data;\n Proxy_Socket ps;\n char databuf [512];\n \n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_3,int is_frozen)\n\n{\n long var_8;\n int var_4;\n long var_1;\n int is_frozen_local;\n type_1 s_local;\n int len;\n void *data;\n type_2 ps;\n char databuf [512];\n \n var_8 = *(long *)(... | (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... |
614_psftp_and_psftp_strip.c | ssh_msg_ignore | FUN_001364fd | ssh_msg_ignore |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_msg_ignore(Ssh_conflict ssh,Packet *pktin)
{
Packet *pktin_local;
Ssh_conflict ssh_local;
return;
}
|
void FUN_001364fd(void)
{
return;
}
| (translation_unit "void FUN_001364fd(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_001364fd(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_001364fd(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
NOP
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pktin)
{
type_2 *pktin_local;
type_1 ssh_local;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_msg_ignore(Ssh_conflict ssh,Packet *pktin)\n\n{\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n \n return;\n}\n\n" comment (function_definition "void ssh_msg_ignore(Ssh_conflict ssh,Packet *pktin)\n\n{\n Pack... | (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 return;\n}\n\n" comment (function_definition "void function_1(type_1 ssh,type_2 *pktin)\n\n{\n type_2 *pktin_local;\n type_1... | (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... |
854_psftp_and_psftp_strip.c | des_cbc3_decrypt | FUN_0015cc25 | des_cbc3_decrypt |
void des_cbc3_decrypt(uchar *blk,uint len,DESContext *scheds)
{
uint uVar1;
uint uVar2;
long lVar3;
uint L;
uint R;
long in_FS_OFFSET;
DESContext *scheds_local;
uint len_local;
uchar *blk_local;
word32 iv0;
word32 iv1;
uint i;
word32 xL;
word32 xR;
word32 out [2];
lVar3 = *(long *)(... |
void FUN_0015cc25(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_0015cc25(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 0x0015cc70
LEA RCX,[0x1a1940]
MOV EDX,0x2bd
LEA RSI,[0x1a16... |
void function_1(type_1 *blk,type_2 var_2,type_3 *var_7)
{
type_2 var_11;
type_2 var_12;
long var_13;
type_2 L;
type_2 R;
long var_1;
type_3 *scheds_local;
type_2 len_local;
type_1 *var_5;
type_4 var_9;
type_4 var_10;
type_2 var_4;
type_4 xL;
type_4 xR;
type_4 out [2];
var_13 = *(lon... | (translation_unit "void des_cbc3_decrypt(uchar *blk,uint len,DESContext *scheds)\n\n{\n uint uVar1;\n uint uVar2;\n long lVar3;\n uint L;\n uint R;\n long in_FS_OFFSET;\n DESContext *scheds_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 word... | (translation_unit "void function_1(type_1 *blk,type_2 var_2,type_3 *var_7)\n\n{\n type_2 var_11;\n type_2 var_12;\n long var_13;\n type_2 L;\n type_2 R;\n long var_1;\n type_3 *scheds_local;\n type_2 len_local;\n type_1 *var_5;\n type_4 var_9;\n type_4 var_10;\n type_2 var_4;\n type_4 xL;\n type_4 xR;\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: (identi... |
1068_pterm_and_pterm_strip.c | help | FUN_001593bd | help |
void help(FILE *fp)
{
int iVar1;
FILE *fp_local;
iVar1 = fprintf((FILE *)fp,
"pterm option summary:\n\n --display DISPLAY Specify X display to use (note \'--\')\n -name PREFIX Prefix when looking up resources (default: pterm)\n -fn FONT Normal text f... |
void FUN_001593bd(FILE *param_1)
{
int iVar1;
iVar1 = fprintf(param_1,
"pterm option summary:\n\n --display DISPLAY Specify X display to use (note \'--\')\n -name PREFIX Prefix when looking up resources (default: pterm)\n -fn FONT Normal text font\n -... | (translation_unit "void FUN_001593bd(FILE *param_1)\n\n{\n int iVar1;\n \n iVar1 = fprintf(param_1,\n "pterm option summary:\n\n --display DISPLAY Specify X display to use (note \'--\')\n -name PREFIX Prefix when looking up resources (default: pterm)\n -fn FONT ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
LEA RSI,[0x194e80]
MOV RDI,RAX
MOV EAX,0x0
CALL 0x00110660
TEST EAX,EAX
JS 0x001593f5
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00110210
TEST EAX,EAX
JNS 0x0015940b
LEA RDI,[0x1952af]
CALL 0x0010fc30
MOV EDI,0x1
CALL... |
void function_1(type_1 *fp)
{
int var_2;
type_1 *fp_local;
var_2 = var_1((type_1 *)fp,
"pterm option summary:\n\n --display DISPLAY Specify X display to use (note \'--\')\n -name PREFIX Prefix when looking up resources (default: pterm)\n -fn FONT Nor... | (translation_unit "void help(FILE *fp)\n\n{\n int iVar1;\n FILE *fp_local;\n \n iVar1 = fprintf((FILE *)fp,\n "pterm option summary:\n\n --display DISPLAY Specify X display to use (note \'--\')\n -name PREFIX Prefix when looking up resources (default: pterm)\n -fn FONT ... | (translation_unit "void function_1(type_1 *fp)\n\n{\n int var_2;\n type_1 *fp_local;\n \n var_2 = var_1((type_1 *)fp,\n "pterm option summary:\n\n --display DISPLAY Specify X display to use (note \'--\')\n -name PREFIX Prefix when looking up resources (default: pterm)\n -fn ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) de... |
324_psftp_and_psftp_strip.c | sftp_begin_wildcard_matching | FUN_00118fba | sftp_begin_wildcard_matching |
SftpWildcardMatcher * sftp_begin_wildcard_matching(char *name)
{
int iVar1;
char *pcVar2;
char *wildcard_00;
char *pcVar3;
sftp_request *req_00;
sftp_packet *pktin_00;
fxp_handle *pfVar4;
char *name_local;
int len;
int check;
SftpWildcardMatcher *swcm;
char *wildcard;
char *unwcdir;
char *... |
long * FUN_00118fba(undefined8 param_1)
{
int iVar1;
undefined8 uVar2;
long lVar3;
undefined8 uVar4;
undefined8 uVar5;
undefined8 uVar6;
long lVar7;
long *local_48;
uVar2 = FUN_0018c3df(param_1,0);
lVar3 = FUN_0010fd06(param_1);
iVar1 = (int)uVar2 - (int)param_1;
*(undefined *)(lVar3 + iVar... | (translation_unit "long * FUN_00118fba(undefined8 param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n long lVar3;\n undefined8 uVar4;\n undefined8 uVar5;\n undefined8 uVar6;\n long lVar7;\n long *local_48;\n \n uVar2 = FUN_0018c3df(param_1,0);\n lVar3 = FUN_0010fd06(param_1);\n iVar1 = (int)uVar2 - (int)param_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x58],RDI
MOV RAX,qword ptr [RBP + -0x58]
MOV ESI,0x0
MOV RDI,RAX
CALL 0x0018c3df
MOV qword ptr [RBP + -0x38],RAX
MOV RAX,qword ptr [RBP + -0x58]
MOV RDI,RAX
CALL 0x0010fd06
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RBP + -0x38]
SUB RAX,qword ptr [RBP + -... |
type_1 * function_1(char *name)
{
int var_3;
char *pcVar2;
char *wildcard_00;
char *pcVar3;
type_2 *req_00;
type_3 *pktin_00;
type_4 *var_12;
char *name_local;
int len;
int check;
type_1 *swcm;
char *wildcard;
char *unwcdir;
char *tmpdir;
char *cdir;
type_2 *req;
type_3 *pktin;
typ... | (translation_unit "SftpWildcardMatcher * sftp_begin_wildcard_matching(char *name)\n\n{\n int iVar1;\n char *pcVar2;\n char *wildcard_00;\n char *pcVar3;\n sftp_request *req_00;\n sftp_packet *pktin_00;\n fxp_handle *pfVar4;\n char *name_local;\n int len;\n int check;\n SftpWildcardMatcher *swcm;\n char *wil... | (translation_unit "type_1 * function_1(char *name)\n\n{\n int var_3;\n char *pcVar2;\n char *wildcard_00;\n char *pcVar3;\n type_2 *req_00;\n type_3 *pktin_00;\n type_4 *var_12;\n char *name_local;\n int len;\n int check;\n type_1 *swcm;\n char *wildcard;\n char *unwcdir;\n char *tmpdir;\n char *cdir;\n ... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decl... |
396_psftp_and_psftp_strip.c | wprefs | FUN_0011e55c | wprefs |
void wprefs(void *sesskey,char *name,keyvalwhere *mapping,int nvals,Conf *conf,int primary)
{
int iVar1;
size_t sVar2;
char *pcVar3;
char *pcVar4;
undefined1 *puVar5;
Conf *conf_local;
int primary_local;
int nvals_local;
keyvalwhere *mapping_local;
char *name_local;
void *sesskey_local;
int i;... |
void FUN_0011e55c(undefined8 param_1,undefined8 param_2,undefined8 param_3,int param_4,
undefined8 param_5,undefined4 param_6)
{
undefined4 uVar1;
int iVar2;
size_t sVar3;
char *pcVar4;
long lVar5;
undefined1 *puVar6;
int local_40;
int local_3c;
char *local_38;
local_3c = 0;
... | (translation_unit "void FUN_0011e55c(undefined8 param_1,undefined8 param_2,undefined8 param_3,int param_4,\n undefined8 param_5,undefined4 param_6)\n\n{\n undefined4 uVar1;\n int iVar2;\n size_t sVar3;\n char *pcVar4;\n long lVar5;\n undefined1 *puVar6;\n int local_40;\n int local_3c;\n char *l... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x68
MOV qword ptr [RBP + -0x48],RDI
MOV qword ptr [RBP + -0x50],RSI
MOV qword ptr [RBP + -0x58],RDX
MOV dword ptr [RBP + -0x5c],ECX
MOV qword ptr [RBP + -0x68],R8
MOV dword ptr [RBP + -0x60],R9D
MOV dword ptr [RBP + -0x38],0x0
MOV EAX,dword ptr [RBP + -0x38]
MOV dword ptr [RBP + -... |
void function_1(void *sesskey,char *name,type_1 *mapping,int var_2,type_2 *conf,int primary)
{
int var_12;
size_t sVar2;
char *var_5;
char *var_9;
type_3 *puVar5;
type_2 *conf_local;
int primary_local;
int nvals_local;
type_1 *mapping_local;
char *name_local;
void *sesskey_local;
int var_1;
... | (translation_unit "void wprefs(void *sesskey,char *name,keyvalwhere *mapping,int nvals,Conf *conf,int primary)\n\n{\n int iVar1;\n size_t sVar2;\n char *pcVar3;\n char *pcVar4;\n undefined1 *puVar5;\n Conf *conf_local;\n int primary_local;\n int nvals_local;\n keyvalwhere *mapping_local;\n char *name_local;\n... | (translation_unit "void function_1(void *sesskey,char *name,type_1 *mapping,int var_2,type_2 *conf,int primary)\n\n{\n int var_12;\n size_t sVar2;\n char *var_5;\n char *var_9;\n type_3 *puVar5;\n type_2 *conf_local;\n int primary_local;\n int nvals_local;\n type_1 *mapping_local;\n char *name_local;\n void ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
388_psftp_and_psftp_strip.c | gppi_raw | FUN_0011daf1 | gppi_raw |
int gppi_raw(void *handle,char *name,int def)
{
int iVar1;
int def_local;
char *name_local;
void *handle_local;
iVar1 = platform_default_i(name,def);
iVar1 = read_setting_i(handle,name,iVar1);
return iVar1;
}
|
void FUN_0011daf1(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
undefined4 uVar1;
uVar1 = FUN_0018b8b2(param_2,param_3);
FUN_0018e696(param_1,param_2,uVar1);
return;
}
| (translation_unit "void FUN_0011daf1(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n undefined4 uVar1;\n \n uVar1 = FUN_0018b8b2(param_2,param_3);\n FUN_0018e696(param_1,param_2,uVar1);\n return;\n}\n\n" (function_definition "void FUN_0011daf1(undefined8 param_1,undefined8 param_2,undefined4 param... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV EDX,dword ptr [RBP + -0x14]
MOV RAX,qword ptr [RBP + -0x10]
MOV ESI,EDX
MOV RDI,RAX
CALL 0x0018b8b2
MOV dword ptr [RBP + -0x14],EAX
MOV EDX,dword ptr [RBP + -0x14]
MOV RCX,qword ptr [RBP ... |
int function_1(void *handle,char *name,int def)
{
int iVar1;
int def_local;
char *name_local;
void *handle_local;
iVar1 = var_1(name,def);
iVar1 = var_2(handle,name,iVar1);
return iVar1;
}
| (translation_unit "int gppi_raw(void *handle,char *name,int def)\n\n{\n int iVar1;\n int def_local;\n char *name_local;\n void *handle_local;\n \n iVar1 = platform_default_i(name,def);\n iVar1 = read_setting_i(handle,name,iVar1);\n return iVar1;\n}\n\n" (function_definition "int gppi_raw(void *handle,char *name... | (translation_unit "int function_1(void *handle,char *name,int def)\n\n{\n int iVar1;\n int def_local;\n char *name_local;\n void *handle_local;\n \n iVar1 = var_1(name,def);\n iVar1 = var_2(handle,name,iVar1);\n return iVar1;\n}\n\n" (function_definition "int function_1(void *handle,char *name,int def)\n\n{\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_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.