-------------------------------------------------------------------------
| 167 | |
| 168 | //------------------------------------------------------------------------- |
| 169 | bool CodeCoverageRunner::OnBreakPoint( |
| 170 | const EXCEPTION_DEBUG_INFO& exceptionDebugInfo, |
| 171 | HANDLE hProcess, |
| 172 | HANDLE hThread) |
| 173 | { |
| 174 | const auto& exceptionRecord = exceptionDebugInfo.ExceptionRecord; |
| 175 | auto addressValue = exceptionRecord.ExceptionAddress; |
| 176 | Address address{ hProcess, addressValue }; |
| 177 | auto oldInstruction = executedAddressManager_->MarkAddressAsExecuted(address); |
| 178 | |
| 179 | if (oldInstruction) |
| 180 | { |
| 181 | breakpoint_->RemoveBreakPoint(address, *oldInstruction); |
| 182 | breakpoint_->AdjustEipAfterBreakPointRemoval(hThread); |
| 183 | return true; |
| 184 | } |
| 185 | |
| 186 | return false; |
| 187 | } |
| 188 | |
| 189 | //------------------------------------------------------------------------- |
| 190 | void CodeCoverageRunner::LoadModule(HANDLE hProcess, |
nothing calls this directly
no test coverage detected