Skip to content
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

addr2line should use .symtab information #3

Closed
philipc opened this issue Dec 4, 2016 · 2 comments
Closed

addr2line should use .symtab information #3

philipc opened this issue Dec 4, 2016 · 2 comments

Comments

@philipc
Copy link
Contributor

philipc commented Dec 4, 2016

In the absence of .debug_line information, there is still other file and address information in .debug_info that we can use to give vague information about the address.

@philipc
Copy link
Contributor Author

philipc commented Aug 7, 2017

Not sure this actually occurs in practice. But what does happen is there are filenames and symbol names in the '.symtab' section that we should use. This matches the original case that caused the issue to be reported in gimli.

@philipc philipc changed the title addr2line should use DIE information addr2line should use .symtab information Aug 7, 2017
@Arkanosis
Copy link

In the case mentioned in #55, binutils' addr2line uses the symbol names found in the .strtab section (elf64).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants