From c8bb7528b8dc053b45d8c652663479f327273ef8 Mon Sep 17 00:00:00 2001 From: Theofilos Augoustis Date: Mon, 22 Jan 2024 20:02:03 +0100 Subject: Use symbolic execution to speed up QEMU testing We don't need QEMU's log anymore, so we connect to a GDB server instance that the user has to start with `$ qemu -g ...`. Co-authored-by: Theofilos Augoustis Co-authored-by: Nicola Crivellin --- tools/verify_qemu.py | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 tools/verify_qemu.py (limited to 'tools/verify_qemu.py') diff --git a/tools/verify_qemu.py b/tools/verify_qemu.py new file mode 100644 index 0000000..98437cb --- /dev/null +++ b/tools/verify_qemu.py @@ -0,0 +1,77 @@ +""" +Spawn GDB, connect to QEMU's GDB server, and read test states from that. + +We need two scripts (this one and the primary `qemu_tool.py`) because we can't +pass arguments to scripts executed via `gdb -x