[RFC] Support for KASLR

Torsten Polle Torsten.Polle@gmx.de
Mon Mar 19 21:07:00 GMT 2018


Hi,

I’ve a kernel with the configuration option CONFIG_RANDOMIZE_BASE set. The backtrace fails for the kernel. The patch tries to address this issue. 

The patch is more a proof of concept. But so far, I’ve not found a better way to locate the relocated start address of the kernel than to take the value of s->static_addr, which holds the address of the symbol _stext.

Regards,
Torsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-runtime-unwind.c-Support-KASLR.patch
Type: application/octet-stream
Size: 1164 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20180319/5de67de6/attachment.obj>


More information about the Systemtap mailing list