execlog is a plugin that logs executed instructions with some useful metadata including memory access.
The output of the plugin is designed to be usable with other tools. For example it could be used with a side-channel leakage model to create side-channel traces from QEMU for security evaluation. Changes since v1: - The output is now easier to parse. - Use QEMU logging API rather than FILE* to write output. - Don't reject memory information in user mode. - Merge memory information with instruction execution. Now one line means one instruction. - Add documentation. Alexandre Iooss (2): contrib/plugins: add execlog to log instruction execution and memory access docs/devel: tvg-plugins: add execlog plugin description MAINTAINERS | 1 + contrib/plugins/Makefile | 1 + contrib/plugins/execlog.c | 123 +++++++++++++++++++++++++++++++++++++ docs/devel/tcg-plugins.rst | 22 +++++++ 4 files changed, 147 insertions(+) create mode 100644 contrib/plugins/execlog.c -- 2.25.1