elfparser | Cross Platform ELF analysis | Reverse Engineering library
kandi X-RAY | elfparser Summary
kandi X-RAY | elfparser Summary
Cross Platform ELF analysis
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of elfparser
elfparser Key Features
elfparser Examples and Code Snippets
Community Discussions
Trending Discussions on elfparser
QUESTION
I'm working with DWARF parser that looks for string data in the .debug_str
section. In the ELF files I'm parsing, the string data is in the .strtab
section. What's the difference between these two sections? Both contain strings, right?
ANSWER
Answered 2017-Jan-06 at 16:38What's the difference between these two sections?
They have ~nothing to do with each other.
Both contain strings, right?
Well, yes. And every section contains bytes, so next you'll be asking "what's the difference between .text
and .data
?".
The .debug_str
section contains debug strings, which are needed for debugging.
The .strtab
section contains symbol names which are needed for (static) linking.
Neither section (in fact no section) is needed at runtime.
why .strtab is present in final executable linked with -g (even though it won't be used for static linking anymore)?
- The
.strtab
is usually present in final executable built with or without-g
and - It's present to help with debugging. Consider:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install elfparser
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page