TempleOS - 5-Minute Random Code Walk-Thru #34 (SZmCQoLwmao)
TempleOS - 5-Minute Random Code Walk-Thru #34 (00:07:44)
September 29, 2014
Explains TempleOS kernel breakpoint handling by storing per-task breakpoints in a linked list, patching code bytes with opcode CC, and removing or restoring them during task context switches under interrupt-masked critical sections on core zero. Traces interrupt 3 through the generic fault handler into the debugger, including RIP adjustment so the reported address matches the breakpoint location.
Copyright © 2023 - 2026 Serhii Zasenko. All rights reserved