MCPcopy Create free account
hub / github.com/WheretIB/nullc / ClearBreakpoints

Method ClearBreakpoints

NULLC/Executor_X86.cpp:1772–1780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1770}
1771
1772void ExecutorX86::ClearBreakpoints()
1773{
1774 for(unsigned i = 0; i < breakInstructions.size(); i++)
1775 {
1776 if(*instAddress[breakInstructions[i].instIndex] == 0xcc)
1777 *instAddress[breakInstructions[i].instIndex] = breakInstructions[i].oldOpcode;
1778 }
1779 breakInstructions.clear();
1780}
1781
1782bool ExecutorX86::AddBreakpoint(unsigned int instruction, bool oneHit)
1783{

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected