rva2ofs - converts a PE relative virtual address to raw file offset
Contents
Copyright
Copyright (C) 2012 - 2020 pev authors. License GPLv2+: GNU GPL version 2 or later
<https://www.gnu.org/licenses/gpl-2.0.txt>. This is free software: you are free to change and
redistribute it. There is NO WARRANTY, to the extent permitted by law.
Description
rva2ofs converts a RVA (Relative Virtual Address) to raw file offset, if possible. It's part of pev, the
PE file analysis toolkit.
rva is a valid PE RVA in decimal or hexadecimal (prefixed with 0x).
pefile is a PE32/PE32+ executable or dynamic linked library file.
Examples
Get offset from RVA 0x12db of cards.dll:
$ rva2ofs 0x12db cards.dll
Name
rva2ofs - converts a PE relative virtual address to raw file offset
Options
-V, --version
Show version.
--help Show this help.
Reporting Bugs
Please, check the latest development code and report at https://github.com/mentebinaria/readpe/issues
See Also
ofs2rva(1) RVA2OFS(1)
Synopsis
rva2ofsrvspefile
