Skip to content

Commit

Permalink
Fix changeregonbp checking the cloaked data region using the PA instead
Browse files Browse the repository at this point in the history
of PBA
  • Loading branch information
cheat-engine committed Jul 18, 2019
1 parent 975f708 commit ca8dc45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbvm/vmm/epthandler.c
Original file line number Diff line number Diff line change
Expand Up @@ -595,9 +595,9 @@ int ept_cloak_changeregonbp(QWORD physicalAddress, PCHANGEREGONBPINFO changeregi

PCloakedPageData cloakdata;
if (CloakedPagesMap)
cloakdata=map_getEntry(CloakedPagesMap, physicalAddress);
cloakdata=map_getEntry(CloakedPagesMap, physicalBase);
else
cloakdata=addresslist_find(CloakedPagesList, physicalAddress);
cloakdata=addresslist_find(CloakedPagesList, physicalBase);


if (cloakdata)
Expand Down

0 comments on commit ca8dc45

Please sign in to comment.