aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/parser.py
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2025-07-28 13:51:51 +0200
committerThomas Huth <thuth@redhat.com>2025-09-09 09:34:45 +0200
commit7af325c23ef5e94b77864d2d2ca64da4a5a35f30 (patch)
tree6fd11213f0520c1f0471a718cc54eb968de1e950 /scripts/qapi/parser.py
parentb3a51bb30bc72f88231e3b6a63c04eef5c36433c (diff)
downloadqemu-7af325c23ef5e94b77864d2d2ca64da4a5a35f30.zip
qemu-7af325c23ef5e94b77864d2d2ca64da4a5a35f30.tar.gz
qemu-7af325c23ef5e94b77864d2d2ca64da4a5a35f30.tar.bz2
hw/mips/malta: Silence warning from ubsan
When compiling QEMU with --enable-ubsan there is a undefined behavior warning when using the malta machine: hw/mips/malta.c:1200:32: runtime error: addition of unsigned offset to 0x7fb620600000 overflowed to 0x7fb6205fffff SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior hw/mips/malta.c:1200:32 To fix the issue, check the bios_size whether we really loaded the firmware before trying to byte-swap the instructions here. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20250728115152.187728-1-thuth@redhat.com>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions