pefile icon indicating copy to clipboard operation
pefile copied to clipboard

Flag to skip parsing on PE object instantiation

Open 0xdevalias opened this issue 9 years ago • 0 comments

When creating a new instance of PE, the current processing immediately tries to parse the data. When trying to analyse a corrupted file piece by piece, this makes things much harder than they probably need to be.

I'm proposing a new parameter to PE's __init__ (skip_parse?), and a new check around the call to self.__parse__ on line 1713

If you're happy for this, I can write up a quick PR.

Relates to #124

0xdevalias avatar Jun 02 '16 07:06 0xdevalias