-
-
[旧帖] IDA PRO 伪代码解读,求师傅,求大神 0.00雪花
-
发表于: 2015-9-2 17:22 4811
-
IDA PRO 伪代码解读,求师傅,求大神
int __fastcall Java_com_xiaomi_shop2_io_http_ShopSigned_getSigned(int a1)
{
int v1; // r4@1
const char *v2; // r7@1
__int32 v3; // ST0C_4@1
int v4; // r0@1
int v5; // r6@1
int result; // r0@1
unsigned __int8 *v7; // [sp+14h] [bp-824h]@1
int v8; // [sp+18h] [bp-820h]@1
char s; // [sp+1Ch] [bp-81Ch]@1
int v10; // [sp+81Ch] [bp-1Ch]@1
v10 = _stack_chk_guard;
v1 = a1;
v2 = (const char *)(*(int (**)(void))(*(_DWORD *)a1 + 676))();
v7 = 0;
v8 = 0;
memset(&s, 0, 0x800u);
v3 = SDBMHash((int)&s, v1);
v4 = strlen(v2);
get_hmac((unsigned int)v3, (const unsigned __int8 *)v2, v4, &v7, &v8);
v5 = (*(int (__fastcall **)(int, unsigned __int8 *))(*(_DWORD *)v1 + 668))(v1, v7);
free_memory(v7);
(*(void (__fastcall **)(int))(*(_DWORD *)v1 + 680))(v1);
result = v5;
if ( v10 != _stack_chk_guard )
_stack_chk_fail(v5);
return result;
}
求解一段伪代码,我QQ348840692
或留下你联系方式,求解,
Kx不多,新人,可RMB
int __fastcall Java_com_xiaomi_shop2_io_http_ShopSigned_getSigned(int a1)
{
int v1; // r4@1
const char *v2; // r7@1
__int32 v3; // ST0C_4@1
int v4; // r0@1
int v5; // r6@1
int result; // r0@1
unsigned __int8 *v7; // [sp+14h] [bp-824h]@1
int v8; // [sp+18h] [bp-820h]@1
char s; // [sp+1Ch] [bp-81Ch]@1
int v10; // [sp+81Ch] [bp-1Ch]@1
v10 = _stack_chk_guard;
v1 = a1;
v2 = (const char *)(*(int (**)(void))(*(_DWORD *)a1 + 676))();
v7 = 0;
v8 = 0;
memset(&s, 0, 0x800u);
v3 = SDBMHash((int)&s, v1);
v4 = strlen(v2);
get_hmac((unsigned int)v3, (const unsigned __int8 *)v2, v4, &v7, &v8);
v5 = (*(int (__fastcall **)(int, unsigned __int8 *))(*(_DWORD *)v1 + 668))(v1, v7);
free_memory(v7);
(*(void (__fastcall **)(int))(*(_DWORD *)v1 + 680))(v1);
result = v5;
if ( v10 != _stack_chk_guard )
_stack_chk_fail(v5);
return result;
}
求解一段伪代码,我QQ348840692
或留下你联系方式,求解,
Kx不多,新人,可RMB
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!
赞赏
谁下载
看原图
赞赏
雪币:
留言: