mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-08-26 08:53:21 +00:00
The debuggee-side hyperkd fix stops the driver flooding, but the same delimiter-only framing with a blind retry loop also lives in the user-mode receivers. Mirror the resync there so an unclean disconnect does not flood the console either: KdReceivePacketFromDebuggee, KdReceivePacketFromDebugger, and the ListeningSerialPortInDebuggee loop. On overflow with no end-of-buffer marker, warn once per episode and discard to the next frame boundary (bounded by SERIAL_RESYNC_MAX_BYTES) instead of returning into the still-desynced stream. Refs #661 |
||
|---|---|---|
| .. | ||
| kd.cpp | ||
| kernel-listening.cpp | ||