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

Use Wow64DisableWow64FsRedirection/Wow64RevertWow64FsRedirection inst… #206

Merged
merged 1 commit into from
Mar 22, 2020

Conversation

ayoubfaouzi
Copy link
Owner

Move the code below after API initialization otherwise IsWoW64() will miss the api being resolved.

/* Are we running under WoW64 */
if (IsWoW64())
    _tprintf(_T("Process is running under WOW64\n\n"));

Plus, fix the previous commit to disable and revert fs redirection while proving for files under system32/ dir.

@ayoubfaouzi ayoubfaouzi linked an issue Mar 22, 2020 that may be closed by this pull request
@ayoubfaouzi ayoubfaouzi merged commit c2c78bf into master Mar 22, 2020
fengjixuchui added a commit to fengjixuchui/al-khaser that referenced this pull request Mar 22, 2020
Merge pull request ayoubfaouzi#206 from LordNoteworthy/Noteworthy
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.

GetFileAttributes can‘t find '.sys' files.
1 participant