crash-utility / crash

Linux kernel crash utility
https://crash-utility.github.io
788 stars 266 forks source link

[ARM] Is there any plan to add support for kaslr on arm platform. #178

Open zhageww opened 3 months ago

zhageww commented 3 months ago

Hello,

Currently, the code for function 'calc_kaslr_offset' just return FALSE, thus the kimage_voffset of qemu dumped core file could not obtained. Which leads to the failure of parsing the qemu dumped core file on the Arm platform.

So, I am wandering if there is any plan to add support for that? much thanks.

PS: function 'calc_kaslr_offset' on Arm platform:

int calc_kaslr_offset(ulong kaslr_offset, ulong phys_page) { return FALSE; }

liutgnu commented 3 months ago

Hi @zhageww,

Thanks for raising the issue. As far as I know, currently there is no plan for the support. Any PRs are welcomed if you are interested in this task.

Thanks, Tao Liu