forked from libbpf/blazesym
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop returning symbols without name or address
It is believed to be extremely rare that source code information for an address is available but no symbol name: presumably that would require a specially crafted DWARF file, if allowed at all. With this change we ignore such cases and stop returning a Sym object to begin with. In so doing we can now properly treat the symbol name, address, and offset as unconditionally present. Signed-off-by: Daniel Müller <deso@posteo.net>
- Loading branch information
1 parent
0d88125
commit 7e4439a
Showing
1 changed file
with
34 additions
and
45 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