#file-offset #convert-file #virtual #addresses #back #address #va

bin+lib virt2file

Tool for converting between virtual addresses and file offsets

2 unstable releases

0.2.0 Mar 25, 2023
0.1.0 Mar 25, 2023

#8 in #file-offset

MIT license

6KB
113 lines

virt2file

Simple utility to convert from virtual address(VA) to file offset and back.

Installation

cargo install virt2file

Usage

To convert from VA to file offset use:

virt2file -f target.exe 0x7F11223344

To convert from file offset to VA use:

virt2file -f target.exe 0x7F11223344 -r

Dependencies

~1.5–2.2MB
~42K SLoC