Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[peview] Add safeguards around using loadconfig most recent members #123

Merged
merged 1 commit into from
Apr 18, 2017

Conversation

lucasg
Copy link
Contributor

@lucasg lucasg commented Apr 18, 2017

Since the last PR on CFG tab for peview (#101), I've noticed some PE has a GuardFunctionTable but does not define a GuardAddressTakenIatEntryTable or a GuardLongJumpTargetTable (mainly Wow64 ones).

This PR add safeguards when parsing the load configuration, in order to read only what's defined and no more. This is basically the NT loader 's parsing algorithm for load configurations.

Not every load configurations define GuardAddressTakenIatEntryTable or
GuardLongJumpTargetTable, and set the size member accordingly.
@dmex dmex merged commit f42a80b into winsiderss:master Apr 18, 2017
@dmex
Copy link
Member

dmex commented Apr 18, 2017

LGTM 👍

@lucasg lucasg deleted the cfg_peview_bugfixes branch April 18, 2017 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants