Library for parsing ELF files to obtain various information.
- parse segments
- parse sections
- parse dynamics
- symbol list
- get all cstrings
- rebase infos
- notes
- ...
For reading from file, use the ELFFile
structure.
Reading from a file can be as follows.
let path = "Path to MachO file"
let url = URL(string: path)
let elf = try ELFFile(url: url)
There are a variety of uses, but most show a basic example that prints output to the Test directory.
The following file contains sample code. ELFFilePrintTests
- MachOKit A swift library for parsing MachO binaries
ELFKit is released under the MIT License. See LICENSE