Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.31 KB

README.md

File metadata and controls

54 lines (35 loc) · 1.31 KB

ELFKit

Library for parsing ELF files to obtain various information.

Github issues Github forks Github stars Github top language

Features

  • parse segments
  • parse sections
  • parse dynamics
  • symbol list
  • get all cstrings
  • rebase infos
  • notes
  • ...

Usage

Load from file

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)

Example Codes

There are a variety of uses, but most show a basic example that prints output to the Test directory.

Load from file

The following file contains sample code. ELFFilePrintTests

Related Projects

  • MachOKit A swift library for parsing MachO binaries

License

ELFKit is released under the MIT License. See LICENSE