能力值:
( LV2,RANK:10 )
|
-
-
2 楼
|
能力值:
( LV2,RANK:10 )
|
-
-
3 楼
刚才看到了点SDK的源代码给了我点启发,但是我不能确定哪个是sb_end函数?请高人指导,代码如下:
. text:004325E0; -------------------------------------------------------------------- .text:004325E0 loc_4325E0: ; CODE XREF: .text:004325ACj .text:004325E0 mov edx, [ebp-10h] .text:004325E3 add edx, 1 .text:004325E6 mov [ebp-10h], edx .text:004325E9 cmp dword ptr [ebp-10h], 5 .text:004325ED jl loc_432162 .text:004325F3 mov eax, [ebp-28h] .text:004325F6 and eax, 0FFh .text:004325FB cdq .text:004325FC mov ecx, 28h .text:00432601 idiv ecx .text:00432603 test edx, edx .text:00432605 jnz loc_432162 .text:0043260B mov edx, [ebp-0Ch] .text:0043260E push edx .text:0043260F call sub_432752 .text:00432614 add esp, 4 .text:00432617 test eax, eax .text:00432619 jz loc_432162 .text:0043261F mov eax, [ebp-14h] .text:00432622 push eax .text:00432623 call sub_432752 .text:00432628 add esp, 4 .text:0043262B test eax, eax .text:0043262D jz loc_432162 .text:00432633 mov ecx, [ebp-1Ch] .text:00432636 push ecx .text:00432637 call sub_432752 .text:0043263C add esp, 4 .text:0043263F test eax, eax .text:00432641 jz loc_432162 .text:00432647 push offset asc_561A98 ; "\n" .text:0043264C mov edx, ds:_iob .text:00432652 add edx, 20h .text:00432655 push edx .text:00432656 call ds:fprintf .text:0043265C add esp, 8 .text:0043265F mov eax, [ebp-54h] .text:00432662 push eax .text:00432663 call sub_4F2070 .text:00432668 add esp, 4 .text:0043266B mov [ebp-50h], eax .text:0043266E cmp dword ptr [ebp-50h], 0 .text:00432672 jz short loc_432691 .text:00432674 push offset aError9 ; "Error 9: " .text:00432679 mov ecx, ds:_iob .text:0043267F add ecx, 40h .text:00432682 push ecx .text:00432683 call ds:fprintf .text:00432689 add esp, 8 .text:0043268C jmp loc_43272A .text:00432691 ; --------------------------------------------------------------------------- .text:00432691 .text:00432691 loc_432691: ; CODE XREF: .text:00432672j .text:00432691 push offset aW_1 ; "w" .text:00432696 push offset aLmseed_dat_0 ; "lmseed.dat" .text:0043269B call ds:fopen .text:004326A1 add esp, 8 .text:004326A4 mov [ebp-140h], eax .text:004326AA cmp dword ptr [ebp-140h], 0 .text:004326B1 jnz short loc_4326CD .text:004326B3 push offset aCanTOpenLmseed ; "Can't open lmseed.dat" .text:004326B8 mov edx, ds:_iob .text:004326BE add edx, 40h .text:004326C1 push edx .text:004326C2 call ds:fprintf .text:004326C8 add esp, 8 .text:004326CB jmp short loc_4326FE .text:004326CD ; ---------------------------------------------------------------------------
|
能力值:
( LV2,RANK:10 )
|
-
-
4 楼
那说明你用的功还不够,我记得论坛里有篇关于这个的帖子,好好找找吧!
|
能力值:
( LV2,RANK:10 )
|
-
-
5 楼
Noflexlm,那篇文章我看了,所以才不知道到底哪个才是sb_end的,希望得到您的指教。
我看的那个是 空手剑客 的帖子,链接:http://bbs.pediy.com/showthread.php?t=81843
|
能力值:
( LV2,RANK:10 )
|
-
-
6 楼
|
能力值:
( LV2,RANK:10 )
|
-
-
7 楼
不要只局限于一楼的帖子,下面的回复也有很多有用的信息在里面呀?
仔细钻研下吧。。。
|
|
|