flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > pushad warning

Author
Thread Post new topic Reply to topic
Zetus



Joined: 03 Jun 2004
Posts: 37
Zetus
ver.1.56
in my huge(?) project, with many constructions as

proc My1,.a,.b,.c,.d,.e
enter
pushad
.......
popad
return

proc My2,.a,.b,.c
enter
pushad
.......
popad
return

sometimes program crashes (1/100 or more compiles). Debugging session shows that fasm sometimes generate code without first pushad:

enter 0000,00
........
popad
leave

all other code up and down from crash place is correct.
this can be my mistake, but strange, is not...?
Post 12 Nov 2004, 10:41
View user's profile Send private message ICQ Number Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17717
Location: In your JS exploiting you and your system
revolution
If what you say is indeed correct, then problems like this could be caused by use of a variable that is not properly initialised.

To track down problems like this usually requires a little more information like the full source code, operating system you are using, list of other programs you may be running at the same time and exact steps of how to reproduce the problem.
Post 17 Nov 2004, 08:14
View user's profile Send private message Visit poster's website Reply with quote
Zetus



Joined: 03 Jun 2004
Posts: 37
Zetus
if i catch it again, i will post all needed.

winPe exec.
Post 18 Nov 2004, 06:38
View user's profile Send private message ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.