|
[分享]科锐学员版块对外开放了
火钳刘明 |
|
[翻译]R4ndom破解教程全文翻译(For新手):第三章
新手学习的极好资料 |
|
下面的语句是做什么用的?除法不像除法!
谢谢 请问您是怎么看出是除以10000的呢? |
|
下面的语句是做什么用的?除法不像除法!
int main(void) { int _ecx=0; scanf("%d",&_ecx); int k = _ecx - (_ecx / 10000) * 10000; printf("%d",k); } vs2010生成的代码如下,与你的不同啊?????? 00C51004 lea eax,[_ecx] 00C51007 push eax 00C51008 push offset string "%d" (0C520F4h) 00C5100D mov dword ptr [_ecx],0 00C51014 call dword ptr [__imp__scanf (0C520A4h)] 00C5101A mov ecx,dword ptr [_ecx] 00C5101D mov eax,68DB8BADh 00C51022 imul ecx 00C51024 sar edx,0Ch 00C51027 mov eax,edx 00C51029 shr eax,1Fh 00C5102C add eax,edx 00C5102E imul eax,eax,2710h 00C51034 sub ecx,eax |
|
|
|
请问,这两组语句为什么效果不同???
除法我知道,但这里似乎不是除法啊 |
|
下面的语句是做什么用的?除法不像除法!
楼上的 似乎不正确 结果差的很远 您把 00401139 |. B8 5917B7D1 MOV EAX,D1B71759 00401141 |. F7E1 MUL ECX 00401143 |. C1EA 0D SHR EDX,0D 这三条指令 看成一个除法指令 应该有问题吧? |
|
下面的语句是做什么用的?除法不像除法!
楼上,似乎不是这么简单 我这样写不行的,你能看出我的问题在哪里吗? 直接在tt=_eax*c; 后面 用asm mov c,edx取edx的值,与 _asm MUL c;后取得的edx值不同,不知道为什么. long tt=0; int _eax=0xD1B71759; tt=_eax*c; int _edx=tt>>0x20; _edx=_edx>>0xd; _asm MOV EAX,0xD1B71759; _asm MUL c; _asm SHR edx,0xd; |
|
|
|
[原创]逆向C++之一 基本数据类型
对齐怎么理解?有什么规律吗?而且这个地址也奇怪 不是004开头 |
|
[原创]逆向C++之一 基本数据类型
win7 用od载入控制台程序,完全不是这样啊! 01341490 > 55 PUSH EBP 01341491 8BEC MOV EBP,ESP 01341493 81EC 10010000 SUB ESP,110 01341499 53 PUSH EBX 0134149A 56 PUSH ESI 0134149B 57 PUSH EDI 0134149C 8DBD F0FEFFFF LEA EDI,DWORD PTR SS:[EBP-110] 013414A2 B9 44000000 MOV ECX,44 013414A7 B8 CCCCCCCC MOV EAX,CCCCCCCC 013414AC F3:AB REP STOS DWORD PTR ES:[EDI] 013414AE C745 F8 0200000>MOV DWORD PTR SS:[EBP-8],2 013414B5 C745 EC 0400000>MOV DWORD PTR SS:[EBP-14],4 013414BC D905 3C783401 FLD DWORD PTR DS:[__real@40000000] 013414C2 D95D E0 FSTP DWORD PTR SS:[EBP-20] 013414C5 C645 D7 01 MOV BYTE PTR SS:[EBP-29],1 013414C9 C645 CB 02 MOV BYTE PTR SS:[EBP-35],2 013414CD C745 BC 3078340>MOV DWORD PTR SS:[EBP-44],OFFSET test.??_C@_07DJMAIOHN@lengxue?$AA@ ; lengxue 013414D4 8BF4 MOV ESI,ESP 部分代码如上:第一个变量偏移8字节,第二个竟然偏移12个字节。 |
|
|
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值