Skip to content

K-atc/simple-elf-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple ELF Parser

C++ script to parse ELF file.

The Parser parses:

  • Entry Point
  • Sections
  • Segments
  • Symbols

Usage

./simple-elf-parser ELF_FILE

sample run:

./simple-elf-parser hello
 (addr=0x0, size=0x0)
.bss (addr=0x601030, size=0x8)
[...]
.rodata (addr=0x4001b0, size=0x11)
.shstrtab (addr=0x0, size=0x103)
.strtab (addr=0x0, size=0x20a)
.symtab (addr=0x0, size=0x600)
.text (addr=0x400000, size=0x1a2)

Build

make

Test

usuful for debugging purpose.

make test

TODO

  • Dinamic Library
  • Relocs

About

ELFをパースしてくれるC++スクリプト

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published