[Crash-utility] Address - Symbol correspondance

Li Yueyi liyueyi at live.com
Fri Mar 5 08:44:27 UTC 2021


Hi Patrick,

Try 'dis' command, like:

crash> dis 0xffffffffa4099980

Li Yueyi
Send by my mobile phone.

在 2021年3月5日,16:19,Agrain Patrick <patrick.agrain at al-enterprise.com> 写道:


Hello all,

Target runs a CentOS8 kernel with KASLR enabled.
I triggered a crash on it for training purpose with ‘echo c > /proc/sysrq-trigger’.

I analyze the produced dumpfile on another machine where I setup all sources and required debuginfo packages.
So far, so good, the backtrace list is complete.

But I tried to match address to symbol, I have something like that (e.g. for proc_reg_write() ):

crash> info address proc_reg_write
Symbol "proc_reg_write" is a function at address 0xffffffffa4099980.
crash> info symbol 0xffffffffa4099980
No symbol matches 0xffffffffa4099980.

Is there a more ‘elegant’ way to retrieve the symbol from address than to perform an ‘objdump’ request on the vmlinux.debug binary ?
Have I missed an option for a command ?

Note: I get the same behavior with ‘crash --kaslr auto’ than with ‘crash’.

Thanks.
Best regards,
Patrick Agrain
--
Crash-utility mailing list
Crash-utility at redhat.com
https://listman.redhat.com/mailman/listinfo/crash-utility
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20210305/2bb16f9a/attachment.htm>


More information about the Crash-utility mailing list