mirror of https://github.com/x64dbg/TitanEngine
RemoveAllBreakPoints now also works with UE_SINGLESHOOT breakpoints + updated project to have a single instead of double backslash
This commit is contained in:
parent
0b19438cbc
commit
a6a093760a
|
|
@ -822,7 +822,7 @@ __declspec(dllexport) bool TITCALL RemoveAllBreakPoints(DWORD RemoveOption)
|
||||||
{
|
{
|
||||||
for(int i = bpcount - 1; i > -1; i--)
|
for(int i = bpcount - 1; i > -1; i--)
|
||||||
{
|
{
|
||||||
if(BreakPointBuffer.at(i).BreakPointType == UE_BREAKPOINT)
|
if(BreakPointBuffer.at(i).BreakPointType == UE_BREAKPOINT || BreakPointBuffer.at(i).BreakPointType == UE_SINGLESHOOT)
|
||||||
{
|
{
|
||||||
lock.unlock();
|
lock.unlock();
|
||||||
DeleteBPX((ULONG_PTR)BreakPointBuffer.at(i).BreakPointAddress);
|
DeleteBPX((ULONG_PTR)BreakPointBuffer.at(i).BreakPointAddress);
|
||||||
|
|
@ -848,7 +848,7 @@ __declspec(dllexport) bool TITCALL RemoveAllBreakPoints(DWORD RemoveOption)
|
||||||
{
|
{
|
||||||
for(int i = bpcount - 1; i > -1; i--)
|
for(int i = bpcount - 1; i > -1; i--)
|
||||||
{
|
{
|
||||||
if(BreakPointBuffer.at(i).BreakPointType == UE_BREAKPOINT && BreakPointBuffer.at(i).BreakPointActive == UE_BPXACTIVE)
|
if((BreakPointBuffer.at(i).BreakPointType == UE_BREAKPOINT || BreakPointBuffer.at(i).BreakPointType == UE_SINGLESHOOT) && BreakPointBuffer.at(i).BreakPointActive == UE_BPXACTIVE)
|
||||||
{
|
{
|
||||||
lock.unlock();
|
lock.unlock();
|
||||||
DisableBPX((ULONG_PTR)BreakPointBuffer.at(i).BreakPointAddress);
|
DisableBPX((ULONG_PTR)BreakPointBuffer.at(i).BreakPointAddress);
|
||||||
|
|
@ -870,7 +870,7 @@ __declspec(dllexport) bool TITCALL RemoveAllBreakPoints(DWORD RemoveOption)
|
||||||
{
|
{
|
||||||
for(int i = bpcount - 1; i > -1; i--)
|
for(int i = bpcount - 1; i > -1; i--)
|
||||||
{
|
{
|
||||||
if(BreakPointBuffer.at(i).BreakPointType == UE_BREAKPOINT && BreakPointBuffer.at(i).BreakPointActive == UE_BPXINACTIVE)
|
if((BreakPointBuffer.at(i).BreakPointType == UE_BREAKPOINT || BreakPointBuffer.at(i).BreakPointType == UE_SINGLESHOOT) && BreakPointBuffer.at(i).BreakPointActive == UE_BPXINACTIVE)
|
||||||
{
|
{
|
||||||
lock.unlock();
|
lock.unlock();
|
||||||
DeleteBPX((ULONG_PTR)BreakPointBuffer.at(i).BreakPointAddress);
|
DeleteBPX((ULONG_PTR)BreakPointBuffer.at(i).BreakPointAddress);
|
||||||
|
|
@ -883,7 +883,7 @@ __declspec(dllexport) bool TITCALL RemoveAllBreakPoints(DWORD RemoveOption)
|
||||||
{
|
{
|
||||||
for(int i = bpcount - 1; i > -1; i--)
|
for(int i = bpcount - 1; i > -1; i--)
|
||||||
{
|
{
|
||||||
if(BreakPointBuffer.at(i).BreakPointType == UE_BREAKPOINT && BreakPointBuffer.at(i).BreakPointActive == UE_BPXACTIVE)
|
if((BreakPointBuffer.at(i).BreakPointType == UE_BREAKPOINT || BreakPointBuffer.at(i).BreakPointType == UE_SINGLESHOOT) && BreakPointBuffer.at(i).BreakPointActive == UE_BPXACTIVE)
|
||||||
{
|
{
|
||||||
lock.unlock();
|
lock.unlock();
|
||||||
DeleteBPX((ULONG_PTR)BreakPointBuffer.at(i).BreakPointAddress);
|
DeleteBPX((ULONG_PTR)BreakPointBuffer.at(i).BreakPointAddress);
|
||||||
|
|
|
||||||
|
|
@ -62,11 +62,11 @@
|
||||||
<PropertyGroup Label="UserMacros" />
|
<PropertyGroup Label="UserMacros" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)\$(IntDir)x32\</OutDir>
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(IntDir)x32\</OutDir>
|
||||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)\$(IntDir)x32\</OutDir>
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)\$(IntDir)x32\</OutDir>
|
||||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\x32\</IntDir>
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\x32\</IntDir>
|
||||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\x32\</IntDir>
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\x32\</IntDir>
|
||||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)\$(Configuration)\x64\</OutDir>
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Configuration)\x64\</OutDir>
|
||||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)\$(Configuration)\x64\</OutDir>
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)\$(Configuration)\x64\</OutDir>
|
||||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Configuration)\x64\</IntDir>
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Configuration)\x64\</IntDir>
|
||||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Configuration)\x64\</IntDir>
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Configuration)\x64\</IntDir>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue