I am attempting to debug a memory leak within my application. The leaked object is somewhat difficult to identify (before destroying the heap), and there are many similar objects created. If it were to have the same address each session, it would make it considerably easier. As such, I'm trying to disable ASLR using /FIXED
and /DYNAMICBASE:NO
in the linker properties of my executable.
However, this doesn't seem to achieve the desired result, the address is still different each time. Additionally, even the addresses for argv
in main
are different each session. Are there some additional parameters I need to set, or am I somehow misunderstanding the purpose of these flags?