fuzz: Display hexadecimal value with '0x' prefix
commita8fbec7ed80f4cc7ffec87144a03d990ff8002ff
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 12 Jun 2021 19:58:42 +0000 (12 21:58 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 21 Jun 2021 03:50:57 +0000 (21 05:50 +0200)
tree4401d511857e05fa01c87ce1515e1f1ad20b3b8c
parente52ee00dab8678b26a5b7312275daa6ac4899046
fuzz: Display hexadecimal value with '0x' prefix

Use memory_region_size() to get the MemoryRegion size,
and display it with the '0x' prefix.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210612195842.1595999-1-f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/fuzz/generic_fuzz.c