mirror of https://github.com/x64dbg/TitanEngine
- fixed bug in SetBPX, where the found breakpoint type wasn't checked
This commit is contained in:
parent
425107b86e
commit
74b1bb7963
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -12773,11 +12773,11 @@ __declspec(dllexport) bool SetBPX(ULONG_PTR bpxAddress, DWORD bpxType, LPVOID bp
|
||||||
}
|
}
|
||||||
for(i = 0; i < BreakPointSetCount; i++)
|
for(i = 0; i < BreakPointSetCount; i++)
|
||||||
{
|
{
|
||||||
if(BreakPointBuffer[i].BreakPointAddress == bpxAddress && BreakPointBuffer[i].BreakPointActive == UE_BPXACTIVE)
|
if(BreakPointBuffer[i].BreakPointAddress == bpxAddress && BreakPointBuffer[i].BreakPointActive == UE_BPXACTIVE && (BreakPointBuffer[i].BreakPointType == UE_SINGLESHOOT || BreakPointBuffer[i].BreakPointType == UE_BREAKPOINT))
|
||||||
{
|
{
|
||||||
return(false);
|
return(false);
|
||||||
}
|
}
|
||||||
else if(BreakPointBuffer[i].BreakPointAddress == bpxAddress && BreakPointBuffer[i].BreakPointActive == UE_BPXINACTIVE)
|
else if(BreakPointBuffer[i].BreakPointAddress == bpxAddress && BreakPointBuffer[i].BreakPointActive == UE_BPXINACTIVE && (BreakPointBuffer[i].BreakPointType == UE_SINGLESHOOT || BreakPointBuffer[i].BreakPointType == UE_BREAKPOINT))
|
||||||
{
|
{
|
||||||
return(EnableBPX(bpxAddress));
|
return(EnableBPX(bpxAddress));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue