HyperDbg/hyperdbg/libhyperdbg/code/debugger/kernel-level
munraimix b2b98033ef Resync libhyperdbg's serial receivers on framing overflow too
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
2026-07-27 22:40:06 +10:00
..
kd.cpp Resync libhyperdbg's serial receivers on framing overflow too 2026-07-27 22:40:06 +10:00
kernel-listening.cpp Resync libhyperdbg's serial receivers on framing overflow too 2026-07-27 22:40:06 +10:00