HomeFreeBSD

bhyve: Escape binary data sent in reply packets

Description

bhyve: Escape binary data sent in reply packets

Per https://sourceware.org/gdb/current/onlinedocs/gdb.html/Overview.html#Binary-Data
certain bytes must be escaped. The XML register definitions we have so far do
not run afoul of that rule, but the stub should handle them anyway.

Reviewed by: jhb
MFC after: 2 weeks
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D46194

(cherry picked from commit b4fb947923b566a3a8a6ad8e5f8ea8dec0c68ee4)

Details

Provenance
markjAuthored on Jul 31 2024, 10:41 PM
Reviewer
jhb
Differential Revision
D46194: bhyve: Escape binary data sent in reply packets
Parents
rG58f9c14235f6: ktrace tests: Add a test case for handling of exec+setuid binaries
Branches
Unknown
Tags
Unknown