-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libdwarf: allow pointers in DwarfLoc lr_number2
For a few DWARF types, a pointer is smuggled through the DwarfLoc lr_number2 member. Add a new Dwarf_Uintptr type and use it to allow this to work on CHERI. It differs from the standard uintptr_t in that it is always capable of holding a 64-bit integer. This allows `readelf -wi /usr/lib/debug/lib/libc.so.7.debug` to succeed.
- Loading branch information
1 parent
e3006e3
commit 1a9b006
Showing
2 changed files
with
11 additions
and
6 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