I was testing some disassemblers and used fasmw17157. I noticed the code right after the exitprocess instruction was supposed to push several values and call instruction, then push several registers. What I found is nothing of the sort.
proc MainWindow hwnd,wmsg,wparam,lparam
push ebx esi edi
call dword ptr [exitprocess]
several confirmations prompted me to point this out.
I'm just getting back into assembly programming again, so maybe the assembler knows something I don't.
Joined: 24 Aug 2004
Location: Crossing the Cauchy horizon
Immediately after the call to ExitProcess the next procedure "MainWindow" begins. That is exactly what you coded. If you put an intervening instruction like int3 you would see where the function begins.
The upper code is from the fasmw.asm file. below the dotted line is what was generated. note that the data pushes and procedure call are absent. exit process and the register pushes frame the abhorrent code. the push and move instructions were not supposed to be there. You can check this yourself by matching the fasmw.asm file with the disassembled program. this was 1.71.57 new release.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum