qemu/contrib/plugins
Simon Hamelin 58fc249d9e plugins/stoptrigger: TCG plugin to stop execution under conditions
This new plugin allows to stop emulation using conditions on the
emulation state. By setting this plugin arguments, it is possible
to set an instruction count limit and/or trigger address(es) to stop at.
The code returned at emulation exit can be customized.

This plugin demonstrates how someone could stop QEMU execution.
It could be used for research purposes to launch some code and
deterministically stop it and understand where its execution flow went.

Co-authored-by: Alexandre Iooss <erdnaxe@crans.org>
Signed-off-by: Simon Hamelin <simon.hamelin@grenoble-inp.org>
Signed-off-by: Alexandre Iooss <erdnaxe@crans.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240715081521.19122-2-simon.hamelin@grenoble-inp.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240718094523.1198645-5-alex.bennee@linaro.org>
2024-07-22 09:37:56 +01:00
..
cache.c plugins: remove previous n_vcpus functions from API 2024-02-28 09:11:34 +00:00
drcov.c contrib/plugins/drcov: Fix string format 2023-09-07 12:54:17 +02:00
execlog.c plugins: Copy memory in qemu_plugin_insn_data 2024-05-15 08:55:18 +02:00
hotblocks.c contrib/plugins/hotblocks: migrate to new per_vcpu API 2024-03-06 12:35:38 +00:00
hotpages.c plugins: fix memory leak while parsing options 2023-07-03 12:51:58 +01:00
howvec.c plugins: Copy memory in qemu_plugin_insn_data 2024-05-15 08:55:18 +02:00
hwprofile.c plugins: fix memory leak while parsing options 2023-07-03 12:51:58 +01:00
ips.c contrib/plugins: add Instructions Per Second (IPS) example for cost modeling 2024-06-24 10:15:10 +01:00
lockstep.c plugins/lockstep: clean-up output 2024-07-05 12:34:48 +01:00
Makefile plugins/stoptrigger: TCG plugin to stop execution under conditions 2024-07-22 09:37:56 +01:00
stoptrigger.c plugins/stoptrigger: TCG plugin to stop execution under conditions 2024-07-22 09:37:56 +01:00
win32_linker.c plugins: make test/example plugins work on windows 2023-11-08 15:15:23 +00:00