flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
decard
No, it works well without it. But I don't think it slows down memory allocation a lot. It would be only 'rep stosd', right?
|
|||
![]() |
|
revolution
Quote: with HEAP_ZERO_MEMORY |
|||
![]() |
|
vid
well, so i leave it out. Maybe it doesn't slow too much, but itdoes. we can easily clear memory ourselves when we need (and faster)
revolution: typical example of their unability to code. i believe they had bugs because of forgetting to clear memory, so they solved it this way. just like the one, when callback procedure returns to caller address always, regardless what is on the stak. |
|||
![]() |
|
revolution
Quote: i believe they had bugs because of forgetting to clear memory |
|||
![]() |
|
vid
that can be it too...
![]() i believe that stack tricking is for security too ![]() |
|||
![]() |
|
revolution
Quote: stack tricking is for security too |
|||
![]() |
|
vid
that isn't it's real name.
if you mess stack in winXP callback procedure it returns to real address somehow anyway. i had ugly bug with that, i messed stack, but it still worked on some machines and crashed on others. and it was directx project so crash wasn't very nice, especially on older OSes. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.