Misaligned I/O Breakpoints
PATCH 1/1 Misaligned I/O Breakpoints
This xtf test tests a bug to hardware IO port breakpoints fixed by 08aacc392d86 ("x86/emul: Fix misaligned IO breakpoint behaviour in PV guests")
Signed-off-by Matthew Barnes <[email protected]>
--- docs/all-tests.dox | 2 + tests/misaligned-io-breakpoints/Makefile | 9 + tests/misaligned-io-breakpoints/main.c | 283 +++++++++++++++++++++++ 3 files changed, 294 insertions(+) create mode 100644 tests/misaligned-io-breakpoints/Makefile create mode 100644 tests/misaligned-io-breakpoints/main.c
docs/all-tests.dox +2 -0
@@ -41,6 +41,8 @@ Coveres XSA-106 and XSA-156. @subpage test-umip - Guest User-Mode Instruction Prevention support. +@subpage test-misaligned-io-breakpoints - Misaligned I/O port hardware breakpoint test. + @section index-xsa XSA Proof-of-Concept tests
tests/misaligned-io-breakpoints/Makefile new file +9 -0
@@ -0,0 +1,9 @@ +include $(ROOT)/build/common.mk + +NAME := misaligned-io-breakpoints +CATEGORY := utility +TEST-ENVS := pv64 + +obj-perenv += main.o + +include $(ROOT)/build/gen.mk
tests/misaligned-io-breakpoints/main.c new file +283 -0
283 lines not on this page · raw message
Signature · 1 line
2.34.1