Skip to content

Commit

Permalink
vmware emulation technique fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelwernel committed Mar 28, 2024
1 parent 190bb8a commit b9939f5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/vmaware.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5349,9 +5349,7 @@ struct VM {
return false;
}

constexpr auto EndUserModeAddress = (*(UINT_PTR*)0x7FFE02B4);

if ((UINT_PTR)(lpep->ExceptionRecord->ExceptionAddress) > EndUserModeAddress) {
if ((UINT_PTR)(lpep->ExceptionRecord->ExceptionAddress) > (*(UINT_PTR*)0x7FFE02B4)) {
return core::add(VMWARE);
}

Expand Down

0 comments on commit b9939f5

Please sign in to comment.