Closed skdltmxn closed 3 years ago
I added header signature check logics for PE binaries. Now PE::parse does not panic but returns error::Error::Malformed if either DOS or PE header has incorrect signature value. I also added two tests.
PE::parse
error::Error::Malformed
This PR fixes #283
I added header signature check logics for PE binaries. Now
PE::parse
does not panic but returnserror::Error::Malformed
if either DOS or PE header has incorrect signature value. I also added two tests.This PR fixes #283