Lines Matching defs:pConflictPatch

4141         PPATCHINFO pConflictPatch = patmFindActivePatchByEntrypoint(pVM, pInstrGC);
4142 AssertReleaseMsg(pConflictPatch == 0, ("Unable to patch overwritten instruction at %RRv (%RRv)\n", pInstrGC, pConflictPatch->pPrivInstrGC));
4143 if (pConflictPatch != 0)
5370 * @param pConflictPatch Conflicting patch
5373 static int patmDisableUnusablePatch(PVM pVM, RTRCPTR pInstrGC, RTRCPTR pConflictAddr, PPATCHINFO pConflictPatch)
5393 && (pConflictPatch->flags & PATMFL_CODE32)
5398 if (pConflictPatch->flags & PATMFL_INSTR_HINT)
5400 Log(("Enabling HINTED patch %RRv\n", pConflictPatch->pPrivInstrGC));
5401 pConflictPatch->flags &= ~PATMFL_INSTR_HINT;
5402 rc = PATMR3EnablePatch(pVM, pConflictPatch->pPrivInstrGC);
5419 if (pConflictPatch->opcode == OP_CLI)
5422 Log(("PATM -> CONFLICT: Found active patch at instruction %RRv with target %RRv -> turn into int 3 patch!!\n", pInstrGC, pConflictPatch->pPrivInstrGC));
5423 int rc = PATMR3DisablePatch(pVM, pConflictPatch->pPrivInstrGC);
5428 pConflictPatch->flags &= ~(PATMFL_MUST_INSTALL_PATCHJMP|PATMFL_INSTR_HINT);
5429 pConflictPatch->flags |= PATMFL_INT3_REPLACEMENT_BLOCK;
5430 rc = PATMR3EnablePatch(pVM, pConflictPatch->pPrivInstrGC);
5445 Log(("PATM -> CONFLICT: Found active patch at instruction %RRv with target %RRv -> DISABLING it!!\n", pInstrGC, pConflictPatch->pPrivInstrGC));
5446 int rc = PATMR3DisablePatch(pVM, pConflictPatch->pPrivInstrGC);
5452 if (pConflictPatch->flags & PATMFL_CODE_MONITORED)
5454 int rc = patmRemovePatchPages(pVM, pConflictPatch);
5457 pConflictPatch->uState = PATCH_UNUSABLE;