flat assembler
Message board for the users of flat assembler.
Index
> Main > Local variables initial values |
Author |
|
AsmGuru62 29 Oct 2012, 14:41
There will be whatever is left on stack from previous code.
|
|||
29 Oct 2012, 14:41 |
|
typedef 29 Oct 2012, 23:50
That makes sense. Thanks. I checked in OllyDbg and in my case since the proc was the first to execute, there was a huge cave of null's on the stack after ntdll and kernel used it.
Thanks for the answer though. |
|||
29 Oct 2012, 23:50 |
|
AsmGuru62 30 Oct 2012, 02:32
My code generator will have an option for this:
Code: locals @8 =0 ; Align EBP to 8 byte boundary and set all local bytes to zero { HANDLE hFile INT32 value = -1 PWCHAR path = stkalloc (WCHAR, MAX_PATH) PVOID pData } |
|||
30 Oct 2012, 02:32 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.