logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ofs2rva - converts a PE raw file offset to relative virtual address

Description

       ofs2rva  converts  a  raw file offset to RVA (Relative Virtual Address), if it's valid. It's part of pev,
       the PE file analysis toolkit.

       offset is a valid PE file offset in decimal or hexadecimal (prefixed with 0x).

       pefile is a PE32/PE32+ executable or dynamic linked library file.

Examples

       Get RVA of 0x1b9b8 offset of calc.exe:

              $ ofs2rva 0x1b9b8 calc.exe

Name

       ofs2rva - converts a PE raw file offset to relative virtual address

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

rva2ofs(1)

                                                                                                      OFS2RVA(1)

Synopsis

ofs2rvaoffsetpefile

See Also