merces / libpe

The PE library used by @merces/pev
http://pev.sf.net
GNU Lesser General Public License v3.0
115 stars 40 forks source link

A small question #9

Closed ghost closed 3 years ago

ghost commented 8 years ago

Hello guys,

I didn't understand the reason for this 'if'. I think it will match with PE files having only one section in which the field VirtualAddress is greater than rva. In this case, is it rva pointing to some header? Wouldn't be better return the difference between rva and imagebase?

Cheers!

merces commented 8 years ago

Your question makes totally sense, @MrN0body. I'll investigate and get back to you, thanks!

merces commented 3 years ago

No idea where this code is. Closing it.