-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(symbol resolution): implement kallsyms support
lo2s is currently not able to resolve the symbols from instruction pointers coming from the kernel. I have implemented in this PR support for parsing kallsyms to alleviate this. /proc/kallsyms is a file which records the addresses of symbols inside the running kernel. One issue is that it only reports the location, not the size of symbols. I simply assume that a symbol ends at the start of the next symbol and the last symbol in the kernel ending at the highest address.
- Loading branch information
Showing
2 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters