.TH RVA2OFS 1 .SH NAME rva2ofs - converts a PE relative virtual address to raw file offset .SH SYNOPSIS .B rva2ofs .IR rvs .IR pefile .SH DESCRIPTION rva2ofs converts a RVA (Relative Virtual Address) to raw file offset, if possible. It's part of pev, the PE file analysis toolkit. .PP \&\fIrva\fR is a valid PE RVA in decimal or hexadecimal (prefixed with 0x). .PP \&\fIpefile\fR is a PE32/PE32+ executable or dynamic linked library file. .SH OPTIONS .TP .BR \-V ", " \-\-version Show version. .TP .BR \-\-help Show this help. .SH EXAMPLES Get offset from RVA 0x12db of \fBcards.dll\fP: .IP $ rva2ofs 0x12db cards.dll .SH REPORTING BUGS Please, check the latest development code and report at https://github.com/merces/pev/issues .SH SEE ALSO \fBofs2rva\fP(1), \fBpedis\fP(1), \fBpehash\fP(1), \fBpeldd\fP(1), \fBpepack\fP(1), \fBperes\fP(1), \fBpescan\fP(1), \fBpesec\fP(1), \fBpestr\fP(1), \fBreadpe\fP(1) .SH COPYRIGHT Copyright (C) 2012 - 2020 pev authors. License GPLv2+: GNU GPL version 2 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH SEE ALSO ofs2rva(1)