aboutsummaryrefslogtreecommitdiff
path: root/qemu-io.c
diff options
context:
space:
mode:
authorSimon Hamelin <simon.hamelin@grenoble-inp.org>2024-07-18 10:45:12 +0100
committerAlex Bennée <alex.bennee@linaro.org>2024-07-22 09:37:56 +0100
commit58fc249d9ebd7c6ed979cbf039ccfa93d1bae2b9 (patch)
treebff7c6d8adee16755e9fb24ee0ed61de0aa46eeb /qemu-io.c
parente8122a7118eb22ace9e60c91bfbf2d4bbfc6f15a (diff)
downloadqemu-58fc249d9ebd7c6ed979cbf039ccfa93d1bae2b9.zip
qemu-58fc249d9ebd7c6ed979cbf039ccfa93d1bae2b9.tar.gz
qemu-58fc249d9ebd7c6ed979cbf039ccfa93d1bae2b9.tar.bz2
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>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions