-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update Linux DTB scanner to handle newer Linux kernel versions (>= 5.14-rc1) #852
base: master
Are you sure you want to change the base?
Conversation
Since commit 2f064a5 in the Linux kernel (5.14-rc1) the task state field is no longer called "state" but is instead called "__state". This commit adds support to first look for "state" and if that is not found, attempt to look for the "__state" field.
Updated try-except to only catch KeyError.
Since getting the same error: Traceback (most recent call last): |
This PR has nothing to do with errors related to "DW_AT_data_member_location". See #828 for a solution to this. This PR solves the problem of the inability to process newer kernel memory dumps once the correct DWARF debug version is acquired. |
It works for me with a Ubuntu_5.15.0-78-generic dump. Huge thanks and I owe you a beer! (or two) |
Since commit 2f064a5 in the Linux kernel (5.14-rc1) the task state field is no longer called "state" but is instead called "__state".
This commit adds support to first look for "state" and if that is not found, attempt to look for the "__state" field.
This should resolve issues some folks been having with newer Linux kernel releases.