Hi Alex -- this patch was reviewed back in July but didn't make it into git before 10.1 freeze; would you like to pick it up now we've reopened for 10.2 ?
thanks -- PMM On Thu, 10 Jul 2025 at 16:21, Pierrick Bouvier <pierrick.bouv...@linaro.org> wrote: > > On 7/10/25 7:45 AM, Peter Maydell wrote: > > In insn_check_regs() we don't explicitly check whether > > qemu_plugin_read_register() failed, which confuses Coverity into > > thinking that sz can be -1 in the memcmp(). In fact the assertion > > that sz == reg->last->len means this can't happen, but it's clearer > > to both humans and Coverity if we explicitly assert that sz > 0, as > > we already do in init_vcpu_register(). > > > > Coverity: CID 1611901, 1611902 > > Fixes: af6e4e0a22c1 ("contrib/plugins: extend execlog to track register > > changes") > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > > --- > > contrib/plugins/execlog.c | 1 + > > 1 file changed, 1 insertion(+) > > Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>