https://github.com/0xvpr/vpr-extract
A command line tool for the extraction of the .text section of 32/64-bit COFF objects, and ELF64 Relocatable objects.
https://github.com/0xvpr/vpr-extract
binary coff elf64 extractor object pe32 pe32-plus process-executor relocatable section-header section-header-table shellcode
Last synced: 3 months ago
JSON representation
A command line tool for the extraction of the .text section of 32/64-bit COFF objects, and ELF64 Relocatable objects.
- Host: GitHub
- URL: https://github.com/0xvpr/vpr-extract
- Owner: 0xvpr
- License: mit
- Created: 2022-06-05T08:23:53.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-15T03:05:50.000Z (almost 2 years ago)
- Last Synced: 2025-01-02T17:50:06.005Z (5 months ago)
- Topics: binary, coff, elf64, extractor, object, pe32, pe32-plus, process-executor, relocatable, section-header, section-header-table, shellcode
- Language: C++
- Homepage:
- Size: 165 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
vpr-extract
A command line tool for the extraction of the .text section of 32/64-bit COFF objects, and ELF64 Relocatable objects.
## Build Instructions
### Using Docker CMake (Recommended)
```bash
git clone https://github.com/0xvpr/vpr-extract && cd vpr-extract
make docker-container
make docker-build
```
### Using Local CMake (Unix)
```bash
git clone https://github.com/0xvpr/vpr-extract && cd vpr-extract
make local-build
```
### Using Local CMake (Windows)
```powershell
git clone https://github.com/0xvpr/vpr-extract && cd vpr-extract
cmake.exe -B build
cmake.exe --build build
```### Example Usage
```bash
vpr-extract path/to/file-1.obj path/to/file-2.objTarget: path/to/file-1.obj -> file-1.bin
Size of path/to/file-1.obj: 420
Written to 'file-1.bin'.Target: path/to/file-2.obj -> file-2.bin
Size of path/to/file-2.obj: 69
Written to 'file-2.bin'.
```