MCPcopy Create free account
hub / github.com/OpenCppCoverage/OpenCppCoverage / RemoveBreakPoint

Method RemoveBreakPoint

CppCoverage/BreakPoint.cpp:84–91  ·  view source on GitHub ↗

-------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

82
83 //-------------------------------------------------------------------------
84 void BreakPoint::RemoveBreakPoint(const Address& address,
85 unsigned char oldInstruction) const
86 {
87 Tools::WriteProcessMemory(address.GetProcessHandle(),
88 address.GetValue(),
89 &oldInstruction,
90 sizeof(oldInstruction));
91 }
92
93 //-------------------------------------------------------------------------
94 void BreakPoint::AdjustEipAfterBreakPointRemoval(HANDLE hThread) const

Callers 2

SetBreakPointMethod · 0.80
OnBreakPointMethod · 0.80

Calls 3

WriteProcessMemoryFunction · 0.85
GetValueMethod · 0.80
GetProcessHandleMethod · 0.45

Tested by

no test coverage detected