wolfBoot/tools/elf-parser
Daniele Lacamera fce6149cf8 Update license GPL2 -> GPL3 2024-04-16 16:46:15 +02:00
..
Makefile Added documentation for the two parsers (ELF and FDT). 2024-01-17 14:16:15 +01:00
README.md Added documentation for the two parsers (ELF and FDT). 2024-01-17 14:16:15 +01:00
elf-parser.c Update license GPL2 -> GPL3 2024-04-16 16:46:15 +02:00

README.md

ELF Parser Tool

This tool demonstrates parsing ELF32/ELF64, showing the clear/load sections and entry point.

Building elf-parser

From root: make elf-parser OR From tools/elf-parser use make clean && make

Example Output

% ./tools/elf-parser/elf-parser wolfboot.elf
ELF Parser:
Loading elf at 0x7f9a18008000
Found valid elf32 (little endian)
Program Headers 2 (size 32)
	Load 18340 bytes (offset 0x10000) to 0x8000000 (p 0x8000000)
	Clear 72 bytes at 0x20000000 (p 0x80047a4)
Entry point 0x8000000
Return 0, Load 0x8000000