|
|
Subscribe / Log in / New account

Debugging randomizing structure layout

Debugging randomizing structure layout

Posted May 13, 2017 0:58 UTC (Sat) by vomlehn (guest, #45588)
Parent article: Randomizing structure layout

I'm less than happy with this. I often dump out structure memory for, say 64 bytes or so, starting at some particular structure. Then I look at the source for the structure to see where various things are. This will make that impossible. I will instead have to specify each item individually, which means paying a lot more attention to the debugger and less to debugging.


to post comments

Debugging randomizing structure layout

Posted May 13, 2017 18:32 UTC (Sat) by nix (subscriber, #2304) [Link]

You can still do an eu-readelf --debug=info on the bit of the kernel containing the structure definition you're interested in and look at the debuginfo to see where the structure members are. (Yes, this is a drag.)


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds