-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
identify_address()
misidentifies unreadable addresses
#213
Comments
Also mentioning @nhatsmrt as this was their commit. |
I think the real problem here is that drgn's symbol lookup here is finding |
I did specify the file manually through
It's a standard RHEL8 kernel, the debug symbols were taken straight from the |
Can you try applying the patch from #198 (comment) so we can see what build ID drgn is seeing? |
Applied, but I think I made a mistake here: I load debug symbols for this module even though it was not loaded on the system at the moment of crash. Would it be my error, or |
Confirmed, if I load debug symbols for loaded modules only, I get a correct output:
|
Thanks for clearing that up. This behavior is a known problem; see #198 (comment). I'm working on a new API to fix this issue which should be done in the next couple of weeks. |
OK then, thanks for checking this. Lets close this one in favour of #198. |
Hello.
The
identify_address()
seems to misjudge on some values.Compare this (using
identify_address()
):to this (using my custom
demangle()
helper from here):Clearly,
NULL
pointer cannot bemt7921_sta_ps()
.The way I work around this in
demangle()
is trying to read the address given, and if it results inFaultError
, just do not try to demangle it.What do you think?
Thanks.
The text was updated successfully, but these errors were encountered: