Skip to content

A command line tool for the extraction of the .text section of 32/64-bit COFF objects, and ELF64 Relocatable objects.

License

Notifications You must be signed in to change notification settings

0xvpr/vpr-extract

Repository files navigation

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)

git clone https://github.com/0xvpr/vpr-extract && cd vpr-extract
make docker-container
make docker-build

Using Local CMake (Unix)

git clone https://github.com/0xvpr/vpr-extract && cd vpr-extract
make local-build

Using Local CMake (Windows)

git clone https://github.com/0xvpr/vpr-extract && cd vpr-extract
cmake.exe -B build
cmake.exe --build build

Example Usage

vpr-extract path/to/file-1.obj path/to/file-2.obj

Target: 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'.