ELFKit

0.1.0

🔬 A Swift library for parsing ELF files to obtain various information.
p-x9/ELFKit

What's New

v0.1.0

2024-05-12T08:19:06Z

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

Description

  • Swift Tools 5.9.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri May 31 2024 17:04:04 GMT-0900 (Hawaii-Aleutian Daylight Time)