News for hackers. Stuff that matters.
Re:32-bit x86 Position Independent Code – It's That Bad by yoklov on Wednesday April 15, 2015 @09:02AM (#9380646)
Off topic, but does anybody know if there's a way to turn off ASLR e.g. while debugging (honestly, i'd be interested if you can do this on any platform)? I'm pretty confident the answer is no, but it can really be a pain sometimes...
Re:32-bit x86 Position Independent Code – It's That Bad by tekacs on Wednesday April 15, 2015 @01:03PM (#9382394)
Either the linker, or GDB (or your debugger) can disable it for you. Under GDB it's controlled by the setting disable-randomization (defaults to false).
Re:32-bit x86 Position Independent Code – It's That Bad by detaro on Wednesday April 15, 2015 @09:07AM (#9380676)
/proc/sys/kernel/randomize_va_space on Linux?
Re:32-bit x86 Position Independent Code – It's That Bad by rwallace on Wednesday April 15, 2015 @12:12PM (#9381950)
On Windows, the linker has an option to do that.
Re:32-bit x86 Position Independent Code – It's That Bad by zurn on Thursday April 16, 2015 @01:31AM (#9386030)
setarch x86_64 --addr-no-randomize myprogram args...

(or -R for short)