Don't return err when parsemode is permissive
Ignore more errors and continue parsing when ParseMode is Permissive (e.g. an erroneous resource directory should not prevent parsing of the PE when ParseMode is Permissive).
Probably a duplicate of #479?
Not exactly a duplicate, I’d say this is complementary to #479. In my pull request, I introduced granular permissive handling within individual parsers, whereas this provides a higher-level safety net for cases that remain uncovered
needs rustfmt
needs rustfmt
Done
@Kharosx0 this needs a rebase now; after that let's re-review now that permissive stuff has landed. You may be able to use the new trait to help with this, not sure.
@Kharosx0 are you still interested in this? If so, can you checkout the latest goblin, and see if the new parsemode permissive changes are working like your PR, as they may already be implementing this, thanks!