randomized bss section?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I did a quick google before asking here so forgive me if this has already come up ...

In a project we're working on switching from 4.1.x to 4.3.2 exposed a simple off by one which I attribute to the layout of the .bss section (basically I think beforehand we weren't overwriting anything of consequence). I was wondering if there was a gcc option for randomizing the .bss section at the very least just the order of the symbols (still contiguous)?

With such an option we'd be more likely to expose this (and no valgrind didn't turn up this error) sort of error in the future I think.

Thanks,
Tom

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux