Project Design
Project Design
The whole project can be divided into two parts.
Extracting raw bytes from the ELF.
Interpreting those raw bytes and creating a c-style dump of it.
I want two separate interpretations of the raw bytes.
With raw values, extracted as-is from the ELF.
Human interpretation of those raw values.
Therefore, the project can be divided into 3 sections.
Core API.
Raw C-style dump.
Interpreted C-style dump.
The core API would extract the raw bytes and we can use those bytes to create our interpretations.
Structure
elf_parser
ββ core_api
ββ elf_parser.c
ββ elf_parser.h
ββ verify_elf.c
ββ verify_elf.h
ββ raw_interp
ββ eng_interp
ββ reference
ββ hello_elf
ββ hello_world.c
ββ readelf_output
ββ main.c
The project is version controlled on GitHub.
I will document the code so that I can reinforce my understanding of it. Since this is my first C project, I will document everything other than the code, that I don't know, as well.
PreviousMy First C Project, An ELF Parser & InterpreterNextManaging Chaos & Reducing Boilerplate Code
Last updated