https://github.com/bfjesso/elfa
CLI program to view info about ELF files, written in Rust
https://github.com/bfjesso/elfa
cli elf linux reverse-engineering rust
Last synced: about 1 month ago
JSON representation
CLI program to view info about ELF files, written in Rust
- Host: GitHub
- URL: https://github.com/bfjesso/elfa
- Owner: bfjesso
- License: gpl-3.0
- Created: 2025-03-23T12:45:21.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-30T11:49:05.000Z (12 months ago)
- Last Synced: 2025-10-25T16:26:02.096Z (5 months ago)
- Topics: cli, elf, linux, reverse-engineering, rust
- Language: Rust
- Homepage: https://crates.io/crates/elfa
- Size: 68.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ELF Analyzer
This is a CLI tool that prints information about ELF files. For certain fields, it will display the raw value and what it actually means.
It can display the ELF header, section headers, program headers, and symbols.
# Installation
You can either use cargo install to build and install the binary from crates.io, or clone the repo and build it from there.
```bash
cargo install elfa
```
or
```bash
git clone https://github.com/bfjesso/elfa.git
cd elfa
cargo build -r # build binary in release mode
cd target/release
```
# Usage
```bash
elfa [OPTIONS] [FILE PATH]
```
You can use the -h or --help flag to get a list of options.
For certain options, you can pass an index or name before the file path.
If you do not provide any arguments other than a file path, the ELF header will be printed by default.
