kandi X-RAY | ElfParse Summary
kandi X-RAY | ElfParse Summary
ElfParse
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Return list of dex files
- Read an OATK file
- Gets the size of the header
- Returns the start of the dex list
- Returns the size of the header
ElfParse Key Features
ElfParse Examples and Code Snippets
Community Discussions
Trending Discussions on ElfParse
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 ElfParse
You can use ElfParse like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
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