qemu-8.2.2-1.fc40
List of Defects
Error: CLANG_WARNING: [#def1]
qemu-8.2.2-build/qemu-8.2.2/accel/accel-system.c:76:5: warning[deadcode.DeadStores]: Value stored to 'ops' is never read
# 74|
# 75| ops_name = g_strdup_printf("%s" ACCEL_OPS_SUFFIX, ac_name);
# 76|-> ops = ACCEL_OPS_CLASS(module_object_class_by_name(ops_name));
# 77| oc = module_object_class_by_name(ops_name);
# 78| if (!oc) {
Error: CLANG_WARNING: [#def2]
qemu-8.2.2-build/qemu-8.2.2/accel/kvm/kvm-accel-ops.c:42:5: warning[deadcode.DeadStores]: Value stored to 'r' is never read
# 40| current_cpu = cpu;
# 41|
# 42|-> r = kvm_init_vcpu(cpu, &error_fatal);
# 43| kvm_init_cpu_signals(cpu);
# 44|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def3]
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c: scope_hint: In function ‘cpu_tb_exec’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c:486:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:45:43: note: in definition of macro ‘unlikely’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c: scope_hint: In function ‘cpu_tb_exec’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c:251:5: note: in expansion of macro ‘tcg_debug_assert’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c: scope_hint: In function ‘cpu_tb_exec’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c: scope_hint: In function ‘cpu_tb_exec’
qemu-8.2.2-build/qemu-8.2.2/include/tcg/debug-assert.h:14:16: note: in definition of macro ‘tcg_debug_assert’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/atomic.h:132:21: note: in definition of macro ‘qatomic_read__nocheck’
qemu-8.2.2-build/qemu-8.2.2/include/exec/exec-all.h:465:12: note: in expansion of macro ‘qatomic_read’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c: scope_hint: In function ‘cpu_tb_exec’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c:484:13: note: in expansion of macro ‘tcg_debug_assert’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
# 484| tcg_debug_assert(!(tb_cflags(last_tb) & CF_PCREL));
# 485| assert(cc->set_pc);
# 486|-> cc->set_pc(cpu, last_tb->pc);
# 487| }
# 488| if (qemu_loglevel_mask(CPU_LOG_EXEC)) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c: scope_hint: In function ‘cpu_loop_exec_tb’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c:954:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:45:43: note: in definition of macro ‘unlikely’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c: scope_hint: In function ‘cpu_loop_exec_tb’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c:251:5: note: in expansion of macro ‘tcg_debug_assert’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/tb-hash.h:48:24: note: in expansion of macro ‘TARGET_PAGE_BITS’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c: scope_hint: In function ‘cpu_loop_exec_tb’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c: scope_hint: In function ‘cpu_loop_exec_tb’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c:940:12: note: in expansion of macro ‘icount_enabled’
# 952| * insns_left instructions in it.
# 953| */
# 954|-> if (insns_left > 0 && insns_left < tb->icount) {
# 955| assert(insns_left <= CF_COUNT_MASK);
# 956| assert(cpu->icount_extra == 0);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def5]
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:53: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cputlb.c: scope_hint: In function ‘do_ld_beN’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cputlb.c:2208:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*p.flags’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:45:43: note: in definition of macro ‘unlikely’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cputlb.c: scope_hint: In function ‘do_ld_beN’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cputlb.c:1809:13: note: in expansion of macro ‘unlikely’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:45:43: note: in definition of macro ‘unlikely’
# 2206| unsigned tmp, half_size;
# 2207|
# 2208|-> if (unlikely(p->flags & TLB_MMIO)) {
# 2209| return do_ld_mmio_beN(cpu, p->full, ret_be, p->addr, p->size,
# 2210| mmu_idx, type, ra);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def6]
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cputlb.c: scope_hint: In function ‘do_ld_1’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cputlb.c:2303:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*p.flags’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:45:43: note: in definition of macro ‘unlikely’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cputlb.c: scope_hint: In function ‘do_ld_1’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cputlb.c:1809:13: note: in expansion of macro ‘unlikely’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:45:43: note: in definition of macro ‘unlikely’
# 2301| MMUAccessType type, uintptr_t ra)
# 2302| {
# 2303|-> if (unlikely(p->flags & TLB_MMIO)) {
# 2304| return do_ld_mmio_beN(cpu, p->full, 0, p->addr, 1, mmu_idx, type, ra);
# 2305| } else {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def7]
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c:46: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/internal-target.h: scope_hint: In function ‘log_pc’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/internal-target.h:92:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tb’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:53: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c:20: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:45:43: note: in definition of macro ‘unlikely’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c: scope_hint: In function ‘log_pc’
qemu-8.2.2-build/qemu-8.2.2/include/tcg/tcg.h:37: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c:28: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c:251:5: note: in expansion of macro ‘tcg_debug_assert’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c: scope_hint: In function ‘log_pc’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cpu-exec.c: scope_hint: In function ‘log_pc’
# 90| return cpu->cc->get_pc(cpu);
# 91| } else {
# 92|-> return tb->pc;
# 93| }
# 94| }
Error: CLANG_WARNING: [#def8]
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/user-exec.c:961: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/ldst_atomicity.c.inc:206:20: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'p')
# 204| #ifdef CONFIG_USER_ONLY
# 205| if (!page_check_range(h2g(p), 16, PAGE_WRITE_ORG)) {
# 206|-> return *p;
# 207| }
# 208| #endif
Error: GCC_ANALYZER_WARNING (CWE-476): [#def9]
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/tb-maint.c: scope_hint: In function ‘tb_page_remove’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/tb-maint.c:313:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pd’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/tb-maint.c:38:15: note: in definition of macro ‘TB_FOR_EACH_TAGGED’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/tb-maint.c:732:5: note: in expansion of macro ‘PAGE_FOR_EACH_TB’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/tb-maint.c: scope_hint: In function ‘tb_page_remove’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/tb-maint.c: scope_hint: In function ‘tb_page_remove’
qemu-8.2.2-build/qemu-8.2.2/include/tcg/tcg.h:37: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/tb-maint.c:29: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/tb-maint.c:1110:5: note: in expansion of macro ‘tcg_debug_assert’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/tb-maint.c:38:15: note: in definition of macro ‘TB_FOR_EACH_TAGGED’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/tb-maint.c:1116:5: note: in expansion of macro ‘PAGE_FOR_EACH_TB’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/tb-maint.c:39:10: note: in definition of macro ‘TB_FOR_EACH_TAGGED’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/tb-maint.c:1116:5: note: in expansion of macro ‘PAGE_FOR_EACH_TB’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/tb-maint.c: scope_hint: In function ‘tb_page_remove’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/tb-maint.c: scope_hint: In function ‘tb_page_remove’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/tb-maint.c:20: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/tb-maint.c:38:15: note: in definition of macro ‘TB_FOR_EACH_TAGGED’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/tb-maint.c:732:5: note: in expansion of macro ‘PAGE_FOR_EACH_TB’
# 311| typedef int PageForEachNext;
# 312| #define PAGE_FOR_EACH_TB(start, last, pagedesc, tb, n) \
# 313|-> TB_FOR_EACH_TAGGED((pagedesc)->first_tb, tb, n, page_next)
# 314|
# 315| #ifdef CONFIG_DEBUG_TCG
Error: CLANG_WARNING: [#def10]
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/translate-all.c:87:14: warning[core.NullDereference]: Dereference of null pointer
# 85| byte |= 0x80;
# 86| }
# 87|-> *p++ = byte;
# 88| } while (more);
# 89|
Error: CLANG_WARNING: [#def11]
qemu-8.2.2-build/qemu-8.2.2/audio/audio.c:488:9: warning[unix.Malloc]: Use of memory after it is freed
# 486| sw->rate = st_rate_start (sw->info.freq, hw_cap->info.freq);
# 487| QLIST_INSERT_HEAD (&hw_cap->sw_head, sw, entries);
# 488|-> QLIST_INSERT_HEAD (&hw->cap_head, sc, entries);
# 489| #ifdef DEBUG_CAPTURE
# 490| sw->name = g_strdup_printf ("for %p %d,%d,%d",
Error: GCC_ANALYZER_WARNING (CWE-476): [#def12]
qemu-8.2.2-build/qemu-8.2.2/audio/audio.c: scope_hint: In function ‘audio_driver_init’
qemu-8.2.2-build/qemu-8.2.2/audio/audio.c:1564:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘drv’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/audio/audio.c:25: included_from: Included from here.
# 1562| Error *local_err = NULL;
# 1563|
# 1564|-> s->drv_opaque = drv->init(dev, &local_err);
# 1565|
# 1566| if (s->drv_opaque) {
Error: CLANG_WARNING: [#def13]
qemu-8.2.2-build/qemu-8.2.2/audio/jackaudio.c:410:16: warning[unix.Malloc]: Potential leak of memory pointed to by 'client_name'
# 408|
# 409| if (c->state == QJACK_STATE_RUNNING) {
# 410|-> return 0;
# 411| }
# 412|
Error: CLANG_WARNING: [#def14]
qemu-8.2.2-build/qemu-8.2.2/audio/pwaudio.c:673:5: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 671| v->muted = vol->mute;
# 672| float val = v->muted ? 1.f : 0.f;
# 673|-> ret = pw_stream_set_control(v->stream, SPA_PROP_mute, 1, &val, 0);
# 674| pw_thread_loop_unlock(c->thread_loop);
# 675| }
Error: CLANG_WARNING: [#def15]
qemu-8.2.2-build/qemu-8.2.2/audio/pwaudio.c:796:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'pw'
# 794| }
# 795| g_clear_pointer(&pw->context, pw_context_destroy);
# 796|-> g_clear_pointer(&pw->thread_loop, pw_thread_loop_destroy);
# 797| return NULL;
# 798| }
Error: CLANG_WARNING: [#def16]
qemu-8.2.2-build/qemu-8.2.2/backends/cryptodev-lkcf.c:531:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'sess'
# 529|
# 530| default:
# 531|-> error_report("Unsupported asym alg %u", sess_info->algo);
# 532| return -VIRTIO_CRYPTO_NOTSUPP;
# 533| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def17]
qemu-8.2.2-build/qemu-8.2.2/backends/cryptodev-vhost-user.c: scope_hint: In function ‘cryptodev_vhost_user_init’
qemu-8.2.2-build/qemu-8.2.2/backends/cryptodev-vhost-user.c:202:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/backends/cryptodev-vhost-user.c:25: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/backends/cryptodev-vhost-user.c:139:9: note: in expansion of macro ‘error_setg’
# 200| for (i = 0; i < queues; i++) {
# 201| cc = cryptodev_backend_new_client();
# 202|-> cc->info_str = g_strdup_printf("cryptodev-vhost-user%zu to %s ",
# 203| i, chr->label);
# 204| cc->queue_index = i;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def18]
qemu-8.2.2-build/qemu-8.2.2/backends/cryptodev-vhost.c: scope_hint: In function ‘vhost_set_vring_enable’
qemu-8.2.2-build/qemu-8.2.2/backends/cryptodev-vhost.c:157:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cc’
# 155| const VhostOps *vhost_ops;
# 156|
# 157|-> cc->vring_enable = enable;
# 158|
# 159| if (!crypto) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
qemu-8.2.2-build/qemu-8.2.2/backends/cryptodev-vhost.c: scope_hint: In function ‘cryptodev_vhost_start’
qemu-8.2.2-build/qemu-8.2.2/backends/cryptodev-vhost.c:198:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cc’
# 196| * properly.
# 197| */
# 198|-> if (cc->type == QCRYPTODEV_BACKEND_TYPE_VHOST_USER) {
# 199| dev->use_guest_notifier_mask = false;
# 200| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
qemu-8.2.2-build/qemu-8.2.2/backends/dbus-vmstate.c: scope_hint: In function ‘dbus_vmstate_post_load’
qemu-8.2.2-build/qemu-8.2.2/backends/dbus-vmstate.c:205:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘err’
/usr/include/glib-2.0/glib/glib-autocleanups.h:103:1: note: in expansion of macro ‘G_DEFINE_AUTO_CLEANUP_FREE_FUNC’
/usr/include/glib-2.0/glib/glib-autocleanups.h:103:1: note: in expansion of macro ‘G_DEFINE_AUTO_CLEANUP_FREE_FUNC’
qemu-8.2.2-build/qemu-8.2.2/backends/dbus-vmstate.c: scope_hint: In function ‘dbus_vmstate_post_load’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/glib/glib-autocleanups.h:57:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/glib/glib-autocleanups.h:57:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
# 203| proxies = dbus_get_proxies(self, &err);
# 204| if (!proxies) {
# 205|-> error_report("%s: Failed to get proxies: %s", __func__, err->message);
# 206| return -1;
# 207| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def21]
qemu-8.2.2-build/qemu-8.2.2/backends/dbus-vmstate.c: scope_hint: In function ‘dbus_vmstate_pre_save’
qemu-8.2.2-build/qemu-8.2.2/backends/dbus-vmstate.c:354:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘err’
/usr/include/glib-2.0/glib/glib-autocleanups.h:103:1: note: in expansion of macro ‘G_DEFINE_AUTO_CLEANUP_FREE_FUNC’
/usr/include/glib-2.0/glib/glib-autocleanups.h:103:1: note: in expansion of macro ‘G_DEFINE_AUTO_CLEANUP_FREE_FUNC’
qemu-8.2.2-build/qemu-8.2.2/backends/dbus-vmstate.c: scope_hint: In function ‘dbus_vmstate_pre_save’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/glib/glib-autocleanups.h:57:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/glib/glib-autocleanups.h:57:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
# 352| proxies = dbus_get_proxies(self, &err);
# 353| if (!proxies) {
# 354|-> error_report("%s: Failed to get proxies: %s", __func__, err->message);
# 355| return -1;
# 356| }
Error: CLANG_WARNING: [#def22]
qemu-8.2.2-build/qemu-8.2.2/backends/tpm/tpm_util.c:255:13: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 253| }
# 254|
# 255|-> if (be32_to_cpu(tpm_resp.hdr.len) != sizeof(tpm_resp) ||
# 256| be32_to_cpu(tpm_resp.len) != sizeof(uint32_t)) {
# 257| trace_tpm_util_get_buffer_size_hdr_len(
Error: CLANG_WARNING: [#def23]
qemu-8.2.2-build/qemu-8.2.2/backends/tpm/tpm_util.c:304:13: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 302| }
# 303|
# 304|-> if (be32_to_cpu(tpm2_resp.hdr.len) != sizeof(tpm2_resp) ||
# 305| be32_to_cpu(tpm2_resp.count) != 2) {
# 306| trace_tpm_util_get_buffer_size_hdr_len2(
Error: CLANG_WARNING: [#def24]
qemu-8.2.2-build/qemu-8.2.2/block/blkio.c:747:9: warning[deadcode.DeadStores]: Value stored to 'fd' is never read
# 745| /* Failed to give the FD to libblkio, close it */
# 746| qemu_close(fd);
# 747|-> fd = -1;
# 748| }
# 749|
Error: CLANG_WARNING: [#def25]
qemu-8.2.2-build/qemu-8.2.2/block/bochs.c:240:25: warning[core.UndefinedBinaryOperatorResult]: The left operand of '>>' is a garbage value
# 238| }
# 239|
# 240|-> if (!((bitmap_entry >> (extent_offset % 8)) & 1)) {
# 241| return 0; /* not allocated */
# 242| }
Error: CLANG_WARNING: [#def26]
qemu-8.2.2-build/qemu-8.2.2/block/file-posix.c:1353:13: warning[unix.Malloc]: Potential leak of memory pointed to by 'rep'
# 1351| } while (ret != 0 && errno == EINTR);
# 1352| if (ret != 0) {
# 1353|-> error_report("%d: ioctl BLKREPORTZONE at %" PRId64 " failed %d",
# 1354| fd, offset, errno);
# 1355| return -errno;
Error: CLANG_WARNING: [#def27]
qemu-8.2.2-build/qemu-8.2.2/block/file-posix.c:2144:17: warning[unix.Malloc]: Potential leak of memory pointed to by 'rep'
# 2142| }
# 2143|
# 2144|-> *nr_zones = n;
# 2145| return 0;
# 2146| }
Error: CLANG_WARNING: [#def28]
qemu-8.2.2-build/qemu-8.2.2/block/io_uring.c:345:40: warning[core.NullDereference]: Access to field 'iov' results in a dereference of a null pointer (loaded from field 'qiov')
# 343| switch (type) {
# 344| case QEMU_AIO_WRITE:
# 345|-> io_uring_prep_writev(sqes, fd, luringcb->qiov->iov,
# 346| luringcb->qiov->niov, offset);
# 347| break;
Error: CLANG_WARNING: [#def29]
qemu-8.2.2-build/qemu-8.2.2/block/io_uring.c:349:40: warning[core.NullDereference]: Access to field 'iov' results in a dereference of a null pointer (loaded from field 'qiov')
# 347| break;
# 348| case QEMU_AIO_ZONE_APPEND:
# 349|-> io_uring_prep_writev(sqes, fd, luringcb->qiov->iov,
# 350| luringcb->qiov->niov, offset);
# 351| break;
Error: CLANG_WARNING: [#def30]
qemu-8.2.2-build/qemu-8.2.2/block/io_uring.c:353:39: warning[core.NullDereference]: Access to field 'iov' results in a dereference of a null pointer (loaded from field 'qiov')
# 351| break;
# 352| case QEMU_AIO_READ:
# 353|-> io_uring_prep_readv(sqes, fd, luringcb->qiov->iov,
# 354| luringcb->qiov->niov, offset);
# 355| break;
Error: CLANG_WARNING: [#def31]
qemu-8.2.2-build/qemu-8.2.2/block/mirror.c:389:9: warning[core.NullDereference]: Dereference of null pointer
# 387| size_t remaining = op->bytes - op->qiov.size;
# 388|
# 389|-> QSIMPLEQ_REMOVE_HEAD(&s->buf_free, next);
# 390| s->buf_free_count--;
# 391| qemu_iovec_add(&op->qiov, buf, MIN(s->granularity, remaining));
Error: CLANG_WARNING: [#def32]
qemu-8.2.2-build/qemu-8.2.2/block/mirror.c:604:13: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 602|
# 603| if (s->ret < 0) {
# 604|-> ret = 0;
# 605| goto fail;
# 606| }
Error: GCC_ANALYZER_WARNING (CWE-688): [#def33]
qemu-8.2.2-build/qemu-8.2.2/block/nfs.c:432:12: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/block/nfs.c:430:20: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/block/nfs.c: scope_hint: In function ‘nfs_client_open’
/usr/include/string.h:273:14: note: argument 1 of ‘strrchr’ must be non-null
# 430| client->path = g_strdup(opts->path);
# 431|
# 432|-> strp = strrchr(client->path, '/');
# 433| if (strp == NULL) {
# 434| error_setg(errp, "Invalid URL specified");
Error: GCC_ANALYZER_WARNING (CWE-688): [#def34]
qemu-8.2.2-build/qemu-8.2.2/block/nfs.c: scope_hint: In function ‘nfs_client_open’
qemu-8.2.2-build/qemu-8.2.2/block/nfs.c:432:12: warning[-Wanalyzer-null-argument]: use of NULL ‘*client.path’ where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/block/nfs.c:25: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/block/nfs.c:430:20: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/block/nfs.c: scope_hint: In function ‘nfs_client_open’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:116: included_from: Included from here.
/usr/include/string.h:273:14: note: argument 1 of ‘strrchr’ must be non-null
# 430| client->path = g_strdup(opts->path);
# 431|
# 432|-> strp = strrchr(client->path, '/');
# 433| if (strp == NULL) {
# 434| error_setg(errp, "Invalid URL specified");
Error: CLANG_WARNING: [#def35]
qemu-8.2.2-build/qemu-8.2.2/block/parallels-ext.c:171:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'l1_table'
# 169| }
# 170|
# 171|-> ret = parallels_load_bitmap_data(bs, l1_table, bf.l1_size, bitmap, errp);
# 172| if (ret < 0) {
# 173| bdrv_release_dirty_bitmap(bitmap);
Error: CLANG_WARNING: [#def36]
qemu-8.2.2-build/qemu-8.2.2/block/qcow2-cluster.c:249:16: warning[unix.Malloc]: Potential leak of memory pointed to by 'buf'
# 247| s->l1_table_offset + L1E_SIZE * l1_start_index, bufsize, false);
# 248| if (ret < 0) {
# 249|-> return ret;
# 250| }
# 251|
Error: CLANG_WARNING: [#def37]
qemu-8.2.2-build/qemu-8.2.2/block/qcow2-refcount.c:94:22: warning[core.NullDereference]: Array access (via field 'refcount_table') results in a null pointer dereference
# 92| {
# 93| unsigned i = s->refcount_table_size - 1;
# 94|-> while (i > 0 && (s->refcount_table[i] & REFT_OFFSET_MASK) == 0) {
# 95| i--;
# 96| }
Error: CLANG_WARNING: [#def38]
qemu-8.2.2-build/qemu-8.2.2/block/qcow2-refcount.c:1679:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'l2_table'
# 1677| ret = bdrv_co_pread(bs->file, l2_offset, l2_size_bytes, l2_table, 0);
# 1678| if (ret < 0) {
# 1679|-> fprintf(stderr, "ERROR: I/O error in check_refcounts_l2\n");
# 1680| res->check_errors++;
# 1681| return ret;
Error: CLANG_WARNING: [#def39]
qemu-8.2.2-build/qemu-8.2.2/block/qcow2-refcount.c:1894:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'l1_table'
# 1892| ret = bdrv_co_pread(bs->file, l1_table_offset, l1_size_bytes, l1_table, 0);
# 1893| if (ret < 0) {
# 1894|-> fprintf(stderr, "ERROR: I/O error in check_refcounts_l1\n");
# 1895| res->check_errors++;
# 1896| return ret;
Error: CLANG_WARNING: [#def40]
qemu-8.2.2-build/qemu-8.2.2/block/qcow2-snapshot.c:120:31: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 118| offset += sizeof(h);
# 119| sn = s->snapshots + i;
# 120|-> sn->l1_table_offset = be64_to_cpu(h.l1_table_offset);
# 121| sn->l1_size = be32_to_cpu(h.l1_size);
# 122| sn->vm_state_size = be32_to_cpu(h.vm_state_size);
Error: CLANG_WARNING: [#def41]
qemu-8.2.2-build/qemu-8.2.2/block/qcow2-snapshot.c:455:27: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 453| }
# 454|
# 455|-> s->snapshots_offset = be64_to_cpu(snapshot_table_pointer.snapshots_offset);
# 456| s->nb_snapshots = be32_to_cpu(snapshot_table_pointer.nb_snapshots);
# 457|
Error: CLANG_WARNING: [#def42]
qemu-8.2.2-build/qemu-8.2.2/block/qcow2-refcount.c:28: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/block/qcow2.h:615:12: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 613| {
# 614| idx *= l2_entry_size(s) / sizeof(uint64_t);
# 615|-> return be64_to_cpu(l2_slice[idx]);
# 616| }
# 617|
Error: CLANG_WARNING: [#def43]
qemu-8.2.2-build/qemu-8.2.2/block/qed.c:59:18: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 57| static void qed_header_le_to_cpu(const QEDHeader *le, QEDHeader *cpu)
# 58| {
# 59|-> cpu->magic = le32_to_cpu(le->magic);
# 60| cpu->cluster_size = le32_to_cpu(le->cluster_size);
# 61| cpu->table_size = le32_to_cpu(le->table_size);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def44]
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c: scope_hint: In function ‘qemu_rbd_strchr’
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c:126:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c:14: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c:179:11: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c:179:11: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c: scope_hint: In function ‘qemu_rbd_strchr’
# 124| char *p;
# 125|
# 126|-> for (p = src; *p; ++p) {
# 127| if (*p == delim) {
# 128| return p;
Error: CLANG_WARNING: [#def45]
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c:157:19: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'src')
# 155| char *p;
# 156|
# 157|-> for (p = src; *src; ++src, ++p) {
# 158| if (*src == '\\' && src[1] != '\0') {
# 159| src++;
Error: CLANG_WARNING: [#def46]
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c:871:10: warning[core.NullDereference]: Access to field 'has_server' results in a dereference of a null pointer (loaded from variable 'opts')
# 869| int i, cnt;
# 870|
# 871|-> if (!opts->has_server) {
# 872| return NULL;
# 873| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def47]
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c: scope_hint: In function ‘qemu_rbd_mon_host’
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c:871:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘opts’
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c:1075:16: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c: scope_hint: In function ‘qemu_rbd_mon_host’
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c:1080:16: note: in expansion of macro ‘g_strdup’
# 869| int i, cnt;
# 870|
# 871|-> if (!opts->has_server) {
# 872| return NULL;
# 873| }
Error: CLANG_WARNING: [#def48]
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c:908:13: warning[core.NullDereference]: Access to field 'key_secret' results in a dereference of a null pointer (loaded from variable 'opts')
# 906|
# 907| if (secretid) {
# 908|-> if (opts->key_secret) {
# 909| error_setg(errp,
# 910| "Legacy 'password-secret' clashes with 'key-secret'");
Error: GCC_ANALYZER_WARNING (CWE-476): [#def49]
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c: scope_hint: In function ‘qemu_rbd_connect’
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c:908:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘opts’
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c:1075:16: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c: scope_hint: In function ‘qemu_rbd_connect’
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c:1080:16: note: in expansion of macro ‘g_strdup’
# 906|
# 907| if (secretid) {
# 908|-> if (opts->key_secret) {
# 909| error_setg(errp,
# 910| "Legacy 'password-secret' clashes with 'key-secret'");
Error: CLANG_WARNING: [#def50]
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c:923:31: warning[core.NullDereference]: Access to field 'user' results in a dereference of a null pointer (loaded from variable 'opts')
# 921| }
# 922|
# 923|-> r = rados_create(cluster, opts->user);
# 924| if (r < 0) {
# 925| error_setg_errno(errp, -r, "error initializing");
Error: CLANG_WARNING: [#def51]
qemu-8.2.2-build/qemu-8.2.2/block/rbd.c:1126:24: warning[core.NullDereference]: Access to field 'snapshot' results in a dereference of a null pointer (loaded from variable 'opts')
# 1124| }
# 1125|
# 1126|-> s->snap = g_strdup(opts->snapshot);
# 1127| s->image_name = g_strdup(opts->image);
# 1128|
Error: CLANG_WARNING: [#def52]
qemu-8.2.2-build/qemu-8.2.2/block/ssh.c:866:9: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer (loaded from field 'attrs')
# 864| ssh_set_blocking(s->session, 0);
# 865|
# 866|-> if (s->attrs->type == SSH_FILEXFER_TYPE_REGULAR) {
# 867| bs->supported_truncate_flags = BDRV_REQ_ZERO_WRITE;
# 868| }
Error: CLANG_WARNING: [#def53]
qemu-8.2.2-build/qemu-8.2.2/block/ssh.c:889:35: warning[core.NullDereference]: Access to field 'size' results in a dereference of a null pointer (loaded from field 'attrs')
# 887| /* offset must be strictly greater than the current size so we do
# 888| * not overwrite anything */
# 889|-> assert(offset > 0 && offset > s->attrs->size);
# 890|
# 891| ssh_set_blocking(s->session, 1);
Error: CLANG_WARNING: [#def54]
qemu-8.2.2-build/qemu-8.2.2/block/vhdx-log.c:849:5: warning[deadcode.DeadStores]: Value stored to 'data' is never read
# 847| memcpy(&desc->trailing_bytes, data, 4);
# 848| desc->trailing_bytes = cpu_to_le32(desc->trailing_bytes);
# 849|-> data += 4;
# 850|
# 851| sector->sequence_high = (uint32_t) (seq >> 32);
Error: GCC_ANALYZER_WARNING (CWE-131): [#def55]
qemu-8.2.2-build/qemu-8.2.2/block/vhdx.c: scope_hint: In function ‘vhdx_create_bat’
qemu-8.2.2-build/qemu-8.2.2/block/vhdx.c:1753:16: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/block/vhdx.c:18: included_from: Included from here.
# 1751| has_zero_init == 0) {
# 1752| /* for a fixed file, the default BAT entry is not zero */
# 1753|-> s->bat = g_try_malloc0(length);
# 1754| if (length && s->bat == NULL) {
# 1755| error_setg(errp, "Failed to allocate memory for the BAT");
Error: CLANG_WARNING: [#def56]
qemu-8.2.2-build/qemu-8.2.2/block/vmdk.c:1951:20: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 1949| marker = (VmdkGrainMarker *)cluster_buf;
# 1950| compressed_data = marker->data;
# 1951|-> data_len = le32_to_cpu(marker->size);
# 1952| }
# 1953| if (!data_len || data_len > buf_bytes) {
Error: CLANG_WARNING: [#def57]
qemu-8.2.2-build/qemu-8.2.2/block/vpc.c:567:17: warning[unix.Malloc]: Potential leak of memory pointed to by 'bitmap'
# 565| /* Check if sector_num is valid */
# 566| if ((offset < 0) || (offset > bs->total_sectors * BDRV_SECTOR_SIZE)) {
# 567|-> return -EINVAL;
# 568| }
# 569|
Error: CLANG_WARNING: [#def58]
qemu-8.2.2-build/qemu-8.2.2/block/vvfat.c:699:5: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 697| s->sectors_per_fat * 0x200 / s->fat.item_size - 1);
# 698| }
# 699|-> memset(s->fat.pointer,0,s->fat.size);
# 700|
# 701| switch(s->fat_type) {
Error: CLANG_WARNING: [#def59]
qemu-8.2.2-build/qemu-8.2.2/block/vvfat.c:1940:29: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
# 1938| const char* basename = get_basename(mapping->path);
# 1939|
# 1940|-> if (strcmp(basename, basename2))
# 1941| copy_it = 1;
# 1942| first_mapping_index = array_index(&(s->mapping), mapping);
Error: CLANG_WARNING: [#def60]
qemu-8.2.2-build/qemu-8.2.2/block/vvfat.c:2255:37: warning[core.NullDereference]: Access to field 'begin' results in a dereference of a null pointer (loaded from variable 'mapping')
# 2253| mapping = array_get(&(s->mapping), index);
# 2254| }
# 2255|-> if (index >= s->mapping.next || mapping->begin > begin) {
# 2256| mapping = array_insert(&(s->mapping), index, 1);
# 2257| mapping->path = NULL;
Error: CPPCHECK_WARNING: [#def61]
qemu-8.2.2-build/qemu-8.2.2/contrib/elf2dmp/addrspace.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
qemu-8.2.2-build/qemu-8.2.2/contrib/elf2dmp/addrspace.c: scope_hint: In function ‘get_pml4e’
qemu-8.2.2-build/qemu-8.2.2/contrib/elf2dmp/addrspace.c:115:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 113| uint64_t pa = (vs->dtb & 0xffffffffff000) | ((va & 0xff8000000000) >> 36);
# 114|
# 115|-> return *(uint64_t *)pa_space_resolve(vs->ps, pa);
# 116| }
# 117|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
qemu-8.2.2-build/qemu-8.2.2/contrib/elf2dmp/addrspace.c: scope_hint: In function ‘get_pdpi’
qemu-8.2.2-build/qemu-8.2.2/contrib/elf2dmp/addrspace.c:123:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 121| ((va & 0x7FC0000000) >> 27);
# 122|
# 123|-> return *(uint64_t *)pa_space_resolve(vs->ps, pdpte_paddr);
# 124| }
# 125|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
qemu-8.2.2-build/qemu-8.2.2/contrib/elf2dmp/addrspace.c: scope_hint: In function ‘get_pgd’
qemu-8.2.2-build/qemu-8.2.2/contrib/elf2dmp/addrspace.c:140:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/contrib/elf2dmp/addrspace.c: scope_hint: In function ‘get_pgd’
# 138| uint64_t pgd_entry = pdba_base(pdpe) + pde_index(va) * 8;
# 139|
# 140|-> return *(uint64_t *)pa_space_resolve(vs->ps, pgd_entry);
# 141| }
# 142|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
qemu-8.2.2-build/qemu-8.2.2/contrib/elf2dmp/addrspace.c: scope_hint: In function ‘get_pte’
qemu-8.2.2-build/qemu-8.2.2/contrib/elf2dmp/addrspace.c:157:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/contrib/elf2dmp/addrspace.c: scope_hint: In function ‘get_pte’
qemu-8.2.2-build/qemu-8.2.2/contrib/elf2dmp/addrspace.c: scope_hint: In function ‘get_pte’
# 155| uint64_t pgd_val = ptba_base(pgd) + pte_index(va) * 8;
# 156|
# 157|-> return *(uint64_t *)pa_space_resolve(vs->ps, pgd_val);
# 158| }
# 159|
Error: CPPCHECK_WARNING: [#def66]
qemu-8.2.2-build/qemu-8.2.2/contrib/elf2dmp/main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def67]
qemu-8.2.2-build/qemu-8.2.2/contrib/elf2dmp/qemu_elf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def68]
qemu-8.2.2-build/qemu-8.2.2/contrib/ivshmem-client/ivshmem-client.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def69]
qemu-8.2.2-build/qemu-8.2.2/contrib/ivshmem-client/ivshmem-client.c:57: warning[uninitvar]: Uninitialized variable: *index
# 55| }
# 56|
# 57|-> *index = GINT64_FROM_LE(*index);
# 58| *fd = -1;
# 59|
Error: CPPCHECK_WARNING: [#def70]
qemu-8.2.2-build/qemu-8.2.2/contrib/ivshmem-client/main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def71]
qemu-8.2.2-build/qemu-8.2.2/contrib/vhost-user-blk/vhost-user-blk.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def72]
qemu-8.2.2-build/qemu-8.2.2/contrib/vhost-user-scsi/vhost-user-scsi.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def73]
qemu-8.2.2-build/qemu-8.2.2/crypto/afsplit.c:116:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'block'
# 114| block,
# 115| out + (i * blocklen));
# 116|-> return 0;
# 117| }
# 118|
Error: CLANG_WARNING: [#def74]
qemu-8.2.2-build/qemu-8.2.2/crypto/afsplit.c:145:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'block'
# 143| block,
# 144| out);
# 145|-> return 0;
# 146| }
Error: CLANG_WARNING: [#def75]
qemu-8.2.2-build/qemu-8.2.2/crypto/block-luks.c:902:17: warning[unix.Malloc]: Potential leak of memory pointed to by 'splitkey'
# 900| possiblekey, luks->header.master_key_len,
# 901| errp) < 0) {
# 902|-> return -1;
# 903| }
# 904|
Error: CLANG_WARNING: [#def76]
qemu-8.2.2-build/qemu-8.2.2/crypto/block-luks.c:1715:13: warning[unix.Malloc]: Potential leak of memory pointed to by 'tmpkey'
# 1713|
# 1714| if (keyslot < 0 || keyslot >= QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS) {
# 1715|-> error_setg(errp,
# 1716| "Invalid keyslot %i specified, must be between 0 and %i",
# 1717| keyslot, QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS - 1);
Error: CLANG_WARNING: [#def77]
qemu-8.2.2-build/qemu-8.2.2/crypto/block.c:406:12: warning[unix.Malloc]: Potential leak of memory pointed to by 'iv'
# 404| }
# 405|
# 406|-> return 0;
# 407| }
# 408|
Error: CLANG_WARNING: [#def78]
qemu-8.2.2-build/qemu-8.2.2/crypto/pbkdf.c:132:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'out'
# 130| cleanup:
# 131| memset(out, 0, nout);
# 132|-> return ret;
# 133| }
Error: CLANG_WARNING: [#def79]
qemu-8.2.2-build/qemu-8.2.2/crypto/rsakey.c:85: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/crypto/rsakey-builtin.c.inc:132:5: warning[deadcode.DeadStores]: Value stored to 'decode_ret' is never read
# 130| seq_length = decode_ret;
# 131|
# 132|-> decode_ret = qcrypto_der_decode_int(&seq, &seq_length, extract_version,
# 133| &version, errp);
# 134|
Error: CPPCHECK_WARNING: [#def80]
qemu-8.2.2-build/qemu-8.2.2/crypto/secret_common.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def81]
qemu-8.2.2-build/qemu-8.2.2/crypto/secret_common.c:55:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'key'
# 53|
# 54| if (keylen != 32) {
# 55|-> error_setg(errp, "Key should be 32 bytes in length");
# 56| return;
# 57| }
Error: CPPCHECK_WARNING: [#def82]
qemu-8.2.2-build/qemu-8.2.2/crypto/tlscredsx509.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def83]
qemu-8.2.2-build/qemu-8.2.2/crypto/tlssession.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def84]
qemu-8.2.2-build/qemu-8.2.2/disas/disas.c:94:12: warning[unix.Malloc]: Potential leak of memory pointed to by 'buf'
# 92| info->fprintf_func(info->stream, "unable to read memory");
# 93| }
# 94|-> return n;
# 95| }
# 96|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def85]
qemu-8.2.2-build/qemu-8.2.2/disas/m68k.c: scope_hint: In function ‘print_insn_m68k’
qemu-8.2.2-build/qemu-8.2.2/disas/m68k.c:1901:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘opc_pointer[<unknown>]’
# 1899|
# 1900| for (i = 0; i < m68k_numopcodes; i++)
# 1901|-> *opc_pointer[(m68k_opcodes[i].opcode >> 28) & 15]++ = &m68k_opcodes[i];
# 1902| }
# 1903|
Error: COMPILER_WARNING: [#def86]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_code_18_to_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:599:43: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 599 | static uint64 extract_code_18_to_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 597|
# 598|
# 599|-> static uint64 extract_code_18_to_0(uint64 instruction)
# 600| {
# 601| uint64 value = 0;
Error: COMPILER_WARNING: [#def87]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_shift3_2_1_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:607:43: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 607 | static uint64 extract_shift3_2_1_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 605|
# 606|
# 607|-> static uint64 extract_shift3_2_1_0(uint64 instruction)
# 608| {
# 609| uint64 value = 0;
Error: COMPILER_WARNING: [#def88]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_11_10_9_8_7_6_5_4_3__s3’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:615:56: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 615 | static uint64 extract_u_11_10_9_8_7_6_5_4_3__s3(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 613|
# 614|
# 615|-> static uint64 extract_u_11_10_9_8_7_6_5_4_3__s3(uint64 instruction)
# 616| {
# 617| uint64 value = 0;
Error: COMPILER_WARNING: [#def89]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_count_3_2_1_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:623:44: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 623 | static uint64 extract_count_3_2_1_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 621|
# 622|
# 623|-> static uint64 extract_count_3_2_1_0(uint64 instruction)
# 624| {
# 625| uint64 value = 0;
Error: COMPILER_WARNING: [#def90]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_rtz3_9_8_7’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:631:41: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 631 | static uint64 extract_rtz3_9_8_7(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 629|
# 630|
# 631|-> static uint64 extract_rtz3_9_8_7(uint64 instruction)
# 632| {
# 633| uint64 value = 0;
Error: COMPILER_WARNING: [#def91]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_17_to_1__s1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:639:44: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 639 | static uint64 extract_u_17_to_1__s1(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 637|
# 638|
# 639|-> static uint64 extract_u_17_to_1__s1(uint64 instruction)
# 640| {
# 641| uint64 value = 0;
Error: COMPILER_WARNING: [#def92]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_s__se9_20_19_18_17_16_15_14_13_12_11’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:647:66: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 647 | static int64 extract_s__se9_20_19_18_17_16_15_14_13_12_11(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 645|
# 646|
# 647|-> static int64 extract_s__se9_20_19_18_17_16_15_14_13_12_11(uint64 instruction)
# 648| {
# 649| int64 value = 0;
Error: COMPILER_WARNING: [#def93]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_s__se11_0_10_9_8_7_6_5_4_3_2_1_0_s1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:656:65: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 656 | static int64 extract_s__se11_0_10_9_8_7_6_5_4_3_2_1_0_s1(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 654|
# 655|
# 656|-> static int64 extract_s__se11_0_10_9_8_7_6_5_4_3_2_1_0_s1(uint64 instruction)
# 657| {
# 658| int64 value = 0;
Error: COMPILER_WARNING: [#def94]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_10’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:666:35: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 666 | static uint64 extract_u_10(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 664|
# 665|
# 666|-> static uint64 extract_u_10(uint64 instruction)
# 667| {
# 668| uint64 value = 0;
Error: COMPILER_WARNING: [#def95]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_rtz4_27_26_25_23_22_21’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:674:53: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 674 | static uint64 extract_rtz4_27_26_25_23_22_21(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 672|
# 673|
# 674|-> static uint64 extract_rtz4_27_26_25_23_22_21(uint64 instruction)
# 675| {
# 676| uint64 value = 0;
Error: COMPILER_WARNING: [#def96]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_sa_15_14_13_12_11’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:683:48: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 683 | static uint64 extract_sa_15_14_13_12_11(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 681|
# 682|
# 683|-> static uint64 extract_sa_15_14_13_12_11(uint64 instruction)
# 684| {
# 685| uint64 value = 0;
Error: COMPILER_WARNING: [#def97]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_shift_4_3_2_1_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:691:46: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 691 | static uint64 extract_shift_4_3_2_1_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 689|
# 690|
# 691|-> static uint64 extract_shift_4_3_2_1_0(uint64 instruction)
# 692| {
# 693| uint64 value = 0;
Error: COMPILER_WARNING: [#def98]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_shiftx_10_9_8_7__s1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:699:50: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 699 | static uint64 extract_shiftx_10_9_8_7__s1(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 697|
# 698|
# 699|-> static uint64 extract_shiftx_10_9_8_7__s1(uint64 instruction)
# 700| {
# 701| uint64 value = 0;
Error: COMPILER_WARNING: [#def99]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_hint_25_24_23_22_21’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:707:50: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 707 | static uint64 extract_hint_25_24_23_22_21(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 705|
# 706|
# 707|-> static uint64 extract_hint_25_24_23_22_21(uint64 instruction)
# 708| {
# 709| uint64 value = 0;
Error: COMPILER_WARNING: [#def100]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_count3_14_13_12’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:715:46: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 715 | static uint64 extract_count3_14_13_12(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 713|
# 714|
# 715|-> static uint64 extract_count3_14_13_12(uint64 instruction)
# 716| {
# 717| uint64 value = 0;
Error: COMPILER_WARNING: [#def101]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_s__se31_0_11_to_2_20_to_12_s12’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:723:60: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 723 | static int64 extract_s__se31_0_11_to_2_20_to_12_s12(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 721|
# 722|
# 723|-> static int64 extract_s__se31_0_11_to_2_20_to_12_s12(uint64 instruction)
# 724| {
# 725| int64 value = 0;
Error: COMPILER_WARNING: [#def102]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_s__se7_0_6_5_4_3_2_1_s1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:734:53: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 734 | static int64 extract_s__se7_0_6_5_4_3_2_1_s1(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 732|
# 733|
# 734|-> static int64 extract_s__se7_0_6_5_4_3_2_1_s1(uint64 instruction)
# 735| {
# 736| int64 value = 0;
Error: COMPILER_WARNING: [#def103]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u2_10_9’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:744:38: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 744 | static uint64 extract_u2_10_9(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 742|
# 743|
# 744|-> static uint64 extract_u2_10_9(uint64 instruction)
# 745| {
# 746| uint64 value = 0;
Error: COMPILER_WARNING: [#def104]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_code_25_24_23_22_21_20_19_18_17_16’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:752:65: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 752 | static uint64 extract_code_25_24_23_22_21_20_19_18_17_16(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 750|
# 751|
# 752|-> static uint64 extract_code_25_24_23_22_21_20_19_18_17_16(uint64 instruction)
# 753| {
# 754| uint64 value = 0;
Error: COMPILER_WARNING: [#def105]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_rs_20_19_18_17_16’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:760:48: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 760 | static uint64 extract_rs_20_19_18_17_16(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 758|
# 759|
# 760|-> static uint64 extract_rs_20_19_18_17_16(uint64 instruction)
# 761| {
# 762| uint64 value = 0;
Error: COMPILER_WARNING: [#def106]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_2_1__s1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:768:40: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 768 | static uint64 extract_u_2_1__s1(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 766|
# 767|
# 768|-> static uint64 extract_u_2_1__s1(uint64 instruction)
# 769| {
# 770| uint64 value = 0;
Error: COMPILER_WARNING: [#def107]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_stripe_6’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:776:39: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 776 | static uint64 extract_stripe_6(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 774|
# 775|
# 776|-> static uint64 extract_stripe_6(uint64 instruction)
# 777| {
# 778| uint64 value = 0;
Error: COMPILER_WARNING: [#def108]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_ac_15_14’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:784:39: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 784 | static uint64 extract_ac_15_14(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 782|
# 783|
# 784|-> static uint64 extract_ac_15_14(uint64 instruction)
# 785| {
# 786| uint64 value = 0;
Error: COMPILER_WARNING: [#def109]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_shift_20_19_18_17_16’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:792:51: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 792 | static uint64 extract_shift_20_19_18_17_16(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 790|
# 791|
# 792|-> static uint64 extract_shift_20_19_18_17_16(uint64 instruction)
# 793| {
# 794| uint64 value = 0;
Error: COMPILER_WARNING: [#def110]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_rdl_25_24’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:800:40: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 800 | static uint64 extract_rdl_25_24(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 798|
# 799|
# 800|-> static uint64 extract_rdl_25_24(uint64 instruction)
# 801| {
# 802| uint64 value = 0;
Error: COMPILER_WARNING: [#def111]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_s__se10_0_9_8_7_6_5_4_3_2_1_s1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:808:60: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 808 | static int64 extract_s__se10_0_9_8_7_6_5_4_3_2_1_s1(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 806|
# 807|
# 808|-> static int64 extract_s__se10_0_9_8_7_6_5_4_3_2_1_s1(uint64 instruction)
# 809| {
# 810| int64 value = 0;
Error: COMPILER_WARNING: [#def112]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_eu_6_5_4_3_2_1_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:818:47: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 818 | static uint64 extract_eu_6_5_4_3_2_1_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 816|
# 817|
# 818|-> static uint64 extract_eu_6_5_4_3_2_1_0(uint64 instruction)
# 819| {
# 820| uint64 value = 0;
Error: COMPILER_WARNING: [#def113]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_shift_5_4_3_2_1_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:826:48: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 826 | static uint64 extract_shift_5_4_3_2_1_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 824|
# 825|
# 826|-> static uint64 extract_shift_5_4_3_2_1_0(uint64 instruction)
# 827| {
# 828| uint64 value = 0;
Error: COMPILER_WARNING: [#def114]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_count_19_18_17_16’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:834:48: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 834 | static uint64 extract_count_19_18_17_16(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 832|
# 833|
# 834|-> static uint64 extract_count_19_18_17_16(uint64 instruction)
# 835| {
# 836| uint64 value = 0;
Error: COMPILER_WARNING: [#def115]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_code_2_1_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:842:41: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 842 | static uint64 extract_code_2_1_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 840|
# 841|
# 842|-> static uint64 extract_code_2_1_0(uint64 instruction)
# 843| {
# 844| uint64 value = 0;
Error: COMPILER_WARNING: [#def116]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_11_10_9_8_7_6_5_4_3_2_1_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:850:58: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 850 | static uint64 extract_u_11_10_9_8_7_6_5_4_3_2_1_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 848|
# 849|
# 850|-> static uint64 extract_u_11_10_9_8_7_6_5_4_3_2_1_0(uint64 instruction)
# 851| {
# 852| uint64 value = 0;
Error: COMPILER_WARNING: [#def117]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_rs_4_3_2_1_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:858:43: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 858 | static uint64 extract_rs_4_3_2_1_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 856|
# 857|
# 858|-> static uint64 extract_rs_4_3_2_1_0(uint64 instruction)
# 859| {
# 860| uint64 value = 0;
Error: COMPILER_WARNING: [#def118]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_20_to_3__s3’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:866:44: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 866 | static uint64 extract_u_20_to_3__s3(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 864|
# 865|
# 866|-> static uint64 extract_u_20_to_3__s3(uint64 instruction)
# 867| {
# 868| uint64 value = 0;
Error: COMPILER_WARNING: [#def119]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_3_2_1_0__s2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:874:44: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 874 | static uint64 extract_u_3_2_1_0__s2(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 872|
# 873|
# 874|-> static uint64 extract_u_3_2_1_0__s2(uint64 instruction)
# 875| {
# 876| uint64 value = 0;
Error: COMPILER_WARNING: [#def120]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_cofun_25_24_23’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:882:45: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 882 | static uint64 extract_cofun_25_24_23(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 880|
# 881|
# 882|-> static uint64 extract_cofun_25_24_23(uint64 instruction)
# 883| {
# 884| uint64 value = 0;
Error: COMPILER_WARNING: [#def121]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_2_1_0__s2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:890:42: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 890 | static uint64 extract_u_2_1_0__s2(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 888|
# 889|
# 890|-> static uint64 extract_u_2_1_0__s2(uint64 instruction)
# 891| {
# 892| uint64 value = 0;
Error: COMPILER_WARNING: [#def122]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_rd3_3_2_1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:898:40: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 898 | static uint64 extract_rd3_3_2_1(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 896|
# 897|
# 898|-> static uint64 extract_rd3_3_2_1(uint64 instruction)
# 899| {
# 900| uint64 value = 0;
Error: COMPILER_WARNING: [#def123]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_sa_15_14_13_12’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:906:45: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 906 | static uint64 extract_sa_15_14_13_12(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 904|
# 905|
# 906|-> static uint64 extract_sa_15_14_13_12(uint64 instruction)
# 907| {
# 908| uint64 value = 0;
Error: COMPILER_WARNING: [#def124]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_rt_25_24_23_22_21’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:914:48: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 914 | static uint64 extract_rt_25_24_23_22_21(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 912|
# 913|
# 914|-> static uint64 extract_rt_25_24_23_22_21(uint64 instruction)
# 915| {
# 916| uint64 value = 0;
Error: COMPILER_WARNING: [#def125]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_ru_7_6_5_4_3’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:922:43: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 922 | static uint64 extract_ru_7_6_5_4_3(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 920|
# 921|
# 922|-> static uint64 extract_ru_7_6_5_4_3(uint64 instruction)
# 923| {
# 924| uint64 value = 0;
Error: COMPILER_WARNING: [#def126]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_17_to_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:930:40: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 930 | static uint64 extract_u_17_to_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 928|
# 929|
# 930|-> static uint64 extract_u_17_to_0(uint64 instruction)
# 931| {
# 932| uint64 value = 0;
Error: COMPILER_WARNING: [#def127]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_rsz4_4_2_1_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:938:43: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 938 | static uint64 extract_rsz4_4_2_1_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 936|
# 937|
# 938|-> static uint64 extract_rsz4_4_2_1_0(uint64 instruction)
# 939| {
# 940| uint64 value = 0;
Error: COMPILER_WARNING: [#def128]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_s__se21_0_20_to_1_s1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:947:50: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 947 | static int64 extract_s__se21_0_20_to_1_s1(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 945|
# 946|
# 947|-> static int64 extract_s__se21_0_20_to_1_s1(uint64 instruction)
# 948| {
# 949| int64 value = 0;
Error: COMPILER_WARNING: [#def129]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_op_25_to_3’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:957:41: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 957 | static uint64 extract_op_25_to_3(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 955|
# 956|
# 957|-> static uint64 extract_op_25_to_3(uint64 instruction)
# 958| {
# 959| uint64 value = 0;
Error: COMPILER_WARNING: [#def130]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_rs4_4_2_1_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:965:42: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 965 | static uint64 extract_rs4_4_2_1_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 963|
# 964|
# 965|-> static uint64 extract_rs4_4_2_1_0(uint64 instruction)
# 966| {
# 967| uint64 value = 0;
Error: COMPILER_WARNING: [#def131]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_bit_23_22_21’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:974:43: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 974 | static uint64 extract_bit_23_22_21(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 972|
# 973|
# 974|-> static uint64 extract_bit_23_22_21(uint64 instruction)
# 975| {
# 976| uint64 value = 0;
Error: COMPILER_WARNING: [#def132]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_rt_41_40_39_38_37’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:982:48: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 982 | static uint64 extract_rt_41_40_39_38_37(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 980|
# 981|
# 982|-> static uint64 extract_rt_41_40_39_38_37(uint64 instruction)
# 983| {
# 984| uint64 value = 0;
Error: COMPILER_WARNING: [#def133]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_shift__se5_21_20_19_18_17_16’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:990:58: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 990 | static int64 extract_shift__se5_21_20_19_18_17_16(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 988|
# 989|
# 990|-> static int64 extract_shift__se5_21_20_19_18_17_16(uint64 instruction)
# 991| {
# 992| int64 value = 0;
Error: COMPILER_WARNING: [#def134]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_rd2_3_8’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:999:38: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 999 | static uint64 extract_rd2_3_8(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 997|
# 998|
# 999|-> static uint64 extract_rd2_3_8(uint64 instruction)
# 1000| {
# 1001| uint64 value = 0;
Error: COMPILER_WARNING: [#def135]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_code_17_to_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1008:43: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1008 | static uint64 extract_code_17_to_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1006|
# 1007|
# 1008|-> static uint64 extract_code_17_to_0(uint64 instruction)
# 1009| {
# 1010| uint64 value = 0;
Error: COMPILER_WARNING: [#def136]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_size_20_19_18_17_16’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1016:50: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1016 | static uint64 extract_size_20_19_18_17_16(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1014|
# 1015|
# 1016|-> static uint64 extract_size_20_19_18_17_16(uint64 instruction)
# 1017| {
# 1018| uint64 value = 0;
Error: COMPILER_WARNING: [#def137]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_s__se8_15_7_6_5_4_3_2_s2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1024:54: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1024 | static int64 extract_s__se8_15_7_6_5_4_3_2_s2(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1022|
# 1023|
# 1024|-> static int64 extract_s__se8_15_7_6_5_4_3_2_s2(uint64 instruction)
# 1025| {
# 1026| int64 value = 0;
Error: COMPILER_WARNING: [#def138]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_15_to_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1034:40: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1034 | static uint64 extract_u_15_to_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1032|
# 1033|
# 1034|-> static uint64 extract_u_15_to_0(uint64 instruction)
# 1035| {
# 1036| uint64 value = 0;
Error: COMPILER_WARNING: [#def139]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_fs_20_19_18_17_16’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1042:48: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1042 | static uint64 extract_fs_20_19_18_17_16(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1040|
# 1041|
# 1042|-> static uint64 extract_fs_20_19_18_17_16(uint64 instruction)
# 1043| {
# 1044| uint64 value = 0;
Error: COMPILER_WARNING: [#def140]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_s__se8_15_7_6_5_4_3_2_1_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1050:55: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1050 | static int64 extract_s__se8_15_7_6_5_4_3_2_1_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1048|
# 1049|
# 1050|-> static int64 extract_s__se8_15_7_6_5_4_3_2_1_0(uint64 instruction)
# 1051| {
# 1052| int64 value = 0;
Error: COMPILER_WARNING: [#def141]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_stype_20_19_18_17_16’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1060:51: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1060 | static uint64 extract_stype_20_19_18_17_16(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1058|
# 1059|
# 1060|-> static uint64 extract_stype_20_19_18_17_16(uint64 instruction)
# 1061| {
# 1062| uint64 value = 0;
Error: COMPILER_WARNING: [#def142]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_rtl_11’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1068:37: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1068 | static uint64 extract_rtl_11(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1066|
# 1067|
# 1068|-> static uint64 extract_rtl_11(uint64 instruction)
# 1069| {
# 1070| uint64 value = 0;
Error: COMPILER_WARNING: [#def143]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_hs_20_19_18_17_16’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1076:48: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1076 | static uint64 extract_hs_20_19_18_17_16(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1074|
# 1075|
# 1076|-> static uint64 extract_hs_20_19_18_17_16(uint64 instruction)
# 1077| {
# 1078| uint64 value = 0;
Error: COMPILER_WARNING: [#def144]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_sel_13_12_11’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1084:43: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1084 | static uint64 extract_sel_13_12_11(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1082|
# 1083|
# 1084|-> static uint64 extract_sel_13_12_11(uint64 instruction)
# 1085| {
# 1086| uint64 value = 0;
Error: COMPILER_WARNING: [#def145]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_lsb_4_3_2_1_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1092:44: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1092 | static uint64 extract_lsb_4_3_2_1_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1090|
# 1091|
# 1092|-> static uint64 extract_lsb_4_3_2_1_0(uint64 instruction)
# 1093| {
# 1094| uint64 value = 0;
Error: COMPILER_WARNING: [#def146]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_gp_2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1100:35: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1100 | static uint64 extract_gp_2(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1098|
# 1099|
# 1100|-> static uint64 extract_gp_2(uint64 instruction)
# 1101| {
# 1102| uint64 value = 0;
Error: COMPILER_WARNING: [#def147]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_rt3_9_8_7’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1108:40: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1108 | static uint64 extract_rt3_9_8_7(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1106|
# 1107|
# 1108|-> static uint64 extract_rt3_9_8_7(uint64 instruction)
# 1109| {
# 1110| uint64 value = 0;
Error: COMPILER_WARNING: [#def148]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_ft_25_24_23_22_21’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1116:48: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1116 | static uint64 extract_ft_25_24_23_22_21(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1114|
# 1115|
# 1116|-> static uint64 extract_ft_25_24_23_22_21(uint64 instruction)
# 1117| {
# 1118| uint64 value = 0;
Error: COMPILER_WARNING: [#def149]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_17_16_15_14_13_12_11’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1124:53: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1124 | static uint64 extract_u_17_16_15_14_13_12_11(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1122|
# 1123|
# 1124|-> static uint64 extract_u_17_16_15_14_13_12_11(uint64 instruction)
# 1125| {
# 1126| uint64 value = 0;
Error: COMPILER_WARNING: [#def150]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_cs_20_19_18_17_16’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1132:48: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1132 | static uint64 extract_cs_20_19_18_17_16(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1130|
# 1131|
# 1132|-> static uint64 extract_cs_20_19_18_17_16(uint64 instruction)
# 1133| {
# 1134| uint64 value = 0;
Error: COMPILER_WARNING: [#def151]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_rt4_9_7_6_5’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1140:42: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1140 | static uint64 extract_rt4_9_7_6_5(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1138|
# 1139|
# 1140|-> static uint64 extract_rt4_9_7_6_5(uint64 instruction)
# 1141| {
# 1142| uint64 value = 0;
Error: COMPILER_WARNING: [#def152]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_msbt_10_9_8_7_6’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1149:46: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1149 | static uint64 extract_msbt_10_9_8_7_6(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1147|
# 1148|
# 1149|-> static uint64 extract_msbt_10_9_8_7_6(uint64 instruction)
# 1150| {
# 1151| uint64 value = 0;
Error: COMPILER_WARNING: [#def153]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_5_4_3_2_1_0__s2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1157:48: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1157 | static uint64 extract_u_5_4_3_2_1_0__s2(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1155|
# 1156|
# 1157|-> static uint64 extract_u_5_4_3_2_1_0__s2(uint64 instruction)
# 1158| {
# 1159| uint64 value = 0;
Error: COMPILER_WARNING: [#def154]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_sa_15_14_13’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1165:42: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1165 | static uint64 extract_sa_15_14_13(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1163|
# 1164|
# 1165|-> static uint64 extract_sa_15_14_13(uint64 instruction)
# 1166| {
# 1167| uint64 value = 0;
Error: COMPILER_WARNING: [#def155]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_s__se14_0_13_to_1_s1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1173:50: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1173 | static int64 extract_s__se14_0_13_to_1_s1(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1171|
# 1172|
# 1173|-> static int64 extract_s__se14_0_13_to_1_s1(uint64 instruction)
# 1174| {
# 1175| int64 value = 0;
Error: COMPILER_WARNING: [#def156]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_rs3_6_5_4’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1183:40: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1183 | static uint64 extract_rs3_6_5_4(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1181|
# 1182|
# 1183|-> static uint64 extract_rs3_6_5_4(uint64 instruction)
# 1184| {
# 1185| uint64 value = 0;
Error: COMPILER_WARNING: [#def157]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_31_to_0__s32’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1191:45: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1191 | static uint64 extract_u_31_to_0__s32(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1189|
# 1190|
# 1191|-> static uint64 extract_u_31_to_0__s32(uint64 instruction)
# 1192| {
# 1193| uint64 value = 0;
Error: COMPILER_WARNING: [#def158]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_shift_10_9_8_7_6’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1199:47: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1199 | static uint64 extract_shift_10_9_8_7_6(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1197|
# 1198|
# 1199|-> static uint64 extract_shift_10_9_8_7_6(uint64 instruction)
# 1200| {
# 1201| uint64 value = 0;
Error: COMPILER_WARNING: [#def159]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_cs_25_24_23_22_21’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1207:48: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1207 | static uint64 extract_cs_25_24_23_22_21(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1205|
# 1206|
# 1207|-> static uint64 extract_cs_25_24_23_22_21(uint64 instruction)
# 1208| {
# 1209| uint64 value = 0;
Error: COMPILER_WARNING: [#def160]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_shiftx_11_10_9_8_7_6’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1215:51: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1215 | static uint64 extract_shiftx_11_10_9_8_7_6(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1213|
# 1214|
# 1215|-> static uint64 extract_shiftx_11_10_9_8_7_6(uint64 instruction)
# 1216| {
# 1217| uint64 value = 0;
Error: COMPILER_WARNING: [#def161]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_rt_9_8_7_6_5’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1223:43: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1223 | static uint64 extract_rt_9_8_7_6_5(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1221|
# 1222|
# 1223|-> static uint64 extract_rt_9_8_7_6_5(uint64 instruction)
# 1224| {
# 1225| uint64 value = 0;
Error: COMPILER_WARNING: [#def162]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_op_25_24_23_22_21’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1231:48: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1231 | static uint64 extract_op_25_24_23_22_21(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1229|
# 1230|
# 1231|-> static uint64 extract_op_25_24_23_22_21(uint64 instruction)
# 1232| {
# 1233| uint64 value = 0;
Error: COMPILER_WARNING: [#def163]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_6_5_4_3_2_1_0__s2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1239:50: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1239 | static uint64 extract_u_6_5_4_3_2_1_0__s2(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1237|
# 1238|
# 1239|-> static uint64 extract_u_6_5_4_3_2_1_0__s2(uint64 instruction)
# 1240| {
# 1241| uint64 value = 0;
Error: COMPILER_WARNING: [#def164]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_bit_16_15_14_13_12_11’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1247:52: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1247 | static uint64 extract_bit_16_15_14_13_12_11(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1245|
# 1246|
# 1247|-> static uint64 extract_bit_16_15_14_13_12_11(uint64 instruction)
# 1248| {
# 1249| uint64 value = 0;
Error: COMPILER_WARNING: [#def165]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_mask_20_19_18_17_16_15_14’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1255:56: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1255 | static uint64 extract_mask_20_19_18_17_16_15_14(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1253|
# 1254|
# 1255|-> static uint64 extract_mask_20_19_18_17_16_15_14(uint64 instruction)
# 1256| {
# 1257| uint64 value = 0;
Error: COMPILER_WARNING: [#def166]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_eu_3_2_1_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1263:41: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1263 | static uint64 extract_eu_3_2_1_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1261|
# 1262|
# 1263|-> static uint64 extract_eu_3_2_1_0(uint64 instruction)
# 1264| {
# 1265| uint64 value = 0;
Error: COMPILER_WARNING: [#def167]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_7_6_5_4__s4’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1271:44: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1271 | static uint64 extract_u_7_6_5_4__s4(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1269|
# 1270|
# 1271|-> static uint64 extract_u_7_6_5_4__s4(uint64 instruction)
# 1272| {
# 1273| uint64 value = 0;
Error: COMPILER_WARNING: [#def168]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_s__se8_15_7_6_5_4_3_s3’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1279:52: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1279 | static int64 extract_s__se8_15_7_6_5_4_3_s3(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1277|
# 1278|
# 1279|-> static int64 extract_s__se8_15_7_6_5_4_3_s3(uint64 instruction)
# 1280| {
# 1281| int64 value = 0;
Error: COMPILER_WARNING: [#def169]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_ft_15_14_13_12_11’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1289:48: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1289 | static uint64 extract_ft_15_14_13_12_11(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1287|
# 1288|
# 1289|-> static uint64 extract_ft_15_14_13_12_11(uint64 instruction)
# 1290| {
# 1291| uint64 value = 0;
Error: COMPILER_WARNING: [#def170]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_s__se31_15_to_0_31_to_16’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1297:54: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1297 | static int64 extract_s__se31_15_to_0_31_to_16(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1295|
# 1296|
# 1297|-> static int64 extract_s__se31_15_to_0_31_to_16(uint64 instruction)
# 1298| {
# 1299| int64 value = 0;
Error: COMPILER_WARNING: [#def171]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_20_19_18_17_16_15_14_13’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1307:56: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1307 | static uint64 extract_u_20_19_18_17_16_15_14_13(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1305|
# 1306|
# 1307|-> static uint64 extract_u_20_19_18_17_16_15_14_13(uint64 instruction)
# 1308| {
# 1309| uint64 value = 0;
Error: COMPILER_WARNING: [#def172]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_17_to_2__s2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1315:44: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1315 | static uint64 extract_u_17_to_2__s2(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1313|
# 1314|
# 1315|-> static uint64 extract_u_17_to_2__s2(uint64 instruction)
# 1316| {
# 1317| uint64 value = 0;
Error: COMPILER_WARNING: [#def173]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_rd_15_14_13_12_11’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1323:48: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1323 | static uint64 extract_rd_15_14_13_12_11(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1321|
# 1322|
# 1323|-> static uint64 extract_rd_15_14_13_12_11(uint64 instruction)
# 1324| {
# 1325| uint64 value = 0;
Error: COMPILER_WARNING: [#def174]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_c0s_20_19_18_17_16’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1331:49: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1331 | static uint64 extract_c0s_20_19_18_17_16(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1329|
# 1330|
# 1331|-> static uint64 extract_c0s_20_19_18_17_16(uint64 instruction)
# 1332| {
# 1333| uint64 value = 0;
Error: COMPILER_WARNING: [#def175]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_code_1_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1339:39: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1339 | static uint64 extract_code_1_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1337|
# 1338|
# 1339|-> static uint64 extract_code_1_0(uint64 instruction)
# 1340| {
# 1341| uint64 value = 0;
Error: COMPILER_WARNING: [#def176]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_s__se25_0_24_to_1_s1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1347:50: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1347 | static int64 extract_s__se25_0_24_to_1_s1(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1345|
# 1346|
# 1347|-> static int64 extract_s__se25_0_24_to_1_s1(uint64 instruction)
# 1348| {
# 1349| int64 value = 0;
Error: COMPILER_WARNING: [#def177]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_1_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1357:36: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1357 | static uint64 extract_u_1_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1355|
# 1356|
# 1357|-> static uint64 extract_u_1_0(uint64 instruction)
# 1358| {
# 1359| uint64 value = 0;
Error: COMPILER_WARNING: [#def178]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_3_8__s2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1365:40: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1365 | static uint64 extract_u_3_8__s2(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1363|
# 1364|
# 1365|-> static uint64 extract_u_3_8__s2(uint64 instruction)
# 1366| {
# 1367| uint64 value = 0;
Error: COMPILER_WARNING: [#def179]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_fd_15_14_13_12_11’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1374:48: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1374 | static uint64 extract_fd_15_14_13_12_11(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1372|
# 1373|
# 1374|-> static uint64 extract_fd_15_14_13_12_11(uint64 instruction)
# 1375| {
# 1376| uint64 value = 0;
Error: COMPILER_WARNING: [#def180]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_4_3_2_1_0__s2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1382:46: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1382 | static uint64 extract_u_4_3_2_1_0__s2(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1380|
# 1381|
# 1382|-> static uint64 extract_u_4_3_2_1_0__s2(uint64 instruction)
# 1383| {
# 1384| uint64 value = 0;
Error: COMPILER_WARNING: [#def181]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_rtz4_9_7_6_5’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1390:43: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1390 | static uint64 extract_rtz4_9_7_6_5(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1388|
# 1389|
# 1390|-> static uint64 extract_rtz4_9_7_6_5(uint64 instruction)
# 1391| {
# 1392| uint64 value = 0;
Error: COMPILER_WARNING: [#def182]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_sel_15_14_13_12_11’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1399:49: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1399 | static uint64 extract_sel_15_14_13_12_11(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1397|
# 1398|
# 1399|-> static uint64 extract_sel_15_14_13_12_11(uint64 instruction)
# 1400| {
# 1401| uint64 value = 0;
Error: COMPILER_WARNING: [#def183]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_ct_25_24_23_22_21’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1407:48: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1407 | static uint64 extract_ct_25_24_23_22_21(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1405|
# 1406|
# 1407|-> static uint64 extract_ct_25_24_23_22_21(uint64 instruction)
# 1408| {
# 1409| uint64 value = 0;
Error: COMPILER_WARNING: [#def184]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_20_to_2__s2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1415:44: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1415 | static uint64 extract_u_20_to_2__s2(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1413|
# 1414|
# 1415|-> static uint64 extract_u_20_to_2__s2(uint64 instruction)
# 1416| {
# 1417| uint64 value = 0;
Error: COMPILER_WARNING: [#def185]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_s__se3_4_2_1_0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1423:44: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1423 | static int64 extract_s__se3_4_2_1_0(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1421|
# 1422|
# 1423|-> static int64 extract_s__se3_4_2_1_0(uint64 instruction)
# 1424| {
# 1425| int64 value = 0;
Error: COMPILER_WARNING: [#def186]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘extract_u_3_2_1_0__s1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1433:44: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1433 | static uint64 extract_u_3_2_1_0__s1(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1431|
# 1432|
# 1433|-> static uint64 extract_u_3_2_1_0__s1(uint64 instruction)
# 1434| {
# 1435| uint64 value = 0;
Error: COMPILER_WARNING: [#def187]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDIU_32__cond’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1442:35: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1442 | static bool ADDIU_32__cond(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1440|
# 1441|
# 1442|-> static bool ADDIU_32__cond(uint64 instruction)
# 1443| {
# 1444| uint64 rt = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def188]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDIU_RS5__cond’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1449:36: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1449 | static bool ADDIU_RS5__cond(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1447|
# 1448|
# 1449|-> static bool ADDIU_RS5__cond(uint64 instruction)
# 1450| {
# 1451| uint64 rt = extract_rt_9_8_7_6_5(instruction);
Error: COMPILER_WARNING: [#def189]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BALRSC_cond’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1456:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1456 | static bool BALRSC_cond(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1454|
# 1455|
# 1456|-> static bool BALRSC_cond(uint64 instruction)
# 1457| {
# 1458| uint64 rt = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def190]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BEQC_16__cond’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1463:34: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1463 | static bool BEQC_16__cond(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1461|
# 1462|
# 1463|-> static bool BEQC_16__cond(uint64 instruction)
# 1464| {
# 1465| uint64 rs3 = extract_rs3_6_5_4(instruction);
Error: COMPILER_WARNING: [#def191]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BNEC_16__cond’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1472:34: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1472 | static bool BNEC_16__cond(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1470|
# 1471|
# 1472|-> static bool BNEC_16__cond(uint64 instruction)
# 1473| {
# 1474| uint64 rs3 = extract_rs3_6_5_4(instruction);
Error: COMPILER_WARNING: [#def192]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MOVE_cond’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1481:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1481 | static bool MOVE_cond(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1479|
# 1480|
# 1481|-> static bool MOVE_cond(uint64 instruction)
# 1482| {
# 1483| uint64 rt = extract_rt_9_8_7_6_5(instruction);
Error: COMPILER_WARNING: [#def193]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘P16_BR1_cond’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1488:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1488 | static bool P16_BR1_cond(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1486|
# 1487|
# 1488|-> static bool P16_BR1_cond(uint64 instruction)
# 1489| {
# 1490| uint64 u = extract_u_3_2_1_0__s1(instruction);
Error: COMPILER_WARNING: [#def194]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PREF_S9__cond’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1495:34: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1495 | static bool PREF_S9__cond(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1493|
# 1494|
# 1495|-> static bool PREF_S9__cond(uint64 instruction)
# 1496| {
# 1497| uint64 hint = extract_hint_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def195]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PREFE_cond’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1502:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1502 | static bool PREFE_cond(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1500|
# 1501|
# 1502|-> static bool PREFE_cond(uint64 instruction)
# 1503| {
# 1504| uint64 hint = extract_hint_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def196]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SLTU_cond’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1509:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1509 | static bool SLTU_cond(uint64 instruction)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1507|
# 1508|
# 1509|-> static bool SLTU_cond(uint64 instruction)
# 1510| {
# 1511| uint64 rd = extract_rd_15_14_13_12_11(instruction);
Error: COMPILER_WARNING: [#def197]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ABS_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1527:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1527 | static char *ABS_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1525| * fd -----
# 1526| */
# 1527|-> static char *ABS_D(uint64 instruction, Dis_info *info)
# 1528| {
# 1529| uint64 fd_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def198]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ABS_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1549:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1549 | static char *ABS_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1547| * fs -----
# 1548| */
# 1549|-> static char *ABS_S(uint64 instruction, Dis_info *info)
# 1550| {
# 1551| uint64 fd_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def199]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ABSQ_S_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1571:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1571 | static char *ABSQ_S_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1569| * rs -----
# 1570| */
# 1571|-> static char *ABSQ_S_PH(uint64 instruction, Dis_info *info)
# 1572| {
# 1573| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def200]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ABSQ_S_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1593:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1593 | static char *ABSQ_S_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1591| * rs -----
# 1592| */
# 1593|-> static char *ABSQ_S_QB(uint64 instruction, Dis_info *info)
# 1594| {
# 1595| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def201]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ABSQ_S_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1615:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1615 | static char *ABSQ_S_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1613| * rs -----
# 1614| */
# 1615|-> static char *ABSQ_S_W(uint64 instruction, Dis_info *info)
# 1616| {
# 1617| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def202]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ACLR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1636:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1636 | static char *ACLR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1634| * rs -----
# 1635| */
# 1636|-> static char *ACLR(uint64 instruction, Dis_info *info)
# 1637| {
# 1638| uint64 bit_value = extract_bit_23_22_21(instruction);
Error: COMPILER_WARNING: [#def203]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADD’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1658:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1658 | static char *ADD(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1656| * rs -----
# 1657| */
# 1658|-> static char *ADD(uint64 instruction, Dis_info *info)
# 1659| {
# 1660| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def204]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADD_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1683:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1683 | static char *ADD_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1681| * fd -----
# 1682| */
# 1683|-> static char *ADD_D(uint64 instruction, Dis_info *info)
# 1684| {
# 1685| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def205]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADD_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1708:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1708 | static char *ADD_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1706| * fd -----
# 1707| */
# 1708|-> static char *ADD_S(uint64 instruction, Dis_info *info)
# 1709| {
# 1710| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def206]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDIU_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1731:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1731 | static char *ADDIU_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1729| * rs -----
# 1730| */
# 1731|-> static char *ADDIU_32_(uint64 instruction, Dis_info *info)
# 1732| {
# 1733| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def207]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDIU_48_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1753:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1753 | static char *ADDIU_48_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1751| * rs -----
# 1752| */
# 1753|-> static char *ADDIU_48_(uint64 instruction, Dis_info *info)
# 1754| {
# 1755| uint64 rt_value = extract_rt_41_40_39_38_37(instruction);
Error: COMPILER_WARNING: [#def208]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDIU_GP48_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1773:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1773 | static char *ADDIU_GP48_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1771| * rs -----
# 1772| */
# 1773|-> static char *ADDIU_GP48_(uint64 instruction, Dis_info *info)
# 1774| {
# 1775| uint64 rt_value = extract_rt_41_40_39_38_37(instruction);
Error: COMPILER_WARNING: [#def209]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDIU_GP_B_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1793:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1793 | static char *ADDIU_GP_B_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1791| * rs -----
# 1792| */
# 1793|-> static char *ADDIU_GP_B_(uint64 instruction, Dis_info *info)
# 1794| {
# 1795| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def210]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDIU_GP_W_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1813:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1813 | static char *ADDIU_GP_W_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1811| * rs -----
# 1812| */
# 1813|-> static char *ADDIU_GP_W_(uint64 instruction, Dis_info *info)
# 1814| {
# 1815| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def211]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDIU_NEG_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1833:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1833 | static char *ADDIU_NEG_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1831| * rs -----
# 1832| */
# 1833|-> static char *ADDIU_NEG_(uint64 instruction, Dis_info *info)
# 1834| {
# 1835| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def212]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDIU_R1_SP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1856:34: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1856 | static char *ADDIU_R1_SP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1854| * rs -----
# 1855| */
# 1856|-> static char *ADDIU_R1_SP_(uint64 instruction, Dis_info *info)
# 1857| {
# 1858| uint64 u_value = extract_u_5_4_3_2_1_0__s2(instruction);
Error: COMPILER_WARNING: [#def213]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDIU_R2_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1876:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1876 | static char *ADDIU_R2_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1874| * rs -----
# 1875| */
# 1876|-> static char *ADDIU_R2_(uint64 instruction, Dis_info *info)
# 1877| {
# 1878| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def214]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDIU_RS5_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1897:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1897 | static char *ADDIU_RS5_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1895| * s - ---
# 1896| */
# 1897|-> static char *ADDIU_RS5_(uint64 instruction, Dis_info *info)
# 1898| {
# 1899| uint64 rt_value = extract_rt_9_8_7_6_5(instruction);
Error: COMPILER_WARNING: [#def215]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDIUPC_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1918:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1918 | static char *ADDIUPC_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1916| * rd -----
# 1917| */
# 1918|-> static char *ADDIUPC_32_(uint64 instruction, Dis_info *info)
# 1919| {
# 1920| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def216]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDIUPC_48_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1940:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1940 | static char *ADDIUPC_48_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1938| * rd -----
# 1939| */
# 1940|-> static char *ADDIUPC_48_(uint64 instruction, Dis_info *info)
# 1941| {
# 1942| uint64 rt_value = extract_rt_41_40_39_38_37(instruction);
Error: COMPILER_WARNING: [#def217]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDQ_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1962:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1962 | static char *ADDQ_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1960| * rd -----
# 1961| */
# 1962|-> static char *ADDQ_PH(uint64 instruction, Dis_info *info)
# 1963| {
# 1964| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def218]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDQ_S_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:1987:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 1987 | static char *ADDQ_S_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 1985| * rd -----
# 1986| */
# 1987|-> static char *ADDQ_S_PH(uint64 instruction, Dis_info *info)
# 1988| {
# 1989| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def219]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDQ_S_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2011:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2011 | static char *ADDQ_S_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2009| * rd -----
# 2010| */
# 2011|-> static char *ADDQ_S_W(uint64 instruction, Dis_info *info)
# 2012| {
# 2013| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def220]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDQH_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2036:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2036 | static char *ADDQH_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2034| * rd -----
# 2035| */
# 2036|-> static char *ADDQH_PH(uint64 instruction, Dis_info *info)
# 2037| {
# 2038| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def221]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDQH_R_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2061:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2061 | static char *ADDQH_R_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2059| * rd -----
# 2060| */
# 2061|-> static char *ADDQH_R_PH(uint64 instruction, Dis_info *info)
# 2062| {
# 2063| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def222]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDQH_R_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2086:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2086 | static char *ADDQH_R_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2084| * rd -----
# 2085| */
# 2086|-> static char *ADDQH_R_W(uint64 instruction, Dis_info *info)
# 2087| {
# 2088| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def223]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDQH_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2111:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2111 | static char *ADDQH_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2109| * rd -----
# 2110| */
# 2111|-> static char *ADDQH_W(uint64 instruction, Dis_info *info)
# 2112| {
# 2113| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def224]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDSC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2135:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2135 | static char *ADDSC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2133| * rd -----
# 2134| */
# 2135|-> static char *ADDSC(uint64 instruction, Dis_info *info)
# 2136| {
# 2137| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def225]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDU_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2158:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2158 | static char *ADDU_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2156| * rd3 ---
# 2157| */
# 2158|-> static char *ADDU_16_(uint64 instruction, Dis_info *info)
# 2159| {
# 2160| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def226]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDU_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2182:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2182 | static char *ADDU_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2180| * rd -----
# 2181| */
# 2182|-> static char *ADDU_32_(uint64 instruction, Dis_info *info)
# 2183| {
# 2184| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def227]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDU_4X4_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2206:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2206 | static char *ADDU_4X4_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2204| * rd -----
# 2205| */
# 2206|-> static char *ADDU_4X4_(uint64 instruction, Dis_info *info)
# 2207| {
# 2208| uint64 rt4_value = extract_rt4_9_7_6_5(instruction);
Error: COMPILER_WARNING: [#def228]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDU_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2228:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2228 | static char *ADDU_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2226| * rd -----
# 2227| */
# 2228|-> static char *ADDU_PH(uint64 instruction, Dis_info *info)
# 2229| {
# 2230| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def229]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDU_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2252:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2252 | static char *ADDU_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2250| * rd -----
# 2251| */
# 2252|-> static char *ADDU_QB(uint64 instruction, Dis_info *info)
# 2253| {
# 2254| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def230]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDU_S_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2277:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2277 | static char *ADDU_S_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2275| * rd -----
# 2276| */
# 2277|-> static char *ADDU_S_PH(uint64 instruction, Dis_info *info)
# 2278| {
# 2279| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def231]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDU_S_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2301:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2301 | static char *ADDU_S_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2299| * rd -----
# 2300| */
# 2301|-> static char *ADDU_S_QB(uint64 instruction, Dis_info *info)
# 2302| {
# 2303| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def232]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDUH_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2326:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2326 | static char *ADDUH_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2324| * rd -----
# 2325| */
# 2326|-> static char *ADDUH_QB(uint64 instruction, Dis_info *info)
# 2327| {
# 2328| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def233]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDUH_R_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2351:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2351 | static char *ADDUH_R_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2349| * rd -----
# 2350| */
# 2351|-> static char *ADDUH_R_QB(uint64 instruction, Dis_info *info)
# 2352| {
# 2353| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def234]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ADDWC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2374:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2374 | static char *ADDWC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2372| * rd -----
# 2373| */
# 2374|-> static char *ADDWC(uint64 instruction, Dis_info *info)
# 2375| {
# 2376| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def235]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ALUIPC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2398:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2398 | static char *ALUIPC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2396| * rd -----
# 2397| */
# 2398|-> static char *ALUIPC(uint64 instruction, Dis_info *info)
# 2399| {
# 2400| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def236]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘AND_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2419:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2419 | static char *AND_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2417| * eu ----
# 2418| */
# 2419|-> static char *AND_16_(uint64 instruction, Dis_info *info)
# 2420| {
# 2421| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def237]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘AND_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2441:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2441 | static char *AND_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2439| * rd -----
# 2440| */
# 2441|-> static char *AND_32_(uint64 instruction, Dis_info *info)
# 2442| {
# 2443| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def238]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ANDI_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2464:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2464 | static char *ANDI_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2462| * eu ----
# 2463| */
# 2464|-> static char *ANDI_16_(uint64 instruction, Dis_info *info)
# 2465| {
# 2466| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def239]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ANDI_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2488:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2488 | static char *ANDI_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2486| * rd -----
# 2487| */
# 2488|-> static char *ANDI_32_(uint64 instruction, Dis_info *info)
# 2489| {
# 2490| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def240]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘APPEND’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2511:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2511 | static char *APPEND(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2509| * rd -----
# 2510| */
# 2511|-> static char *APPEND(uint64 instruction, Dis_info *info)
# 2512| {
# 2513| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def241]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ASET’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2534:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2534 | static char *ASET(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2532| * rd -----
# 2533| */
# 2534|-> static char *ASET(uint64 instruction, Dis_info *info)
# 2535| {
# 2536| uint64 bit_value = extract_bit_23_22_21(instruction);
Error: COMPILER_WARNING: [#def242]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BALC_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2557:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2557 | static char *BALC_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2555| * rd -----
# 2556| */
# 2557|-> static char *BALC_16_(uint64 instruction, Dis_info *info)
# 2558| {
# 2559| int64 s_value = extract_s__se10_0_9_8_7_6_5_4_3_2_1_s1(instruction);
Error: COMPILER_WARNING: [#def243]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BALC_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2577:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2577 | static char *BALC_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2575| * rd -----
# 2576| */
# 2577|-> static char *BALC_32_(uint64 instruction, Dis_info *info)
# 2578| {
# 2579| int64 s_value = extract_s__se25_0_24_to_1_s1(instruction);
Error: COMPILER_WARNING: [#def244]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BALRSC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2597:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2597 | static char *BALRSC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2595| * rd -----
# 2596| */
# 2597|-> static char *BALRSC(uint64 instruction, Dis_info *info)
# 2598| {
# 2599| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def245]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BBEQZC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2619:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2619 | static char *BBEQZC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2617| * rd -----
# 2618| */
# 2619|-> static char *BBEQZC(uint64 instruction, Dis_info *info)
# 2620| {
# 2621| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def246]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BBNEZC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2642:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2642 | static char *BBNEZC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2640| * rd -----
# 2641| */
# 2642|-> static char *BBNEZC(uint64 instruction, Dis_info *info)
# 2643| {
# 2644| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def247]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BC_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2665:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2665 | static char *BC_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2663| * rd -----
# 2664| */
# 2665|-> static char *BC_16_(uint64 instruction, Dis_info *info)
# 2666| {
# 2667| int64 s_value = extract_s__se10_0_9_8_7_6_5_4_3_2_1_s1(instruction);
Error: COMPILER_WARNING: [#def248]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BC_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2685:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2685 | static char *BC_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2683| * rd -----
# 2684| */
# 2685|-> static char *BC_32_(uint64 instruction, Dis_info *info)
# 2686| {
# 2687| int64 s_value = extract_s__se25_0_24_to_1_s1(instruction);
Error: COMPILER_WARNING: [#def249]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BC1EQZC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2705:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2705 | static char *BC1EQZC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2703| * rd -----
# 2704| */
# 2705|-> static char *BC1EQZC(uint64 instruction, Dis_info *info)
# 2706| {
# 2707| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def250]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BC1NEZC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2727:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2727 | static char *BC1NEZC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2725| * rd -----
# 2726| */
# 2727|-> static char *BC1NEZC(uint64 instruction, Dis_info *info)
# 2728| {
# 2729| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def251]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BC2EQZC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2749:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2749 | static char *BC2EQZC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2747| * rd -----
# 2748| */
# 2749|-> static char *BC2EQZC(uint64 instruction, Dis_info *info)
# 2750| {
# 2751| uint64 ct_value = extract_ct_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def252]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BC2NEZC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2770:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2770 | static char *BC2NEZC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2768| * rd -----
# 2769| */
# 2770|-> static char *BC2NEZC(uint64 instruction, Dis_info *info)
# 2771| {
# 2772| uint64 ct_value = extract_ct_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def253]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BEQC_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2791:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2791 | static char *BEQC_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2789| * rd -----
# 2790| */
# 2791|-> static char *BEQC_16_(uint64 instruction, Dis_info *info)
# 2792| {
# 2793| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def254]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BEQC_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2815:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2815 | static char *BEQC_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2813| * rd -----
# 2814| */
# 2815|-> static char *BEQC_32_(uint64 instruction, Dis_info *info)
# 2816| {
# 2817| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def255]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BEQIC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2839:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2839 | static char *BEQIC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2837| * rd -----
# 2838| */
# 2839|-> static char *BEQIC(uint64 instruction, Dis_info *info)
# 2840| {
# 2841| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def256]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BEQZC_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2862:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2862 | static char *BEQZC_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2860| * rd -----
# 2861| */
# 2862|-> static char *BEQZC_16_(uint64 instruction, Dis_info *info)
# 2863| {
# 2864| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def257]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BGEC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2884:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2884 | static char *BGEC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2882| * rd -----
# 2883| */
# 2884|-> static char *BGEC(uint64 instruction, Dis_info *info)
# 2885| {
# 2886| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def258]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BGEIC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2908:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2908 | static char *BGEIC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2906| * rd -----
# 2907| */
# 2908|-> static char *BGEIC(uint64 instruction, Dis_info *info)
# 2909| {
# 2910| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def259]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BGEIUC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2931:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2931 | static char *BGEIUC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2929| * rd -----
# 2930| */
# 2931|-> static char *BGEIUC(uint64 instruction, Dis_info *info)
# 2932| {
# 2933| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def260]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BGEUC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2954:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2954 | static char *BGEUC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2952| * rd -----
# 2953| */
# 2954|-> static char *BGEUC(uint64 instruction, Dis_info *info)
# 2955| {
# 2956| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def261]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BLTC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:2978:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 2978 | static char *BLTC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 2976| * rd -----
# 2977| */
# 2978|-> static char *BLTC(uint64 instruction, Dis_info *info)
# 2979| {
# 2980| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def262]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BLTIC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3002:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3002 | static char *BLTIC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3000| * rd -----
# 3001| */
# 3002|-> static char *BLTIC(uint64 instruction, Dis_info *info)
# 3003| {
# 3004| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def263]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BLTIUC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3025:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3025 | static char *BLTIUC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3023| * rd -----
# 3024| */
# 3025|-> static char *BLTIUC(uint64 instruction, Dis_info *info)
# 3026| {
# 3027| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def264]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BLTUC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3048:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3048 | static char *BLTUC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3046| * rd -----
# 3047| */
# 3048|-> static char *BLTUC(uint64 instruction, Dis_info *info)
# 3049| {
# 3050| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def265]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BNEC_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3072:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3072 | static char *BNEC_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3070| * rd -----
# 3071| */
# 3072|-> static char *BNEC_16_(uint64 instruction, Dis_info *info)
# 3073| {
# 3074| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def266]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BNEC_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3096:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3096 | static char *BNEC_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3094| * rd -----
# 3095| */
# 3096|-> static char *BNEC_32_(uint64 instruction, Dis_info *info)
# 3097| {
# 3098| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def267]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BNEIC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3120:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3120 | static char *BNEIC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3118| * rd -----
# 3119| */
# 3120|-> static char *BNEIC(uint64 instruction, Dis_info *info)
# 3121| {
# 3122| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def268]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BNEZC_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3143:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3143 | static char *BNEZC_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3141| * rd -----
# 3142| */
# 3143|-> static char *BNEZC_16_(uint64 instruction, Dis_info *info)
# 3144| {
# 3145| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def269]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BPOSGE32C’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3165:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3165 | static char *BPOSGE32C(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3163| * s[14] -
# 3164| */
# 3165|-> static char *BPOSGE32C(uint64 instruction, Dis_info *info)
# 3166| {
# 3167| int64 s_value = extract_s__se14_0_13_to_1_s1(instruction);
Error: COMPILER_WARNING: [#def270]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BREAK_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3185:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3185 | static char *BREAK_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3183| * rd -----
# 3184| */
# 3185|-> static char *BREAK_16_(uint64 instruction, Dis_info *info)
# 3186| {
# 3187| uint64 code_value = extract_code_2_1_0(instruction);
Error: COMPILER_WARNING: [#def271]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BREAK_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3204:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3204 | static char *BREAK_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3202| * rd -----
# 3203| */
# 3204|-> static char *BREAK_32_(uint64 instruction, Dis_info *info)
# 3205| {
# 3206| uint64 code_value = extract_code_18_to_0(instruction);
Error: COMPILER_WARNING: [#def272]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘BRSC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3223:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3223 | static char *BRSC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3221| * rd -----
# 3222| */
# 3223|-> static char *BRSC(uint64 instruction, Dis_info *info)
# 3224| {
# 3225| uint64 rs_value = extract_rs_20_19_18_17_16(instruction);
Error: COMPILER_WARNING: [#def273]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CACHE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3243:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3243 | static char *CACHE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3241| * rd -----
# 3242| */
# 3243|-> static char *CACHE(uint64 instruction, Dis_info *info)
# 3244| {
# 3245| uint64 op_value = extract_op_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def274]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CACHEE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3266:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3266 | static char *CACHEE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3264| * rd -----
# 3265| */
# 3266|-> static char *CACHEE(uint64 instruction, Dis_info *info)
# 3267| {
# 3268| uint64 op_value = extract_op_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def275]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CEIL_L_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3289:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3289 | static char *CEIL_L_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3287| * rd -----
# 3288| */
# 3289|-> static char *CEIL_L_D(uint64 instruction, Dis_info *info)
# 3290| {
# 3291| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def276]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CEIL_L_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3311:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3311 | static char *CEIL_L_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3309| * rd -----
# 3310| */
# 3311|-> static char *CEIL_L_S(uint64 instruction, Dis_info *info)
# 3312| {
# 3313| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def277]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CEIL_W_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3333:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3333 | static char *CEIL_W_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3331| * rd -----
# 3332| */
# 3333|-> static char *CEIL_W_D(uint64 instruction, Dis_info *info)
# 3334| {
# 3335| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def278]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CEIL_W_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3355:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3355 | static char *CEIL_W_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3353| * rd -----
# 3354| */
# 3355|-> static char *CEIL_W_S(uint64 instruction, Dis_info *info)
# 3356| {
# 3357| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def279]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CFC1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3377:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3377 | static char *CFC1(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3375| * rd -----
# 3376| */
# 3377|-> static char *CFC1(uint64 instruction, Dis_info *info)
# 3378| {
# 3379| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def280]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CFC2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3398:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3398 | static char *CFC2(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3396| * rd -----
# 3397| */
# 3398|-> static char *CFC2(uint64 instruction, Dis_info *info)
# 3399| {
# 3400| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def281]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CLASS_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3419:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3419 | static char *CLASS_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3417| * rd -----
# 3418| */
# 3419|-> static char *CLASS_D(uint64 instruction, Dis_info *info)
# 3420| {
# 3421| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def282]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CLASS_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3441:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3441 | static char *CLASS_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3439| * rd -----
# 3440| */
# 3441|-> static char *CLASS_S(uint64 instruction, Dis_info *info)
# 3442| {
# 3443| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def283]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CLO’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3463:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3463 | static char *CLO(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3461| * rd -----
# 3462| */
# 3463|-> static char *CLO(uint64 instruction, Dis_info *info)
# 3464| {
# 3465| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def284]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CLZ’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3485:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3485 | static char *CLZ(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3483| * rd -----
# 3484| */
# 3485|-> static char *CLZ(uint64 instruction, Dis_info *info)
# 3486| {
# 3487| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def285]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_AF_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3507:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3507 | static char *CMP_AF_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3505| * rd -----
# 3506| */
# 3507|-> static char *CMP_AF_D(uint64 instruction, Dis_info *info)
# 3508| {
# 3509| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def286]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_AF_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3531:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3531 | static char *CMP_AF_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3529| * rd -----
# 3530| */
# 3531|-> static char *CMP_AF_S(uint64 instruction, Dis_info *info)
# 3532| {
# 3533| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def287]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_EQ_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3555:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3555 | static char *CMP_EQ_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3553| * rd -----
# 3554| */
# 3555|-> static char *CMP_EQ_D(uint64 instruction, Dis_info *info)
# 3556| {
# 3557| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def288]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_EQ_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3578:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3578 | static char *CMP_EQ_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3576| * rs -----
# 3577| */
# 3578|-> static char *CMP_EQ_PH(uint64 instruction, Dis_info *info)
# 3579| {
# 3580| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def289]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_EQ_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3600:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3600 | static char *CMP_EQ_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3598| * rd -----
# 3599| */
# 3600|-> static char *CMP_EQ_S(uint64 instruction, Dis_info *info)
# 3601| {
# 3602| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def290]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_LE_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3624:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3624 | static char *CMP_LE_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3622| * rd -----
# 3623| */
# 3624|-> static char *CMP_LE_D(uint64 instruction, Dis_info *info)
# 3625| {
# 3626| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def291]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_LE_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3647:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3647 | static char *CMP_LE_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3645| * rs -----
# 3646| */
# 3647|-> static char *CMP_LE_PH(uint64 instruction, Dis_info *info)
# 3648| {
# 3649| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def292]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_LE_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3669:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3669 | static char *CMP_LE_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3667| * rd -----
# 3668| */
# 3669|-> static char *CMP_LE_S(uint64 instruction, Dis_info *info)
# 3670| {
# 3671| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def293]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_LT_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3693:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3693 | static char *CMP_LT_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3691| * rd -----
# 3692| */
# 3693|-> static char *CMP_LT_D(uint64 instruction, Dis_info *info)
# 3694| {
# 3695| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def294]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_LT_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3716:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3716 | static char *CMP_LT_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3714| * rs -----
# 3715| */
# 3716|-> static char *CMP_LT_PH(uint64 instruction, Dis_info *info)
# 3717| {
# 3718| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def295]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_LT_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3738:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3738 | static char *CMP_LT_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3736| * rd -----
# 3737| */
# 3738|-> static char *CMP_LT_S(uint64 instruction, Dis_info *info)
# 3739| {
# 3740| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def296]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_NE_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3762:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3762 | static char *CMP_NE_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3760| * rd -----
# 3761| */
# 3762|-> static char *CMP_NE_D(uint64 instruction, Dis_info *info)
# 3763| {
# 3764| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def297]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_NE_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3786:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3786 | static char *CMP_NE_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3784| * rd -----
# 3785| */
# 3786|-> static char *CMP_NE_S(uint64 instruction, Dis_info *info)
# 3787| {
# 3788| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def298]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_OR_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3810:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3810 | static char *CMP_OR_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3808| * rd -----
# 3809| */
# 3810|-> static char *CMP_OR_D(uint64 instruction, Dis_info *info)
# 3811| {
# 3812| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def299]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_OR_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3834:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3834 | static char *CMP_OR_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3832| * rd -----
# 3833| */
# 3834|-> static char *CMP_OR_S(uint64 instruction, Dis_info *info)
# 3835| {
# 3836| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def300]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SAF_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3858:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3858 | static char *CMP_SAF_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3856| * rd -----
# 3857| */
# 3858|-> static char *CMP_SAF_D(uint64 instruction, Dis_info *info)
# 3859| {
# 3860| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def301]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SAF_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3882:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3882 | static char *CMP_SAF_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3880| * rd -----
# 3881| */
# 3882|-> static char *CMP_SAF_S(uint64 instruction, Dis_info *info)
# 3883| {
# 3884| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def302]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SEQ_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3906:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3906 | static char *CMP_SEQ_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3904| * rd -----
# 3905| */
# 3906|-> static char *CMP_SEQ_D(uint64 instruction, Dis_info *info)
# 3907| {
# 3908| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def303]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SEQ_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3930:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3930 | static char *CMP_SEQ_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3928| * rd -----
# 3929| */
# 3930|-> static char *CMP_SEQ_S(uint64 instruction, Dis_info *info)
# 3931| {
# 3932| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def304]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SLE_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3954:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3954 | static char *CMP_SLE_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3952| * rd -----
# 3953| */
# 3954|-> static char *CMP_SLE_D(uint64 instruction, Dis_info *info)
# 3955| {
# 3956| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def305]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SLE_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:3978:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 3978 | static char *CMP_SLE_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 3976| * rd -----
# 3977| */
# 3978|-> static char *CMP_SLE_S(uint64 instruction, Dis_info *info)
# 3979| {
# 3980| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def306]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SLT_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4002:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4002 | static char *CMP_SLT_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4000| * rd -----
# 4001| */
# 4002|-> static char *CMP_SLT_D(uint64 instruction, Dis_info *info)
# 4003| {
# 4004| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def307]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SLT_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4026:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4026 | static char *CMP_SLT_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4024| * rd -----
# 4025| */
# 4026|-> static char *CMP_SLT_S(uint64 instruction, Dis_info *info)
# 4027| {
# 4028| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def308]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SNE_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4050:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4050 | static char *CMP_SNE_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4048| * rd -----
# 4049| */
# 4050|-> static char *CMP_SNE_D(uint64 instruction, Dis_info *info)
# 4051| {
# 4052| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def309]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SNE_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4074:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4074 | static char *CMP_SNE_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4072| * rd -----
# 4073| */
# 4074|-> static char *CMP_SNE_S(uint64 instruction, Dis_info *info)
# 4075| {
# 4076| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def310]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SOR_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4098:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4098 | static char *CMP_SOR_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4096| * rd -----
# 4097| */
# 4098|-> static char *CMP_SOR_D(uint64 instruction, Dis_info *info)
# 4099| {
# 4100| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def311]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SOR_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4122:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4122 | static char *CMP_SOR_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4120| * rd -----
# 4121| */
# 4122|-> static char *CMP_SOR_S(uint64 instruction, Dis_info *info)
# 4123| {
# 4124| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def312]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SUEQ_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4146:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4146 | static char *CMP_SUEQ_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4144| * rd -----
# 4145| */
# 4146|-> static char *CMP_SUEQ_D(uint64 instruction, Dis_info *info)
# 4147| {
# 4148| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def313]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SUEQ_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4170:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4170 | static char *CMP_SUEQ_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4168| * rd -----
# 4169| */
# 4170|-> static char *CMP_SUEQ_S(uint64 instruction, Dis_info *info)
# 4171| {
# 4172| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def314]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SULE_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4194:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4194 | static char *CMP_SULE_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4192| * rd -----
# 4193| */
# 4194|-> static char *CMP_SULE_D(uint64 instruction, Dis_info *info)
# 4195| {
# 4196| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def315]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SULE_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4218:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4218 | static char *CMP_SULE_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4216| * rd -----
# 4217| */
# 4218|-> static char *CMP_SULE_S(uint64 instruction, Dis_info *info)
# 4219| {
# 4220| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def316]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SULT_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4242:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4242 | static char *CMP_SULT_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4240| * rd -----
# 4241| */
# 4242|-> static char *CMP_SULT_D(uint64 instruction, Dis_info *info)
# 4243| {
# 4244| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def317]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SULT_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4266:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4266 | static char *CMP_SULT_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4264| * rd -----
# 4265| */
# 4266|-> static char *CMP_SULT_S(uint64 instruction, Dis_info *info)
# 4267| {
# 4268| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def318]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SUN_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4290:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4290 | static char *CMP_SUN_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4288| * rd -----
# 4289| */
# 4290|-> static char *CMP_SUN_D(uint64 instruction, Dis_info *info)
# 4291| {
# 4292| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def319]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SUNE_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4314:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4314 | static char *CMP_SUNE_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4312| * rd -----
# 4313| */
# 4314|-> static char *CMP_SUNE_D(uint64 instruction, Dis_info *info)
# 4315| {
# 4316| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def320]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SUNE_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4338:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4338 | static char *CMP_SUNE_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4336| * rd -----
# 4337| */
# 4338|-> static char *CMP_SUNE_S(uint64 instruction, Dis_info *info)
# 4339| {
# 4340| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def321]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_SUN_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4362:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4362 | static char *CMP_SUN_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4360| * rd -----
# 4361| */
# 4362|-> static char *CMP_SUN_S(uint64 instruction, Dis_info *info)
# 4363| {
# 4364| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def322]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_UEQ_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4386:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4386 | static char *CMP_UEQ_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4384| * rd -----
# 4385| */
# 4386|-> static char *CMP_UEQ_D(uint64 instruction, Dis_info *info)
# 4387| {
# 4388| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def323]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_UEQ_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4410:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4410 | static char *CMP_UEQ_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4408| * rd -----
# 4409| */
# 4410|-> static char *CMP_UEQ_S(uint64 instruction, Dis_info *info)
# 4411| {
# 4412| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def324]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_ULE_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4434:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4434 | static char *CMP_ULE_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4432| * rd -----
# 4433| */
# 4434|-> static char *CMP_ULE_D(uint64 instruction, Dis_info *info)
# 4435| {
# 4436| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def325]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_ULE_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4458:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4458 | static char *CMP_ULE_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4456| * rd -----
# 4457| */
# 4458|-> static char *CMP_ULE_S(uint64 instruction, Dis_info *info)
# 4459| {
# 4460| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def326]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_ULT_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4482:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4482 | static char *CMP_ULT_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4480| * rd -----
# 4481| */
# 4482|-> static char *CMP_ULT_D(uint64 instruction, Dis_info *info)
# 4483| {
# 4484| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def327]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_ULT_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4506:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4506 | static char *CMP_ULT_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4504| * rd -----
# 4505| */
# 4506|-> static char *CMP_ULT_S(uint64 instruction, Dis_info *info)
# 4507| {
# 4508| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def328]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_UN_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4530:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4530 | static char *CMP_UN_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4528| * rd -----
# 4529| */
# 4530|-> static char *CMP_UN_D(uint64 instruction, Dis_info *info)
# 4531| {
# 4532| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def329]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_UNE_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4554:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4554 | static char *CMP_UNE_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4552| * rd -----
# 4553| */
# 4554|-> static char *CMP_UNE_D(uint64 instruction, Dis_info *info)
# 4555| {
# 4556| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def330]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_UNE_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4578:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4578 | static char *CMP_UNE_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4576| * rd -----
# 4577| */
# 4578|-> static char *CMP_UNE_S(uint64 instruction, Dis_info *info)
# 4579| {
# 4580| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def331]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMP_UN_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4602:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4602 | static char *CMP_UN_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4600| * rd -----
# 4601| */
# 4602|-> static char *CMP_UN_S(uint64 instruction, Dis_info *info)
# 4603| {
# 4604| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def332]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMPGDU_EQ_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4627:34: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4627 | static char *CMPGDU_EQ_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4625| * rd -----
# 4626| */
# 4627|-> static char *CMPGDU_EQ_QB(uint64 instruction, Dis_info *info)
# 4628| {
# 4629| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def333]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMPGDU_LE_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4652:34: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4652 | static char *CMPGDU_LE_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4650| * rd -----
# 4651| */
# 4652|-> static char *CMPGDU_LE_QB(uint64 instruction, Dis_info *info)
# 4653| {
# 4654| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def334]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMPGDU_LT_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4677:34: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4677 | static char *CMPGDU_LT_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4675| * rd -----
# 4676| */
# 4677|-> static char *CMPGDU_LT_QB(uint64 instruction, Dis_info *info)
# 4678| {
# 4679| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def335]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMPGU_EQ_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4702:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4702 | static char *CMPGU_EQ_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4700| * rd -----
# 4701| */
# 4702|-> static char *CMPGU_EQ_QB(uint64 instruction, Dis_info *info)
# 4703| {
# 4704| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def336]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMPGU_LE_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4727:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4727 | static char *CMPGU_LE_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4725| * rd -----
# 4726| */
# 4727|-> static char *CMPGU_LE_QB(uint64 instruction, Dis_info *info)
# 4728| {
# 4729| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def337]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMPGU_LT_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4752:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4752 | static char *CMPGU_LT_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4750| * rd -----
# 4751| */
# 4752|-> static char *CMPGU_LT_QB(uint64 instruction, Dis_info *info)
# 4753| {
# 4754| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def338]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMPU_EQ_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4776:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4776 | static char *CMPU_EQ_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4774| * rs -----
# 4775| */
# 4776|-> static char *CMPU_EQ_QB(uint64 instruction, Dis_info *info)
# 4777| {
# 4778| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def339]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMPU_LE_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4798:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4798 | static char *CMPU_LE_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4796| * rs -----
# 4797| */
# 4798|-> static char *CMPU_LE_QB(uint64 instruction, Dis_info *info)
# 4799| {
# 4800| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def340]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CMPU_LT_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4820:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4820 | static char *CMPU_LT_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4818| * rs -----
# 4819| */
# 4820|-> static char *CMPU_LT_QB(uint64 instruction, Dis_info *info)
# 4821| {
# 4822| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def341]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘COP2_1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4842:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4842 | static char *COP2_1(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4840| * rd -----
# 4841| */
# 4842|-> static char *COP2_1(uint64 instruction, Dis_info *info)
# 4843| {
# 4844| uint64 cofun_value = extract_cofun_25_24_23(instruction);
Error: COMPILER_WARNING: [#def342]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CTC1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4861:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4861 | static char *CTC1(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4859| * rd -----
# 4860| */
# 4861|-> static char *CTC1(uint64 instruction, Dis_info *info)
# 4862| {
# 4863| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def343]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CTC2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4882:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4882 | static char *CTC2(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4880| * rd -----
# 4881| */
# 4882|-> static char *CTC2(uint64 instruction, Dis_info *info)
# 4883| {
# 4884| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def344]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CVT_D_L’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4903:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4903 | static char *CVT_D_L(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4901| * rd -----
# 4902| */
# 4903|-> static char *CVT_D_L(uint64 instruction, Dis_info *info)
# 4904| {
# 4905| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def345]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CVT_D_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4925:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4925 | static char *CVT_D_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4923| * rd -----
# 4924| */
# 4925|-> static char *CVT_D_S(uint64 instruction, Dis_info *info)
# 4926| {
# 4927| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def346]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CVT_D_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4947:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4947 | static char *CVT_D_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4945| * rd -----
# 4946| */
# 4947|-> static char *CVT_D_W(uint64 instruction, Dis_info *info)
# 4948| {
# 4949| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def347]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CVT_L_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4969:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4969 | static char *CVT_L_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4967| * rd -----
# 4968| */
# 4969|-> static char *CVT_L_D(uint64 instruction, Dis_info *info)
# 4970| {
# 4971| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def348]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CVT_L_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:4991:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 4991 | static char *CVT_L_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 4989| * rd -----
# 4990| */
# 4991|-> static char *CVT_L_S(uint64 instruction, Dis_info *info)
# 4992| {
# 4993| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def349]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CVT_S_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5013:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5013 | static char *CVT_S_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5011| * rd -----
# 5012| */
# 5013|-> static char *CVT_S_D(uint64 instruction, Dis_info *info)
# 5014| {
# 5015| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def350]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CVT_S_L’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5035:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5035 | static char *CVT_S_L(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5033| * rd -----
# 5034| */
# 5035|-> static char *CVT_S_L(uint64 instruction, Dis_info *info)
# 5036| {
# 5037| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def351]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CVT_S_PL’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5057:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5057 | static char *CVT_S_PL(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5055| * rd -----
# 5056| */
# 5057|-> static char *CVT_S_PL(uint64 instruction, Dis_info *info)
# 5058| {
# 5059| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def352]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CVT_S_PU’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5079:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5079 | static char *CVT_S_PU(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5077| * rd -----
# 5078| */
# 5079|-> static char *CVT_S_PU(uint64 instruction, Dis_info *info)
# 5080| {
# 5081| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def353]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CVT_S_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5101:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5101 | static char *CVT_S_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5099| * rd -----
# 5100| */
# 5101|-> static char *CVT_S_W(uint64 instruction, Dis_info *info)
# 5102| {
# 5103| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def354]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CVT_W_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5123:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5123 | static char *CVT_W_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5121| * rd -----
# 5122| */
# 5123|-> static char *CVT_W_D(uint64 instruction, Dis_info *info)
# 5124| {
# 5125| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def355]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘CVT_W_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5145:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5145 | static char *CVT_W_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5143| * rd -----
# 5144| */
# 5145|-> static char *CVT_W_S(uint64 instruction, Dis_info *info)
# 5146| {
# 5147| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def356]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DADDIU_48_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5167:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5167 | static char *DADDIU_48_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5165| * rd -----
# 5166| */
# 5167|-> static char *DADDIU_48_(uint64 instruction, Dis_info *info)
# 5168| {
# 5169| uint64 rt_value = extract_rt_41_40_39_38_37(instruction);
Error: COMPILER_WARNING: [#def357]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DADDIU_NEG_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5188:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5188 | static char *DADDIU_NEG_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5186| * rd -----
# 5187| */
# 5188|-> static char *DADDIU_NEG_(uint64 instruction, Dis_info *info)
# 5189| {
# 5190| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def358]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DADDIU_U12_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5212:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5212 | static char *DADDIU_U12_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5210| * rd -----
# 5211| */
# 5212|-> static char *DADDIU_U12_(uint64 instruction, Dis_info *info)
# 5213| {
# 5214| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def359]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DADD’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5235:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5235 | static char *DADD(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5233| * rd -----
# 5234| */
# 5235|-> static char *DADD(uint64 instruction, Dis_info *info)
# 5236| {
# 5237| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def360]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DADDU’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5259:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5259 | static char *DADDU(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5257| * rd -----
# 5258| */
# 5259|-> static char *DADDU(uint64 instruction, Dis_info *info)
# 5260| {
# 5261| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def361]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DCLO’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5283:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5283 | static char *DCLO(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5281| * rd -----
# 5282| */
# 5283|-> static char *DCLO(uint64 instruction, Dis_info *info)
# 5284| {
# 5285| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def362]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DCLZ’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5305:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5305 | static char *DCLZ(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5303| * rd -----
# 5304| */
# 5305|-> static char *DCLZ(uint64 instruction, Dis_info *info)
# 5306| {
# 5307| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def363]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DDIV’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5327:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5327 | static char *DDIV(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5325| * rd -----
# 5326| */
# 5327|-> static char *DDIV(uint64 instruction, Dis_info *info)
# 5328| {
# 5329| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def364]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DDIVU’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5351:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5351 | static char *DDIVU(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5349| * rd -----
# 5350| */
# 5351|-> static char *DDIVU(uint64 instruction, Dis_info *info)
# 5352| {
# 5353| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def365]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DERET’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5375:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5375 | static char *DERET(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5373| * rd -----
# 5374| */
# 5375|-> static char *DERET(uint64 instruction, Dis_info *info)
# 5376| {
# 5377| (void)instruction;
Error: COMPILER_WARNING: [#def366]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DEXTM’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5393:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5393 | static char *DEXTM(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5391| * rd -----
# 5392| */
# 5393|-> static char *DEXTM(uint64 instruction, Dis_info *info)
# 5394| {
# 5395| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def367]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DEXT’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5419:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5419 | static char *DEXT(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5417| * rd -----
# 5418| */
# 5419|-> static char *DEXT(uint64 instruction, Dis_info *info)
# 5420| {
# 5421| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def368]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DEXTU’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5445:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5445 | static char *DEXTU(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5443| * rd -----
# 5444| */
# 5445|-> static char *DEXTU(uint64 instruction, Dis_info *info)
# 5446| {
# 5447| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def369]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DINSM’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5471:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5471 | static char *DINSM(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5469| * rd -----
# 5470| */
# 5471|-> static char *DINSM(uint64 instruction, Dis_info *info)
# 5472| {
# 5473| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def370]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DINS’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5498:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5498 | static char *DINS(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5496| * rd -----
# 5497| */
# 5498|-> static char *DINS(uint64 instruction, Dis_info *info)
# 5499| {
# 5500| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def371]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DINSU’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5525:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5525 | static char *DINSU(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5523| * rd -----
# 5524| */
# 5525|-> static char *DINSU(uint64 instruction, Dis_info *info)
# 5526| {
# 5527| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def372]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DI’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5552:24: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5552 | static char *DI(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5550| * rd -----
# 5551| */
# 5552|-> static char *DI(uint64 instruction, Dis_info *info)
# 5553| {
# 5554| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def373]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DIV’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5572:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5572 | static char *DIV(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5570| * rd -----
# 5571| */
# 5572|-> static char *DIV(uint64 instruction, Dis_info *info)
# 5573| {
# 5574| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def374]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DIV_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5596:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5596 | static char *DIV_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5594| * rd -----
# 5595| */
# 5596|-> static char *DIV_D(uint64 instruction, Dis_info *info)
# 5597| {
# 5598| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def375]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DIV_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5620:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5620 | static char *DIV_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5618| * rd -----
# 5619| */
# 5620|-> static char *DIV_S(uint64 instruction, Dis_info *info)
# 5621| {
# 5622| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def376]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DIVU’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5644:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5644 | static char *DIVU(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5642| * rd -----
# 5643| */
# 5644|-> static char *DIVU(uint64 instruction, Dis_info *info)
# 5645| {
# 5646| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def377]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DLSA’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5668:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5668 | static char *DLSA(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5666| * rd -----
# 5667| */
# 5668|-> static char *DLSA(uint64 instruction, Dis_info *info)
# 5669| {
# 5670| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def378]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DLUI_48_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5693:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5693 | static char *DLUI_48_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5691| * rd -----
# 5692| */
# 5693|-> static char *DLUI_48_(uint64 instruction, Dis_info *info)
# 5694| {
# 5695| uint64 rt_value = extract_rt_41_40_39_38_37(instruction);
Error: COMPILER_WARNING: [#def379]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DMFC0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5714:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5714 | static char *DMFC0(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5712| * rd -----
# 5713| */
# 5714|-> static char *DMFC0(uint64 instruction, Dis_info *info)
# 5715| {
# 5716| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def380]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DMFC1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5737:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5737 | static char *DMFC1(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5735| * rd -----
# 5736| */
# 5737|-> static char *DMFC1(uint64 instruction, Dis_info *info)
# 5738| {
# 5739| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def381]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DMFC2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5759:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5759 | static char *DMFC2(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5757| * rd -----
# 5758| */
# 5759|-> static char *DMFC2(uint64 instruction, Dis_info *info)
# 5760| {
# 5761| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def382]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DMFGC0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5780:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5780 | static char *DMFGC0(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5778| * rd -----
# 5779| */
# 5780|-> static char *DMFGC0(uint64 instruction, Dis_info *info)
# 5781| {
# 5782| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def383]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DMOD’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5803:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5803 | static char *DMOD(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5801| * rd -----
# 5802| */
# 5803|-> static char *DMOD(uint64 instruction, Dis_info *info)
# 5804| {
# 5805| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def384]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DMODU’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5827:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5827 | static char *DMODU(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5825| * rd -----
# 5826| */
# 5827|-> static char *DMODU(uint64 instruction, Dis_info *info)
# 5828| {
# 5829| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def385]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DMTC0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5851:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5851 | static char *DMTC0(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5849| * rd -----
# 5850| */
# 5851|-> static char *DMTC0(uint64 instruction, Dis_info *info)
# 5852| {
# 5853| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def386]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DMTC1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5874:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5874 | static char *DMTC1(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5872| * rd -----
# 5873| */
# 5874|-> static char *DMTC1(uint64 instruction, Dis_info *info)
# 5875| {
# 5876| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def387]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DMTC2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5896:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5896 | static char *DMTC2(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5894| * rd -----
# 5895| */
# 5896|-> static char *DMTC2(uint64 instruction, Dis_info *info)
# 5897| {
# 5898| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def388]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DMTGC0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5917:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5917 | static char *DMTGC0(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5915| * rd -----
# 5916| */
# 5917|-> static char *DMTGC0(uint64 instruction, Dis_info *info)
# 5918| {
# 5919| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def389]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DMT’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5940:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5940 | static char *DMT(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5938| * rd -----
# 5939| */
# 5940|-> static char *DMT(uint64 instruction, Dis_info *info)
# 5941| {
# 5942| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def390]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DMUH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5960:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5960 | static char *DMUH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5958| * rd -----
# 5959| */
# 5960|-> static char *DMUH(uint64 instruction, Dis_info *info)
# 5961| {
# 5962| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def391]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DMUHU’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:5984:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 5984 | static char *DMUHU(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 5982| * rd -----
# 5983| */
# 5984|-> static char *DMUHU(uint64 instruction, Dis_info *info)
# 5985| {
# 5986| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def392]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DMUL’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6008:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6008 | static char *DMUL(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6006| * rd -----
# 6007| */
# 6008|-> static char *DMUL(uint64 instruction, Dis_info *info)
# 6009| {
# 6010| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def393]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DMULU’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6032:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6032 | static char *DMULU(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6030| * rd -----
# 6031| */
# 6032|-> static char *DMULU(uint64 instruction, Dis_info *info)
# 6033| {
# 6034| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def394]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DPA_W_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6057:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6057 | static char *DPA_W_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6055| * ac --
# 6056| */
# 6057|-> static char *DPA_W_PH(uint64 instruction, Dis_info *info)
# 6058| {
# 6059| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def395]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DPAQ_SA_L_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6081:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6081 | static char *DPAQ_SA_L_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6079| * rd -----
# 6080| */
# 6081|-> static char *DPAQ_SA_L_W(uint64 instruction, Dis_info *info)
# 6082| {
# 6083| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def396]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DPAQ_S_W_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6105:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6105 | static char *DPAQ_S_W_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6103| * rd -----
# 6104| */
# 6105|-> static char *DPAQ_S_W_PH(uint64 instruction, Dis_info *info)
# 6106| {
# 6107| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def397]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DPAQX_SA_W_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6129:35: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6129 | static char *DPAQX_SA_W_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6127| * rd -----
# 6128| */
# 6129|-> static char *DPAQX_SA_W_PH(uint64 instruction, Dis_info *info)
# 6130| {
# 6131| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def398]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DPAQX_S_W_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6153:34: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6153 | static char *DPAQX_S_W_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6151| * rd -----
# 6152| */
# 6153|-> static char *DPAQX_S_W_PH(uint64 instruction, Dis_info *info)
# 6154| {
# 6155| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def399]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DPAU_H_QBL’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6177:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6177 | static char *DPAU_H_QBL(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6175| * rd -----
# 6176| */
# 6177|-> static char *DPAU_H_QBL(uint64 instruction, Dis_info *info)
# 6178| {
# 6179| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def400]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DPAU_H_QBR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6201:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6201 | static char *DPAU_H_QBR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6199| * rd -----
# 6200| */
# 6201|-> static char *DPAU_H_QBR(uint64 instruction, Dis_info *info)
# 6202| {
# 6203| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def401]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DPAX_W_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6225:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6225 | static char *DPAX_W_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6223| * rd -----
# 6224| */
# 6225|-> static char *DPAX_W_PH(uint64 instruction, Dis_info *info)
# 6226| {
# 6227| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def402]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DPS_W_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6249:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6249 | static char *DPS_W_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6247| * rd -----
# 6248| */
# 6249|-> static char *DPS_W_PH(uint64 instruction, Dis_info *info)
# 6250| {
# 6251| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def403]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DPSQ_SA_L_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6273:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6273 | static char *DPSQ_SA_L_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6271| * rd -----
# 6272| */
# 6273|-> static char *DPSQ_SA_L_W(uint64 instruction, Dis_info *info)
# 6274| {
# 6275| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def404]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DPSQ_S_W_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6297:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6297 | static char *DPSQ_S_W_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6295| * rd -----
# 6296| */
# 6297|-> static char *DPSQ_S_W_PH(uint64 instruction, Dis_info *info)
# 6298| {
# 6299| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def405]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DPSQX_SA_W_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6321:35: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6321 | static char *DPSQX_SA_W_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6319| * rd -----
# 6320| */
# 6321|-> static char *DPSQX_SA_W_PH(uint64 instruction, Dis_info *info)
# 6322| {
# 6323| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def406]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DPSQX_S_W_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6345:34: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6345 | static char *DPSQX_S_W_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6343| * rd -----
# 6344| */
# 6345|-> static char *DPSQX_S_W_PH(uint64 instruction, Dis_info *info)
# 6346| {
# 6347| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def407]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DPSU_H_QBL’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6369:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6369 | static char *DPSU_H_QBL(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6367| * rd -----
# 6368| */
# 6369|-> static char *DPSU_H_QBL(uint64 instruction, Dis_info *info)
# 6370| {
# 6371| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def408]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DPSU_H_QBR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6393:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6393 | static char *DPSU_H_QBR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6391| * rd -----
# 6392| */
# 6393|-> static char *DPSU_H_QBR(uint64 instruction, Dis_info *info)
# 6394| {
# 6395| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def409]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DPSX_W_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6417:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6417 | static char *DPSX_W_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6415| * rd -----
# 6416| */
# 6417|-> static char *DPSX_W_PH(uint64 instruction, Dis_info *info)
# 6418| {
# 6419| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def410]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DROTR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6441:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6441 | static char *DROTR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6439| * rd -----
# 6440| */
# 6441|-> static char *DROTR(uint64 instruction, Dis_info *info)
# 6442| {
# 6443| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def411]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DROTR32’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6464:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6464 | static char *DROTR32(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6462| * shift -----
# 6463| */
# 6464|-> static char *DROTR32(uint64 instruction, Dis_info *info)
# 6465| {
# 6466| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def412]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DROTRV’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6487:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6487 | static char *DROTRV(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6485| * rd -----
# 6486| */
# 6487|-> static char *DROTRV(uint64 instruction, Dis_info *info)
# 6488| {
# 6489| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def413]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DROTX’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6511:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6511 | static char *DROTX(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6509| * rd -----
# 6510| */
# 6511|-> static char *DROTX(uint64 instruction, Dis_info *info)
# 6512| {
# 6513| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def414]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DSLL’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6536:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6536 | static char *DSLL(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6534| * shift -----
# 6535| */
# 6536|-> static char *DSLL(uint64 instruction, Dis_info *info)
# 6537| {
# 6538| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def415]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DSLL32’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6559:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6559 | static char *DSLL32(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6557| * shift -----
# 6558| */
# 6559|-> static char *DSLL32(uint64 instruction, Dis_info *info)
# 6560| {
# 6561| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def416]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DSLLV’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6582:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6582 | static char *DSLLV(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6580| * rd -----
# 6581| */
# 6582|-> static char *DSLLV(uint64 instruction, Dis_info *info)
# 6583| {
# 6584| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def417]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DSRA’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6606:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6606 | static char *DSRA(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6604| * shift -----
# 6605| */
# 6606|-> static char *DSRA(uint64 instruction, Dis_info *info)
# 6607| {
# 6608| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def418]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DSRA32’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6629:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6629 | static char *DSRA32(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6627| * shift -----
# 6628| */
# 6629|-> static char *DSRA32(uint64 instruction, Dis_info *info)
# 6630| {
# 6631| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def419]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DSRAV’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6652:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6652 | static char *DSRAV(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6650| * rd -----
# 6651| */
# 6652|-> static char *DSRAV(uint64 instruction, Dis_info *info)
# 6653| {
# 6654| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def420]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DSRL’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6676:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6676 | static char *DSRL(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6674| * shift -----
# 6675| */
# 6676|-> static char *DSRL(uint64 instruction, Dis_info *info)
# 6677| {
# 6678| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def421]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DSRL32’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6699:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6699 | static char *DSRL32(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6697| * shift -----
# 6698| */
# 6699|-> static char *DSRL32(uint64 instruction, Dis_info *info)
# 6700| {
# 6701| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def422]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DSRLV’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6722:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6722 | static char *DSRLV(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6720| * rd -----
# 6721| */
# 6722|-> static char *DSRLV(uint64 instruction, Dis_info *info)
# 6723| {
# 6724| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def423]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DSUB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6746:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6746 | static char *DSUB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6744| * rd -----
# 6745| */
# 6746|-> static char *DSUB(uint64 instruction, Dis_info *info)
# 6747| {
# 6748| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def424]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DSUBU’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6770:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6770 | static char *DSUBU(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6768| * rd -----
# 6769| */
# 6770|-> static char *DSUBU(uint64 instruction, Dis_info *info)
# 6771| {
# 6772| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def425]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DVPE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6794:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6794 | static char *DVPE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6792| * rd -----
# 6793| */
# 6794|-> static char *DVPE(uint64 instruction, Dis_info *info)
# 6795| {
# 6796| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def426]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘DVP’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6814:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6814 | static char *DVP(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6812| * rd -----
# 6813| */
# 6814|-> static char *DVP(uint64 instruction, Dis_info *info)
# 6815| {
# 6816| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def427]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EHB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6834:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6834 | static char *EHB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6832| * rd -----
# 6833| */
# 6834|-> static char *EHB(uint64 instruction, Dis_info *info)
# 6835| {
# 6836| (void)instruction;
Error: COMPILER_WARNING: [#def428]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EI’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6852:24: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6852 | static char *EI(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6850| * rd -----
# 6851| */
# 6852|-> static char *EI(uint64 instruction, Dis_info *info)
# 6853| {
# 6854| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def429]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EMT’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6872:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6872 | static char *EMT(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6870| * rd -----
# 6871| */
# 6872|-> static char *EMT(uint64 instruction, Dis_info *info)
# 6873| {
# 6874| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def430]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ERET’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6892:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6892 | static char *ERET(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6890| * rd -----
# 6891| */
# 6892|-> static char *ERET(uint64 instruction, Dis_info *info)
# 6893| {
# 6894| (void)instruction;
Error: COMPILER_WARNING: [#def431]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ERETNC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6910:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6910 | static char *ERETNC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6908| * rd -----
# 6909| */
# 6910|-> static char *ERETNC(uint64 instruction, Dis_info *info)
# 6911| {
# 6912| (void)instruction;
Error: COMPILER_WARNING: [#def432]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EVP’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6928:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6928 | static char *EVP(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6926| * rd -----
# 6927| */
# 6928|-> static char *EVP(uint64 instruction, Dis_info *info)
# 6929| {
# 6930| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def433]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EVPE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6948:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6948 | static char *EVPE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6946| * rd -----
# 6947| */
# 6948|-> static char *EVPE(uint64 instruction, Dis_info *info)
# 6949| {
# 6950| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def434]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EXT’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6968:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6968 | static char *EXT(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6966| * rd -----
# 6967| */
# 6968|-> static char *EXT(uint64 instruction, Dis_info *info)
# 6969| {
# 6970| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def435]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EXTD’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:6994:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 6994 | static char *EXTD(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 6992| * rd -----
# 6993| */
# 6994|-> static char *EXTD(uint64 instruction, Dis_info *info)
# 6995| {
# 6996| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def436]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EXTD32’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7019:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7019 | static char *EXTD32(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7017| * rd -----
# 7018| */
# 7019|-> static char *EXTD32(uint64 instruction, Dis_info *info)
# 7020| {
# 7021| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def437]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EXTPDP’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7044:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7044 | static char *EXTPDP(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7042| * rd -----
# 7043| */
# 7044|-> static char *EXTPDP(uint64 instruction, Dis_info *info)
# 7045| {
# 7046| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def438]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EXTPDPV’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7067:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7067 | static char *EXTPDPV(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7065| * rd -----
# 7066| */
# 7067|-> static char *EXTPDPV(uint64 instruction, Dis_info *info)
# 7068| {
# 7069| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def439]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EXTP’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7091:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7091 | static char *EXTP(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7089| * rd -----
# 7090| */
# 7091|-> static char *EXTP(uint64 instruction, Dis_info *info)
# 7092| {
# 7093| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def440]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EXTPV’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7114:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7114 | static char *EXTPV(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7112| * rd -----
# 7113| */
# 7114|-> static char *EXTPV(uint64 instruction, Dis_info *info)
# 7115| {
# 7116| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def441]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EXTR_RS_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7139:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7139 | static char *EXTR_RS_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7137| * ac --
# 7138| */
# 7139|-> static char *EXTR_RS_W(uint64 instruction, Dis_info *info)
# 7140| {
# 7141| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def442]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EXTR_R_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7163:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7163 | static char *EXTR_R_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7161| * ac --
# 7162| */
# 7163|-> static char *EXTR_R_W(uint64 instruction, Dis_info *info)
# 7164| {
# 7165| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def443]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EXTR_S_H’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7187:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7187 | static char *EXTR_S_H(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7185| * ac --
# 7186| */
# 7187|-> static char *EXTR_S_H(uint64 instruction, Dis_info *info)
# 7188| {
# 7189| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def444]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EXTR_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7211:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7211 | static char *EXTR_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7209| * ac --
# 7210| */
# 7211|-> static char *EXTR_W(uint64 instruction, Dis_info *info)
# 7212| {
# 7213| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def445]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EXTRV_RS_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7235:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7235 | static char *EXTRV_RS_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7233| * ac --
# 7234| */
# 7235|-> static char *EXTRV_RS_W(uint64 instruction, Dis_info *info)
# 7236| {
# 7237| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def446]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EXTRV_R_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7260:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7260 | static char *EXTRV_R_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7258| * ac --
# 7259| */
# 7260|-> static char *EXTRV_R_W(uint64 instruction, Dis_info *info)
# 7261| {
# 7262| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def447]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EXTRV_S_H’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7285:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7285 | static char *EXTRV_S_H(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7283| * ac --
# 7284| */
# 7285|-> static char *EXTRV_S_H(uint64 instruction, Dis_info *info)
# 7286| {
# 7287| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def448]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EXTRV_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7310:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7310 | static char *EXTRV_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7308| * ac --
# 7309| */
# 7310|-> static char *EXTRV_W(uint64 instruction, Dis_info *info)
# 7311| {
# 7312| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def449]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘EXTW’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7335:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7335 | static char *EXTW(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7333| * shift -----
# 7334| */
# 7335|-> static char *EXTW(uint64 instruction, Dis_info *info)
# 7336| {
# 7337| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def450]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘FLOOR_L_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7360:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7360 | static char *FLOOR_L_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7358| * rd -----
# 7359| */
# 7360|-> static char *FLOOR_L_D(uint64 instruction, Dis_info *info)
# 7361| {
# 7362| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def451]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘FLOOR_L_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7382:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7382 | static char *FLOOR_L_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7380| * rd -----
# 7381| */
# 7382|-> static char *FLOOR_L_S(uint64 instruction, Dis_info *info)
# 7383| {
# 7384| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def452]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘FLOOR_W_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7404:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7404 | static char *FLOOR_W_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7402| * rd -----
# 7403| */
# 7404|-> static char *FLOOR_W_D(uint64 instruction, Dis_info *info)
# 7405| {
# 7406| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def453]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘FLOOR_W_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7426:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7426 | static char *FLOOR_W_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7424| * rd -----
# 7425| */
# 7426|-> static char *FLOOR_W_S(uint64 instruction, Dis_info *info)
# 7427| {
# 7428| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def454]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘FORK’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7448:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7448 | static char *FORK(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7446| * rd -----
# 7447| */
# 7448|-> static char *FORK(uint64 instruction, Dis_info *info)
# 7449| {
# 7450| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def455]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘HYPCALL’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7472:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7472 | static char *HYPCALL(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7470| * rd -----
# 7471| */
# 7472|-> static char *HYPCALL(uint64 instruction, Dis_info *info)
# 7473| {
# 7474| uint64 code_value = extract_code_17_to_0(instruction);
Error: COMPILER_WARNING: [#def456]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘HYPCALL_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7491:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7491 | static char *HYPCALL_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7489| * rd -----
# 7490| */
# 7491|-> static char *HYPCALL_16_(uint64 instruction, Dis_info *info)
# 7492| {
# 7493| uint64 code_value = extract_code_1_0(instruction);
Error: COMPILER_WARNING: [#def457]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘INS’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7510:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7510 | static char *INS(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7508| * rd -----
# 7509| */
# 7510|-> static char *INS(uint64 instruction, Dis_info *info)
# 7511| {
# 7512| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def458]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘INSV’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7536:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7536 | static char *INSV(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7534| * rs -----
# 7535| */
# 7536|-> static char *INSV(uint64 instruction, Dis_info *info)
# 7537| {
# 7538| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def459]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘IRET’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7558:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7558 | static char *IRET(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7556| * rd -----
# 7557| */
# 7558|-> static char *IRET(uint64 instruction, Dis_info *info)
# 7559| {
# 7560| (void)instruction;
Error: COMPILER_WARNING: [#def460]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘JALRC_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7576:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7576 | static char *JALRC_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7574| * rd -----
# 7575| */
# 7576|-> static char *JALRC_16_(uint64 instruction, Dis_info *info)
# 7577| {
# 7578| uint64 rt_value = extract_rt_9_8_7_6_5(instruction);
Error: COMPILER_WARNING: [#def461]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘JALRC_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7596:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7596 | static char *JALRC_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7594| * rd -----
# 7595| */
# 7596|-> static char *JALRC_32_(uint64 instruction, Dis_info *info)
# 7597| {
# 7598| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def462]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘JALRC_HB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7618:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7618 | static char *JALRC_HB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7616| * rd -----
# 7617| */
# 7618|-> static char *JALRC_HB(uint64 instruction, Dis_info *info)
# 7619| {
# 7620| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def463]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘JRC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7640:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7640 | static char *JRC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7638| * rd -----
# 7639| */
# 7640|-> static char *JRC(uint64 instruction, Dis_info *info)
# 7641| {
# 7642| uint64 rt_value = extract_rt_9_8_7_6_5(instruction);
Error: COMPILER_WARNING: [#def464]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LB_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7660:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7660 | static char *LB_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7658| * rd -----
# 7659| */
# 7660|-> static char *LB_16_(uint64 instruction, Dis_info *info)
# 7661| {
# 7662| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def465]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LB_GP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7683:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7683 | static char *LB_GP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7681| * rd -----
# 7682| */
# 7683|-> static char *LB_GP_(uint64 instruction, Dis_info *info)
# 7684| {
# 7685| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def466]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LB_S9_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7704:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7704 | static char *LB_S9_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7702| * rd -----
# 7703| */
# 7704|-> static char *LB_S9_(uint64 instruction, Dis_info *info)
# 7705| {
# 7706| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def467]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LB_U12_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7727:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7727 | static char *LB_U12_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7725| * rd -----
# 7726| */
# 7727|-> static char *LB_U12_(uint64 instruction, Dis_info *info)
# 7728| {
# 7729| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def468]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LBE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7750:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7750 | static char *LBE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7748| * rd -----
# 7749| */
# 7750|-> static char *LBE(uint64 instruction, Dis_info *info)
# 7751| {
# 7752| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def469]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LBU_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7773:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7773 | static char *LBU_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7771| * rd -----
# 7772| */
# 7773|-> static char *LBU_16_(uint64 instruction, Dis_info *info)
# 7774| {
# 7775| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def470]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LBU_GP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7796:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7796 | static char *LBU_GP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7794| * rd -----
# 7795| */
# 7796|-> static char *LBU_GP_(uint64 instruction, Dis_info *info)
# 7797| {
# 7798| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def471]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LBU_S9_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7817:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7817 | static char *LBU_S9_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7815| * rd -----
# 7816| */
# 7817|-> static char *LBU_S9_(uint64 instruction, Dis_info *info)
# 7818| {
# 7819| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def472]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LBU_U12_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7840:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7840 | static char *LBU_U12_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7838| * rd -----
# 7839| */
# 7840|-> static char *LBU_U12_(uint64 instruction, Dis_info *info)
# 7841| {
# 7842| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def473]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LBUE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7863:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7863 | static char *LBUE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7861| * rd -----
# 7862| */
# 7863|-> static char *LBUE(uint64 instruction, Dis_info *info)
# 7864| {
# 7865| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def474]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LBUX’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7886:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7886 | static char *LBUX(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7884| * rd -----
# 7885| */
# 7886|-> static char *LBUX(uint64 instruction, Dis_info *info)
# 7887| {
# 7888| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def475]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LBX’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7910:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7910 | static char *LBX(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7908| * rd -----
# 7909| */
# 7910|-> static char *LBX(uint64 instruction, Dis_info *info)
# 7911| {
# 7912| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def476]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LD_GP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7934:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7934 | static char *LD_GP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7932| * rd -----
# 7933| */
# 7934|-> static char *LD_GP_(uint64 instruction, Dis_info *info)
# 7935| {
# 7936| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def477]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LD_S9_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7955:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7955 | static char *LD_S9_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7953| * rd -----
# 7954| */
# 7955|-> static char *LD_S9_(uint64 instruction, Dis_info *info)
# 7956| {
# 7957| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def478]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LD_U12_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:7978:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 7978 | static char *LD_U12_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7976| * rd -----
# 7977| */
# 7978|-> static char *LD_U12_(uint64 instruction, Dis_info *info)
# 7979| {
# 7980| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def479]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LDC1_GP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8001:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8001 | static char *LDC1_GP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 7999| * rd -----
# 8000| */
# 8001|-> static char *LDC1_GP_(uint64 instruction, Dis_info *info)
# 8002| {
# 8003| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def480]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LDC1_S9_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8022:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8022 | static char *LDC1_S9_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8020| * rd -----
# 8021| */
# 8022|-> static char *LDC1_S9_(uint64 instruction, Dis_info *info)
# 8023| {
# 8024| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def481]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LDC1_U12_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8045:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8045 | static char *LDC1_U12_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8043| * rd -----
# 8044| */
# 8045|-> static char *LDC1_U12_(uint64 instruction, Dis_info *info)
# 8046| {
# 8047| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def482]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LDC1XS’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8068:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8068 | static char *LDC1XS(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8066| * rd -----
# 8067| */
# 8068|-> static char *LDC1XS(uint64 instruction, Dis_info *info)
# 8069| {
# 8070| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def483]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LDC1X’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8092:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8092 | static char *LDC1X(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8090| * rd -----
# 8091| */
# 8092|-> static char *LDC1X(uint64 instruction, Dis_info *info)
# 8093| {
# 8094| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def484]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LDC2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8116:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8116 | static char *LDC2(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8114| * rd -----
# 8115| */
# 8116|-> static char *LDC2(uint64 instruction, Dis_info *info)
# 8117| {
# 8118| uint64 ct_value = extract_ct_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def485]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LDM’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8139:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8139 | static char *LDM(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8137| * rd -----
# 8138| */
# 8139|-> static char *LDM(uint64 instruction, Dis_info *info)
# 8140| {
# 8141| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def486]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LDPC_48_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8165:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8165 | static char *LDPC_48_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8163| * rd -----
# 8164| */
# 8165|-> static char *LDPC_48_(uint64 instruction, Dis_info *info)
# 8166| {
# 8167| uint64 rt_value = extract_rt_41_40_39_38_37(instruction);
Error: COMPILER_WARNING: [#def487]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LDX’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8187:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8187 | static char *LDX(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8185| * rd -----
# 8186| */
# 8187|-> static char *LDX(uint64 instruction, Dis_info *info)
# 8188| {
# 8189| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def488]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LDXS’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8211:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8211 | static char *LDXS(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8209| * rd -----
# 8210| */
# 8211|-> static char *LDXS(uint64 instruction, Dis_info *info)
# 8212| {
# 8213| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def489]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LH_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8235:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8235 | static char *LH_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8233| * rd -----
# 8234| */
# 8235|-> static char *LH_16_(uint64 instruction, Dis_info *info)
# 8236| {
# 8237| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def490]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LH_GP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8258:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8258 | static char *LH_GP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8256| * rd -----
# 8257| */
# 8258|-> static char *LH_GP_(uint64 instruction, Dis_info *info)
# 8259| {
# 8260| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def491]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LH_S9_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8279:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8279 | static char *LH_S9_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8277| * rd -----
# 8278| */
# 8279|-> static char *LH_S9_(uint64 instruction, Dis_info *info)
# 8280| {
# 8281| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def492]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LH_U12_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8302:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8302 | static char *LH_U12_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8300| * rd -----
# 8301| */
# 8302|-> static char *LH_U12_(uint64 instruction, Dis_info *info)
# 8303| {
# 8304| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def493]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LHE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8325:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8325 | static char *LHE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8323| * rd -----
# 8324| */
# 8325|-> static char *LHE(uint64 instruction, Dis_info *info)
# 8326| {
# 8327| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def494]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LHU_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8348:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8348 | static char *LHU_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8346| * rd -----
# 8347| */
# 8348|-> static char *LHU_16_(uint64 instruction, Dis_info *info)
# 8349| {
# 8350| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def495]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LHU_GP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8371:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8371 | static char *LHU_GP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8369| * rd -----
# 8370| */
# 8371|-> static char *LHU_GP_(uint64 instruction, Dis_info *info)
# 8372| {
# 8373| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def496]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LHU_S9_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8392:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8392 | static char *LHU_S9_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8390| * rd -----
# 8391| */
# 8392|-> static char *LHU_S9_(uint64 instruction, Dis_info *info)
# 8393| {
# 8394| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def497]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LHU_U12_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8415:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8415 | static char *LHU_U12_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8413| * rd -----
# 8414| */
# 8415|-> static char *LHU_U12_(uint64 instruction, Dis_info *info)
# 8416| {
# 8417| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def498]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LHUE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8438:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8438 | static char *LHUE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8436| * rd -----
# 8437| */
# 8438|-> static char *LHUE(uint64 instruction, Dis_info *info)
# 8439| {
# 8440| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def499]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LHUX’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8461:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8461 | static char *LHUX(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8459| * rd -----
# 8460| */
# 8461|-> static char *LHUX(uint64 instruction, Dis_info *info)
# 8462| {
# 8463| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def500]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LHUXS’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8485:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8485 | static char *LHUXS(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8483| * rd -----
# 8484| */
# 8485|-> static char *LHUXS(uint64 instruction, Dis_info *info)
# 8486| {
# 8487| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def501]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LHXS’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8509:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8509 | static char *LHXS(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8507| * rd -----
# 8508| */
# 8509|-> static char *LHXS(uint64 instruction, Dis_info *info)
# 8510| {
# 8511| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def502]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LHX’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8533:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8533 | static char *LHX(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8531| * rd -----
# 8532| */
# 8533|-> static char *LHX(uint64 instruction, Dis_info *info)
# 8534| {
# 8535| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def503]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LI_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8557:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8557 | static char *LI_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8555| * rd -----
# 8556| */
# 8557|-> static char *LI_16_(uint64 instruction, Dis_info *info)
# 8558| {
# 8559| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def504]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LI_48_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8579:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8579 | static char *LI_48_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8577| * rd -----
# 8578| */
# 8579|-> static char *LI_48_(uint64 instruction, Dis_info *info)
# 8580| {
# 8581| uint64 rt_value = extract_rt_41_40_39_38_37(instruction);
Error: COMPILER_WARNING: [#def505]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LL’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8600:24: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8600 | static char *LL(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8598| * rd -----
# 8599| */
# 8600|-> static char *LL(uint64 instruction, Dis_info *info)
# 8601| {
# 8602| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def506]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LLD’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8623:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8623 | static char *LLD(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8621| * rd -----
# 8622| */
# 8623|-> static char *LLD(uint64 instruction, Dis_info *info)
# 8624| {
# 8625| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def507]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LLDP’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8646:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8646 | static char *LLDP(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8644| * rd -----
# 8645| */
# 8646|-> static char *LLDP(uint64 instruction, Dis_info *info)
# 8647| {
# 8648| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def508]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LLE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8670:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8670 | static char *LLE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8668| * rd -----
# 8669| */
# 8670|-> static char *LLE(uint64 instruction, Dis_info *info)
# 8671| {
# 8672| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def509]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LLWP’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8693:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8693 | static char *LLWP(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8691| * rd -----
# 8692| */
# 8693|-> static char *LLWP(uint64 instruction, Dis_info *info)
# 8694| {
# 8695| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def510]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LLWPE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8717:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8717 | static char *LLWPE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8715| * rd -----
# 8716| */
# 8717|-> static char *LLWPE(uint64 instruction, Dis_info *info)
# 8718| {
# 8719| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def511]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LSA’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8741:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8741 | static char *LSA(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8739| * rd -----
# 8740| */
# 8741|-> static char *LSA(uint64 instruction, Dis_info *info)
# 8742| {
# 8743| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def512]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LUI’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8766:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8766 | static char *LUI(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8764| * rd -----
# 8765| */
# 8766|-> static char *LUI(uint64 instruction, Dis_info *info)
# 8767| {
# 8768| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def513]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LW_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8787:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8787 | static char *LW_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8785| * rd -----
# 8786| */
# 8787|-> static char *LW_16_(uint64 instruction, Dis_info *info)
# 8788| {
# 8789| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def514]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LW_4X4_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8810:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8810 | static char *LW_4X4_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8808| * rd -----
# 8809| */
# 8810|-> static char *LW_4X4_(uint64 instruction, Dis_info *info)
# 8811| {
# 8812| uint64 rt4_value = extract_rt4_9_7_6_5(instruction);
Error: COMPILER_WARNING: [#def515]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LW_GP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8833:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8833 | static char *LW_GP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8831| * rd -----
# 8832| */
# 8833|-> static char *LW_GP_(uint64 instruction, Dis_info *info)
# 8834| {
# 8835| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def516]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LW_GP16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8854:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8854 | static char *LW_GP16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8852| * rd -----
# 8853| */
# 8854|-> static char *LW_GP16_(uint64 instruction, Dis_info *info)
# 8855| {
# 8856| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def517]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LW_S9_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8875:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8875 | static char *LW_S9_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8873| * rd -----
# 8874| */
# 8875|-> static char *LW_S9_(uint64 instruction, Dis_info *info)
# 8876| {
# 8877| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def518]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LW_SP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8898:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8898 | static char *LW_SP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8896| * rd -----
# 8897| */
# 8898|-> static char *LW_SP_(uint64 instruction, Dis_info *info)
# 8899| {
# 8900| uint64 rt_value = extract_rt_9_8_7_6_5(instruction);
Error: COMPILER_WARNING: [#def519]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LW_U12_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8919:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8919 | static char *LW_U12_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8917| * rd -----
# 8918| */
# 8919|-> static char *LW_U12_(uint64 instruction, Dis_info *info)
# 8920| {
# 8921| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def520]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LWC1_GP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8942:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8942 | static char *LWC1_GP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8940| * rd -----
# 8941| */
# 8942|-> static char *LWC1_GP_(uint64 instruction, Dis_info *info)
# 8943| {
# 8944| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def521]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LWC1_S9_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8963:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8963 | static char *LWC1_S9_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8961| * rd -----
# 8962| */
# 8963|-> static char *LWC1_S9_(uint64 instruction, Dis_info *info)
# 8964| {
# 8965| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def522]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LWC1_U12_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:8986:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 8986 | static char *LWC1_U12_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 8984| * rd -----
# 8985| */
# 8986|-> static char *LWC1_U12_(uint64 instruction, Dis_info *info)
# 8987| {
# 8988| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def523]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LWC1X’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9009:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9009 | static char *LWC1X(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9007| * rd -----
# 9008| */
# 9009|-> static char *LWC1X(uint64 instruction, Dis_info *info)
# 9010| {
# 9011| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def524]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LWC1XS’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9033:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9033 | static char *LWC1XS(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9031| * rd -----
# 9032| */
# 9033|-> static char *LWC1XS(uint64 instruction, Dis_info *info)
# 9034| {
# 9035| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def525]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LWC2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9057:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9057 | static char *LWC2(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9055| * rd -----
# 9056| */
# 9057|-> static char *LWC2(uint64 instruction, Dis_info *info)
# 9058| {
# 9059| uint64 ct_value = extract_ct_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def526]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LWE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9080:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9080 | static char *LWE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9078| * rd -----
# 9079| */
# 9080|-> static char *LWE(uint64 instruction, Dis_info *info)
# 9081| {
# 9082| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def527]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LWM’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9103:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9103 | static char *LWM(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9101| * rd -----
# 9102| */
# 9103|-> static char *LWM(uint64 instruction, Dis_info *info)
# 9104| {
# 9105| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def528]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LWPC_48_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9129:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9129 | static char *LWPC_48_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9127| * rd -----
# 9128| */
# 9129|-> static char *LWPC_48_(uint64 instruction, Dis_info *info)
# 9130| {
# 9131| uint64 rt_value = extract_rt_41_40_39_38_37(instruction);
Error: COMPILER_WARNING: [#def529]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LWU_GP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9151:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9151 | static char *LWU_GP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9149| * rd -----
# 9150| */
# 9151|-> static char *LWU_GP_(uint64 instruction, Dis_info *info)
# 9152| {
# 9153| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def530]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LWU_S9_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9172:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9172 | static char *LWU_S9_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9170| * rd -----
# 9171| */
# 9172|-> static char *LWU_S9_(uint64 instruction, Dis_info *info)
# 9173| {
# 9174| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def531]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LWU_U12_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9195:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9195 | static char *LWU_U12_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9193| * rd -----
# 9194| */
# 9195|-> static char *LWU_U12_(uint64 instruction, Dis_info *info)
# 9196| {
# 9197| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def532]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LWUX’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9218:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9218 | static char *LWUX(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9216| * rd -----
# 9217| */
# 9218|-> static char *LWUX(uint64 instruction, Dis_info *info)
# 9219| {
# 9220| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def533]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LWUXS’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9242:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9242 | static char *LWUXS(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9240| * rd -----
# 9241| */
# 9242|-> static char *LWUXS(uint64 instruction, Dis_info *info)
# 9243| {
# 9244| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def534]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LWX’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9266:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9266 | static char *LWX(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9264| * rd -----
# 9265| */
# 9266|-> static char *LWX(uint64 instruction, Dis_info *info)
# 9267| {
# 9268| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def535]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LWXS_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9290:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9290 | static char *LWXS_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9288| * rd -----
# 9289| */
# 9290|-> static char *LWXS_16_(uint64 instruction, Dis_info *info)
# 9291| {
# 9292| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def536]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘LWXS_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9314:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9314 | static char *LWXS_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9312| * rd -----
# 9313| */
# 9314|-> static char *LWXS_32_(uint64 instruction, Dis_info *info)
# 9315| {
# 9316| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def537]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MADD_DSP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9339:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9339 | static char *MADD_DSP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9337| * rd -----
# 9338| */
# 9339|-> static char *MADD_DSP_(uint64 instruction, Dis_info *info)
# 9340| {
# 9341| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def538]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MADDF_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9363:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9363 | static char *MADDF_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9361| * rd -----
# 9362| */
# 9363|-> static char *MADDF_D(uint64 instruction, Dis_info *info)
# 9364| {
# 9365| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def539]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MADDF_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9387:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9387 | static char *MADDF_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9385| * rd -----
# 9386| */
# 9387|-> static char *MADDF_S(uint64 instruction, Dis_info *info)
# 9388| {
# 9389| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def540]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MADDU_DSP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9412:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9412 | static char *MADDU_DSP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9410| * rd -----
# 9411| */
# 9412|-> static char *MADDU_DSP_(uint64 instruction, Dis_info *info)
# 9413| {
# 9414| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def541]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MAQ_S_W_PHL’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9437:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9437 | static char *MAQ_S_W_PHL(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9435| * rd -----
# 9436| */
# 9437|-> static char *MAQ_S_W_PHL(uint64 instruction, Dis_info *info)
# 9438| {
# 9439| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def542]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MAQ_S_W_PHR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9462:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9462 | static char *MAQ_S_W_PHR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9460| * rd -----
# 9461| */
# 9462|-> static char *MAQ_S_W_PHR(uint64 instruction, Dis_info *info)
# 9463| {
# 9464| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def543]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MAQ_SA_W_PHL’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9487:34: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9487 | static char *MAQ_SA_W_PHL(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9485| * rd -----
# 9486| */
# 9487|-> static char *MAQ_SA_W_PHL(uint64 instruction, Dis_info *info)
# 9488| {
# 9489| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def544]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MAQ_SA_W_PHR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9512:34: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9512 | static char *MAQ_SA_W_PHR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9510| * rd -----
# 9511| */
# 9512|-> static char *MAQ_SA_W_PHR(uint64 instruction, Dis_info *info)
# 9513| {
# 9514| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def545]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MAX_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9536:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9536 | static char *MAX_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9534| * rd -----
# 9535| */
# 9536|-> static char *MAX_D(uint64 instruction, Dis_info *info)
# 9537| {
# 9538| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def546]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MAX_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9560:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9560 | static char *MAX_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9558| * rd -----
# 9559| */
# 9560|-> static char *MAX_S(uint64 instruction, Dis_info *info)
# 9561| {
# 9562| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def547]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MAXA_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9584:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9584 | static char *MAXA_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9582| * rd -----
# 9583| */
# 9584|-> static char *MAXA_D(uint64 instruction, Dis_info *info)
# 9585| {
# 9586| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def548]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MAXA_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9608:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9608 | static char *MAXA_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9606| * rd -----
# 9607| */
# 9608|-> static char *MAXA_S(uint64 instruction, Dis_info *info)
# 9609| {
# 9610| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def549]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MFC0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9632:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9632 | static char *MFC0(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9630| * rd -----
# 9631| */
# 9632|-> static char *MFC0(uint64 instruction, Dis_info *info)
# 9633| {
# 9634| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def550]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MFC1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9655:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9655 | static char *MFC1(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9653| * rd -----
# 9654| */
# 9655|-> static char *MFC1(uint64 instruction, Dis_info *info)
# 9656| {
# 9657| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def551]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MFC2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9677:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9677 | static char *MFC2(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9675| * rd -----
# 9676| */
# 9677|-> static char *MFC2(uint64 instruction, Dis_info *info)
# 9678| {
# 9679| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def552]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MFGC0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9698:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9698 | static char *MFGC0(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9696| * rd -----
# 9697| */
# 9698|-> static char *MFGC0(uint64 instruction, Dis_info *info)
# 9699| {
# 9700| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def553]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MFHC0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9721:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9721 | static char *MFHC0(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9719| * rd -----
# 9720| */
# 9721|-> static char *MFHC0(uint64 instruction, Dis_info *info)
# 9722| {
# 9723| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def554]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MFHC1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9744:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9744 | static char *MFHC1(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9742| * rd -----
# 9743| */
# 9744|-> static char *MFHC1(uint64 instruction, Dis_info *info)
# 9745| {
# 9746| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def555]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MFHC2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9766:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9766 | static char *MFHC2(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9764| * rd -----
# 9765| */
# 9766|-> static char *MFHC2(uint64 instruction, Dis_info *info)
# 9767| {
# 9768| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def556]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MFHGC0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9787:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9787 | static char *MFHGC0(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9785| * rd -----
# 9786| */
# 9787|-> static char *MFHGC0(uint64 instruction, Dis_info *info)
# 9788| {
# 9789| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def557]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MFHI_DSP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9809:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9809 | static char *MFHI_DSP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9807| * ac --
# 9808| */
# 9809|-> static char *MFHI_DSP_(uint64 instruction, Dis_info *info)
# 9810| {
# 9811| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def558]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MFHTR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9831:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9831 | static char *MFHTR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9829| * rd -----
# 9830| */
# 9831|-> static char *MFHTR(uint64 instruction, Dis_info *info)
# 9832| {
# 9833| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def559]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MFLO_DSP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9854:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9854 | static char *MFLO_DSP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9852| * ac --
# 9853| */
# 9854|-> static char *MFLO_DSP_(uint64 instruction, Dis_info *info)
# 9855| {
# 9856| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def560]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MFTR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9876:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9876 | static char *MFTR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9874| * rd -----
# 9875| */
# 9876|-> static char *MFTR(uint64 instruction, Dis_info *info)
# 9877| {
# 9878| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def561]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MIN_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9900:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9900 | static char *MIN_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9898| * rd -----
# 9899| */
# 9900|-> static char *MIN_D(uint64 instruction, Dis_info *info)
# 9901| {
# 9902| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def562]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MIN_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9924:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9924 | static char *MIN_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9922| * rd -----
# 9923| */
# 9924|-> static char *MIN_S(uint64 instruction, Dis_info *info)
# 9925| {
# 9926| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def563]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MINA_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9948:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9948 | static char *MINA_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9946| * rd -----
# 9947| */
# 9948|-> static char *MINA_D(uint64 instruction, Dis_info *info)
# 9949| {
# 9950| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def564]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MINA_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9972:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9972 | static char *MINA_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9970| * rd -----
# 9971| */
# 9972|-> static char *MINA_S(uint64 instruction, Dis_info *info)
# 9973| {
# 9974| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def565]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MOD’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:9996:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
# 9996 | static char *MOD(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
# 9994| * rd -----
# 9995| */
# 9996|-> static char *MOD(uint64 instruction, Dis_info *info)
# 9997| {
# 9998| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def566]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MODSUB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10020:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10020 | static char *MODSUB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10018| * rd -----
#10019| */
#10020|-> static char *MODSUB(uint64 instruction, Dis_info *info)
#10021| {
#10022| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def567]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MODU’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10044:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10044 | static char *MODU(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10042| * rd -----
#10043| */
#10044|-> static char *MODU(uint64 instruction, Dis_info *info)
#10045| {
#10046| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def568]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MOV_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10068:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10068 | static char *MOV_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10066| * rd -----
#10067| */
#10068|-> static char *MOV_D(uint64 instruction, Dis_info *info)
#10069| {
#10070| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def569]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MOV_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10090:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10090 | static char *MOV_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10088| * rd -----
#10089| */
#10090|-> static char *MOV_S(uint64 instruction, Dis_info *info)
#10091| {
#10092| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def570]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MOVE_BALC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10112:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10112 | static char *MOVE_BALC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10110| * rd -----
#10111| */
#10112|-> static char *MOVE_BALC(uint64 instruction, Dis_info *info)
#10113| {
#10114| uint64 rtz4_value = extract_rtz4_27_26_25_23_22_21(instruction);
Error: COMPILER_WARNING: [#def571]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MOVEP’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10136:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10136 | static char *MOVEP(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10134| * rd -----
#10135| */
#10136|-> static char *MOVEP(uint64 instruction, Dis_info *info)
#10137| {
#10138| uint64 rtz4_value = extract_rtz4_9_7_6_5(instruction);
Error: COMPILER_WARNING: [#def572]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MOVEP_REV_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10163:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10163 | static char *MOVEP_REV_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10161| * rd -----
#10162| */
#10163|-> static char *MOVEP_REV_(uint64 instruction, Dis_info *info)
#10164| {
#10165| uint64 rt4_value = extract_rt4_9_7_6_5(instruction);
Error: COMPILER_WARNING: [#def573]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MOVE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10190:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10190 | static char *MOVE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10188| * rd -----
#10189| */
#10190|-> static char *MOVE(uint64 instruction, Dis_info *info)
#10191| {
#10192| uint64 rt_value = extract_rt_9_8_7_6_5(instruction);
Error: COMPILER_WARNING: [#def574]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MOVN’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10212:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10212 | static char *MOVN(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10210| * rd -----
#10211| */
#10212|-> static char *MOVN(uint64 instruction, Dis_info *info)
#10213| {
#10214| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def575]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MOVZ’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10236:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10236 | static char *MOVZ(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10234| * rd -----
#10235| */
#10236|-> static char *MOVZ(uint64 instruction, Dis_info *info)
#10237| {
#10238| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def576]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MSUB_DSP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10260:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10260 | static char *MSUB_DSP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10258| * ac --
#10259| */
#10260|-> static char *MSUB_DSP_(uint64 instruction, Dis_info *info)
#10261| {
#10262| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def577]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MSUBF_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10284:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10284 | static char *MSUBF_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10282| * rd -----
#10283| */
#10284|-> static char *MSUBF_D(uint64 instruction, Dis_info *info)
#10285| {
#10286| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def578]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MSUBF_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10308:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10308 | static char *MSUBF_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10306| * rd -----
#10307| */
#10308|-> static char *MSUBF_S(uint64 instruction, Dis_info *info)
#10309| {
#10310| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def579]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MSUBU_DSP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10332:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10332 | static char *MSUBU_DSP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10330| * ac --
#10331| */
#10332|-> static char *MSUBU_DSP_(uint64 instruction, Dis_info *info)
#10333| {
#10334| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def580]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MTC0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10356:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10356 | static char *MTC0(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10354| * rd -----
#10355| */
#10356|-> static char *MTC0(uint64 instruction, Dis_info *info)
#10357| {
#10358| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def581]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MTC1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10379:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10379 | static char *MTC1(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10377| * rd -----
#10378| */
#10379|-> static char *MTC1(uint64 instruction, Dis_info *info)
#10380| {
#10381| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def582]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MTC2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10401:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10401 | static char *MTC2(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10399| * rd -----
#10400| */
#10401|-> static char *MTC2(uint64 instruction, Dis_info *info)
#10402| {
#10403| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def583]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MTGC0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10422:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10422 | static char *MTGC0(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10420| * rd -----
#10421| */
#10422|-> static char *MTGC0(uint64 instruction, Dis_info *info)
#10423| {
#10424| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def584]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MTHC0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10445:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10445 | static char *MTHC0(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10443| * rd -----
#10444| */
#10445|-> static char *MTHC0(uint64 instruction, Dis_info *info)
#10446| {
#10447| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def585]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MTHC1’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10468:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10468 | static char *MTHC1(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10466| * rd -----
#10467| */
#10468|-> static char *MTHC1(uint64 instruction, Dis_info *info)
#10469| {
#10470| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def586]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MTHC2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10490:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10490 | static char *MTHC2(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10488| * rd -----
#10489| */
#10490|-> static char *MTHC2(uint64 instruction, Dis_info *info)
#10491| {
#10492| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def587]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MTHGC0’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10511:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10511 | static char *MTHGC0(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10509| * rd -----
#10510| */
#10511|-> static char *MTHGC0(uint64 instruction, Dis_info *info)
#10512| {
#10513| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def588]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MTHI_DSP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10533:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10533 | static char *MTHI_DSP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10531| * ac --
#10532| */
#10533|-> static char *MTHI_DSP_(uint64 instruction, Dis_info *info)
#10534| {
#10535| uint64 rs_value = extract_rs_20_19_18_17_16(instruction);
Error: COMPILER_WARNING: [#def589]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MTHLIP’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10554:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10554 | static char *MTHLIP(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10552| * ac --
#10553| */
#10554|-> static char *MTHLIP(uint64 instruction, Dis_info *info)
#10555| {
#10556| uint64 rs_value = extract_rs_20_19_18_17_16(instruction);
Error: COMPILER_WARNING: [#def590]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MTHTR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10576:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10576 | static char *MTHTR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10574| * rd -----
#10575| */
#10576|-> static char *MTHTR(uint64 instruction, Dis_info *info)
#10577| {
#10578| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def591]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MTLO_DSP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10599:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10599 | static char *MTLO_DSP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10597| * ac --
#10598| */
#10599|-> static char *MTLO_DSP_(uint64 instruction, Dis_info *info)
#10600| {
#10601| uint64 rs_value = extract_rs_20_19_18_17_16(instruction);
Error: COMPILER_WARNING: [#def592]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MTTR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10621:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10621 | static char *MTTR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10619| * rd -----
#10620| */
#10621|-> static char *MTTR(uint64 instruction, Dis_info *info)
#10622| {
#10623| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def593]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MUH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10645:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10645 | static char *MUH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10643| * rd -----
#10644| */
#10645|-> static char *MUH(uint64 instruction, Dis_info *info)
#10646| {
#10647| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def594]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MUHU’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10669:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10669 | static char *MUHU(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10667| * rd -----
#10668| */
#10669|-> static char *MUHU(uint64 instruction, Dis_info *info)
#10670| {
#10671| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def595]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MUL_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10693:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10693 | static char *MUL_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10691| * rd -----
#10692| */
#10693|-> static char *MUL_32_(uint64 instruction, Dis_info *info)
#10694| {
#10695| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def596]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MUL_4X4_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10717:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10717 | static char *MUL_4X4_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10715| * rd -----
#10716| */
#10717|-> static char *MUL_4X4_(uint64 instruction, Dis_info *info)
#10718| {
#10719| uint64 rt4_value = extract_rt4_9_7_6_5(instruction);
Error: COMPILER_WARNING: [#def597]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MUL_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10739:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10739 | static char *MUL_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10737| * rd -----
#10738| */
#10739|-> static char *MUL_D(uint64 instruction, Dis_info *info)
#10740| {
#10741| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def598]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MUL_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10764:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10764 | static char *MUL_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10762| * rd -----
#10763| */
#10764|-> static char *MUL_PH(uint64 instruction, Dis_info *info)
#10765| {
#10766| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def599]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MUL_S_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10789:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10789 | static char *MUL_S_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10787| * rd -----
#10788| */
#10789|-> static char *MUL_S_PH(uint64 instruction, Dis_info *info)
#10790| {
#10791| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def600]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MUL_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10813:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10813 | static char *MUL_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10811| * rd -----
#10812| */
#10813|-> static char *MUL_S(uint64 instruction, Dis_info *info)
#10814| {
#10815| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def601]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MULEQ_S_W_PHL’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10838:35: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10838 | static char *MULEQ_S_W_PHL(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10836| * rd -----
#10837| */
#10838|-> static char *MULEQ_S_W_PHL(uint64 instruction, Dis_info *info)
#10839| {
#10840| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def602]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MULEQ_S_W_PHR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10863:35: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10863 | static char *MULEQ_S_W_PHR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10861| * rd -----
#10862| */
#10863|-> static char *MULEQ_S_W_PHR(uint64 instruction, Dis_info *info)
#10864| {
#10865| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def603]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MULEU_S_PH_QBL’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10888:36: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10888 | static char *MULEU_S_PH_QBL(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10886| * rd -----
#10887| */
#10888|-> static char *MULEU_S_PH_QBL(uint64 instruction, Dis_info *info)
#10889| {
#10890| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def604]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MULEU_S_PH_QBR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10913:36: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10913 | static char *MULEU_S_PH_QBR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10911| * rd -----
#10912| */
#10913|-> static char *MULEU_S_PH_QBR(uint64 instruction, Dis_info *info)
#10914| {
#10915| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def605]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MULQ_RS_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10938:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10938 | static char *MULQ_RS_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10936| * rd -----
#10937| */
#10938|-> static char *MULQ_RS_PH(uint64 instruction, Dis_info *info)
#10939| {
#10940| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def606]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MULQ_RS_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10963:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10963 | static char *MULQ_RS_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10961| * rd -----
#10962| */
#10963|-> static char *MULQ_RS_W(uint64 instruction, Dis_info *info)
#10964| {
#10965| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def607]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MULQ_S_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:10988:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#10988 | static char *MULQ_S_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#10986| * rd -----
#10987| */
#10988|-> static char *MULQ_S_PH(uint64 instruction, Dis_info *info)
#10989| {
#10990| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def608]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MULQ_S_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11013:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11013 | static char *MULQ_S_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11011| * rd -----
#11012| */
#11013|-> static char *MULQ_S_W(uint64 instruction, Dis_info *info)
#11014| {
#11015| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def609]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MULSA_W_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11038:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11038 | static char *MULSA_W_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11036| * ac --
#11037| */
#11038|-> static char *MULSA_W_PH(uint64 instruction, Dis_info *info)
#11039| {
#11040| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def610]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MULSAQ_S_W_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11063:35: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11063 | static char *MULSAQ_S_W_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11061| * ac --
#11062| */
#11063|-> static char *MULSAQ_S_W_PH(uint64 instruction, Dis_info *info)
#11064| {
#11065| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def611]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MULT_DSP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11087:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11087 | static char *MULT_DSP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11085| * ac --
#11086| */
#11087|-> static char *MULT_DSP_(uint64 instruction, Dis_info *info)
#11088| {
#11089| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def612]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MULTU_DSP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11111:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11111 | static char *MULTU_DSP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11109| * ac --
#11110| */
#11111|-> static char *MULTU_DSP_(uint64 instruction, Dis_info *info)
#11112| {
#11113| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def613]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘MULU’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11135:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11135 | static char *MULU(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11133| * rd -----
#11134| */
#11135|-> static char *MULU(uint64 instruction, Dis_info *info)
#11136| {
#11137| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def614]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘NEG_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11159:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11159 | static char *NEG_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11157| * rd -----
#11158| */
#11159|-> static char *NEG_D(uint64 instruction, Dis_info *info)
#11160| {
#11161| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def615]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘NEG_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11181:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11181 | static char *NEG_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11179| * rd -----
#11180| */
#11181|-> static char *NEG_S(uint64 instruction, Dis_info *info)
#11182| {
#11183| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def616]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘NOP_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11203:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11203 | static char *NOP_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11201| * rd -----
#11202| */
#11203|-> static char *NOP_16_(uint64 instruction, Dis_info *info)
#11204| {
#11205| (void)instruction;
Error: COMPILER_WARNING: [#def617]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘NOP_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11221:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11221 | static char *NOP_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11219| * rd -----
#11220| */
#11221|-> static char *NOP_32_(uint64 instruction, Dis_info *info)
#11222| {
#11223| (void)instruction;
Error: COMPILER_WARNING: [#def618]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘NOR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11239:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11239 | static char *NOR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11237| * rd -----
#11238| */
#11239|-> static char *NOR(uint64 instruction, Dis_info *info)
#11240| {
#11241| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def619]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘NOT_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11263:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11263 | static char *NOT_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11261| * rd -----
#11262| */
#11263|-> static char *NOT_16_(uint64 instruction, Dis_info *info)
#11264| {
#11265| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def620]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘OR_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11285:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11285 | static char *OR_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11283| * rd -----
#11284| */
#11285|-> static char *OR_16_(uint64 instruction, Dis_info *info)
#11286| {
#11287| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def621]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘OR_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11307:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11307 | static char *OR_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11305| * rd -----
#11306| */
#11307|-> static char *OR_32_(uint64 instruction, Dis_info *info)
#11308| {
#11309| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def622]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ORI’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11331:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11331 | static char *ORI(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11329| * rd -----
#11330| */
#11331|-> static char *ORI(uint64 instruction, Dis_info *info)
#11332| {
#11333| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def623]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PACKRL_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11355:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11355 | static char *PACKRL_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11353| * rd -----
#11354| */
#11355|-> static char *PACKRL_PH(uint64 instruction, Dis_info *info)
#11356| {
#11357| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def624]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PAUSE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11379:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11379 | static char *PAUSE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11377| * rd -----
#11378| */
#11379|-> static char *PAUSE(uint64 instruction, Dis_info *info)
#11380| {
#11381| (void)instruction;
Error: COMPILER_WARNING: [#def625]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PICK_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11398:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11398 | static char *PICK_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11396| * rd -----
#11397| */
#11398|-> static char *PICK_PH(uint64 instruction, Dis_info *info)
#11399| {
#11400| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def626]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PICK_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11423:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11423 | static char *PICK_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11421| * rd -----
#11422| */
#11423|-> static char *PICK_QB(uint64 instruction, Dis_info *info)
#11424| {
#11425| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def627]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PRECEQ_W_PHL’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11448:34: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11448 | static char *PRECEQ_W_PHL(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11446| * rd -----
#11447| */
#11448|-> static char *PRECEQ_W_PHL(uint64 instruction, Dis_info *info)
#11449| {
#11450| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def628]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PRECEQ_W_PHR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11471:34: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11471 | static char *PRECEQ_W_PHR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11469| * rd -----
#11470| */
#11471|-> static char *PRECEQ_W_PHR(uint64 instruction, Dis_info *info)
#11472| {
#11473| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def629]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PRECEQU_PH_QBLA’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11494:37: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11494 | static char *PRECEQU_PH_QBLA(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11492| * rd -----
#11493| */
#11494|-> static char *PRECEQU_PH_QBLA(uint64 instruction, Dis_info *info)
#11495| {
#11496| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def630]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PRECEQU_PH_QBL’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11517:36: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11517 | static char *PRECEQU_PH_QBL(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11515| * rd -----
#11516| */
#11517|-> static char *PRECEQU_PH_QBL(uint64 instruction, Dis_info *info)
#11518| {
#11519| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def631]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PRECEQU_PH_QBRA’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11540:37: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11540 | static char *PRECEQU_PH_QBRA(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11538| * rd -----
#11539| */
#11540|-> static char *PRECEQU_PH_QBRA(uint64 instruction, Dis_info *info)
#11541| {
#11542| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def632]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PRECEQU_PH_QBR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11563:36: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11563 | static char *PRECEQU_PH_QBR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11561| * rd -----
#11562| */
#11563|-> static char *PRECEQU_PH_QBR(uint64 instruction, Dis_info *info)
#11564| {
#11565| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def633]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PRECEU_PH_QBLA’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11587:36: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11587 | static char *PRECEU_PH_QBLA(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11585| * rd -----
#11586| */
#11587|-> static char *PRECEU_PH_QBLA(uint64 instruction, Dis_info *info)
#11588| {
#11589| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def634]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PRECEU_PH_QBL’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11610:35: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11610 | static char *PRECEU_PH_QBL(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11608| * rd -----
#11609| */
#11610|-> static char *PRECEU_PH_QBL(uint64 instruction, Dis_info *info)
#11611| {
#11612| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def635]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PRECEU_PH_QBRA’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11634:36: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11634 | static char *PRECEU_PH_QBRA(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11632| * rd -----
#11633| */
#11634|-> static char *PRECEU_PH_QBRA(uint64 instruction, Dis_info *info)
#11635| {
#11636| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def636]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PRECEU_PH_QBR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11657:35: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11657 | static char *PRECEU_PH_QBR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11655| * rd -----
#11656| */
#11657|-> static char *PRECEU_PH_QBR(uint64 instruction, Dis_info *info)
#11658| {
#11659| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def637]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PRECR_QB_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11680:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11680 | static char *PRECR_QB_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11678| * rd -----
#11679| */
#11680|-> static char *PRECR_QB_PH(uint64 instruction, Dis_info *info)
#11681| {
#11682| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def638]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PRECR_SRA_PH_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11705:36: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11705 | static char *PRECR_SRA_PH_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11703| * rd -----
#11704| */
#11705|-> static char *PRECR_SRA_PH_W(uint64 instruction, Dis_info *info)
#11706| {
#11707| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def639]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PRECR_SRA_R_PH_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11729:38: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11729 | static char *PRECR_SRA_R_PH_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11727| * rd -----
#11728| */
#11729|-> static char *PRECR_SRA_R_PH_W(uint64 instruction, Dis_info *info)
#11730| {
#11731| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def640]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PRECRQ_PH_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11753:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11753 | static char *PRECRQ_PH_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11751| * rd -----
#11752| */
#11753|-> static char *PRECRQ_PH_W(uint64 instruction, Dis_info *info)
#11754| {
#11755| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def641]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PRECRQ_QB_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11778:34: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11778 | static char *PRECRQ_QB_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11776| * rd -----
#11777| */
#11778|-> static char *PRECRQ_QB_PH(uint64 instruction, Dis_info *info)
#11779| {
#11780| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def642]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PRECRQ_RS_PH_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11803:36: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11803 | static char *PRECRQ_RS_PH_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11801| * rd -----
#11802| */
#11803|-> static char *PRECRQ_RS_PH_W(uint64 instruction, Dis_info *info)
#11804| {
#11805| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def643]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PRECRQU_S_QB_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11828:37: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11828 | static char *PRECRQU_S_QB_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11826| * rd -----
#11827| */
#11828|-> static char *PRECRQU_S_QB_PH(uint64 instruction, Dis_info *info)
#11829| {
#11830| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def644]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PREF_S9_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11852:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11852 | static char *PREF_S9_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11850| * rd -----
#11851| */
#11852|-> static char *PREF_S9_(uint64 instruction, Dis_info *info)
#11853| {
#11854| uint64 hint_value = extract_hint_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def645]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PREF_U12_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11875:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11875 | static char *PREF_U12_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11873| * rd -----
#11874| */
#11875|-> static char *PREF_U12_(uint64 instruction, Dis_info *info)
#11876| {
#11877| uint64 hint_value = extract_hint_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def646]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PREFE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11898:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11898 | static char *PREFE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11896| * rd -----
#11897| */
#11898|-> static char *PREFE(uint64 instruction, Dis_info *info)
#11899| {
#11900| uint64 hint_value = extract_hint_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def647]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘PREPEND’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11921:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11921 | static char *PREPEND(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11919| * rd -----
#11920| */
#11921|-> static char *PREPEND(uint64 instruction, Dis_info *info)
#11922| {
#11923| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def648]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘RADDU_W_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11943:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11943 | static char *RADDU_W_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11941| * rs -----
#11942| */
#11943|-> static char *RADDU_W_QB(uint64 instruction, Dis_info *info)
#11944| {
#11945| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def649]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘RDDSP’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11964:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11964 | static char *RDDSP(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11962| * mask -------
#11963| */
#11964|-> static char *RDDSP(uint64 instruction, Dis_info *info)
#11965| {
#11966| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def650]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘RDHWR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:11985:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#11985 | static char *RDHWR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#11983| * rd -----
#11984| */
#11985|-> static char *RDHWR(uint64 instruction, Dis_info *info)
#11986| {
#11987| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def651]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘RDPGPR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12008:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12008 | static char *RDPGPR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12006| * rd -----
#12007| */
#12008|-> static char *RDPGPR(uint64 instruction, Dis_info *info)
#12009| {
#12010| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def652]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘RECIP_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12030:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12030 | static char *RECIP_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12028| * rd -----
#12029| */
#12030|-> static char *RECIP_D(uint64 instruction, Dis_info *info)
#12031| {
#12032| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def653]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘RECIP_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12052:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12052 | static char *RECIP_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12050| * rd -----
#12051| */
#12052|-> static char *RECIP_S(uint64 instruction, Dis_info *info)
#12053| {
#12054| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def654]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘REPL_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12074:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12074 | static char *REPL_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12072| * s ----------
#12073| */
#12074|-> static char *REPL_PH(uint64 instruction, Dis_info *info)
#12075| {
#12076| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def655]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘REPL_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12095:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12095 | static char *REPL_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12093| * u --------
#12094| */
#12095|-> static char *REPL_QB(uint64 instruction, Dis_info *info)
#12096| {
#12097| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def656]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘REPLV_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12116:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12116 | static char *REPLV_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12114| * rs -----
#12115| */
#12116|-> static char *REPLV_PH(uint64 instruction, Dis_info *info)
#12117| {
#12118| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def657]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘REPLV_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12137:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12137 | static char *REPLV_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12135| * rs -----
#12136| */
#12137|-> static char *REPLV_QB(uint64 instruction, Dis_info *info)
#12138| {
#12139| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def658]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘RESTORE_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12159:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12159 | static char *RESTORE_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12157| * rd -----
#12158| */
#12159|-> static char *RESTORE_32_(uint64 instruction, Dis_info *info)
#12160| {
#12161| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def659]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘RESTORE_JRC_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12182:37: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12182 | static char *RESTORE_JRC_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12180| * rd -----
#12181| */
#12182|-> static char *RESTORE_JRC_16_(uint64 instruction, Dis_info *info)
#12183| {
#12184| uint64 rt1_value = extract_rtl_11(instruction);
Error: COMPILER_WARNING: [#def660]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘RESTORE_JRC_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12204:37: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12204 | static char *RESTORE_JRC_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12202| * rd -----
#12203| */
#12204|-> static char *RESTORE_JRC_32_(uint64 instruction, Dis_info *info)
#12205| {
#12206| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def661]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘RESTOREF’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12228:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12228 | static char *RESTOREF(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12226| * rd -----
#12227| */
#12228|-> static char *RESTOREF(uint64 instruction, Dis_info *info)
#12229| {
#12230| uint64 count_value = extract_count_19_18_17_16(instruction);
Error: COMPILER_WARNING: [#def662]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘RINT_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12249:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12249 | static char *RINT_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12247| * rd -----
#12248| */
#12249|-> static char *RINT_D(uint64 instruction, Dis_info *info)
#12250| {
#12251| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def663]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘RINT_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12271:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12271 | static char *RINT_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12269| * rd -----
#12270| */
#12271|-> static char *RINT_S(uint64 instruction, Dis_info *info)
#12272| {
#12273| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def664]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ROTR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12293:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12293 | static char *ROTR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12291| * rd -----
#12292| */
#12293|-> static char *ROTR(uint64 instruction, Dis_info *info)
#12294| {
#12295| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def665]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ROTRV’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12316:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12316 | static char *ROTRV(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12314| * rd -----
#12315| */
#12316|-> static char *ROTRV(uint64 instruction, Dis_info *info)
#12317| {
#12318| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def666]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ROTX’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12340:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12340 | static char *ROTX(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12338| * rd -----
#12339| */
#12340|-> static char *ROTX(uint64 instruction, Dis_info *info)
#12341| {
#12342| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def667]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ROUND_L_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12366:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12366 | static char *ROUND_L_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12364| * rd -----
#12365| */
#12366|-> static char *ROUND_L_D(uint64 instruction, Dis_info *info)
#12367| {
#12368| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def668]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ROUND_L_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12388:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12388 | static char *ROUND_L_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12386| * rd -----
#12387| */
#12388|-> static char *ROUND_L_S(uint64 instruction, Dis_info *info)
#12389| {
#12390| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def669]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ROUND_W_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12410:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12410 | static char *ROUND_W_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12408| * rd -----
#12409| */
#12410|-> static char *ROUND_W_D(uint64 instruction, Dis_info *info)
#12411| {
#12412| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def670]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘ROUND_W_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12432:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12432 | static char *ROUND_W_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12430| * rd -----
#12431| */
#12432|-> static char *ROUND_W_S(uint64 instruction, Dis_info *info)
#12433| {
#12434| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def671]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘RSQRT_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12454:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12454 | static char *RSQRT_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12452| * rd -----
#12453| */
#12454|-> static char *RSQRT_D(uint64 instruction, Dis_info *info)
#12455| {
#12456| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def672]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘RSQRT_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12476:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12476 | static char *RSQRT_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12474| * rd -----
#12475| */
#12476|-> static char *RSQRT_S(uint64 instruction, Dis_info *info)
#12477| {
#12478| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def673]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SAVE_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12498:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12498 | static char *SAVE_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12496| * rd -----
#12497| */
#12498|-> static char *SAVE_16_(uint64 instruction, Dis_info *info)
#12499| {
#12500| uint64 rt1_value = extract_rtl_11(instruction);
Error: COMPILER_WARNING: [#def674]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SAVE_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12520:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12520 | static char *SAVE_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12518| * rd -----
#12519| */
#12520|-> static char *SAVE_32_(uint64 instruction, Dis_info *info)
#12521| {
#12522| uint64 count_value = extract_count_19_18_17_16(instruction);
Error: COMPILER_WARNING: [#def675]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SAVEF’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12543:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12543 | static char *SAVEF(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12541| * rd -----
#12542| */
#12543|-> static char *SAVEF(uint64 instruction, Dis_info *info)
#12544| {
#12545| uint64 count_value = extract_count_19_18_17_16(instruction);
Error: COMPILER_WARNING: [#def676]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SB_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12563:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12563 | static char *SB_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12561| * rd -----
#12562| */
#12563|-> static char *SB_16_(uint64 instruction, Dis_info *info)
#12564| {
#12565| uint64 rtz3_value = extract_rtz3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def677]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SB_GP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12586:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12586 | static char *SB_GP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12584| * rd -----
#12585| */
#12586|-> static char *SB_GP_(uint64 instruction, Dis_info *info)
#12587| {
#12588| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def678]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SB_S9_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12607:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12607 | static char *SB_S9_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12605| * rd -----
#12606| */
#12607|-> static char *SB_S9_(uint64 instruction, Dis_info *info)
#12608| {
#12609| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def679]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SB_U12_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12630:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12630 | static char *SB_U12_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12628| * rd -----
#12629| */
#12630|-> static char *SB_U12_(uint64 instruction, Dis_info *info)
#12631| {
#12632| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def680]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SBE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12653:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12653 | static char *SBE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12651| * rd -----
#12652| */
#12653|-> static char *SBE(uint64 instruction, Dis_info *info)
#12654| {
#12655| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def681]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SBX’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12676:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12676 | static char *SBX(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12674| * rd -----
#12675| */
#12676|-> static char *SBX(uint64 instruction, Dis_info *info)
#12677| {
#12678| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def682]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12700:24: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12700 | static char *SC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12698| * rd -----
#12699| */
#12700|-> static char *SC(uint64 instruction, Dis_info *info)
#12701| {
#12702| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def683]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SCD’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12723:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12723 | static char *SCD(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12721| * rd -----
#12722| */
#12723|-> static char *SCD(uint64 instruction, Dis_info *info)
#12724| {
#12725| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def684]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SCDP’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12746:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12746 | static char *SCDP(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12744| * rd -----
#12745| */
#12746|-> static char *SCDP(uint64 instruction, Dis_info *info)
#12747| {
#12748| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def685]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SCE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12770:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12770 | static char *SCE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12768| * rd -----
#12769| */
#12770|-> static char *SCE(uint64 instruction, Dis_info *info)
#12771| {
#12772| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def686]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SCWP’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12793:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12793 | static char *SCWP(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12791| * rd -----
#12792| */
#12793|-> static char *SCWP(uint64 instruction, Dis_info *info)
#12794| {
#12795| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def687]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SCWPE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12817:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12817 | static char *SCWPE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12815| * rd -----
#12816| */
#12817|-> static char *SCWPE(uint64 instruction, Dis_info *info)
#12818| {
#12819| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def688]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SD_GP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12841:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12841 | static char *SD_GP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12839| * rd -----
#12840| */
#12841|-> static char *SD_GP_(uint64 instruction, Dis_info *info)
#12842| {
#12843| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def689]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SD_S9_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12862:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12862 | static char *SD_S9_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12860| * rd -----
#12861| */
#12862|-> static char *SD_S9_(uint64 instruction, Dis_info *info)
#12863| {
#12864| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def690]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SD_U12_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12885:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12885 | static char *SD_U12_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12883| * rd -----
#12884| */
#12885|-> static char *SD_U12_(uint64 instruction, Dis_info *info)
#12886| {
#12887| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def691]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SDBBP_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12908:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12908 | static char *SDBBP_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12906| * rd -----
#12907| */
#12908|-> static char *SDBBP_16_(uint64 instruction, Dis_info *info)
#12909| {
#12910| uint64 code_value = extract_code_2_1_0(instruction);
Error: COMPILER_WARNING: [#def692]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SDBBP_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12927:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12927 | static char *SDBBP_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12925| * rd -----
#12926| */
#12927|-> static char *SDBBP_32_(uint64 instruction, Dis_info *info)
#12928| {
#12929| uint64 code_value = extract_code_18_to_0(instruction);
Error: COMPILER_WARNING: [#def693]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SDC1_GP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12946:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12946 | static char *SDC1_GP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12944| * rd -----
#12945| */
#12946|-> static char *SDC1_GP_(uint64 instruction, Dis_info *info)
#12947| {
#12948| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def694]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SDC1_S9_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12967:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12967 | static char *SDC1_S9_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12965| * rd -----
#12966| */
#12967|-> static char *SDC1_S9_(uint64 instruction, Dis_info *info)
#12968| {
#12969| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def695]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SDC1_U12_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:12990:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#12990 | static char *SDC1_U12_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#12988| * rd -----
#12989| */
#12990|-> static char *SDC1_U12_(uint64 instruction, Dis_info *info)
#12991| {
#12992| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def696]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SDC1X’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13013:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13013 | static char *SDC1X(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13011| * rd -----
#13012| */
#13013|-> static char *SDC1X(uint64 instruction, Dis_info *info)
#13014| {
#13015| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def697]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SDC1XS’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13037:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13037 | static char *SDC1XS(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13035| * rd -----
#13036| */
#13037|-> static char *SDC1XS(uint64 instruction, Dis_info *info)
#13038| {
#13039| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def698]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SDC2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13061:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13061 | static char *SDC2(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13059| * rd -----
#13060| */
#13061|-> static char *SDC2(uint64 instruction, Dis_info *info)
#13062| {
#13063| uint64 cs_value = extract_cs_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def699]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SDM’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13084:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13084 | static char *SDM(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13082| * rd -----
#13083| */
#13084|-> static char *SDM(uint64 instruction, Dis_info *info)
#13085| {
#13086| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def700]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SDPC_48_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13110:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13110 | static char *SDPC_48_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13108| * rd -----
#13109| */
#13110|-> static char *SDPC_48_(uint64 instruction, Dis_info *info)
#13111| {
#13112| uint64 rt_value = extract_rt_41_40_39_38_37(instruction);
Error: COMPILER_WARNING: [#def701]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SDXS’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13132:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13132 | static char *SDXS(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13130| * rd -----
#13131| */
#13132|-> static char *SDXS(uint64 instruction, Dis_info *info)
#13133| {
#13134| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def702]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SDX’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13156:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13156 | static char *SDX(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13154| * rd -----
#13155| */
#13156|-> static char *SDX(uint64 instruction, Dis_info *info)
#13157| {
#13158| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def703]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SEB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13180:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13180 | static char *SEB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13178| * rd -----
#13179| */
#13180|-> static char *SEB(uint64 instruction, Dis_info *info)
#13181| {
#13182| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def704]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SEH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13202:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13202 | static char *SEH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13200| * rd -----
#13201| */
#13202|-> static char *SEH(uint64 instruction, Dis_info *info)
#13203| {
#13204| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def705]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SEL_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13224:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13224 | static char *SEL_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13222| * rd -----
#13223| */
#13224|-> static char *SEL_D(uint64 instruction, Dis_info *info)
#13225| {
#13226| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def706]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SEL_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13248:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13248 | static char *SEL_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13246| * rd -----
#13247| */
#13248|-> static char *SEL_S(uint64 instruction, Dis_info *info)
#13249| {
#13250| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def707]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SELEQZ_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13272:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13272 | static char *SELEQZ_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13270| * rd -----
#13271| */
#13272|-> static char *SELEQZ_D(uint64 instruction, Dis_info *info)
#13273| {
#13274| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def708]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SELEQZ_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13296:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13296 | static char *SELEQZ_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13294| * rd -----
#13295| */
#13296|-> static char *SELEQZ_S(uint64 instruction, Dis_info *info)
#13297| {
#13298| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def709]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SELNEZ_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13320:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13320 | static char *SELNEZ_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13318| * rd -----
#13319| */
#13320|-> static char *SELNEZ_D(uint64 instruction, Dis_info *info)
#13321| {
#13322| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def710]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SELNEZ_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13344:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13344 | static char *SELNEZ_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13342| * rd -----
#13343| */
#13344|-> static char *SELNEZ_S(uint64 instruction, Dis_info *info)
#13345| {
#13346| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def711]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SEQI’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13368:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13368 | static char *SEQI(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13366| * rd -----
#13367| */
#13368|-> static char *SEQI(uint64 instruction, Dis_info *info)
#13369| {
#13370| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def712]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SH_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13391:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13391 | static char *SH_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13389| * rd -----
#13390| */
#13391|-> static char *SH_16_(uint64 instruction, Dis_info *info)
#13392| {
#13393| uint64 rtz3_value = extract_rtz3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def713]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SH_GP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13414:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13414 | static char *SH_GP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13412| * rd -----
#13413| */
#13414|-> static char *SH_GP_(uint64 instruction, Dis_info *info)
#13415| {
#13416| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def714]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SH_S9_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13435:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13435 | static char *SH_S9_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13433| * rd -----
#13434| */
#13435|-> static char *SH_S9_(uint64 instruction, Dis_info *info)
#13436| {
#13437| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def715]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SH_U12_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13458:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13458 | static char *SH_U12_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13456| * rd -----
#13457| */
#13458|-> static char *SH_U12_(uint64 instruction, Dis_info *info)
#13459| {
#13460| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def716]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13481:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13481 | static char *SHE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13479| * rd -----
#13480| */
#13481|-> static char *SHE(uint64 instruction, Dis_info *info)
#13482| {
#13483| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def717]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHILO’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13504:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13504 | static char *SHILO(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13502| * ac --
#13503| */
#13504|-> static char *SHILO(uint64 instruction, Dis_info *info)
#13505| {
#13506| int64 shift_value = extract_shift__se5_21_20_19_18_17_16(instruction);
Error: COMPILER_WARNING: [#def718]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHILOV’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13525:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13525 | static char *SHILOV(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13523| * ac --
#13524| */
#13525|-> static char *SHILOV(uint64 instruction, Dis_info *info)
#13526| {
#13527| uint64 rs_value = extract_rs_20_19_18_17_16(instruction);
Error: COMPILER_WARNING: [#def719]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHLL_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13547:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13547 | static char *SHLL_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13545| * sa ----
#13546| */
#13547|-> static char *SHLL_PH(uint64 instruction, Dis_info *info)
#13548| {
#13549| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def720]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHLL_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13570:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13570 | static char *SHLL_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13568| * sa ---
#13569| */
#13570|-> static char *SHLL_QB(uint64 instruction, Dis_info *info)
#13571| {
#13572| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def721]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHLL_S_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13594:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13594 | static char *SHLL_S_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13592| * sa ----
#13593| */
#13594|-> static char *SHLL_S_PH(uint64 instruction, Dis_info *info)
#13595| {
#13596| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def722]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHLL_S_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13617:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13617 | static char *SHLL_S_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13615| * sa -----
#13616| */
#13617|-> static char *SHLL_S_W(uint64 instruction, Dis_info *info)
#13618| {
#13619| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def723]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHLLV_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13641:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13641 | static char *SHLLV_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13639| * rd -----
#13640| */
#13641|-> static char *SHLLV_PH(uint64 instruction, Dis_info *info)
#13642| {
#13643| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def724]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHLLV_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13665:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13665 | static char *SHLLV_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13663| * rd -----
#13664| */
#13665|-> static char *SHLLV_QB(uint64 instruction, Dis_info *info)
#13666| {
#13667| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def725]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHLLV_S_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13690:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13690 | static char *SHLLV_S_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13688| * rd -----
#13689| */
#13690|-> static char *SHLLV_S_PH(uint64 instruction, Dis_info *info)
#13691| {
#13692| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def726]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHLLV_S_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13714:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13714 | static char *SHLLV_S_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13712| * rd -----
#13713| */
#13714|-> static char *SHLLV_S_W(uint64 instruction, Dis_info *info)
#13715| {
#13716| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def727]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHRA_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13738:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13738 | static char *SHRA_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13736| * rd -----
#13737| */
#13738|-> static char *SHRA_PH(uint64 instruction, Dis_info *info)
#13739| {
#13740| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def728]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHRA_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13761:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13761 | static char *SHRA_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13759| * rd -----
#13760| */
#13761|-> static char *SHRA_QB(uint64 instruction, Dis_info *info)
#13762| {
#13763| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def729]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHRA_R_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13784:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13784 | static char *SHRA_R_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13782| * rd -----
#13783| */
#13784|-> static char *SHRA_R_PH(uint64 instruction, Dis_info *info)
#13785| {
#13786| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def730]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHRA_R_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13807:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13807 | static char *SHRA_R_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13805| * rd -----
#13806| */
#13807|-> static char *SHRA_R_QB(uint64 instruction, Dis_info *info)
#13808| {
#13809| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def731]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHRA_R_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13830:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13830 | static char *SHRA_R_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13828| * rd -----
#13829| */
#13830|-> static char *SHRA_R_W(uint64 instruction, Dis_info *info)
#13831| {
#13832| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def732]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHRAV_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13853:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13853 | static char *SHRAV_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13851| * rd -----
#13852| */
#13853|-> static char *SHRAV_PH(uint64 instruction, Dis_info *info)
#13854| {
#13855| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def733]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHRAV_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13877:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13877 | static char *SHRAV_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13875| * rd -----
#13876| */
#13877|-> static char *SHRAV_QB(uint64 instruction, Dis_info *info)
#13878| {
#13879| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def734]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHRAV_R_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13901:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13901 | static char *SHRAV_R_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13899| * rd -----
#13900| */
#13901|-> static char *SHRAV_R_PH(uint64 instruction, Dis_info *info)
#13902| {
#13903| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def735]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHRAV_R_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13925:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13925 | static char *SHRAV_R_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13923| * rd -----
#13924| */
#13925|-> static char *SHRAV_R_QB(uint64 instruction, Dis_info *info)
#13926| {
#13927| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def736]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHRAV_R_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13949:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13949 | static char *SHRAV_R_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13947| * rd -----
#13948| */
#13949|-> static char *SHRAV_R_W(uint64 instruction, Dis_info *info)
#13950| {
#13951| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def737]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHRL_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13973:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13973 | static char *SHRL_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13971| * sa ----
#13972| */
#13973|-> static char *SHRL_PH(uint64 instruction, Dis_info *info)
#13974| {
#13975| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def738]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHRL_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:13996:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#13996 | static char *SHRL_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#13994| * sa ---
#13995| */
#13996|-> static char *SHRL_QB(uint64 instruction, Dis_info *info)
#13997| {
#13998| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def739]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHRLV_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14020:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14020 | static char *SHRLV_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14018| * rd -----
#14019| */
#14020|-> static char *SHRLV_PH(uint64 instruction, Dis_info *info)
#14021| {
#14022| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def740]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHRLV_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14044:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14044 | static char *SHRLV_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14042| * rd -----
#14043| */
#14044|-> static char *SHRLV_QB(uint64 instruction, Dis_info *info)
#14045| {
#14046| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def741]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHX’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14068:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14068 | static char *SHX(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14066| * rd -----
#14067| */
#14068|-> static char *SHX(uint64 instruction, Dis_info *info)
#14069| {
#14070| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def742]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SHXS’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14092:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14092 | static char *SHXS(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14090| * rd -----
#14091| */
#14092|-> static char *SHXS(uint64 instruction, Dis_info *info)
#14093| {
#14094| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def743]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SIGRIE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14116:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14116 | static char *SIGRIE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14114| * rd -----
#14115| */
#14116|-> static char *SIGRIE(uint64 instruction, Dis_info *info)
#14117| {
#14118| uint64 code_value = extract_code_18_to_0(instruction);
Error: COMPILER_WARNING: [#def744]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SLL_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14135:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14135 | static char *SLL_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14133| * rd -----
#14134| */
#14135|-> static char *SLL_16_(uint64 instruction, Dis_info *info)
#14136| {
#14137| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def745]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SLL_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14159:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14159 | static char *SLL_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14157| * rd -----
#14158| */
#14159|-> static char *SLL_32_(uint64 instruction, Dis_info *info)
#14160| {
#14161| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def746]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SLLV’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14182:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14182 | static char *SLLV(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14180| * rd -----
#14181| */
#14182|-> static char *SLLV(uint64 instruction, Dis_info *info)
#14183| {
#14184| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def747]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SLT’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14206:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14206 | static char *SLT(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14204| * rd -----
#14205| */
#14206|-> static char *SLT(uint64 instruction, Dis_info *info)
#14207| {
#14208| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def748]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SLTI’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14230:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14230 | static char *SLTI(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14228| * rd -----
#14229| */
#14230|-> static char *SLTI(uint64 instruction, Dis_info *info)
#14231| {
#14232| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def749]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SLTIU’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14253:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14253 | static char *SLTIU(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14251| * rd -----
#14252| */
#14253|-> static char *SLTIU(uint64 instruction, Dis_info *info)
#14254| {
#14255| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def750]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SLTU’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14276:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14276 | static char *SLTU(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14274| * rd -----
#14275| */
#14276|-> static char *SLTU(uint64 instruction, Dis_info *info)
#14277| {
#14278| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def751]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SOV’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14300:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14300 | static char *SOV(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14298| * rd -----
#14299| */
#14300|-> static char *SOV(uint64 instruction, Dis_info *info)
#14301| {
#14302| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def752]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SPECIAL2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14324:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14324 | static char *SPECIAL2(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14322| * rd -----
#14323| */
#14324|-> static char *SPECIAL2(uint64 instruction, Dis_info *info)
#14325| {
#14326| uint64 op_value = extract_op_25_to_3(instruction);
Error: COMPILER_WARNING: [#def753]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SQRT_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14343:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14343 | static char *SQRT_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14341| * rd -----
#14342| */
#14343|-> static char *SQRT_D(uint64 instruction, Dis_info *info)
#14344| {
#14345| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def754]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SQRT_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14365:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14365 | static char *SQRT_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14363| * rd -----
#14364| */
#14365|-> static char *SQRT_S(uint64 instruction, Dis_info *info)
#14366| {
#14367| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def755]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SRA’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14387:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14387 | static char *SRA(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14385| * sa -----
#14386| */
#14387|-> static char *SRA(uint64 instruction, Dis_info *info)
#14388| {
#14389| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def756]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SRAV’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14410:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14410 | static char *SRAV(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14408| * rd -----
#14409| */
#14410|-> static char *SRAV(uint64 instruction, Dis_info *info)
#14411| {
#14412| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def757]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SRL_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14434:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14434 | static char *SRL_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14432| * rd -----
#14433| */
#14434|-> static char *SRL_16_(uint64 instruction, Dis_info *info)
#14435| {
#14436| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def758]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SRL_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14458:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14458 | static char *SRL_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14456| * rd -----
#14457| */
#14458|-> static char *SRL_32_(uint64 instruction, Dis_info *info)
#14459| {
#14460| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def759]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SRLV’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14481:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14481 | static char *SRLV(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14479| * rd -----
#14480| */
#14481|-> static char *SRLV(uint64 instruction, Dis_info *info)
#14482| {
#14483| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def760]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SUB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14505:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14505 | static char *SUB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14503| * rd -----
#14504| */
#14505|-> static char *SUB(uint64 instruction, Dis_info *info)
#14506| {
#14507| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def761]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SUB_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14529:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14529 | static char *SUB_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14527| * rd -----
#14528| */
#14529|-> static char *SUB_D(uint64 instruction, Dis_info *info)
#14530| {
#14531| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def762]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SUB_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14553:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14553 | static char *SUB_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14551| * rd -----
#14552| */
#14553|-> static char *SUB_S(uint64 instruction, Dis_info *info)
#14554| {
#14555| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def763]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SUBQ_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14577:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14577 | static char *SUBQ_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14575| * rd -----
#14576| */
#14577|-> static char *SUBQ_PH(uint64 instruction, Dis_info *info)
#14578| {
#14579| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def764]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SUBQ_S_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14602:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14602 | static char *SUBQ_S_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14600| * rd -----
#14601| */
#14602|-> static char *SUBQ_S_PH(uint64 instruction, Dis_info *info)
#14603| {
#14604| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def765]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SUBQ_S_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14627:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14627 | static char *SUBQ_S_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14625| * rd -----
#14626| */
#14627|-> static char *SUBQ_S_W(uint64 instruction, Dis_info *info)
#14628| {
#14629| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def766]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SUBQH_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14652:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14652 | static char *SUBQH_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14650| * rd -----
#14651| */
#14652|-> static char *SUBQH_PH(uint64 instruction, Dis_info *info)
#14653| {
#14654| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def767]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SUBQH_R_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14677:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14677 | static char *SUBQH_R_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14675| * rd -----
#14676| */
#14677|-> static char *SUBQH_R_PH(uint64 instruction, Dis_info *info)
#14678| {
#14679| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def768]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SUBQH_R_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14702:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14702 | static char *SUBQH_R_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14700| * rd -----
#14701| */
#14702|-> static char *SUBQH_R_W(uint64 instruction, Dis_info *info)
#14703| {
#14704| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def769]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SUBQH_W’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14727:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14727 | static char *SUBQH_W(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14725| * rd -----
#14726| */
#14727|-> static char *SUBQH_W(uint64 instruction, Dis_info *info)
#14728| {
#14729| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def770]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SUBU_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14751:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14751 | static char *SUBU_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14749| * rd -----
#14750| */
#14751|-> static char *SUBU_16_(uint64 instruction, Dis_info *info)
#14752| {
#14753| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def771]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SUBU_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14775:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14775 | static char *SUBU_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14773| * rd -----
#14774| */
#14775|-> static char *SUBU_32_(uint64 instruction, Dis_info *info)
#14776| {
#14777| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def772]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SUBU_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14799:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14799 | static char *SUBU_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14797| * rd -----
#14798| */
#14799|-> static char *SUBU_PH(uint64 instruction, Dis_info *info)
#14800| {
#14801| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def773]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SUBU_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14823:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14823 | static char *SUBU_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14821| * rd -----
#14822| */
#14823|-> static char *SUBU_QB(uint64 instruction, Dis_info *info)
#14824| {
#14825| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def774]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SUBU_S_PH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14848:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14848 | static char *SUBU_S_PH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14846| * rd -----
#14847| */
#14848|-> static char *SUBU_S_PH(uint64 instruction, Dis_info *info)
#14849| {
#14850| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def775]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SUBU_S_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14873:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14873 | static char *SUBU_S_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14871| * rd -----
#14872| */
#14873|-> static char *SUBU_S_QB(uint64 instruction, Dis_info *info)
#14874| {
#14875| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def776]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SUBUH_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14898:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14898 | static char *SUBUH_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14896| * rd -----
#14897| */
#14898|-> static char *SUBUH_QB(uint64 instruction, Dis_info *info)
#14899| {
#14900| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def777]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SUBUH_R_QB’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14923:32: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14923 | static char *SUBUH_R_QB(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14921| * rd -----
#14922| */
#14923|-> static char *SUBUH_R_QB(uint64 instruction, Dis_info *info)
#14924| {
#14925| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def778]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SW_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14947:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14947 | static char *SW_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14945| * rd -----
#14946| */
#14947|-> static char *SW_16_(uint64 instruction, Dis_info *info)
#14948| {
#14949| uint64 rtz3_value = extract_rtz3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def779]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SW_4X4_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14970:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14970 | static char *SW_4X4_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14968| * rd -----
#14969| */
#14970|-> static char *SW_4X4_(uint64 instruction, Dis_info *info)
#14971| {
#14972| uint64 rtz4_value = extract_rtz4_9_7_6_5(instruction);
Error: COMPILER_WARNING: [#def780]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SW_GP16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:14993:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#14993 | static char *SW_GP16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#14991| * rd -----
#14992| */
#14993|-> static char *SW_GP16_(uint64 instruction, Dis_info *info)
#14994| {
#14995| uint64 u_value = extract_u_6_5_4_3_2_1_0__s2(instruction);
Error: COMPILER_WARNING: [#def781]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SW_GP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15014:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15014 | static char *SW_GP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15012| * rd -----
#15013| */
#15014|-> static char *SW_GP_(uint64 instruction, Dis_info *info)
#15015| {
#15016| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def782]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SW_S9_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15035:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15035 | static char *SW_S9_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15033| * rd -----
#15034| */
#15035|-> static char *SW_S9_(uint64 instruction, Dis_info *info)
#15036| {
#15037| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def783]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SW_SP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15058:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15058 | static char *SW_SP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15056| * rd -----
#15057| */
#15058|-> static char *SW_SP_(uint64 instruction, Dis_info *info)
#15059| {
#15060| uint64 rt_value = extract_rt_9_8_7_6_5(instruction);
Error: COMPILER_WARNING: [#def784]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SW_U12_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15079:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15079 | static char *SW_U12_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15077| * rd -----
#15078| */
#15079|-> static char *SW_U12_(uint64 instruction, Dis_info *info)
#15080| {
#15081| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def785]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SWC1_GP_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15102:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15102 | static char *SWC1_GP_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15100| * rd -----
#15101| */
#15102|-> static char *SWC1_GP_(uint64 instruction, Dis_info *info)
#15103| {
#15104| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def786]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SWC1_S9_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15123:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15123 | static char *SWC1_S9_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15121| * rd -----
#15122| */
#15123|-> static char *SWC1_S9_(uint64 instruction, Dis_info *info)
#15124| {
#15125| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def787]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SWC1_U12_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15146:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15146 | static char *SWC1_U12_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15144| * rd -----
#15145| */
#15146|-> static char *SWC1_U12_(uint64 instruction, Dis_info *info)
#15147| {
#15148| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def788]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SWC1X’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15169:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15169 | static char *SWC1X(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15167| * rd -----
#15168| */
#15169|-> static char *SWC1X(uint64 instruction, Dis_info *info)
#15170| {
#15171| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def789]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SWC1XS’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15193:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15193 | static char *SWC1XS(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15191| * rd -----
#15192| */
#15193|-> static char *SWC1XS(uint64 instruction, Dis_info *info)
#15194| {
#15195| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def790]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SWC2’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15217:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15217 | static char *SWC2(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15215| * rd -----
#15216| */
#15217|-> static char *SWC2(uint64 instruction, Dis_info *info)
#15218| {
#15219| uint64 cs_value = extract_cs_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def791]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SWE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15240:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15240 | static char *SWE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15238| * rd -----
#15239| */
#15240|-> static char *SWE(uint64 instruction, Dis_info *info)
#15241| {
#15242| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def792]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SWM’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15263:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15263 | static char *SWM(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15261| * rd -----
#15262| */
#15263|-> static char *SWM(uint64 instruction, Dis_info *info)
#15264| {
#15265| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def793]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SWPC_48_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15289:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15289 | static char *SWPC_48_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15287| * rd -----
#15288| */
#15289|-> static char *SWPC_48_(uint64 instruction, Dis_info *info)
#15290| {
#15291| uint64 rt_value = extract_rt_41_40_39_38_37(instruction);
Error: COMPILER_WARNING: [#def794]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SWX’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15311:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15311 | static char *SWX(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15309| * rd -----
#15310| */
#15311|-> static char *SWX(uint64 instruction, Dis_info *info)
#15312| {
#15313| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def795]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SWXS’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15335:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15335 | static char *SWXS(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15333| * rd -----
#15334| */
#15335|-> static char *SWXS(uint64 instruction, Dis_info *info)
#15336| {
#15337| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def796]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SYNC’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15359:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15359 | static char *SYNC(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15357| * rd -----
#15358| */
#15359|-> static char *SYNC(uint64 instruction, Dis_info *info)
#15360| {
#15361| uint64 stype_value = extract_stype_20_19_18_17_16(instruction);
Error: COMPILER_WARNING: [#def797]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SYNCI’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15378:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15378 | static char *SYNCI(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15376| * rd -----
#15377| */
#15378|-> static char *SYNCI(uint64 instruction, Dis_info *info)
#15379| {
#15380| uint64 rs_value = extract_rs_20_19_18_17_16(instruction);
Error: COMPILER_WARNING: [#def798]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SYNCIE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15399:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15399 | static char *SYNCIE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15397| * rd -----
#15398| */
#15399|-> static char *SYNCIE(uint64 instruction, Dis_info *info)
#15400| {
#15401| uint64 rs_value = extract_rs_20_19_18_17_16(instruction);
Error: COMPILER_WARNING: [#def799]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SYSCALL_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15420:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15420 | static char *SYSCALL_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15418| * rd -----
#15419| */
#15420|-> static char *SYSCALL_16_(uint64 instruction, Dis_info *info)
#15421| {
#15422| uint64 code_value = extract_code_1_0(instruction);
Error: COMPILER_WARNING: [#def800]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘SYSCALL_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15437:33: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15437 | static char *SYSCALL_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15435| * code ------------------
#15436| */
#15437|-> static char *SYSCALL_32_(uint64 instruction, Dis_info *info)
#15438| {
#15439| uint64 code_value = extract_code_17_to_0(instruction);
Error: COMPILER_WARNING: [#def801]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘TEQ’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15456:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15456 | static char *TEQ(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15454| * rd -----
#15455| */
#15456|-> static char *TEQ(uint64 instruction, Dis_info *info)
#15457| {
#15458| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def802]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘TLBGINV’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15478:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15478 | static char *TLBGINV(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15476| * rd -----
#15477| */
#15478|-> static char *TLBGINV(uint64 instruction, Dis_info *info)
#15479| {
#15480| (void)instruction;
Error: COMPILER_WARNING: [#def803]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘TLBGINVF’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15496:30: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15496 | static char *TLBGINVF(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15494| * rd -----
#15495| */
#15496|-> static char *TLBGINVF(uint64 instruction, Dis_info *info)
#15497| {
#15498| (void)instruction;
Error: COMPILER_WARNING: [#def804]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘TLBGP’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15514:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15514 | static char *TLBGP(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15512| * rd -----
#15513| */
#15514|-> static char *TLBGP(uint64 instruction, Dis_info *info)
#15515| {
#15516| (void)instruction;
Error: COMPILER_WARNING: [#def805]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘TLBGR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15532:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15532 | static char *TLBGR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15530| * rd -----
#15531| */
#15532|-> static char *TLBGR(uint64 instruction, Dis_info *info)
#15533| {
#15534| (void)instruction;
Error: COMPILER_WARNING: [#def806]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘TLBGWI’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15550:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15550 | static char *TLBGWI(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15548| * rd -----
#15549| */
#15550|-> static char *TLBGWI(uint64 instruction, Dis_info *info)
#15551| {
#15552| (void)instruction;
Error: COMPILER_WARNING: [#def807]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘TLBGWR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15568:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15568 | static char *TLBGWR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15566| * rd -----
#15567| */
#15568|-> static char *TLBGWR(uint64 instruction, Dis_info *info)
#15569| {
#15570| (void)instruction;
Error: COMPILER_WARNING: [#def808]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘TLBINV’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15586:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15586 | static char *TLBINV(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15584| * rd -----
#15585| */
#15586|-> static char *TLBINV(uint64 instruction, Dis_info *info)
#15587| {
#15588| (void)instruction;
Error: COMPILER_WARNING: [#def809]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘TLBINVF’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15604:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15604 | static char *TLBINVF(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15602| * rd -----
#15603| */
#15604|-> static char *TLBINVF(uint64 instruction, Dis_info *info)
#15605| {
#15606| (void)instruction;
Error: COMPILER_WARNING: [#def810]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘TLBP’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15622:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15622 | static char *TLBP(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15620| * rd -----
#15621| */
#15622|-> static char *TLBP(uint64 instruction, Dis_info *info)
#15623| {
#15624| (void)instruction;
Error: COMPILER_WARNING: [#def811]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘TLBR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15640:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15640 | static char *TLBR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15638| * rd -----
#15639| */
#15640|-> static char *TLBR(uint64 instruction, Dis_info *info)
#15641| {
#15642| (void)instruction;
Error: COMPILER_WARNING: [#def812]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘TLBWI’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15658:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15658 | static char *TLBWI(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15656| * rd -----
#15657| */
#15658|-> static char *TLBWI(uint64 instruction, Dis_info *info)
#15659| {
#15660| (void)instruction;
Error: COMPILER_WARNING: [#def813]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘TLBWR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15676:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15676 | static char *TLBWR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15674| * rd -----
#15675| */
#15676|-> static char *TLBWR(uint64 instruction, Dis_info *info)
#15677| {
#15678| (void)instruction;
Error: COMPILER_WARNING: [#def814]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘TNE’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15694:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15694 | static char *TNE(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15692| * rd -----
#15693| */
#15694|-> static char *TNE(uint64 instruction, Dis_info *info)
#15695| {
#15696| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def815]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘TRUNC_L_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15716:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15716 | static char *TRUNC_L_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15714| * rd -----
#15715| */
#15716|-> static char *TRUNC_L_D(uint64 instruction, Dis_info *info)
#15717| {
#15718| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def816]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘TRUNC_L_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15738:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15738 | static char *TRUNC_L_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15736| * rd -----
#15737| */
#15738|-> static char *TRUNC_L_S(uint64 instruction, Dis_info *info)
#15739| {
#15740| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def817]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘TRUNC_W_D’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15760:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15760 | static char *TRUNC_W_D(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15758| * rd -----
#15759| */
#15760|-> static char *TRUNC_W_D(uint64 instruction, Dis_info *info)
#15761| {
#15762| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def818]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘TRUNC_W_S’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15782:31: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15782 | static char *TRUNC_W_S(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15780| * rd -----
#15781| */
#15782|-> static char *TRUNC_W_S(uint64 instruction, Dis_info *info)
#15783| {
#15784| uint64 ft_value = extract_ft_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def819]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘UALDM’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15804:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15804 | static char *UALDM(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15802| * rd -----
#15803| */
#15804|-> static char *UALDM(uint64 instruction, Dis_info *info)
#15805| {
#15806| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def820]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘UALH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15830:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15830 | static char *UALH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15828| * rd -----
#15829| */
#15830|-> static char *UALH(uint64 instruction, Dis_info *info)
#15831| {
#15832| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def821]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘UALWM’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15853:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15853 | static char *UALWM(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15851| * rd -----
#15852| */
#15853|-> static char *UALWM(uint64 instruction, Dis_info *info)
#15854| {
#15855| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def822]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘UASDM’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15879:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15879 | static char *UASDM(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15877| * rd -----
#15878| */
#15879|-> static char *UASDM(uint64 instruction, Dis_info *info)
#15880| {
#15881| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def823]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘UASH’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15905:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15905 | static char *UASH(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15903| * rd -----
#15904| */
#15905|-> static char *UASH(uint64 instruction, Dis_info *info)
#15906| {
#15907| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def824]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘UASWM’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15928:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15928 | static char *UASWM(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15926| * rd -----
#15927| */
#15928|-> static char *UASWM(uint64 instruction, Dis_info *info)
#15929| {
#15930| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def825]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘UDI’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15954:25: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15954 | static char *UDI(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15952| * rd -----
#15953| */
#15954|-> static char *UDI(uint64 instruction, Dis_info *info)
#15955| {
#15956| uint64 op_value = extract_op_25_to_3(instruction);
Error: COMPILER_WARNING: [#def826]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘WAIT’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15971:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15971 | static char *WAIT(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15969| * code ----------
#15970| */
#15971|-> static char *WAIT(uint64 instruction, Dis_info *info)
#15972| {
#15973| uint64 code_value = extract_code_25_24_23_22_21_20_19_18_17_16(instruction);
Error: COMPILER_WARNING: [#def827]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘WRDSP’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:15990:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#15990 | static char *WRDSP(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#15988| * mask -------
#15989| */
#15990|-> static char *WRDSP(uint64 instruction, Dis_info *info)
#15991| {
#15992| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def828]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘WRPGPR’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:16011:28: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#16011 | static char *WRPGPR(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#16009| * rd -----
#16010| */
#16011|-> static char *WRPGPR(uint64 instruction, Dis_info *info)
#16012| {
#16013| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def829]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘XOR_16_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:16033:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#16033 | static char *XOR_16_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#16031| * rd -----
#16032| */
#16033|-> static char *XOR_16_(uint64 instruction, Dis_info *info)
#16034| {
#16035| uint64 rt3_value = extract_rt3_9_8_7(instruction);
Error: COMPILER_WARNING: [#def830]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘XOR_32_’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:16055:29: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#16055 | static char *XOR_32_(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#16053| * rd -----
#16054| */
#16055|-> static char *XOR_32_(uint64 instruction, Dis_info *info)
#16056| {
#16057| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def831]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘XORI’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:16079:26: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#16079 | static char *XORI(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#16077| * rd -----
#16078| */
#16079|-> static char *XORI(uint64 instruction, Dis_info *info)
#16080| {
#16081| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: COMPILER_WARNING: [#def832]
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c: scope_hint: In function ‘YIELD’
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:16101:27: warning[-Wshadow=local]: declaration of ‘instruction’ shadows a previous local
#16101 | static char *YIELD(uint64 instruction, Dis_info *info)
# | ~~~~~~~^~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/disas/nanomips.c:40:5: note: shadowed declaration is here
# 40 | instruction,
# | ^~~~~~~~~~~
#16099| * rs -----
#16100| */
#16101|-> static char *YIELD(uint64 instruction, Dis_info *info)
#16102| {
#16103| uint64 rt_value = extract_rt_25_24_23_22_21(instruction);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def833]
qemu-8.2.2-build/qemu-8.2.2/disas/sparc.c: scope_hint: In function ‘print_insn_sparc’
qemu-8.2.2-build/qemu-8.2.2/disas/sparc.c:2691:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sorted_opcodes’
# 2689| /* Reset the sorted table so we can resort it. */
# 2690| for (i = 0; i < sparc_num_opcodes; ++i)
# 2691|-> sorted_opcodes[i] = &sparc_opcodes[i];
# 2692| qsort ((char *) sorted_opcodes, sparc_num_opcodes,
# 2693| sizeof (sorted_opcodes[0]), compare_opcodes);
Error: CLANG_WARNING: [#def834]
qemu-8.2.2-build/qemu-8.2.2/dump/dump.c:1618:11: warning[unix.Malloc]: Potential leak of memory pointed to by 'buf'
# 1616| }
# 1617|
# 1618|-> ret = write_cache(&page_desc, NULL, 0, true);
# 1619| if (ret < 0) {
# 1620| error_setg(errp, "dump: failed to sync cache for page_desc");
Error: CLANG_WARNING: [#def835]
qemu-8.2.2-build/qemu-8.2.2/dump/win_dump.c:400:13: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 398|
# 399| for (i = 0; i < WIN_DUMP_FIELD(NumberProcessors); i++) {
# 400|-> if (cpu_memory_rw_debug(first_cpu, saved_ctx[i].addr,
# 401| &saved_ctx[i].ctx, win_dump_ctx_size(x64), 1)) {
# 402| warn_report("win-dump: failed to restore CPU #%d context", i);
Error: CLANG_WARNING: [#def836]
qemu-8.2.2-build/qemu-8.2.2/ebpf/ebpf_rss.c:23: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/ebpf/rss.bpf.skeleton.h:174:2: warning[unix.Malloc]: Potential leak of memory pointed to by 's'
# 172| err:
# 173| bpf_object__destroy_skeleton(s);
# 174|-> return err;
# 175| }
# 176|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def837]
qemu-8.2.2-build/qemu-8.2.2/gdbstub/gdbstub.c: scope_hint: In function ‘gdb_next_attached_cpu’
qemu-8.2.2-build/qemu-8.2.2/gdbstub/gdbstub.c:285:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 283|
# 284| while (cpu) {
# 285|-> if (gdb_get_cpu_process(cpu)->attached) {
# 286| break;
# 287| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def838]
qemu-8.2.2-build/qemu-8.2.2/gdbstub/gdbstub.c: scope_hint: In function ‘gdb_first_attached_cpu’
qemu-8.2.2-build/qemu-8.2.2/gdbstub/gdbstub.c:301:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 299| GDBProcess *process = gdb_get_cpu_process(cpu);
# 300|
# 301|-> if (!process->attached) {
# 302| return gdb_next_attached_cpu(cpu);
# 303| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def839]
qemu-8.2.2-build/qemu-8.2.2/gdbstub/gdbstub.c: scope_hint: In function ‘gdb_get_cpu’
qemu-8.2.2-build/qemu-8.2.2/gdbstub/gdbstub.c:339:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/include/hw/qdev-core.h:8: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/hw/core/cpu.h:23: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/sysemu/hw_accel.h:14: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/gdbstub/gdbstub.c:41: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/hw/core/cpu.h:593:26: note: in expansion of macro ‘QTAILQ_FOREACH_RCU’
qemu-8.2.2-build/qemu-8.2.2/gdbstub/gdbstub.c:241:5: note: in expansion of macro ‘CPU_FOREACH’
# 337| process = gdb_get_cpu_process(cpu);
# 338|
# 339|-> if (pid && process->pid != pid) {
# 340| return NULL;
# 341| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def840]
qemu-8.2.2-build/qemu-8.2.2/gdbstub/gdbstub.c:343:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/include/hw/core/cpu.h:593:26: note: in expansion of macro ‘QTAILQ_FOREACH_RCU’
qemu-8.2.2-build/qemu-8.2.2/gdbstub/gdbstub.c:241:5: note: in expansion of macro ‘CPU_FOREACH’
# 341| }
# 342|
# 343|-> if (!process->attached) {
# 344| return NULL;
# 345| }
Error: CLANG_WARNING: [#def841]
qemu-8.2.2-build/qemu-8.2.2/gdbstub/gdbstub.c:702:21: warning[unix.Malloc]: Potential leak of memory pointed to by 'newstates'
# 700| while (*p) {
# 701| if (*p++ != ';') {
# 702|-> return -ENOTSUP;
# 703| }
# 704|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def842]
qemu-8.2.2-build/qemu-8.2.2/gdbstub/gdbstub.c: scope_hint: In function ‘gdb_set_stop_cpu’
qemu-8.2.2-build/qemu-8.2.2/gdbstub/gdbstub.c:2126:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 2124| GDBProcess *p = gdb_get_cpu_process(cpu);
# 2125|
# 2126|-> if (!p->attached) {
# 2127| /*
# 2128| * Having a stop CPU corresponding to a process that is not attached
Error: GCC_ANALYZER_WARNING (CWE-686): [#def843]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p-proxy.c: scope_hint: In function ‘v9fs_request’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p-proxy.c:506:14: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘size_t’ {aka ‘long unsigned int’} for variadic argument 1 of ‘ap’
# 504| break;
# 505| case T_LGETXATTR:
# 506|-> size = va_arg(ap, int);
# 507| path = va_arg(ap, V9fsString *);
# 508| name = va_arg(ap, V9fsString *);
Error: GCC_ANALYZER_WARNING (CWE-686): [#def844]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p-proxy.c:517:14: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘size_t’ {aka ‘long unsigned int’} for variadic argument 1 of ‘ap’
# 515| break;
# 516| case T_LLISTXATTR:
# 517|-> size = va_arg(ap, int);
# 518| path = va_arg(ap, V9fsString *);
# 519| retval = proxy_marshal(iovec, PROXY_HDR_SZ, "ds", size, path);
Error: GCC_ANALYZER_WARNING (CWE-686): [#def845]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p-proxy.c:529:14: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘size_t’ {aka ‘long unsigned int’} for variadic argument 4 of ‘ap’
# 527| name = va_arg(ap, V9fsString *);
# 528| value = va_arg(ap, V9fsString *);
# 529|-> size = va_arg(ap, int);
# 530| flags = va_arg(ap, int);
# 531| retval = proxy_marshal(iovec, PROXY_HDR_SZ, "sssdd",
Error: GCC_ANALYZER_WARNING (CWE-688): [#def846]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_version’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:1410:10: warning[-Wanalyzer-null-argument]: use of NULL ‘version.data’ where non-null expected
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_version’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:116: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:19: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
# 1408| virtfs_reset(pdu);
# 1409|
# 1410|-> if (!strcmp(version.data, "9P2000.u")) {
# 1411| s->proto_version = V9FS_PROTO_2000U;
# 1412| } else if (!strcmp(version.data, "9P2000.L")) {
Error: GCC_ANALYZER_WARNING (CWE-457): [#def847]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_attach’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:1469:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘afid’
# 1467| goto out_nofid;
# 1468| }
# 1469|-> trace_v9fs_attach(pdu->tag, pdu->id, fid, afid, uname.data, aname.data);
# 1470|
# 1471| fidp = alloc_fid(s, fid);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def848]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_getattr’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:1592:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘request_mask’
# 1590| goto out_nofid;
# 1591| }
# 1592|-> trace_v9fs_getattr(pdu->tag, pdu->id, fid, request_mask);
# 1593|
# 1594| fidp = get_fid(pdu, fid);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def849]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_setattr’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:1669:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘v9iattr.mtime_sec’
# 1667| }
# 1668|
# 1669|-> trace_v9fs_setattr(pdu->tag, pdu->id, fid,
# 1670| v9iattr.valid, v9iattr.mode, v9iattr.uid, v9iattr.gid,
# 1671| v9iattr.size, v9iattr.atime_sec, v9iattr.mtime_sec);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def850]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘name_is_illegal’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:1767:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘name’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘name_is_illegal’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘name_is_illegal’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘name_is_illegal’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘name_is_illegal’
# 1765| static bool name_is_illegal(const char *name)
# 1766| {
# 1767|-> return !*name || strchr(name, '/') != NULL;
# 1768| }
# 1769|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def851]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_walk’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:1801:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘nwnames’
# 1799| offset += err;
# 1800|
# 1801|-> trace_v9fs_walk(pdu->tag, pdu->id, fid, newfid, nwnames);
# 1802|
# 1803| if (nwnames > P9_MAXWELEM) {
Error: GCC_ANALYZER_WARNING (CWE-457): [#def852]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_open’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:1989:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘modebyte’
# 1987| uint8_t modebyte;
# 1988| err = pdu_unmarshal(pdu, offset, "db", &fid, &modebyte);
# 1989|-> mode = modebyte;
# 1990| }
# 1991| if (err < 0) {
Error: GCC_ANALYZER_WARNING (CWE-457): [#def853]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:1994:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘mode’
# 1992| goto out_nofid;
# 1993| }
# 1994|-> trace_v9fs_open(pdu->tag, pdu->id, fid, mode);
# 1995|
# 1996| fidp = get_fid(pdu, fid);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def854]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_lcreate’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:2085:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘gid’
# 2083| goto out_nofid;
# 2084| }
# 2085|-> trace_v9fs_lcreate(pdu->tag, pdu->id, dfid, flags, mode, gid);
# 2086|
# 2087| if (name_is_illegal(name.data)) {
Error: GCC_ANALYZER_WARNING (CWE-457): [#def855]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_fsync’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:2154:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘datasync’
# 2152| goto out_nofid;
# 2153| }
# 2154|-> trace_v9fs_fsync(pdu->tag, pdu->id, fid, datasync);
# 2155|
# 2156| fidp = get_fid(pdu, fid);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def856]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_read’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:2358:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘max_count’
# 2356| goto out_nofid;
# 2357| }
# 2358|-> trace_v9fs_read(pdu->tag, pdu->id, fid, off, max_count);
# 2359|
# 2360| fidp = get_fid(pdu, fid);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def857]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_readdir’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:2575:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘max_count’
# 2573| goto out_nofid;
# 2574| }
# 2575|-> trace_v9fs_readdir(pdu->tag, pdu->id, fid, initial_offset, max_count);
# 2576|
# 2577| /* Enough space for a R_readdir header: size[4] Rreaddir tag[2] count[4] */
Error: GCC_ANALYZER_WARNING (CWE-457): [#def858]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_write’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:2681:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘count’
# 2679| }
# 2680| offset += err;
# 2681|-> v9fs_init_qiov_from_pdu(&qiov_full, pdu, offset, count, true);
# 2682| trace_v9fs_write(pdu->tag, pdu->id, fid, off, count, qiov_full.niov);
# 2683|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def859]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_create’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:2768:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘mode’
# 2766| goto out_nofid;
# 2767| }
# 2768|-> trace_v9fs_create(pdu->tag, pdu->id, fid, name.data, perm, mode);
# 2769|
# 2770| if (name_is_illegal(name.data)) {
Error: GCC_ANALYZER_WARNING (CWE-457): [#def860]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_symlink’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:2962:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘gid’
# 2960| goto out_nofid;
# 2961| }
# 2962|-> trace_v9fs_symlink(pdu->tag, pdu->id, dfid, name.data, symname.data, gid);
# 2963|
# 2964| if (name_is_illegal(name.data)) {
Error: GCC_ANALYZER_WARNING (CWE-457): [#def861]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_link’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:3055:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘oldfid’
# 3053| goto out_nofid;
# 3054| }
# 3055|-> trace_v9fs_link(pdu->tag, pdu->id, dfid, oldfid, name.data);
# 3056|
# 3057| if (name_is_illegal(name.data)) {
Error: GCC_ANALYZER_WARNING (CWE-457): [#def862]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_wstat’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:3469:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘v9stat.mtime’
# 3467| goto out_nofid;
# 3468| }
# 3469|-> trace_v9fs_wstat(pdu->tag, pdu->id, fid,
# 3470| v9stat.mode, v9stat.atime, v9stat.mtime);
# 3471|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def863]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_mknod’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:3655:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘minor’
# 3653| goto out_nofid;
# 3654| }
# 3655|-> trace_v9fs_mknod(pdu->tag, pdu->id, fid, mode, major, minor);
# 3656|
# 3657| if (name_is_illegal(name.data)) {
Error: GCC_ANALYZER_WARNING (CWE-457): [#def864]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_lock’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:3719:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘flock.length’
# 3717| goto out_nofid;
# 3718| }
# 3719|-> trace_v9fs_lock(pdu->tag, pdu->id, fid,
# 3720| flock.type, flock.start, flock.length);
# 3721|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def865]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_getlock’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:3770:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘glock.length’
# 3768| goto out_nofid;
# 3769| }
# 3770|-> trace_v9fs_getlock(pdu->tag, pdu->id, fid,
# 3771| glock.type, glock.start, glock.length);
# 3772|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def866]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_mkdir’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:3817:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘gid’
# 3815| goto out_nofid;
# 3816| }
# 3817|-> trace_v9fs_mkdir(pdu->tag, pdu->id, fid, name.data, mode, gid);
# 3818|
# 3819| if (name_is_illegal(name.data)) {
Error: GCC_ANALYZER_WARNING (CWE-457): [#def867]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_xattrwalk’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:3873:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘newfid’
# 3871| goto out_nofid;
# 3872| }
# 3873|-> trace_v9fs_xattrwalk(pdu->tag, pdu->id, fid, newfid, name.data);
# 3874|
# 3875| file_fidp = get_fid(pdu, fid);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def868]
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c: scope_hint: In function ‘v9fs_xattrcreate’
qemu-8.2.2-build/qemu-8.2.2/hw/9pfs/9p.c:3997:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘flags’
# 3995| goto out_nofid;
# 3996| }
# 3997|-> trace_v9fs_xattrcreate(pdu->tag, pdu->id, fid, name.data, size, flags);
# 3998|
# 3999| if (flags & ~(P9_XATTR_CREATE | P9_XATTR_REPLACE)) {
Error: GCC_ANALYZER_WARNING (CWE-688): [#def869]
qemu-8.2.2-build/qemu-8.2.2/hw/acpi/bios-linker-loader.c: scope_hint: In function ‘bios_linker_find_file’
qemu-8.2.2-build/qemu-8.2.2/hw/acpi/bios-linker-loader.c:163:14: warning[-Wanalyzer-null-argument]: use of NULL ‘name’ where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/acpi/bios-linker-loader.c:21: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/acpi/bios-linker-loader.c:198:34: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/hw/acpi/bios-linker-loader.c: scope_hint: In function ‘bios_linker_find_file’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
/usr/include/glib-2.0/glib.h:33: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/acpi/bios-linker-loader.c:162:18: note: in expansion of macro ‘g_array_index’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:116: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null
# 161| for (i = 0; i < linker->file_list->len; i++) {
# 162| entry = &g_array_index(linker->file_list, BiosLinkerFileEntry, i);
# 163|-> if (!strcmp(entry->name, name)) {
# 164| return entry;
# 165| }
Error: GCC_ANALYZER_WARNING (CWE-835): [#def870]
qemu-8.2.2-build/qemu-8.2.2/hw/acpi/cpu.c: scope_hint: In function ‘cpu_hotplug_wr’
qemu-8.2.2-build/qemu-8.2.2/hw/acpi/cpu.c:166:35: warning[-Wanalyzer-infinite-loop]: infinite loop
qemu-8.2.2-build/qemu-8.2.2/hw/acpi/trace.h:1: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/acpi/cpu.c:7: included_from: Included from here.
# 164|
# 165| do {
# 166|-> cdev = &cpu_st->devs[iter];
# 167| if (cdev->is_inserting || cdev->is_removing ||
# 168| cdev->fw_remove) {
Error: CLANG_WARNING: [#def871]
qemu-8.2.2-build/qemu-8.2.2/hw/acpi/hmat.c:137:27: warning[unix.Malloc]: Use of memory allocated with size zero
# 135| index = lb_data->initiator * num_target + lb_data->target;
# 136|
# 137|-> entry_list[index] = (uint16_t)(lb_data->data / hmat_lb->base);
# 138| }
# 139|
Error: CLANG_WARNING: [#def872]
qemu-8.2.2-build/qemu-8.2.2/hw/alpha/dp264.c:82:28: warning[core.NullDereference]: Dereference of null pointer
# 80| * See init_hwrpb() in the PALcode.
# 81| */
# 82|-> cpus[0]->env.trap_arg0 = ram_size;
# 83| cpus[0]->env.trap_arg1 = 0;
# 84| cpus[0]->env.trap_arg2 = smp_cpus | (!machine->enable_graphics << 6);
Error: CLANG_WARNING: [#def873]
qemu-8.2.2-build/qemu-8.2.2/hw/arm/boot.c:169:18: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 167| case FIXUP_BOOTREG:
# 168| case FIXUP_DSB:
# 169|-> insn = fixupcontext[fixup];
# 170| break;
# 171| default:
Error: CLANG_WARNING: [#def874]
qemu-8.2.2-build/qemu-8.2.2/hw/arm/boot.c:973:11: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 971| }
# 972| }
# 973|-> entry = elf_entry;
# 974| if (kernel_size < 0) {
# 975| uint64_t loadaddr = info->loader_start + KERNEL_NOLOAD_ADDR;
Error: CLANG_WARNING: [#def875]
qemu-8.2.2-build/qemu-8.2.2/hw/arm/realview.c:203:15: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 201| uint32_t gic_addr = is_pb ? 0x1e000000 : 0x10040000;
# 202| /* For now just create the nIRQ GIC, and ignore the others. */
# 203|-> dev = sysbus_create_simple(TYPE_REALVIEW_GIC, gic_addr, cpu_irq[0]);
# 204| }
# 205| for (n = 0; n < 64; n++) {
Error: CLANG_WARNING: [#def876]
qemu-8.2.2-build/qemu-8.2.2/hw/arm/virt.c:1965:9: warning[deadcode.DeadStores]: Value stored to 'max_cpus' during its initialization is never read
# 1963| static void virt_cpu_post_init(VirtMachineState *vms, MemoryRegion *sysmem)
# 1964| {
# 1965|-> int max_cpus = MACHINE(vms)->smp.max_cpus;
# 1966| bool aarch64, pmu, steal_time;
# 1967| CPUState *cpu;
Error: CLANG_WARNING: [#def877]
qemu-8.2.2-build/qemu-8.2.2/hw/arm/virt.c:1970:5: warning[deadcode.DeadStores]: Value stored to 'pmu' is never read
# 1968|
# 1969| aarch64 = object_property_get_bool(OBJECT(first_cpu), "aarch64", NULL);
# 1970|-> pmu = object_property_get_bool(OBJECT(first_cpu), "pmu", NULL);
# 1971| steal_time = object_property_get_bool(OBJECT(first_cpu),
# 1972| "kvm-steal-time", NULL);
Error: CLANG_WARNING: [#def878]
qemu-8.2.2-build/qemu-8.2.2/hw/arm/virt.c:1971:5: warning[deadcode.DeadStores]: Value stored to 'steal_time' is never read
# 1969| aarch64 = object_property_get_bool(OBJECT(first_cpu), "aarch64", NULL);
# 1970| pmu = object_property_get_bool(OBJECT(first_cpu), "pmu", NULL);
# 1971|-> steal_time = object_property_get_bool(OBJECT(first_cpu),
# 1972| "kvm-steal-time", NULL);
# 1973|
Error: CLANG_WARNING: [#def879]
qemu-8.2.2-build/qemu-8.2.2/hw/arm/xilinx_zynq.c:255:5: warning[deadcode.DeadStores]: Value stored to 'n' is never read
# 253| n = zynq_init_spi_flashes(0xE0006000, pic[58 - IRQ_OFFSET], false, 0);
# 254| n = zynq_init_spi_flashes(0xE0007000, pic[81 - IRQ_OFFSET], false, n);
# 255|-> n = zynq_init_spi_flashes(0xE000D000, pic[51 - IRQ_OFFSET], true, n);
# 256|
# 257| sysbus_create_simple(TYPE_CHIPIDEA, 0xE0002000, pic[53 - IRQ_OFFSET]);
Error: GCC_ANALYZER_WARNING (CWE-835): [#def880]
qemu-8.2.2-build/qemu-8.2.2/hw/audio/ac97.c: scope_hint: In function ‘write_bup’
qemu-8.2.2-build/qemu-8.2.2/hw/audio/ac97.c:946:12: warning[-Wanalyzer-infinite-loop]: infinite loop
qemu-8.2.2-build/qemu-8.2.2/hw/audio/ac97.c:20: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:397:31: note: in definition of macro ‘MIN_INTERNAL’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:35:20: note: in expansion of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:41:30: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:402:28: note: in expansion of macro ‘MAKE_IDENTFIER’
qemu-8.2.2-build/qemu-8.2.2/hw/audio/ac97.c:947:20: note: in expansion of macro ‘MIN’
# 944| }
# 945|
# 946|-> while (elapsed) {
# 947| int temp = MIN(elapsed, sizeof(s->silence));
# 948| while (temp) {
Error: CLANG_WARNING: [#def881]
qemu-8.2.2-build/qemu-8.2.2/hw/audio/adlib.c:93:13: warning[deadcode.DeadStores]: Value stored to 'delta' is never read
# 91| uint64_t delta;
# 92|
# 93|-> delta = AUD_get_elapsed_usec_out (s->voice, &s->ats);
# 94| ldebug (
# 95| "delta = %f dexp = %f expired => %d\n",
Error: CLANG_WARNING: [#def882]
qemu-8.2.2-build/qemu-8.2.2/hw/audio/cs4231a.c:369:5: warning[deadcode.DeadStores]: Value stored to 'iaddr' is never read
# 367|
# 368| saddr = addr;
# 369|-> iaddr = ~0U;
# 370|
# 371| switch (saddr) {
Error: CLANG_WARNING: [#def883]
qemu-8.2.2-build/qemu-8.2.2/hw/audio/fmopl.c:1090:30: warning[deadcode.DeadStores]: Value stored to 'ptr' is never read
# 1088| memset(ptr,0,state_size);
# 1089| OPL = (FM_OPL *)ptr; ptr+=sizeof(FM_OPL);
# 1090|-> OPL->P_CH = (OPL_CH *)ptr; ptr+=sizeof(OPL_CH)*max_ch;
# 1091| /* set channel state pointer */
# 1092| OPL->clock = clock;
Error: CPPCHECK_WARNING: [#def884]
qemu-8.2.2-build/qemu-8.2.2/hw/audio/gusemu_hal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def885]
qemu-8.2.2-build/qemu-8.2.2/hw/audio/gusemu_mixer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def886]
qemu-8.2.2-build/qemu-8.2.2/hw/audio/virtio-snd.c:228:13: warning[unix.Malloc]: Potential leak of memory pointed to by 'pcm_info'
# 226| stream = virtio_snd_pcm_get_stream(s, stream_id);
# 227| if (!stream) {
# 228|-> error_report("Invalid stream id: %"PRIu32, stream_id);
# 229| cmd->resp.code = cpu_to_le32(VIRTIO_SND_S_BAD_MSG);
# 230| return;
Error: CLANG_WARNING: [#def887]
qemu-8.2.2-build/qemu-8.2.2/hw/audio/virtio-snd.c:775:13: warning[unix.Malloc]: Use of memory after it is freed
# 773|
# 774| /* process command */
# 775|-> process_cmd(s, cmd);
# 776|
# 777| QTAILQ_REMOVE(&s->cmdq, cmd, next);
Error: CLANG_WARNING: [#def888]
qemu-8.2.2-build/qemu-8.2.2/hw/audio/virtio-snd.c:947:13: warning[core.NullDereference]: Access to field 'sqh_last' results in a dereference of a null pointer
# 945| buffer->elem = elem;
# 946| buffer->vq = vq;
# 947|-> QSIMPLEQ_INSERT_TAIL(&stream->invalid, buffer, entry);
# 948| }
# 949| }
Error: CLANG_WARNING: [#def889]
qemu-8.2.2-build/qemu-8.2.2/hw/audio/virtio-snd.c:1026:13: warning[core.NullDereference]: Access to field 'sqh_last' results in a dereference of a null pointer
# 1024| buffer->elem = elem;
# 1025| buffer->vq = vq;
# 1026|-> QSIMPLEQ_INSERT_TAIL(&stream->invalid, buffer, entry);
# 1027| }
# 1028| }
Error: CLANG_WARNING: [#def890]
qemu-8.2.2-build/qemu-8.2.2/hw/audio/virtio-snd.c:1382:13: warning[unix.Malloc]: Use of memory after it is freed
# 1380| while (!QTAILQ_EMPTY(&s->cmdq)) {
# 1381| cmd = QTAILQ_FIRST(&s->cmdq);
# 1382|-> QTAILQ_REMOVE(&s->cmdq, cmd, next);
# 1383| virtio_snd_ctrl_cmd_free(cmd);
# 1384| }
Error: CLANG_WARNING: [#def891]
qemu-8.2.2-build/qemu-8.2.2/hw/block/dataplane/xen-block.c:654:9: warning[unix.Malloc]: Use of memory after it is freed
# 652| while (!QLIST_EMPTY(&dataplane->freelist)) {
# 653| request = QLIST_FIRST(&dataplane->freelist);
# 654|-> QLIST_REMOVE(request, list);
# 655| qemu_iovec_destroy(&request->v);
# 656| qemu_vfree(request->buf);
Error: CLANG_WARNING: [#def892]
qemu-8.2.2-build/qemu-8.2.2/hw/block/fdc.c:348:13: warning[deadcode.DeadStores]: Value stored to 'parse' is never read
# 346| if (match == -1) {
# 347| if (size_match != -1) {
# 348|-> parse = &fd_formats[size_match];
# 349| FLOPPY_DPRINTF("User requested floppy drive type '%s', "
# 350| "but inserted medium appears to be a "
Error: GCC_ANALYZER_WARNING (CWE-476): [#def893]
qemu-8.2.2-build/qemu-8.2.2/hw/block/fdc.c: scope_hint: In function ‘get_cur_drv’
qemu-8.2.2-build/qemu-8.2.2/hw/block/fdc.c:1172:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1170| FDrive *cur_drv = get_drv(fdctrl, fdctrl->cur_drv);
# 1171|
# 1172|-> if (!cur_drv->blk) {
# 1173| /*
# 1174| * Kludge: empty drive line selected. Create an anonymous
Error: GCC_ANALYZER_WARNING (CWE-476): [#def894]
qemu-8.2.2-build/qemu-8.2.2/hw/block/xen-block.c: scope_hint: In function ‘xen_block_drive_destroy’
qemu-8.2.2-build/qemu-8.2.2/hw/block/xen-block.c:854:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘drive’
qemu-8.2.2-build/qemu-8.2.2/hw/block/xen-block.c:13: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/block/xen-block.c:904:9: note: in expansion of macro ‘error_setg’
qemu-8.2.2-build/qemu-8.2.2/hw/block/xen-block.c:853:5: note: in expansion of macro ‘ERRP_GUARD’
# 852| {
# 853| ERRP_GUARD();
# 854|-> char *node_name = drive->node_name;
# 855|
# 856| if (node_name) {
Error: CLANG_WARNING: [#def895]
qemu-8.2.2-build/qemu-8.2.2/hw/block/xen-block.c:854:23: warning[core.NullDereference]: Access to field 'node_name' results in a dereference of a null pointer (loaded from variable 'drive')
# 852| {
# 853| ERRP_GUARD();
# 854|-> char *node_name = drive->node_name;
# 855|
# 856| if (node_name) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def896]
qemu-8.2.2-build/qemu-8.2.2/hw/block/xen-block.c: scope_hint: In function ‘xen_block_device_create’
qemu-8.2.2-build/qemu-8.2.2/hw/block/xen-block.c:1094:70: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/block/xen-block.c:8: included_from: Included from here.
/usr/include/glib-2.0/glib/glist.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/ghash.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:52: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
/usr/include/glib-2.0/glib/gmem.h:332:57: note: in expansion of macro ‘_G_NEW’
qemu-8.2.2-build/qemu-8.2.2/hw/block/xen-block.c:911:13: note: in expansion of macro ‘g_new0’
qemu-8.2.2-build/qemu-8.2.2/hw/block/xen-block.c:872:5: note: in expansion of macro ‘ERRP_GUARD’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qapi/error.h:520:1: note: in expansion of macro ‘G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC’
qemu-8.2.2-build/qemu-8.2.2/hw/block/xen-block.c: scope_hint: In function ‘xen_block_device_create’
qemu-8.2.2-build/qemu-8.2.2/hw/block/xen-block.c: scope_hint: In function ‘xen_block_device_create’
# 1092| }
# 1093|
# 1094|-> if (!object_property_set_str(OBJECT(xendev), "iothread", iothread->id,
# 1095| errp)) {
# 1096| error_prepend(errp, "failed to set 'iothread': ");
Error: CLANG_WARNING: [#def897]
qemu-8.2.2-build/qemu-8.2.2/hw/char/ibex_uart.c:398:55: warning[core.DivideZero]: Division by zero
# 396| uint64_t baud = ibex_uart_get_baud(s);
# 397|
# 398|-> s->char_tx_time = (NANOSECONDS_PER_SECOND / baud) * 10;
# 399| }
# 400| break;
Error: CLANG_WARNING: [#def898]
qemu-8.2.2-build/qemu-8.2.2/hw/char/ibex_uart.c:458:47: warning[core.DivideZero]: Division by zero
# 456| uint64_t baud = ibex_uart_get_baud(s);
# 457|
# 458|-> s->char_tx_time = (NANOSECONDS_PER_SECOND / baud) * 10;
# 459| }
# 460|
Error: CLANG_WARNING: [#def899]
qemu-8.2.2-build/qemu-8.2.2/hw/char/imx_serial.c:193:14: warning[deadcode.DeadStores]: Value stored to 'chr' during its initialization is never read
# 191| {
# 192| IMXSerialState *s = (IMXSerialState *)opaque;
# 193|-> Chardev *chr = qemu_chr_fe_get_driver(&s->chr);
# 194| unsigned char ch;
# 195|
Error: CLANG_WARNING: [#def900]
qemu-8.2.2-build/qemu-8.2.2/hw/core/irq.c:117:1: warning[unix.Malloc]: Potential leak of memory pointed to by 'old_irqs'
# 115| gpio_in[i]->opaque = &old_irqs[i];
# 116| }
# 117|-> }
# 118|
# 119| static const TypeInfo irq_type_info = {
Error: CLANG_WARNING: [#def901]
qemu-8.2.2-build/qemu-8.2.2/hw/core/platform-bus.c:134:32: warning[core.BitwiseShift]: Right operand is negative in left shift
# 132| MemoryRegion *sbdev_mr = sysbus_mmio_get_region(sbdev, n);
# 133| uint64_t size = memory_region_size(sbdev_mr);
# 134|-> uint64_t alignment = (1ULL << (63 - clz64(size + size - 1)));
# 135| uint64_t off;
# 136| bool found_region = false;
Error: CLANG_WARNING: [#def902]
qemu-8.2.2-build/qemu-8.2.2/hw/core/ptimer.c:260:27: warning[core.DivideZero]: Division by zero
# 258| div += 1;
# 259| }
# 260|-> counter = rem / div;
# 261|
# 262| if (s->policy_mask & PTIMER_POLICY_WRAP_AFTER_ONE_PERIOD) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def903]
qemu-8.2.2-build/qemu-8.2.2/hw/core/qdev-clock.c: scope_hint: In function ‘qdev_alias_clock’
qemu-8.2.2-build/qemu-8.2.2/hw/core/qdev-clock.c:203:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/core/qdev-clock.c:14: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/hw/clock.h:18: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/hw/qdev-clock.h:17: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/core/qdev-clock.c:16: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/core/qdev-clock.c:151:5: note: in expansion of macro ‘QLIST_FOREACH’
# 201| ncl = qdev_get_clocklist(dev, name);
# 202|
# 203|-> qdev_init_clocklist(alias_dev, alias_name, ncl->output, ncl->clock);
# 204|
# 205| return ncl->clock;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def904]
qemu-8.2.2-build/qemu-8.2.2/hw/core/qdev-properties.c: scope_hint: In function ‘qdev_prop_set_enum’
qemu-8.2.2-build/qemu-8.2.2/hw/core/qdev-properties.c:848:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 846| prop = qdev_prop_find(dev, name);
# 847| object_property_set_str(OBJECT(dev), name,
# 848|-> qapi_enum_lookup(prop->info->enum_table, value),
# 849| &error_abort);
# 850| }
Error: CLANG_WARNING: [#def905]
qemu-8.2.2-build/qemu-8.2.2/hw/cxl/cxl-cdat.c:69:27: warning[unix.Malloc]: Potential leak of memory pointed to by 'cdat_header'
# 67| if (cdat->built_buf_len <= 0) {
# 68| /* Build later as not all data available yet */
# 69|-> cdat->to_update = true;
# 70| return;
# 71| }
Error: CLANG_WARNING: [#def906]
qemu-8.2.2-build/qemu-8.2.2/hw/cxl/cxl-host.c:39:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'fw'
# 37| fw->enc_int_ways = cxl_interleave_ways_enc(fw->num_targets, errp);
# 38| if (*errp) {
# 39|-> return;
# 40| }
# 41|
Error: CLANG_WARNING: [#def907]
qemu-8.2.2-build/qemu-8.2.2/hw/display/edid-generate.c:411:9: warning[deadcode.DeadStores]: Value stored to 'dpi' is never read
# 409| width_mm = info->width_mm;
# 410| height_mm = info->height_mm;
# 411|-> dpi = qemu_edid_dpi_from_mm(width_mm, info->prefx);
# 412| } else {
# 413| width_mm = qemu_edid_dpi_to_mm(dpi, info->prefx);
Error: CLANG_WARNING: [#def908]
qemu-8.2.2-build/qemu-8.2.2/hw/display/pl110.c:131: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/display/pl110_template.h:183:9: warning[deadcode.DeadStores]: Value stored to 'data' is never read
# 181| data >>= 6;
# 182| MSB = (data & 0x1f) << 3;
# 183|-> data >>= 5;
# 184| COPY_PIXEL(d, rgb_to_pixel32(r, g, b));
# 185| #undef MSB
Error: CLANG_WARNING: [#def909]
qemu-8.2.2-build/qemu-8.2.2/hw/display/pl110_template.h:251:9: warning[deadcode.DeadStores]: Value stored to 'data' is never read
# 249| data >>= 5;
# 250| MSB = (data & 0x1f) << 3;
# 251|-> data >>= 6;
# 252| COPY_PIXEL(d, rgb_to_pixel32(r, g, b));
# 253| #undef MSB
Error: CLANG_WARNING: [#def910]
qemu-8.2.2-build/qemu-8.2.2/hw/display/pl110_template.h:289:9: warning[deadcode.DeadStores]: Value stored to 'data' is never read
# 287| data >>= 4;
# 288| MSB = (data & 0xf) << 4;
# 289|-> data >>= 8;
# 290| COPY_PIXEL(d, rgb_to_pixel32(r, g, b));
# 291| #undef MSB
Error: CLANG_WARNING: [#def911]
qemu-8.2.2-build/qemu-8.2.2/hw/display/virtio-gpu-rutabaga.c:615:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'res'
# 613| }
# 614|
# 615|-> CHECK(!result, cmd);
# 616|
# 617| QTAILQ_INSERT_HEAD(&g->reslist, res, next);
Error: CLANG_WARNING: [#def912]
qemu-8.2.2-build/qemu-8.2.2/hw/display/virtio-gpu.c:122:13: warning[unix.Malloc]: Use of memory after it is freed
# 120|
# 121| QTAILQ_FOREACH(res, &g->reslist, next) {
# 122|-> if (res->resource_id == resource_id) {
# 123| return res;
# 124| }
Error: CLANG_WARNING: [#def913]
qemu-8.2.2-build/qemu-8.2.2/hw/display/virtio-gpu.c:1523:9: warning[unix.Malloc]: Use of memory after it is freed
# 1521| while (!QTAILQ_EMPTY(&g->cmdq)) {
# 1522| cmd = QTAILQ_FIRST(&g->cmdq);
# 1523|-> QTAILQ_REMOVE(&g->cmdq, cmd, next);
# 1524| g_free(cmd);
# 1525| }
Error: CLANG_WARNING: [#def914]
qemu-8.2.2-build/qemu-8.2.2/hw/display/virtio-gpu.c:1529:9: warning[unix.Malloc]: Use of memory after it is freed
# 1527| while (!QTAILQ_EMPTY(&g->fenceq)) {
# 1528| cmd = QTAILQ_FIRST(&g->fenceq);
# 1529|-> QTAILQ_REMOVE(&g->fenceq, cmd, next);
# 1530| g->inflight--;
# 1531| g_free(cmd);
Error: CPPCHECK_WARNING: [#def915]
qemu-8.2.2-build/qemu-8.2.2/hw/hyperv/hv-balloon-page_range_tree.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def916]
qemu-8.2.2-build/qemu-8.2.2/hw/hyperv/hv-balloon-page_range_tree.c:79: warning[uninitvar]: Uninitialized variable: intersection
# 77|
# 78| if (!node ||
# 79|-> (!intersection && !joinable)) {
# 80| /*
# 81| * !node case: the tree is empty or the very first node in the tree
Error: CPPCHECK_WARNING (CWE-457): [#def917]
qemu-8.2.2-build/qemu-8.2.2/hw/hyperv/hv-balloon-page_range_tree.c:79: warning[uninitvar]: Uninitialized variable: joinable
# 77|
# 78| if (!node ||
# 79|-> (!intersection && !joinable)) {
# 80| /*
# 81| * !node case: the tree is empty or the very first node in the tree
Error: CPPCHECK_WARNING (CWE-457): [#def918]
qemu-8.2.2-build/qemu-8.2.2/hw/hyperv/hv-balloon-page_range_tree.c:112: warning[uninitvar]: Uninitialized variable: range
# 110|
# 111| intersection = page_range_intersection_size(rangecur,
# 112|-> range->start, range->count);
# 113| joinable = page_range_joinable_left(rangecur,
# 114| range->start, range->count);
Error: CLANG_WARNING: [#def919]
qemu-8.2.2-build/qemu-8.2.2/hw/hyperv/vmbus.c:1041:31: warning[core.UndefinedBinaryOperatorResult]: The left operand of '&' is a garbage value
# 1039| len -= sizeof(range);
# 1040|
# 1041|-> if (range.byte_offset & TARGET_PAGE_MASK) {
# 1042| goto eio;
# 1043| }
Error: CLANG_WARNING: [#def920]
qemu-8.2.2-build/qemu-8.2.2/hw/hyperv/vmbus.c:1352:5: warning[core.NullDereference]: Access to field 'tql_next' results in a dereference of a null pointer (loaded from field 'tql_prev')
# 1350| {
# 1351| assert(chan->state == VMCHAN_INIT);
# 1352|-> QTAILQ_REMOVE(&chan->vmbus->channel_list, chan, link);
# 1353| unregister_chan_id(chan);
# 1354| }
Error: CLANG_WARNING: [#def921]
qemu-8.2.2-build/qemu-8.2.2/hw/i2c/smbus_eeprom.c:195:1: warning[unix.Malloc]: Potential leak of memory pointed to by 'eeprom_buf'
# 193| eeprom_buf + (i * SMBUS_EEPROM_SIZE));
# 194| }
# 195|-> }
# 196|
# 197| /* Generate SDRAM SPD EEPROM data describing a module of type and size */
Error: CLANG_WARNING: [#def922]
qemu-8.2.2-build/qemu-8.2.2/hw/i2c/smbus_eeprom.c:225:15: warning[core.BitwiseShift]: Right operand is negative in left shift
# 223| size = ram_size >> 20; /* work in terms of megabytes */
# 224| sz_log2 = 31 - clz32(size);
# 225|-> size = 1U << sz_log2;
# 226| assert(ram_size == size * MiB);
# 227| assert(sz_log2 >= min_log2);
Error: CLANG_WARNING: [#def923]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/amd_iommu.c:197:21: warning[core.BitwiseShift]: Left shift by '64' overflows the capacity of 'unsigned long long'
# 195| {
# 196| int index = start / 64, bitpos = start % 64;
# 197|-> uint64_t mask = MAKE_64BIT_MASK(start, length);
# 198| buffer[index] &= ~mask;
# 199| buffer[index] |= (value << bitpos) & mask;
Error: CLANG_WARNING: [#def924]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/amd_iommu.c:369:1: warning[unix.Malloc]: Potential leak of memory pointed to by 'entry'
# 367| g_hash_table_replace(s->iotlb, key, entry);
# 368| }
# 369|-> }
# 370|
# 371| static void amdvi_completion_wait(AMDVIState *s, uint64_t *cmd)
Error: CLANG_WARNING: [#def925]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/amd_iommu.c:369:1: warning[unix.Malloc]: Potential leak of memory pointed to by 'key'
# 367| g_hash_table_replace(s->iotlb, key, entry);
# 368| }
# 369|-> }
# 370|
# 371| static void amdvi_completion_wait(AMDVIState *s, uint64_t *cmd)
Error: CLANG_WARNING: [#def926]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/intel_iommu.c:951:16: warning[core.UndefinedBinaryOperatorResult]: The left operand of '>>' is a garbage value
# 949| if (s->root_scalable) {
# 950| vtd_ce_get_rid2pasid_entry(s, ce, &pe, pasid);
# 951|-> return VTD_PE_GET_LEVEL(&pe);
# 952| }
# 953|
Error: CLANG_WARNING: [#def927]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/intel_iommu.c:1038:26: warning[core.UndefinedBinaryOperatorResult]: The left operand of '&' is a garbage value
# 1036| if (s->root_scalable) {
# 1037| vtd_ce_get_rid2pasid_entry(s, ce, &pe, pasid);
# 1038|-> return pe.val[0] & VTD_SM_PASID_ENTRY_SLPTPTR;
# 1039| }
# 1040|
Error: CLANG_WARNING: [#def928]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/intel_iommu.c:1551:16: warning[core.UndefinedBinaryOperatorResult]: The left operand of '&' is a garbage value
# 1549| if (s->root_scalable) {
# 1550| vtd_ce_get_rid2pasid_entry(s, ce, &pe, pasid);
# 1551|-> return VTD_SM_PASID_ENTRY_DID(pe.val[1]);
# 1552| }
# 1553|
Error: CLANG_WARNING: [#def929]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/intel_iommu.c:2461:9: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 2459| /* Invalidation completed. Change something to show */
# 2460| vtd_set_clear_mask_quad(s, DMAR_CCMD_REG, VTD_CCMD_ICC, 0ULL);
# 2461|-> ret = vtd_set_clear_mask_quad(s, DMAR_CCMD_REG, VTD_CCMD_CAIG_MASK,
# 2462| ret);
# 2463| }
Error: CLANG_WARNING: [#def930]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/intel_iommu.c:2482:9: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 2480| /* Invalidation completed. Change something to show */
# 2481| vtd_set_clear_mask_quad(s, DMAR_IOTLB_REG, VTD_TLB_IVT, 0ULL);
# 2482|-> ret = vtd_set_clear_mask_quad(s, DMAR_IOTLB_REG,
# 2483| VTD_TLB_FLUSH_GRANU_MASK_A, ret);
# 2484| }
Error: CLANG_WARNING: [#def931]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/intel_iommu.c:3871:5: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'translated_addr')
# 3869| map.iova = n->start;
# 3870| map.size = total - 1; /* Inclusive */
# 3871|-> iova_tree_remove(as->iova_tree, map);
# 3872| }
# 3873|
Error: CLANG_WARNING: [#def932]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/kvm/xen_evtchn.c:1117:9: warning[core.uninitialized.Branch]: Branch condition evaluates to a garbage value
# 1115| qemu_mutex_unlock(&s->port_lock);
# 1116|
# 1117|-> if (flush_kvm_routes) {
# 1118| kvm_update_msi_routes_all(NULL, true, 0, 0);
# 1119| }
Error: CPPCHECK_WARNING: [#def933]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/kvm/xenstore_impl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def934]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/kvm/xenstore_impl.c: scope_hint: In function ‘fire_watches.part.0’
qemu-8.2.2-build/qemu-8.2.2/hw/i386/kvm/xenstore_impl.c:310:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘l’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/i386/kvm/xenstore_impl.c:12: included_from: Included from here.
# 308| if (!w) {
# 309| /* Fire the parent nodes from 'op' if asked to */
# 310|-> w = l->data;
# 311| l = l->next;
# 312| continue;
Error: CLANG_WARNING: [#def935]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/kvm/xenstore_impl.c:1622:17: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
# 1620| XsNode *child;
# 1621|
# 1622|-> if (path[0] == '\0') {
# 1623| return n;
# 1624| }
Error: CLANG_WARNING: [#def936]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/kvm/xenstore_impl.c:1870:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'base_t.root'
# 1868| * responsibility to rebuild everything precisely as it was before.
# 1869| */
# 1870|-> ret = transaction_commit(s, &base_t);
# 1871| if (ret) {
# 1872| return ret;
Error: CLANG_WARNING: [#def937]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/kvmvapic.c:463:1: warning[unix.Malloc]: Potential leak of memory pointed to by 'info'
# 461|
# 462| async_safe_run_on_cpu(cs, do_patch_instruction, RUN_ON_CPU_HOST_PTR(info));
# 463|-> }
# 464|
# 465| void vapic_report_tpr_access(DeviceState *dev, CPUState *cs, target_ulong ip,
Error: GCC_ANALYZER_WARNING (CWE-688): [#def938]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/microvm.c: scope_hint: In function ‘microvm_fix_kernel_cmdline’
qemu-8.2.2-build/qemu-8.2.2/hw/i386/microvm.c:413:59: warning[-Wanalyzer-null-argument]: use of NULL ‘cmdline’ where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/i386/microvm.c:18: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/i386/microvm.c:390:15: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/hw/i386/microvm.c: scope_hint: In function ‘microvm_fix_kernel_cmdline’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 411| }
# 412|
# 413|-> fw_cfg_modify_i32(x86ms->fw_cfg, FW_CFG_CMDLINE_SIZE, strlen(cmdline) + 1);
# 414| fw_cfg_modify_string(x86ms->fw_cfg, FW_CFG_CMDLINE_DATA, cmdline);
# 415|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def939]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/sgx.c: scope_hint: In function ‘hmp_info_sgx’
qemu-8.2.2-build/qemu-8.2.2/hw/i386/sgx.c:247:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 245| }
# 246| monitor_printf(mon, "SGX support: %s\n",
# 247|-> info->sgx ? "enabled" : "disabled");
# 248| monitor_printf(mon, "SGX1 support: %s\n",
# 249| info->sgx1 ? "enabled" : "disabled");
Error: CLANG_WARNING: [#def940]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/sgx.c:255:18: warning[unix.Malloc]: Potential leak of memory pointed to by 'info'
# 253| info->flc ? "enabled" : "disabled");
# 254|
# 255|-> section_list = info->sections;
# 256| for (section = section_list; section; section = section->next) {
# 257| monitor_printf(mon, "NUMA node #%" PRId64 ": ",
Error: GCC_ANALYZER_WARNING (CWE-476): [#def941]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/x86.c: scope_hint: In function ‘x86_cpu_plug’
qemu-8.2.2-build/qemu-8.2.2/hw/i386/x86.c:224:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 222|
# 223| found_cpu = x86_find_cpu_slot(MACHINE(x86ms), cpu->apic_id, NULL);
# 224|-> found_cpu->cpu = OBJECT(dev);
# 225| out:
# 226| error_propagate(errp, local_err);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def942]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/x86.c: scope_hint: In function ‘x86_cpu_unplug_cb’
qemu-8.2.2-build/qemu-8.2.2/hw/i386/x86.c:266:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 264|
# 265| found_cpu = x86_find_cpu_slot(MACHINE(x86ms), cpu->apic_id, NULL);
# 266|-> found_cpu->cpu = NULL;
# 267| qdev_unrealize(dev);
# 268|
Error: GCC_ANALYZER_WARNING (CWE-775): [#def943]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/x86.c: scope_hint: In function ‘x86_load_linux’
qemu-8.2.2-build/qemu-8.2.2/hw/i386/x86.c:825:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(kernel_filename, "rb")’
# 823|
# 824| kernel_size = get_file_size(f);
# 825|-> if (!kernel_size ||
# 826| fread(header, 1, MIN(ARRAY_SIZE(header), kernel_size), f) !=
# 827| MIN(ARRAY_SIZE(header), kernel_size)) {
Error: GCC_ANALYZER_WARNING (CWE-401): [#def944]
qemu-8.2.2-build/qemu-8.2.2/hw/i386/x86.c:825:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(kernel_filename, "rb")’
# 823|
# 824| kernel_size = get_file_size(f);
# 825|-> if (!kernel_size ||
# 826| fread(header, 1, MIN(ARRAY_SIZE(header), kernel_size), f) !=
# 827| MIN(ARRAY_SIZE(header), kernel_size)) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def945]
qemu-8.2.2-build/qemu-8.2.2/hw/ide/ahci.c: scope_hint: In function ‘handle_reg_h2d_fis’
qemu-8.2.2-build/qemu-8.2.2/hw/ide/ahci.c:1231:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/ide/ahci.c:24: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/trace/trace-hw_ide.h:305: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/ide/trace.h:1: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/ide/ahci.c:41: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/trace/trace-hw_ide.h:2124:5: note: in expansion of macro ‘QEMU_HANDLE_CMD_FIS_DUMP_ENABLED’
qemu-8.2.2-build/qemu-8.2.2/trace/control.h:125:25: note: in expansion of macro ‘TRACE_HANDLE_CMD_FIS_DUMP_BACKEND_DSTATE’
qemu-8.2.2-build/qemu-8.2.2/hw/ide/ahci.c:1380:9: note: in expansion of macro ‘trace_event_get_state_backends’
# 1229| AHCICmdHdr *cmd = get_cmd_header(s, port, slot);
# 1230| AHCIDevice *ad = &s->dev[port];
# 1231|-> uint16_t opts = le16_to_cpu(cmd->opts);
# 1232|
# 1233| if (cmd_fis[1] & 0x0F) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def946]
qemu-8.2.2-build/qemu-8.2.2/hw/ide/ahci.c: scope_hint: In function ‘handle_cmd’
qemu-8.2.2-build/qemu-8.2.2/hw/ide/ahci.c:1368:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1366| }
# 1367|
# 1368|-> tbl_addr = le64_to_cpu(cmd->tbl_addr);
# 1369| cmd_len = 0x80;
# 1370| cmd_fis = dma_memory_map(s->as, tbl_addr, &cmd_len,
Error: CLANG_WARNING: [#def947]
qemu-8.2.2-build/qemu-8.2.2/hw/intc/arm_gic.c:583:41: warning[core.BitwiseShift]: Left shift by '32' overflows the capacity of 'int'
# 581| assert(s->sgi_pending[irq][cpu] != 0);
# 582| src = ctz32(s->sgi_pending[irq][cpu]);
# 583|-> s->sgi_pending[irq][cpu] &= ~(1 << src);
# 584| if (s->sgi_pending[irq][cpu] == 0) {
# 585| gic_clear_pending(s, irq, cpu);
Error: CLANG_WARNING: [#def948]
qemu-8.2.2-build/qemu-8.2.2/hw/intc/arm_gicv3_its.c:203:9: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 201| trace_gicv3_its_cte_read_fault(icid);
# 202| } else {
# 203|-> trace_gicv3_its_cte_read(icid, cte->valid, cte->rdbase);
# 204| }
# 205| return res;
Error: CLANG_WARNING: [#def949]
qemu-8.2.2-build/qemu-8.2.2/hw/intc/arm_gicv3_its.c:312:9: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 310| trace_gicv3_its_dte_read_fault(devid);
# 311| } else {
# 312|-> trace_gicv3_its_dte_read(devid, dte->valid, dte->size, dte->ittaddr);
# 313| }
# 314| return res;
Error: CLANG_WARNING: [#def950]
qemu-8.2.2-build/qemu-8.2.2/hw/intc/pnv_xive.c:660:30: warning[core.BitwiseShift]: Left shift by '64' overflows the capacity of 'unsigned long long'
# 658| static uint64_t pnv_xive_edt_size(PnvXive *xive, uint64_t type)
# 659| {
# 660|-> uint64_t edt_size = 1ull << pnv_xive_edt_shift(xive);
# 661| uint64_t size = 0;
# 662| int i;
Error: CLANG_WARNING: [#def951]
qemu-8.2.2-build/qemu-8.2.2/hw/intc/pnv_xive.c:1705:33: warning[core.BitwiseShift]: Right shift by '64' overflows the capacity of 'hwaddr'
# 1703| {
# 1704| PnvXive *xive = PNV_XIVE(opaque);
# 1705|-> uint64_t edt_index = offset >> pnv_xive_edt_shift(xive);
# 1706| uint64_t edt_type = 0;
# 1707| uint64_t edt_offset;
Error: CLANG_WARNING: [#def952]
qemu-8.2.2-build/qemu-8.2.2/hw/intc/pnv_xive.c:1748:33: warning[core.BitwiseShift]: Right shift by '64' overflows the capacity of 'hwaddr'
# 1746| {
# 1747| PnvXive *xive = PNV_XIVE(opaque);
# 1748|-> uint64_t edt_index = offset >> pnv_xive_edt_shift(xive);
# 1749| uint64_t edt_type = 0;
# 1750| uint64_t edt_offset;
Error: CLANG_WARNING: [#def953]
qemu-8.2.2-build/qemu-8.2.2/hw/intc/spapr_xive.c:550:16: warning[deadcode.DeadStores]: Value stored to 'xive' during its initialization is never read
# 548| static int vmstate_spapr_xive_pre_save(void *opaque)
# 549| {
# 550|-> SpaprXive *xive = SPAPR_XIVE(opaque);
# 551|
# 552| if (spapr_xive_in_kernel(xive)) {
Error: CLANG_WARNING: [#def954]
qemu-8.2.2-build/qemu-8.2.2/hw/intc/spapr_xive.c:565:16: warning[deadcode.DeadStores]: Value stored to 'xive' during its initialization is never read
# 563| static int spapr_xive_post_load(SpaprInterruptController *intc, int version_id)
# 564| {
# 565|-> SpaprXive *xive = SPAPR_XIVE(intc);
# 566|
# 567| if (spapr_xive_in_kernel(xive)) {
Error: CLANG_WARNING: [#def955]
qemu-8.2.2-build/qemu-8.2.2/hw/intc/xics.c:598:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'flags'
# 596| }
# 597|
# 598|-> if (kvm_irqchip_in_kernel()) {
# 599| Error *local_err = NULL;
# 600|
Error: CLANG_WARNING: [#def956]
qemu-8.2.2-build/qemu-8.2.2/hw/intc/xive.c:759:15: warning[deadcode.DeadStores]: Value stored to 'tctx' during its initialization is never read
# 757| static int vmstate_xive_tctx_pre_save(void *opaque)
# 758| {
# 759|-> XiveTCTX *tctx = XIVE_TCTX(opaque);
# 760| Error *local_err = NULL;
# 761| int ret;
Error: CLANG_WARNING: [#def957]
qemu-8.2.2-build/qemu-8.2.2/hw/intc/xive.c:776:15: warning[deadcode.DeadStores]: Value stored to 'tctx' during its initialization is never read
# 774| static int vmstate_xive_tctx_post_load(void *opaque, int version_id)
# 775| {
# 776|-> XiveTCTX *tctx = XIVE_TCTX(opaque);
# 777| Error *local_err = NULL;
# 778| int ret;
Error: CLANG_WARNING: [#def958]
qemu-8.2.2-build/qemu-8.2.2/hw/loongarch/virt.c:756:9: warning[deadcode.DeadStores]: Value stored to 'cpu_model' is never read
# 754|
# 755| if (!cpu_model) {
# 756|-> cpu_model = LOONGARCH_CPU_TYPE_NAME("la464");
# 757| }
# 758|
Error: GCC_ANALYZER_WARNING (CWE-674): [#def959]
qemu-8.2.2-build/qemu-8.2.2/hw/m68k/mcf5206.c: scope_hint: In function ‘m5206_mbar_readw’
qemu-8.2.2-build/qemu-8.2.2/hw/m68k/mcf5206.c:416:15: warning[-Wanalyzer-infinite-recursion]: infinite recursion
# 414| if (m5206_mbar_width[offset >> 2] > 1) {
# 415| uint16_t val;
# 416|-> val = m5206_mbar_readw(opaque, offset & ~1);
# 417| if ((offset & 1) == 0) {
# 418| val >>= 8;
Error: GCC_ANALYZER_WARNING (CWE-674): [#def960]
qemu-8.2.2-build/qemu-8.2.2/hw/m68k/mcf5206.c: scope_hint: In function ‘m5206_mbar_readl’
qemu-8.2.2-build/qemu-8.2.2/hw/m68k/mcf5206.c:438:15: warning[-Wanalyzer-infinite-recursion]: infinite recursion
# 436| if (width > 2) {
# 437| uint32_t val;
# 438|-> val = m5206_mbar_readl(opaque, offset & ~3);
# 439| if ((offset & 3) == 0)
# 440| val >>= 16;
Error: GCC_ANALYZER_WARNING (CWE-674): [#def961]
qemu-8.2.2-build/qemu-8.2.2/hw/m68k/mcf5206.c: scope_hint: In function ‘m5206_mbar_readb’
qemu-8.2.2-build/qemu-8.2.2/hw/m68k/mcf5206.c:444:15: warning[-Wanalyzer-infinite-recursion]: infinite recursion
# 442| } else if (width < 2) {
# 443| uint16_t val;
# 444|-> val = m5206_mbar_readb(opaque, offset) << 8;
# 445| val |= m5206_mbar_readb(opaque, offset + 1);
# 446| return val;
Error: GCC_ANALYZER_WARNING (CWE-674): [#def962]
qemu-8.2.2-build/qemu-8.2.2/hw/m68k/mcf5206.c: scope_hint: In function ‘m5206_mbar_readw’
qemu-8.2.2-build/qemu-8.2.2/hw/m68k/mcf5206.c:464:15: warning[-Wanalyzer-infinite-recursion]: infinite recursion
# 462| if (width < 4) {
# 463| uint32_t val;
# 464|-> val = m5206_mbar_readw(opaque, offset) << 16;
# 465| val |= m5206_mbar_readw(opaque, offset + 2);
# 466| return val;
Error: CLANG_WARNING: [#def963]
qemu-8.2.2-build/qemu-8.2.2/hw/m68k/q800.c:644:13: warning[deadcode.DeadStores]: Value stored to 'initrd_base' is never read
# 642| initrd_size);
# 643| } else {
# 644|-> initrd_base = 0;
# 645| initrd_size = 0;
# 646| }
Error: CLANG_WARNING: [#def964]
qemu-8.2.2-build/qemu-8.2.2/hw/m68k/q800.c:645:13: warning[deadcode.DeadStores]: Value stored to 'initrd_size' is never read
# 643| } else {
# 644| initrd_base = 0;
# 645|-> initrd_size = 0;
# 646| }
# 647| BOOTINFO0(param_ptr, BI_LAST);
Error: CLANG_WARNING: [#def965]
qemu-8.2.2-build/qemu-8.2.2/hw/m68k/virt.c:204:5: warning[deadcode.DeadStores]: Value stored to 'dev' is never read
# 202|
# 203| /* virt controller */
# 204|-> dev = sysbus_create_simple(TYPE_VIRT_CTRL, VIRT_CTRL_MMIO_BASE,
# 205| PIC_GPIO(VIRT_CTRL_IRQ_BASE));
# 206|
Error: CLANG_WARNING: [#def966]
qemu-8.2.2-build/qemu-8.2.2/hw/m68k/virt.c:287:13: warning[deadcode.DeadStores]: Value stored to 'initrd_base' is never read
# 285| initrd_size);
# 286| } else {
# 287|-> initrd_base = 0;
# 288| initrd_size = 0;
# 289| }
Error: CLANG_WARNING: [#def967]
qemu-8.2.2-build/qemu-8.2.2/hw/m68k/virt.c:288:13: warning[deadcode.DeadStores]: Value stored to 'initrd_size' is never read
# 286| } else {
# 287| initrd_base = 0;
# 288|-> initrd_size = 0;
# 289| }
# 290| BOOTINFO0(param_ptr, BI_LAST);
Error: CLANG_WARNING: [#def968]
qemu-8.2.2-build/qemu-8.2.2/hw/mem/cxl_type3.c:74:17: warning[unix.Malloc]: Potential leak of memory pointed to by 'dsmas'
# 72| dslbis0 = g_malloc(sizeof(*dslbis0));
# 73| if (!dslbis0) {
# 74|-> return -ENOMEM;
# 75| }
# 76| *dslbis0 = (CDATDslbis) {
Error: CLANG_WARNING: [#def969]
qemu-8.2.2-build/qemu-8.2.2/hw/mem/cxl_type3.c:90:17: warning[unix.Malloc]: Potential leak of memory pointed to by 'dslbis0'
# 88| dslbis1 = g_malloc(sizeof(*dslbis1));
# 89| if (!dslbis1) {
# 90|-> return -ENOMEM;
# 91| }
# 92| *dslbis1 = (CDATDslbis) {
Error: CLANG_WARNING: [#def970]
qemu-8.2.2-build/qemu-8.2.2/hw/mem/cxl_type3.c:106:17: warning[unix.Malloc]: Potential leak of memory pointed to by 'dslbis1'
# 104| dslbis2 = g_malloc(sizeof(*dslbis2));
# 105| if (!dslbis2) {
# 106|-> return -ENOMEM;
# 107| }
# 108| *dslbis2 = (CDATDslbis) {
Error: CLANG_WARNING: [#def971]
qemu-8.2.2-build/qemu-8.2.2/hw/mem/cxl_type3.c:122:17: warning[unix.Malloc]: Potential leak of memory pointed to by 'dslbis2'
# 120| dslbis3 = g_malloc(sizeof(*dslbis3));
# 121| if (!dslbis3) {
# 122|-> return -ENOMEM;
# 123| }
# 124| *dslbis3 = (CDATDslbis) {
Error: CLANG_WARNING: [#def972]
qemu-8.2.2-build/qemu-8.2.2/hw/mem/cxl_type3.c:138:17: warning[unix.Malloc]: Potential leak of memory pointed to by 'dslbis3'
# 136| dsemts = g_malloc(sizeof(*dsemts));
# 137| if (!dsemts) {
# 138|-> return -ENOMEM;
# 139| }
# 140| *dsemts = (CDATDsemts) {
Error: CLANG_WARNING: [#def973]
qemu-8.2.2-build/qemu-8.2.2/hw/mem/cxl_type3.c:561:46: warning[unix.Malloc]: Use of memory after it is freed
# 559| cxl_err = QTAILQ_FIRST(&ct3d->error_list);
# 560| for (i = 0; i < CXL_RAS_ERR_HEADER_NUM; i++) {
# 561|-> stl_le_p(header_log + i, cxl_err->header[i]);
# 562| }
# 563| capctrl = FIELD_DP32(capctrl, CXL_RAS_ERR_CAP_CTRL,
Error: CLANG_WARNING: [#def974]
qemu-8.2.2-build/qemu-8.2.2/hw/mips/loongson3_bootp.c:143:5: warning[deadcode.DeadStores]: Value stored to 'p' is never read
# 141| init_special_info(p);
# 142| lp->special_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp);
# 143|-> p += ROUND_UP(sizeof(struct loongson_special_attribute), 64);
# 144| }
# 145|
Error: CLANG_WARNING: [#def975]
qemu-8.2.2-build/qemu-8.2.2/hw/mips/mipssim.c:78:5: warning[deadcode.DeadStores]: Value stored to 'initrd_size' is never read
# 76|
# 77| /* load initrd */
# 78|-> initrd_size = 0;
# 79| initrd_offset = 0;
# 80| if (loaderparams.initrd_filename) {
Error: CLANG_WARNING: [#def976]
qemu-8.2.2-build/qemu-8.2.2/hw/mips/mipssim.c:79:5: warning[deadcode.DeadStores]: Value stored to 'initrd_offset' is never read
# 77| /* load initrd */
# 78| initrd_size = 0;
# 79|-> initrd_offset = 0;
# 80| if (loaderparams.initrd_filename) {
# 81| initrd_size = get_image_size(loaderparams.initrd_filename);
Error: CLANG_WARNING: [#def977]
qemu-8.2.2-build/qemu-8.2.2/hw/misc/aspeed_hace.c:281:9: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 279|
# 280| for (; i > 0; i--) {
# 281|-> address_space_unmap(&s->dram_as, iov[i - 1].iov_base,
# 282| iov[i - 1].iov_len, false,
# 283| iov[i - 1].iov_len);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def978]
qemu-8.2.2-build/qemu-8.2.2/hw/misc/aspeed_lpc.c: scope_hint: In function ‘aspeed_lpc_read’
qemu-8.2.2-build/qemu-8.2.2/hw/misc/aspeed_lpc.c:332:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/misc/aspeed_lpc.c: scope_hint: In function ‘aspeed_lpc_read’
# 330|
# 331| channel = aspeed_kcs_get_channel_by_register(reg);
# 332|-> if (s->regs[channel->str] & STR_IBF) {
# 333| enum aspeed_lpc_subdevice subdev;
# 334|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def979]
qemu-8.2.2-build/qemu-8.2.2/hw/misc/aspeed_lpc.c: scope_hint: In function ‘aspeed_lpc_write’
qemu-8.2.2-build/qemu-8.2.2/hw/misc/aspeed_lpc.c:368:56: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/misc/aspeed_lpc.c: scope_hint: In function ‘aspeed_lpc_write’
# 366| case ODR3:
# 367| case ODR4:
# 368|-> s->regs[aspeed_kcs_get_channel_by_register(reg)->str] |= STR_OBF;
# 369| break;
# 370| default:
Error: CLANG_WARNING: [#def980]
qemu-8.2.2-build/qemu-8.2.2/hw/misc/imx6_src.c:159:1: warning[unix.Malloc]: Potential leak of memory pointed to by 'ri'
# 157|
# 158| async_run_on_cpu(cpu, imx6_clear_reset_bit, RUN_ON_CPU_HOST_PTR(ri));
# 159|-> }
# 160|
# 161|
Error: CLANG_WARNING: [#def981]
qemu-8.2.2-build/qemu-8.2.2/hw/misc/imx7_src.c:164:1: warning[unix.Malloc]: Potential leak of memory pointed to by 'ri'
# 162|
# 163| async_run_on_cpu(cpu, imx7_clear_reset_bit, RUN_ON_CPU_HOST_PTR(ri));
# 164|-> }
# 165|
# 166|
Error: CLANG_WARNING: [#def982]
qemu-8.2.2-build/qemu-8.2.2/hw/misc/mips_cpc.c:47:15: warning[deadcode.DeadStores]: Value stored to 'cs' during its initialization is never read
# 45| static void cpc_run_vp(MIPSCPCState *cpc, uint64_t vp_run)
# 46| {
# 47|-> CPUState *cs = first_cpu;
# 48|
# 49| CPU_FOREACH(cs) {
Error: CLANG_WARNING: [#def983]
qemu-8.2.2-build/qemu-8.2.2/hw/misc/mips_cpc.c:65:15: warning[deadcode.DeadStores]: Value stored to 'cs' during its initialization is never read
# 63| static void cpc_stop_vp(MIPSCPCState *cpc, uint64_t vp_stop)
# 64| {
# 65|-> CPUState *cs = first_cpu;
# 66|
# 67| CPU_FOREACH(cs) {
Error: CLANG_WARNING: [#def984]
qemu-8.2.2-build/qemu-8.2.2/hw/net/can/xlnx-versal-canfd.c:959:13: warning[deadcode.DeadStores]: Value stored to 'dlc' during its initialization is never read
# 957| int i;
# 958| bool is_canfd_frame;
# 959|-> uint8_t dlc = frame->can_dlc;
# 960| uint8_t rx_reg_num = 0;
# 961| uint32_t dlc_reg_val = 0;
Error: CLANG_WARNING: [#def985]
qemu-8.2.2-build/qemu-8.2.2/hw/net/can/xlnx-versal-canfd.c:1198:9: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
# 1196| path = object_get_canonical_path(OBJECT(s));
# 1197|
# 1198|-> trace_xlnx_canfd_rx_data(path, frame->can_id, frame->can_dlc,
# 1199| frame->flags);
# 1200| canfd_update_irq(s);
Error: CLANG_WARNING: [#def986]
qemu-8.2.2-build/qemu-8.2.2/hw/net/can/xlnx-versal-canfd.c:1390:13: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
# 1388| g_autofree char *path = object_get_canonical_path(OBJECT(s));
# 1389|
# 1390|-> trace_xlnx_canfd_tx_data(path, frame.can_id, frame.can_dlc,
# 1391| frame.flags);
# 1392| can_bus_client_send(&s->bus_client, &frame, 1);
Error: CLANG_WARNING: [#def987]
qemu-8.2.2-build/qemu-8.2.2/hw/net/can/xlnx-versal-canfd.c:2009:5: warning[deadcode.DeadStores]: Value stored to 'pos' is never read
# 2007| pos = canfd_populate_regarray(s, r_array, pos,
# 2008| s->af_regs, NUM_AF * NUM_REG_PER_AF);
# 2009|-> pos = canfd_populate_regarray(s, r_array, pos,
# 2010| s->txe_regs, NUM_TXE * NUM_REG_PER_TXE);
# 2011|
Error: CLANG_WARNING: [#def988]
qemu-8.2.2-build/qemu-8.2.2/hw/net/e1000.c:960:60: warning[core.UndefinedBinaryOperatorResult]: The left operand of '-' is a garbage value
# 958| }
# 959| do {
# 960|-> iov_copy = MIN(copy_size, iov->iov_len - iov_ofs);
# 961| pci_dma_write(d, ba, iov->iov_base + iov_ofs, iov_copy);
# 962| copy_size -= iov_copy;
Error: CLANG_WARNING: [#def989]
qemu-8.2.2-build/qemu-8.2.2/hw/net/i82596.c:651:17: warning[deadcode.DeadStores]: Value stored to 'rba' is never read
# 649| address_space_write(&address_space_memory, rba,
# 650| MEMTXATTRS_UNSPECIFIED, crc_ptr, crccount);
# 651|-> rba += crccount;
# 652| crc_ptr += crccount;
# 653| len -= crccount;
Error: GCC_ANALYZER_WARNING (CWE-688): [#def990]
qemu-8.2.2-build/qemu-8.2.2/hw/net/rocker/rocker.c: scope_hint: In function ‘rocker_world_type_by_name’
qemu-8.2.2-build/qemu-8.2.2/hw/net/rocker/rocker.c:1258:13: warning[-Wanalyzer-null-argument]: use of NULL ‘name’ where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/net/rocker/rocker.c:18: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/net/rocker/rocker.c:1278:25: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/hw/net/rocker/rocker.c:1278:25: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/hw/net/rocker/rocker.c: scope_hint: In function ‘rocker_world_type_by_name’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:116: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
# 1256|
# 1257| for (i = 0; i < ROCKER_WORLD_TYPE_MAX; i++) {
# 1258|-> if (strcmp(name, world_name(r->worlds[i])) == 0) {
# 1259| return r->worlds[i];
# 1260| }
Error: CLANG_WARNING: [#def991]
qemu-8.2.2-build/qemu-8.2.2/hw/net/rocker/rocker_of_dpa.c:1057:12: warning[unix.Malloc]: Potential leak of memory pointed to by 'iov_copy'
# 1055| of_dpa_flow_ig_tbl(&fc, ROCKER_OF_DPA_TABLE_ID_INGRESS_PORT);
# 1056|
# 1057|-> return iov_size(iov, iovcnt);
# 1058| }
# 1059|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def992]
qemu-8.2.2-build/qemu-8.2.2/hw/net/vhost_net.c: scope_hint: In function ‘vhost_net_stop_one’
qemu-8.2.2-build/qemu-8.2.2/hw/net/vhost_net.c:335:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘net’
# 333| struct vhost_vring_file file = { .fd = -1 };
# 334|
# 335|-> if (net->nc->info->type == NET_CLIENT_DRIVER_TAP) {
# 336| for (file.index = 0; file.index < net->dev.nvqs; ++file.index) {
# 337| int r = vhost_net_set_backend(&net->dev, &file);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def993]
qemu-8.2.2-build/qemu-8.2.2/hw/net/vhost_net.c: scope_hint: In function ‘vhost_net_start’
qemu-8.2.2-build/qemu-8.2.2/hw/net/vhost_net.c:388:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 386| * properly.
# 387| */
# 388|-> if (net->nc->info->type == NET_CLIENT_DRIVER_VHOST_USER) {
# 389| dev->use_guest_notifier_mask = false;
# 390| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def994]
qemu-8.2.2-build/qemu-8.2.2/hw/net/vhost_net.c: scope_hint: In function ‘vhost_set_vring_enable’
qemu-8.2.2-build/qemu-8.2.2/hw/net/vhost_net.c:544:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nc’
# 542| const VhostOps *vhost_ops = net->dev.vhost_ops;
# 543|
# 544|-> nc->vring_enable = enable;
# 545|
# 546| if (vhost_ops && vhost_ops->vhost_set_vring_enable) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def995]
qemu-8.2.2-build/qemu-8.2.2/hw/net/vhost_net.c: scope_hint: In function ‘vhost_net_virtqueue_reset’
qemu-8.2.2-build/qemu-8.2.2/hw/net/vhost_net.c:577:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/net/vhost_net.c:16: included_from: Included from here.
# 575| idx = vhost_ops->vhost_get_vq_index(&net->dev, vq_index);
# 576|
# 577|-> if (net->nc->info->type == NET_CLIENT_DRIVER_TAP) {
# 578| file.index = idx;
# 579| int r = vhost_net_set_backend(&net->dev, &file);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def996]
qemu-8.2.2-build/qemu-8.2.2/hw/net/vhost_net.c: scope_hint: In function ‘vhost_net_virtqueue_restart’
qemu-8.2.2-build/qemu-8.2.2/hw/net/vhost_net.c:614:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 612| }
# 613|
# 614|-> if (net->nc->info->type == NET_CLIENT_DRIVER_TAP) {
# 615| file.index = idx;
# 616| file.fd = net->backend;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def997]
qemu-8.2.2-build/qemu-8.2.2/hw/net/vhost_net.c:629:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 627| error_report("Error when restarting the queue.");
# 628|
# 629|-> if (net->nc->info->type == NET_CLIENT_DRIVER_TAP) {
# 630| file.fd = VHOST_FILE_UNBIND;
# 631| file.index = idx;
Error: CLANG_WARNING: [#def998]
qemu-8.2.2-build/qemu-8.2.2/hw/nvme/dif.c:334:21: warning[unix.Malloc]: Potential leak of memory pointed to by 'zeroes'
# 332|
# 333| if (memcmp(bufp, zeroes, ns->lbasz) == 0) {
# 334|-> memset(mbuf + pil, 0xff, nvme_pi_tuple_size(ns));
# 335| }
# 336| } else {
Error: CLANG_WARNING: [#def999]
qemu-8.2.2-build/qemu-8.2.2/hw/nvme/ns.c:443:13: warning[unix.Malloc]: Potential leak of memory pointed to by 'ruhid'
# 441| while ((token = qemu_strsep(&p, ";")) != NULL) {
# 442| if (qemu_strtoui(token, &endptr, 0, &n) < 0) {
# 443|-> error_setg(errp, "cannot parse reclaim unit handle identifier");
# 444| free(r);
# 445| return false;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1000]
qemu-8.2.2-build/qemu-8.2.2/hw/nvram/fw_cfg.c: scope_hint: In function ‘fw_cfg_dma_transfer’
qemu-8.2.2-build/qemu-8.2.2/hw/nvram/fw_cfg.c:382:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 380|
# 381| while (dma.length > 0 && !(dma.control & FW_CFG_DMA_CTL_ERROR)) {
# 382|-> if (s->cur_entry == FW_CFG_INVALID || !e->data ||
# 383| s->cur_offset >= e->len) {
# 384| len = dma.length;
Error: CLANG_WARNING: [#def1001]
qemu-8.2.2-build/qemu-8.2.2/hw/pci-host/astro.c:126:9: warning[deadcode.DeadStores]: Value stored to 'val' is never read
# 124| break;
# 125| case 0x0808:
# 126|-> val = UINT64_MAX; /* XXX: tbc. */
# 127| g_assert_not_reached();
# 128| break;
Error: CLANG_WARNING: [#def1002]
qemu-8.2.2-build/qemu-8.2.2/hw/pci-host/pnv_phb4.c:331:19: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
# 329| if (!tptr) {
# 330| /* Special PESTA case */
# 331|-> if (table == IODA3_TBL_PESTA) {
# 332| return ((uint64_t)(phb->ioda_PEST_AB[idx] & 1)) << 63;
# 333| } else if (table == IODA3_TBL_PESTB) {
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1003]
qemu-8.2.2-build/qemu-8.2.2/hw/pci-host/pnv_phb4.c: scope_hint: In function ‘pnv_phb4_ioda_write’
qemu-8.2.2-build/qemu-8.2.2/hw/pci-host/pnv_phb4.c:350:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘table’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:53: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/pci-host/pnv_phb4.c:9: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:45:43: note: in definition of macro ‘unlikely’
qemu-8.2.2-build/qemu-8.2.2/hw/pci-host/pnv_phb4.c:27:5: note: in expansion of macro ‘qemu_log_mask’
qemu-8.2.2-build/qemu-8.2.2/hw/pci-host/pnv_phb4.c:301:9: note: in expansion of macro ‘phb_error’
qemu-8.2.2-build/qemu-8.2.2/hw/pci-host/pnv_phb4.c: scope_hint: In function ‘pnv_phb4_ioda_write’
# 348| if (!tptr) {
# 349| /* Special PESTA case */
# 350|-> if (table == IODA3_TBL_PESTA) {
# 351| phb->ioda_PEST_AB[idx] &= ~1;
# 352| phb->ioda_PEST_AB[idx] |= (val >> 63) & 1;
Error: CLANG_WARNING: [#def1004]
qemu-8.2.2-build/qemu-8.2.2/hw/pci-host/pnv_phb4.c:350:19: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
# 348| if (!tptr) {
# 349| /* Special PESTA case */
# 350|-> if (table == IODA3_TBL_PESTA) {
# 351| phb->ioda_PEST_AB[idx] &= ~1;
# 352| phb->ioda_PEST_AB[idx] |= (val >> 63) & 1;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1005]
qemu-8.2.2-build/qemu-8.2.2/hw/pci/pci.c: scope_hint: In function ‘pci_device_iommu_address_space’
qemu-8.2.2-build/qemu-8.2.2/hw/pci/pci.c:2720:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iommu_bus’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/pci/pci.c:25: included_from: Included from here.
# 2718| iommu_bus = parent_bus;
# 2719| }
# 2720|-> if (!pci_bus_bypass_iommu(bus) && iommu_bus->iommu_ops) {
# 2721| return iommu_bus->iommu_ops->get_address_space(bus,
# 2722| iommu_bus->iommu_opaque, devfn);
Error: CLANG_WARNING: [#def1006]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/e500.c:376:18: warning[deadcode.DeadStores]: Value stored to 'env' during its initialization is never read
# 374| unsigned int smp_cpus = machine->smp.cpus;
# 375| const PPCE500MachineClass *pmc = PPCE500_MACHINE_GET_CLASS(pms);
# 376|-> CPUPPCState *env = cpu_env(first_cpu);
# 377| int ret = -1;
# 378| uint64_t mem_reg_property[] = { 0, cpu_to_be64(machine->ram_size) };
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1007]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/e500.c: scope_hint: In function ‘mmubooke_create_initial_mapping’
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/e500.c:763:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/include/sysemu/kvm.h:214: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/e500.c:31: included_from: Included from here.
# 761| ps = booke206_initial_map_tsize(env);
# 762| size = (ps << MAS1_TSIZE_SHIFT);
# 763|-> tlb->mas1 = MAS1_VALID | size;
# 764| tlb->mas2 = 0;
# 765| tlb->mas7_3 = 0;
Error: CLANG_WARNING: [#def1008]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/e500.c:867:32: warning[deadcode.DeadStores]: Value stored to 'pmc' during its initialization is never read
# 865| IrqLines *irqs)
# 866| {
# 867|-> const PPCE500MachineClass *pmc = PPCE500_MACHINE_GET_CLASS(pms);
# 868| DeviceState *dev = NULL;
# 869| SysBusDevice *s;
Error: CLANG_WARNING: [#def1009]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/e500.c:986:5: warning[deadcode.DeadStores]: Value stored to 'env' is never read
# 984| }
# 985|
# 986|-> env = firstenv;
# 987|
# 988| if (!QEMU_IS_ALIGNED(machine->ram_size, RAM_SIZES_ALIGN)) {
Error: CLANG_WARNING: [#def1010]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/e500.c:1255:9: warning[deadcode.DeadStores]: Value stored to 'cur_base' is never read
# 1253| }
# 1254|
# 1255|-> cur_base = initrd_base + initrd_size;
# 1256| }
# 1257|
Error: CLANG_WARNING: [#def1011]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/e500plat.c:35:26: warning[deadcode.DeadStores]: Value stored to 'pmc' during its initialization is never read
# 33| static void e500plat_init(MachineState *machine)
# 34| {
# 35|-> PPCE500MachineClass *pmc = PPCE500_MACHINE_GET_CLASS(machine);
# 36| /* Older KVM versions don't support EPR which breaks guests when we announce
# 37| MPIC variants that support EPR. Revert to an older one for those */
Error: CLANG_WARNING: [#def1012]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/mac_newworld.c:304:9: warning[core.NullDereference]: Access to field 'bus_model' results in a dereference of a null pointer (loaded from variable 'env')
# 302| sysbus_mmio_get_region(s, 0));
# 303|
# 304|-> if (PPC_INPUT(env) == PPC_FLAGS_INPUT_970) {
# 305| machine_arch = ARCH_MAC99_U3;
# 306| /* 970 gets a U3 bus */
Error: CLANG_WARNING: [#def1013]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/pnv_lpc.c:296:9: warning[deadcode.DeadStores]: Value stored to 'success' is never read
# 294| data[3] = lpc->eccb_data_reg;
# 295|
# 296|-> success = opb_write(lpc, opb_addr, data, sz);
# 297| lpc->eccb_stat_reg = ECCB_STAT_OP_DONE;
# 298| }
Error: CLANG_WARNING: [#def1014]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/ppc440_uc.c:944:9: warning[deadcode.DeadStores]: Value stored to 'size' is never read
# 942| s->reg_mask = val;
# 943| /* FIXME: how is size encoded? */
# 944|-> size = (val == 0x7001 ? 4096 : ~(val & 0xfffffffe) + 1);
# 945| break;
# 946| case PEGPL_SPECIAL:
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1015]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/ppce500_spin.c: scope_hint: In function ‘mmubooke_create_initial_mapping’
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/ppce500_spin.c:82:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/include/sysemu/kvm.h:214: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/sysemu/hw_accel.h:15: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/ppce500_spin.c:35: included_from: Included from here.
# 80|
# 81| size = (booke206_page_size_to_tlb(len) << MAS1_TSIZE_SHIFT);
# 82|-> tlb->mas1 = MAS1_VALID | size;
# 83| tlb->mas2 = (va & TARGET_PAGE_MASK) | MAS2_M;
# 84| tlb->mas7_3 = pa & TARGET_PAGE_MASK;
Error: CLANG_WARNING: [#def1016]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/sam460ex.c:374:5: warning[deadcode.DeadStores]: Value stored to 'dev' is never read
# 372| i2c_slave_create_simple(i2c, "m41t80", 0x68);
# 373|
# 374|-> dev = sysbus_create_simple(TYPE_PPC4xx_I2C, 0x4ef600800,
# 375| qdev_get_gpio_in(uic[0], 3));
# 376|
Error: CLANG_WARNING: [#def1017]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr.c:210:20: warning[unix.Malloc]: Potential leak of memory pointed to by 'servers_prop'
# 208| ret = fdt_setprop_cell(fdt, offset, "cpu-version", cpu->compat_pvr);
# 209| if (ret < 0) {
# 210|-> return ret;
# 211| }
# 212| }
Error: CLANG_WARNING: [#def1018]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr.c:224:16: warning[unix.Malloc]: Potential leak of memory pointed to by 'gservers_prop'
# 222| servers_prop, sizeof(*servers_prop) * smt_threads);
# 223| if (ret < 0) {
# 224|-> return ret;
# 225| }
# 226| ret = fdt_setprop(fdt, offset, "ibm,ppc-interrupt-gserver#s",
Error: CLANG_WARNING: [#def1019]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr.c:644:32: warning[core.BitwiseShift]: Left shift by '64' overflows the capacity of 'unsigned long long'
# 642| /* mem_start != 0 here */
# 643| if (ctzl(mem_start) < ctzl(sizetmp)) {
# 644|-> sizetmp = 1ULL << ctzl(mem_start);
# 645| }
# 646|
Error: CLANG_WARNING: [#def1020]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr.c:1449:24: warning[deadcode.DeadStores]: Value stored to 'spapr' during its initialization is never read
# 1447| static target_ulong spapr_encode_hpt_for_kvm_pr(PPCVirtualHypervisor *vhyp)
# 1448| {
# 1449|-> SpaprMachineState *spapr = SPAPR_MACHINE(vhyp);
# 1450|
# 1451| assert(kvm_enabled());
Error: CLANG_WARNING: [#def1021]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr.c:2579:9: warning[deadcode.DeadStores]: Value stored to 'kvm_smt' during its initialization is never read
# 2577| Error *local_err = NULL;
# 2578| bool vsmt_user = !!spapr->vsmt;
# 2579|-> int kvm_smt = kvmppc_smt_threads();
# 2580| int ret;
# 2581| unsigned int smp_threads = ms->smp.threads;
Error: CLANG_WARNING: [#def1022]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr.c:4538:19: warning[deadcode.DeadStores]: Value stored to 'ms' during its initialization is never read
# 4536| {
# 4537| SpaprMachineState *spapr = SPAPR_MACHINE(qdev_get_machine());
# 4538|-> MachineState *ms = MACHINE(spapr);
# 4539| int vcpu_id;
# 4540|
Error: CLANG_WARNING: [#def1023]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr_caps.c:240:13: warning[deadcode.DeadStores]: Value stored to 'kvm_val' during its initialization is never read
# 238| {
# 239| ERRP_GUARD();
# 240|-> uint8_t kvm_val = kvmppc_get_cap_safe_cache();
# 241|
# 242| if (tcg_enabled() && val) {
Error: CLANG_WARNING: [#def1024]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr_caps.c:265:13: warning[deadcode.DeadStores]: Value stored to 'kvm_val' during its initialization is never read
# 263| {
# 264| ERRP_GUARD();
# 265|-> uint8_t kvm_val = kvmppc_get_cap_safe_bounds_check();
# 266|
# 267| if (tcg_enabled() && val) {
Error: CLANG_WARNING: [#def1025]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr_caps.c:293:13: warning[deadcode.DeadStores]: Value stored to 'kvm_val' during its initialization is never read
# 291| {
# 292| ERRP_GUARD();
# 293|-> uint8_t kvm_val = kvmppc_get_cap_safe_indirect_branch();
# 294|
# 295| if (tcg_enabled() && val) {
Error: CLANG_WARNING: [#def1026]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr_caps.c:498:22: warning[deadcode.DeadStores]: Value stored to 'pcc' during its initialization is never read
# 496| ERRP_GUARD();
# 497| PowerPCCPU *cpu = POWERPC_CPU(first_cpu);
# 498|-> PowerPCCPUClass *pcc = POWERPC_CPU_GET_CLASS(cpu);
# 499|
# 500| if (!val) {
Error: CLANG_WARNING: [#def1027]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr_caps.c:556:13: warning[deadcode.DeadStores]: Value stored to 'kvm_val' during its initialization is never read
# 554| {
# 555| ERRP_GUARD();
# 556|-> uint8_t kvm_val = kvmppc_get_cap_count_cache_flush_assist();
# 557|
# 558| if (tcg_enabled() && val) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1028]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr_events.c: scope_hint: In function ‘rtas_event_log_contains’
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr_events.c:491:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/notify.h:17: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/sysemu/runstate.h:5: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr_events.c:31: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr_events.c:486:5: note: in expansion of macro ‘QTAILQ_FOREACH’
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr_events.c: scope_hint: In function ‘rtas_event_log_contains’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr_events.c:28: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr_events.c:415:5: note: in expansion of macro ‘g_assert’
# 489| spapr_event_log_entry_type(entry));
# 490|
# 491|-> if (source->mask & event_mask) {
# 492| return true;
# 493| }
Error: CLANG_WARNING: [#def1029]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/spapr_events.c:962:9: warning[deadcode.DeadStores]: Value stored to 'len' is never read
# 960|
# 961| if (event_len < len) {
# 962|-> len = event_len;
# 963| }
# 964|
Error: CLANG_WARNING: [#def1030]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/vof.c:911:15: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 909| }
# 910| } else if (cmpserv("call-method", 0, 0)) {
# 911|-> ret = vof_call_method(ms, vof, args[0], args[1], args[2], args[3],
# 912| args[4], args[5], rets);
# 913| } else if (cmpserv("interpret", 0, 0)) {
Error: CLANG_WARNING: [#def1031]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/vof.c:911:15: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
# 909| }
# 910| } else if (cmpserv("call-method", 0, 0)) {
# 911|-> ret = vof_call_method(ms, vof, args[0], args[1], args[2], args[3],
# 912| args[4], args[5], rets);
# 913| } else if (cmpserv("interpret", 0, 0)) {
Error: CLANG_WARNING: [#def1032]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/vof.c:911:15: warning[core.CallAndMessage]: 5th function call argument is an uninitialized value
# 909| }
# 910| } else if (cmpserv("call-method", 0, 0)) {
# 911|-> ret = vof_call_method(ms, vof, args[0], args[1], args[2], args[3],
# 912| args[4], args[5], rets);
# 913| } else if (cmpserv("interpret", 0, 0)) {
Error: CLANG_WARNING: [#def1033]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/vof.c:911:15: warning[core.CallAndMessage]: 6th function call argument is an uninitialized value
# 909| }
# 910| } else if (cmpserv("call-method", 0, 0)) {
# 911|-> ret = vof_call_method(ms, vof, args[0], args[1], args[2], args[3],
# 912| args[4], args[5], rets);
# 913| } else if (cmpserv("interpret", 0, 0)) {
Error: CLANG_WARNING: [#def1034]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/vof.c:914:15: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 912| args[4], args[5], rets);
# 913| } else if (cmpserv("interpret", 0, 0)) {
# 914|-> ret = vof_call_interpret(args[0], args[1], args[2], rets);
# 915| } else if (cmpserv("milliseconds", 0, 1)) {
# 916| ret = qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL);
Error: CLANG_WARNING: [#def1035]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/vof.c:914:15: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 912| args[4], args[5], rets);
# 913| } else if (cmpserv("interpret", 0, 0)) {
# 914|-> ret = vof_call_interpret(args[0], args[1], args[2], rets);
# 915| } else if (cmpserv("milliseconds", 0, 1)) {
# 916| ret = qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL);
Error: CLANG_WARNING: [#def1036]
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/vof.c:914:15: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 912| args[4], args[5], rets);
# 913| } else if (cmpserv("interpret", 0, 0)) {
# 914|-> ret = vof_call_interpret(args[0], args[1], args[2], rets);
# 915| } else if (cmpserv("milliseconds", 0, 1)) {
# 916| ret = qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL);
Error: CLANG_WARNING: [#def1037]
qemu-8.2.2-build/qemu-8.2.2/hw/riscv/sifive_u.c:521:18: warning[deadcode.DeadStores]: Value stored to 'start_addr' during its initialization is never read
# 519| MemoryRegion *system_memory = get_system_memory();
# 520| MemoryRegion *flash0 = g_new(MemoryRegion, 1);
# 521|-> target_ulong start_addr = memmap[SIFIVE_U_DEV_DRAM].base;
# 522| target_ulong firmware_end_addr, kernel_start_addr;
# 523| const char *firmware_name;
Error: CLANG_WARNING: [#def1038]
qemu-8.2.2-build/qemu-8.2.2/hw/riscv/virt.c:1214:5: warning[deadcode.DeadStores]: Value stored to 'aplic_s' is never read
# 1212|
# 1213| /* Per-socket S-level APLIC */
# 1214|-> aplic_s = riscv_aplic_create(memmap[VIRT_APLIC_S].base +
# 1215| socket * memmap[VIRT_APLIC_S].size,
# 1216| memmap[VIRT_APLIC_S].size,
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1039]
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/ipl.c: scope_hint: In function ‘s390_ipl_prepare_pv_header’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/ipl.c:710:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/ipl.c: scope_hint: In function ‘s390_ipl_prepare_pv_header’
# 708| IplParameterBlock *ipib = s390_ipl_get_iplb_pv();
# 709| IPLBlockPV *ipib_pv = &ipib->pv;
# 710|-> void *hdr = g_malloc(ipib_pv->pv_header_len);
# 711| int rc;
# 712|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1040]
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/ipl.c: scope_hint: In function ‘s390_ipl_pv_unpack’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/ipl.c:727:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/ipl.c: scope_hint: In function ‘s390_ipl_pv_unpack’
# 725| int i, rc = 0;
# 726|
# 727|-> for (i = 0; i < ipib_pv->num_comp; i++) {
# 728| rc = s390_pv_unpack(ipib_pv->components[i].addr,
# 729| TARGET_PAGE_ALIGN(ipib_pv->components[i].size),
Error: CLANG_WARNING: [#def1041]
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/s390-pci-vfio.c:46:16: warning[unix.Malloc]: Potential leak of memory pointed to by 'info'
# 44|
# 45| if (ioctl(fd, VFIO_IOMMU_GET_INFO, info)) {
# 46|-> return false;
# 47| }
# 48|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1042]
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_dev_tmp_pre_save’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:71:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_dev_tmp_pre_save’
# 69| VirtIODevice *vdev = virtio_bus_get_device(&dev->bus);
# 70|
# 71|-> tmp->config_vector = vdev->config_vector;
# 72|
# 73| return 0;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1043]
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_dev_tmp_post_load’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:82:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_dev_tmp_post_load’
# 80| VirtIODevice *vdev = virtio_bus_get_device(&dev->bus);
# 81|
# 82|-> vdev->config_vector = tmp->config_vector;
# 83| return 0;
# 84| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1044]
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:389:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vdev’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
# 387| /* Don't offer legacy features for modern devices. */
# 388| features.features = (uint32_t)
# 389|-> (vdev->host_features & ~vdc->legacy_features);
# 390| } else {
# 391| features.features = (uint32_t)vdev->host_features;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1045]
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:391:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vdev’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
# 389| (vdev->host_features & ~vdc->legacy_features);
# 390| } else {
# 391|-> features.features = (uint32_t)vdev->host_features;
# 392| }
# 393| } else if ((features.index == 1) && (dev->revision >= 1)) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1046]
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:398:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vdev’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
# 396| * negotiated at least revision 1.
# 397| */
# 398|-> features.features = (uint32_t)(vdev->host_features >> 32);
# 399| } else {
# 400| /* Return zeroes if the guest supports more feature bits. */
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1047]
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:432:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vdev’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:30: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:425:19: note: in expansion of macro ‘ccw_dstream_read’
# 430| if (features.index == 0) {
# 431| virtio_set_features(vdev,
# 432|-> (vdev->guest_features & 0xffffffff00000000ULL) |
# 433| features.features);
# 434| } else if ((features.index == 1) && (dev->revision >= 1)) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1048]
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:441:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vdev’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:425:19: note: in expansion of macro ‘ccw_dstream_read’
# 439| */
# 440| virtio_set_features(vdev,
# 441|-> (vdev->guest_features & 0x00000000ffffffffULL) |
# 442| ((uint64_t)features.features << 32));
# 443| } else {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1049]
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:461:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vdev’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
# 459| case CCW_CMD_READ_CONF:
# 460| if (check_len) {
# 461|-> if (ccw.count > vdev->config_len) {
# 462| ret = -EINVAL;
# 463| break;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1050]
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:479:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vdev’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
# 477| case CCW_CMD_WRITE_CONF:
# 478| if (check_len) {
# 479|-> if (ccw.count > vdev->config_len) {
# 480| ret = -EINVAL;
# 481| break;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1051]
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:509:67: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vdev’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
qemu-8.2.2-build/qemu-8.2.2/include/sysemu/kvm.h:19: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:16: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:510:41: note: in expansion of macro ‘MEMTXATTRS_UNSPECIFIED’
# 507| ret = -EFAULT;
# 508| } else {
# 509|-> address_space_stb(&address_space_memory, ccw.cda, vdev->status,
# 510| MEMTXATTRS_UNSPECIFIED, NULL);
# 511| sch->curr_status.scsw.count = ccw.count - sizeof(vdev->status);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1052]
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:537:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vdev’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:529:19: note: in expansion of macro ‘ccw_dstream_read’
# 535| }
# 536| if (virtio_set_status(vdev, status) == 0) {
# 537|-> if (vdev->status == 0) {
# 538| virtio_ccw_reset_virtio(dev);
# 539| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1053]
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_set_guest_notifier’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:1046:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_set_guest_notifier’
# 1044| * need to manually trigger any guest masking callbacks here.
# 1045| */
# 1046|-> if (k->guest_notifier_mask && vdev->use_guest_notifier_mask) {
# 1047| k->guest_notifier_mask(vdev, n, false);
# 1048| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1054]
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:1055:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_set_guest_notifier’
# 1053| }
# 1054| } else {
# 1055|-> if (k->guest_notifier_mask && vdev->use_guest_notifier_mask) {
# 1056| k->guest_notifier_mask(vdev, n, true);
# 1057| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1055]
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_device_plugged’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:1161:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_device_plugged’
# 1159| S390FLICState *flic = s390_get_flic();
# 1160|
# 1161|-> if (!virtio_has_feature(vdev->host_features, VIRTIO_F_VERSION_1)) {
# 1162| dev->max_rev = 0;
# 1163| }
Error: CLANG_WARNING: [#def1056]
qemu-8.2.2-build/qemu-8.2.2/hw/scsi/megasas.c:1212:32: warning[deadcode.DeadStores]: Value stored to 'max_ld_disks' during its initialization is never read
# 1210| size_t dcmd_size = sizeof(info);
# 1211| dma_addr_t residual;
# 1212|-> uint32_t num_ld_disks = 0, max_ld_disks = s->fw_luns;
# 1213| BusChild *kid;
# 1214|
Error: CLANG_WARNING: [#def1057]
qemu-8.2.2-build/qemu-8.2.2/hw/scsi/megasas.c:1220:9: warning[deadcode.DeadStores]: Value stored to 'max_ld_disks' is never read
# 1218| if (flags != MR_LD_QUERY_TYPE_ALL &&
# 1219| flags != MR_LD_QUERY_TYPE_EXPOSED_TO_HOST) {
# 1220|-> max_ld_disks = 0;
# 1221| }
# 1222|
Error: CLANG_WARNING: [#def1058]
qemu-8.2.2-build/qemu-8.2.2/hw/scsi/megasas.c:1270:9: warning[deadcode.DeadStores]: Value stored to 'info' is never read
# 1268| if (!cmd->iov_buf) {
# 1269| cmd->iov_buf = g_malloc0(dcmd_size);
# 1270|-> info = cmd->iov_buf;
# 1271| megasas_setup_inquiry(cdb, 0x83, sizeof(info->vpd_page83));
# 1272| cmd->req = scsi_req_new(sdev, cmd->index, lun, cdb, sizeof(cdb), cmd);
Error: CLANG_WARNING: [#def1059]
qemu-8.2.2-build/qemu-8.2.2/hw/scsi/mptsas.c:508:13: warning[unix.Malloc]: Potential leak of memory pointed to by 'reply_async'
# 506| if (reply_async->TerminationCount < count) {
# 507| reply_async->IOCLogInfo = count;
# 508|-> return;
# 509| }
# 510| g_free(reply_async);
Error: CLANG_WARNING: [#def1060]
qemu-8.2.2-build/qemu-8.2.2/hw/scsi/scsi-bus.c:171:9: warning[unix.Malloc]: Use of memory after it is freed
# 169| }
# 170| }
# 171|-> scsi_req_unref(req);
# 172| }
# 173| aio_context_release(blk_get_aio_context(s->conf.blk));
Error: CLANG_WARNING: [#def1061]
qemu-8.2.2-build/qemu-8.2.2/hw/scsi/scsi-bus.c:654:12: warning[unix.Malloc]: Use of memory after it is freed
# 652| scsi_req_complete(req, GOOD);
# 653| }
# 654|-> return r->len;
# 655| }
# 656|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1062]
qemu-8.2.2-build/qemu-8.2.2/hw/scsi/scsi-bus.c: scope_hint: In function ‘scsi_req_new’
qemu-8.2.2-build/qemu-8.2.2/hw/scsi/scsi-bus.c:800:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/scsi/scsi-bus.c:1: included_from: Included from here.
# 798| }
# 799|
# 800|-> req->cmd = cmd;
# 801| req->residual = req->cmd.xfer;
# 802|
Error: CLANG_WARNING: [#def1063]
qemu-8.2.2-build/qemu-8.2.2/hw/scsi/scsi-bus.c:1667:9: warning[unix.Malloc]: Use of memory after it is freed
# 1665| while (!QTAILQ_EMPTY(&sdev->requests)) {
# 1666| req = QTAILQ_FIRST(&sdev->requests);
# 1667|-> scsi_req_cancel_async(req, NULL);
# 1668| }
# 1669| blk_drain(sdev->conf.blk);
Error: CLANG_WARNING: [#def1064]
qemu-8.2.2-build/qemu-8.2.2/hw/scsi/vmw_pvscsi.c:432:9: warning[unix.Malloc]: Use of memory after it is freed
# 430| while (!QTAILQ_EMPTY(&s->completion_queue)) {
# 431| pvscsi_req = QTAILQ_FIRST(&s->completion_queue);
# 432|-> QTAILQ_REMOVE(&s->completion_queue, pvscsi_req, next);
# 433| pvscsi_cmp_ring_put(s, &pvscsi_req->cmp);
# 434| g_free(pvscsi_req);
Error: CLANG_WARNING: [#def1065]
qemu-8.2.2-build/qemu-8.2.2/hw/sd/sd.c:1210:41: warning[core.BitwiseShift]: Right shift by '33' overflows the capacity of 'uint32_t'
# 1208|
# 1209| /* No response if not exactly one VHS bit is set. */
# 1210|-> if (!(req.arg >> 8) || (req.arg >> (ctz32(req.arg & ~0xff) + 1))) {
# 1211| return sd_is_spi(sd) ? sd_r7 : sd_r0;
# 1212| }
Error: CLANG_WARNING: [#def1066]
qemu-8.2.2-build/qemu-8.2.2/hw/smbios/smbios.c:1203:21: warning[unix.Malloc]: Potential leak of memory pointed to by 'buf'
# 1201| int fd = qemu_open(value, O_RDONLY, errp);
# 1202| if (fd < 0) {
# 1203|-> return -1;
# 1204| }
# 1205|
Error: CLANG_WARNING: [#def1067]
qemu-8.2.2-build/qemu-8.2.2/hw/ssi/imx_spi.c:192:31: warning[core.BitwiseShift]: Right operand is negative in right shift
# 190|
# 191| while (tx_burst > 0) {
# 192|-> uint8_t byte = tx >> (tx_burst - 8);
# 193|
# 194| DPRINTF("writing 0x%02x\n", (uint32_t)byte);
Error: GCC_ANALYZER_WARNING (CWE-121): [#def1068]
qemu-8.2.2-build/qemu-8.2.2/hw/ssi/xilinx_spips.c: scope_hint: In function ‘xilinx_spips_flush_txfifo’
qemu-8.2.2-build/qemu-8.2.2/hw/ssi/xilinx_spips.c:623:26: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
qemu-8.2.2-build/qemu-8.2.2/hw/ssi/xilinx_spips.c:623:26: note: write of 1 byte to beyond the end of ‘tx_rx’
qemu-8.2.2-build/qemu-8.2.2/hw/ssi/xilinx_spips.c:623:26: note: valid subscripts for ‘tx_rx’ are ‘[0]’ to ‘[1]’
# 621| s->snoop_state == SNOOP_NONE) {
# 622| for (i = 0; i < num_effective_busses(s); ++i) {
# 623|-> tx_rx[i] = fifo8_pop(&s->tx_fifo);
# 624| }
# 625| stripe8(tx_rx, num_effective_busses(s), false);
Error: CLANG_WARNING: [#def1069]
qemu-8.2.2-build/qemu-8.2.2/hw/ufs/ufs.c:159:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'prd_entries'
# 157| err = ufs_addr_read(u, prdt_base_addr, prd_entries, prdt_size);
# 158| if (err) {
# 159|-> trace_ufs_err_dma_read_prdt(req->slot, prdt_base_addr);
# 160| return err;
# 161| }
Error: CLANG_WARNING: [#def1070]
qemu-8.2.2-build/qemu-8.2.2/hw/usb/combined-packet.c:86:13: warning[unix.Malloc]: Use of memory after it is freed
# 84| p->short_not_ok = short_not_ok;
# 85| /* Note will free combined when the last packet gets removed! */
# 86|-> usb_combined_packet_remove(combined, p);
# 87| usb_packet_complete_one(dev, p);
# 88| actual_length -= p->actual_length;
Error: CLANG_WARNING: [#def1071]
qemu-8.2.2-build/qemu-8.2.2/hw/usb/desc.c:705:12: warning[unix.Malloc]: Potential leak of memory pointed to by 'buf'
# 703| ret = 0;
# 704| }
# 705|-> return ret;
# 706| }
# 707|
Error: CLANG_WARNING: [#def1072]
qemu-8.2.2-build/qemu-8.2.2/hw/usb/dev-hid.c:686:21: warning[unix.Malloc]: Potential leak of memory pointed to by 'buf'
# 684| default:
# 685| fail:
# 686|-> p->status = USB_RET_STALL;
# 687| break;
# 688| }
Error: CLANG_WARNING: [#def1073]
qemu-8.2.2-build/qemu-8.2.2/hw/usb/dev-mtp.c:448:9: warning[unix.Malloc]: Use of memory after it is freed
# 446| while (!QLIST_EMPTY(&o->children)) {
# 447| iter = QLIST_FIRST(&o->children);
# 448|-> usb_mtp_object_free(s, iter);
# 449| }
# 450| g_free(o->name);
Error: CLANG_WARNING: [#def1074]
qemu-8.2.2-build/qemu-8.2.2/hw/usb/dev-mtp.c:918:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'handles'
# 916| usb_mtp_add_u32_array(d, o->nchildren, handles);
# 917|
# 918|-> return d;
# 919| }
# 920|
Error: CLANG_WARNING: [#def1075]
qemu-8.2.2-build/qemu-8.2.2/hw/usb/dev-network.c:887:9: warning[unix.Malloc]: Use of memory after it is freed
# 885|
# 886| while ((r = s->rndis_resp.tqh_first)) {
# 887|-> QTAILQ_REMOVE(&s->rndis_resp, r, entries);
# 888| g_free(r);
# 889| }
Error: CLANG_WARNING: [#def1076]
qemu-8.2.2-build/qemu-8.2.2/hw/usb/dev-wacom.c:395:21: warning[unix.Malloc]: Potential leak of memory pointed to by 'buf'
# 393| case USB_TOKEN_OUT:
# 394| default:
# 395|-> p->status = USB_RET_STALL;
# 396| }
# 397| }
Error: CLANG_WARNING: [#def1077]
qemu-8.2.2-build/qemu-8.2.2/hw/usb/hcd-ehci.c:585:9: warning[unix.Malloc]: Use of memory after it is freed
# 583| trace_usb_ehci_queue_action(q, "cancel");
# 584| do {
# 585|-> ehci_free_packet(p);
# 586| packets++;
# 587| } while ((p = QTAILQ_FIRST(&q->packets)) != NULL);
Error: CLANG_WARNING: [#def1078]
qemu-8.2.2-build/qemu-8.2.2/hw/usb/hcd-uhci.c:147:9: warning[unix.Malloc]: Use of memory after it is freed
# 145| while (!QTAILQ_EMPTY(&queue->asyncs)) {
# 146| async = QTAILQ_FIRST(&queue->asyncs);
# 147|-> uhci_async_cancel(async);
# 148| }
# 149| usb_device_ep_stopped(queue->ep->dev, queue->ep);
Error: CLANG_WARNING: [#def1079]
qemu-8.2.2-build/qemu-8.2.2/hw/usb/host-libusb.c:643:9: warning[unix.Malloc]: Use of memory after it is freed
# 641|
# 642| while ((ring = QTAILQ_FIRST(&s->isorings)) != NULL) {
# 643|-> usb_host_iso_free(ring);
# 644| }
# 645| }
Error: CLANG_WARNING: [#def1080]
qemu-8.2.2-build/qemu-8.2.2/hw/usb/host-libusb.c:1509:5: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 1507| r->cbuf = data;
# 1508| r->clen = length;
# 1509|-> memcpy(r->buffer, udev->setup_buf, 8);
# 1510| if (!r->in) {
# 1511| memcpy(r->buffer + 8, r->cbuf, r->clen);
Error: CLANG_WARNING: [#def1081]
qemu-8.2.2-build/qemu-8.2.2/hw/usb/xen-usb.c:1056:9: warning[unix.Malloc]: Use of memory after it is freed
# 1054| while (!QTAILQ_EMPTY(&usbif->req_free_q)) {
# 1055| usbback_req = QTAILQ_FIRST(&usbif->req_free_q);
# 1056|-> QTAILQ_REMOVE(&usbif->req_free_q, usbback_req, q);
# 1057| g_free(usbback_req);
# 1058| }
Error: CLANG_WARNING: [#def1082]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/ccw.c:568:5: warning[unix.Malloc]: Attempt to free released memory
# 566| static void vfio_ccw_put_region(VFIOCCWDevice *vcdev)
# 567| {
# 568|-> g_free(vcdev->crw_region);
# 569| g_free(vcdev->schib_region);
# 570| g_free(vcdev->async_cmd_region);
Error: CLANG_WARNING: [#def1083]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/common.c:675:31: warning[core.BitwiseShift]: Left shift by '64' overflows the capacity of 'unsigned long long'
# 673|
# 674| if (memory_region_is_ram_device(section->mr)) {
# 675|-> hwaddr pgmask = (1ULL << ctz64(container->pgsizes)) - 1;
# 676|
# 677| if ((iova & pgmask) || (int128_get64(llsize) & pgmask)) {
Error: CLANG_WARNING: [#def1084]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/common.c:775:24: warning[core.BitwiseShift]: Left shift by '64' overflows the capacity of 'unsigned long long'
# 773| hwaddr pgmask;
# 774|
# 775|-> pgmask = (1ULL << ctz64(container->pgsizes)) - 1;
# 776| try_unmap = !((iova & pgmask) || (int128_get64(llsize) & pgmask));
# 777| } else if (memory_region_has_ram_discard_manager(section->mr)) {
Error: CLANG_WARNING: [#def1085]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/container.c:155:32: warning[core.BitwiseShift]: Left shift by '64' overflows the capacity of 'unsigned long long'
# 153| container->iommu_type == VFIO_TYPE1v2_IOMMU) {
# 154| trace_vfio_dma_unmap_overflow_workaround();
# 155|-> unmap.size -= 1ULL << ctz64(container->pgsizes);
# 156| continue;
# 157| }
Error: CLANG_WARNING: [#def1086]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/container.c:579:13: warning[core.NullDereference]: Access to field 'flags' results in a dereference of a null pointer (loaded from variable 'info')
# 577| }
# 578|
# 579|-> if (info->flags & VFIO_IOMMU_INFO_PGSIZES) {
# 580| container->pgsizes = info->iova_pgsizes;
# 581| } else {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1087]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/container.c: scope_hint: In function ‘vfio_connect_container’
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/container.c:579:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
# 577| }
# 578|
# 579|-> if (info->flags & VFIO_IOMMU_INFO_PGSIZES) {
# 580| container->pgsizes = info->iova_pgsizes;
# 581| } else {
Error: CLANG_WARNING: [#def1088]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/display.c:376:9: warning[unix.Malloc]: Use of memory after it is freed
# 374|
# 375| while ((dmabuf = QTAILQ_FIRST(&dpy->dmabuf.bufs)) != NULL) {
# 376|-> vfio_display_free_one_dmabuf(dpy, dmabuf);
# 377| }
# 378| }
Error: CLANG_WARNING: [#def1089]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/helpers.c:293:11: warning[core.NullDereference]: Access to field 'flags' results in a dereference of a null pointer (loaded from variable 'info')
# 291| vfio_get_region_info_cap(struct vfio_region_info *info, uint16_t id)
# 292| {
# 293|-> if (!(info->flags & VFIO_REGION_INFO_FLAG_CAPS)) {
# 294| return NULL;
# 295| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1090]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/helpers.c: scope_hint: In function ‘vfio_get_region_info_cap’
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/helpers.c:293:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
# 291| vfio_get_region_info_cap(struct vfio_region_info *info, uint16_t id)
# 292| {
# 293|-> if (!(info->flags & VFIO_REGION_INFO_FLAG_CAPS)) {
# 294| return NULL;
# 295| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1091]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/helpers.c: scope_hint: In function ‘vfio_region_setup’
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/helpers.c:358:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
# 356|
# 357| region->vbasedev = vbasedev;
# 358|-> region->flags = info->flags;
# 359| region->size = info->size;
# 360| region->fd_offset = info->offset;
Error: CLANG_WARNING: [#def1092]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/igd.c:252:14: warning[deadcode.DeadStores]: Value stored to 'gmch' during its initialization is never read
# 250| static int vfio_igd_gtt_max(VFIOPCIDevice *vdev)
# 251| {
# 252|-> uint32_t gmch = vfio_pci_read_config(&vdev->pdev, IGD_GMCH, sizeof(gmch));
# 253| int ggms, gen = igd_gen(vdev);
# 254|
Error: CLANG_WARNING: [#def1093]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/pci-quirks.c:1243:13: warning[unix.Malloc]: Use of memory after it is freed
# 1241| while (!QLIST_EMPTY(&vdev->vga->region[i].quirks)) {
# 1242| VFIOQuirk *quirk = QLIST_FIRST(&vdev->vga->region[i].quirks);
# 1243|-> QLIST_REMOVE(quirk, next);
# 1244| for (j = 0; j < quirk->nr_mem; j++) {
# 1245| object_unparent(OBJECT(&quirk->mem[j]));
Error: CLANG_WARNING: [#def1094]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/pci-quirks.c:1274:13: warning[unix.Malloc]: Use of memory after it is freed
# 1272| QLIST_FOREACH(quirk, &bar->quirks, next) {
# 1273| while (!QLIST_EMPTY(&quirk->ioeventfds)) {
# 1274|-> vfio_ioeventfd_exit(vdev, QLIST_FIRST(&quirk->ioeventfds));
# 1275| }
# 1276|
Error: CLANG_WARNING: [#def1095]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/pci-quirks.c:1290:9: warning[unix.Malloc]: Use of memory after it is freed
# 1288| while (!QLIST_EMPTY(&bar->quirks)) {
# 1289| VFIOQuirk *quirk = QLIST_FIRST(&bar->quirks);
# 1290|-> QLIST_REMOVE(quirk, next);
# 1291| for (i = 0; i < quirk->nr_mem; i++) {
# 1292| object_unparent(OBJECT(&quirk->mem[i]));
Error: CLANG_WARNING: [#def1096]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/pci.c:394:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'irq_set'
# 392| *fd = -1;
# 393|
# 394|-> ret = ioctl(vdev->vbasedev.fd, VFIO_DEVICE_SET_IRQS, irq_set);
# 395|
# 396| return ret;
Error: CLANG_WARNING: [#def1097]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/pci.c:980:14: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 978| switch (size) {
# 979| case 1:
# 980|-> data = val.byte;
# 981| break;
# 982| case 2:
Error: CLANG_WARNING: [#def1098]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/pci.c:983:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 981| break;
# 982| case 2:
# 983|-> data = le16_to_cpu(val.word);
# 984| break;
# 985| case 4:
Error: CLANG_WARNING: [#def1099]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/pci.c:986:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 984| break;
# 985| case 4:
# 986|-> data = le32_to_cpu(val.dword);
# 987| break;
# 988| default:
Error: CLANG_WARNING: [#def1100]
qemu-8.2.2-build/qemu-8.2.2/hw/vfio/platform.c:378:25: warning[deadcode.DeadStores]: Value stored to 'vdev' during its initialization is never read
# 376| static void vfio_start_irqfd_injection(SysBusDevice *sbdev, qemu_irq irq)
# 377| {
# 378|-> VFIOPlatformDevice *vdev = VFIO_PLATFORM_DEVICE(sbdev);
# 379| VFIOINTp *intp;
# 380|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1101]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/vhost-shadow-virtqueue.c: scope_hint: In function ‘vhost_svq_poll’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/vhost-shadow-virtqueue.c:545:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘r’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/vhost-shadow-virtqueue.c:16: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/vhost-shadow-virtqueue.c:436:9: note: in expansion of macro ‘qemu_log_mask’
/usr/include/rpc/netdb.h:42: included_from: Included from here.
/usr/include/netdb.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/sysemu/os-posix.h:34: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:168: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/vhost-shadow-virtqueue.c:10: included_from: Included from here.
# 543|
# 544| vhost_svq_get_buf(svq, &r);
# 545|-> len += r;
# 546| }
# 547|
Error: CLANG_WARNING: [#def1102]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/vhost-shadow-virtqueue.c:545:13: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 543|
# 544| vhost_svq_get_buf(svq, &r);
# 545|-> len += r;
# 546| }
# 547|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1103]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/vhost.c: scope_hint: In function ‘vhost_dev_log_resize’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/vhost.c:380:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 378| {
# 379| struct vhost_log *log = vhost_log_get(size, vhost_dev_log_is_shared(dev));
# 380|-> uint64_t log_base = (uintptr_t)log->log;
# 381| int r;
# 382|
Error: CLANG_WARNING: [#def1104]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/vhost.c:1010:5: warning[deadcode.DeadStores]: Value stored to 'r' is never read
# 1008| }
# 1009|
# 1010|-> r = 0;
# 1011| if (!enable) {
# 1012| r = vhost_dev_set_log(dev, false);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1105]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/vhost.c: scope_hint: In function ‘vhost_dev_start’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/vhost.c:2042:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*hdev.log’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/vhost.c:16: included_from: Included from here.
# 2040| hdev->log = vhost_log_get(hdev->log_size,
# 2041| vhost_dev_log_is_shared(hdev));
# 2042|-> log_base = (uintptr_t)hdev->log->log;
# 2043| r = hdev->vhost_ops->vhost_set_log_base(hdev,
# 2044| hdev->log_size ? log_base : 0,
Error: CLANG_WARNING: [#def1106]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-crypto.c:119:37: warning[deadcode.DeadStores]: Value stored to 'sym_info' during its initialization is never read
# 117| {
# 118| VirtIODevice *vdev = VIRTIO_DEVICE(vcrypto);
# 119|-> CryptoDevBackendSymSessionInfo *sym_info = &sreq->info.u.sym_sess_info;
# 120| int queue_index;
# 121| uint32_t op_type;
Error: GCC_ANALYZER_WARNING (CWE-787): [#def1107]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-crypto.c: scope_hint: In function ‘virtio_crypto_handle_request’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-crypto.c:856:27: warning[-Wanalyzer-out-of-bounds]: buffer over-read
# └──────────────────────┘
# ^
# 854| iov_discard_front(&out_iov, &out_num, sizeof(req));
# 855|
# 856|-> if (in_iov[in_num - 1].iov_len <
# 857| sizeof(struct virtio_crypto_inhdr)) {
# 858| virtio_error(vdev, "virtio-crypto request inhdr too short");
Error: GCC_ANALYZER_WARNING (CWE-787): [#def1108]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-crypto.c:863:45: warning[-Wanalyzer-out-of-bounds]: buffer over-read
# └──────────────────────┘
# ^
# 861| /* We always touch the last byte, so just see how big in_iov is. */
# 862| request->in_len = iov_size(in_iov, in_num);
# 863|-> request->in = (void *)in_iov[in_num - 1].iov_base
# 864| + in_iov[in_num - 1].iov_len
# 865| - sizeof(struct virtio_crypto_inhdr);
Error: GCC_ANALYZER_WARNING (CWE-787): [#def1109]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-crypto.c:864:35: warning[-Wanalyzer-out-of-bounds]: buffer over-read
# └──────────────────────┘
# ^
# 862| request->in_len = iov_size(in_iov, in_num);
# 863| request->in = (void *)in_iov[in_num - 1].iov_base
# 864|-> + in_iov[in_num - 1].iov_len
# 865| - sizeof(struct virtio_crypto_inhdr);
# 866| iov_discard_back(in_iov, &in_num, sizeof(struct virtio_crypto_inhdr));
Error: CLANG_WARNING: [#def1110]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-iommu.c:706:5: warning[deadcode.DeadStores]: Value stored to 'buf' is never read
# 704| return VIRTIO_IOMMU_S_INVAL;
# 705| }
# 706|-> buf += count;
# 707| free -= count;
# 708| sdev->probe_done = true;
Error: CLANG_WARNING: [#def1111]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-iommu.c:707:5: warning[deadcode.DeadStores]: Value stored to 'free' is never read
# 705| }
# 706| buf += count;
# 707|-> free -= count;
# 708| sdev->probe_done = true;
# 709|
Error: CLANG_WARNING: [#def1112]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-iommu.c:896:22: warning[core.BitwiseShift]: Left shift by '64' overflows the capacity of 'unsigned long long'
# 894| .iova = addr,
# 895| .translated_addr = addr,
# 896|-> .addr_mask = BIT_ULL(granule) - 1,
# 897| .perm = IOMMU_NONE,
# 898| };
Error: CLANG_WARNING: [#def1113]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-iommu.c:1297:39: warning[core.BitwiseShift]: Left shift by '64' overflows the capacity of 'unsigned long long'
# 1295| s->granule_frozen = true;
# 1296| granule = ctz64(s->config.page_size_mask);
# 1297|-> trace_virtio_iommu_freeze_granule(BIT_ULL(granule));
# 1298| }
# 1299|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1114]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-mmio.c: scope_hint: In function ‘virtio_mmio_set_guest_notifier’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-mmio.c:668:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-mmio.c: scope_hint: In function ‘virtio_mmio_set_guest_notifier’
# 666| }
# 667|
# 668|-> if (vdc->guest_notifier_mask && vdev->use_guest_notifier_mask) {
# 669| vdc->guest_notifier_mask(vdev, n, !assign);
# 670| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1115]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-mmio.c: scope_hint: In function ‘virtio_mmio_set_config_guest_notifier’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-mmio.c:693:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-mmio.c: scope_hint: In function ‘virtio_mmio_set_config_guest_notifier’
# 691| event_notifier_cleanup(notifier);
# 692| }
# 693|-> if (vdc->guest_notifier_mask && vdev->use_guest_notifier_mask) {
# 694| vdc->guest_notifier_mask(vdev, VIRTIO_CONFIG_IRQ_IDX, !assign);
# 695| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1116]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_save_config’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:93:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_save_config’
# 91| msix_save(&proxy->pci_dev, f);
# 92| if (msix_present(&proxy->pci_dev))
# 93|-> qemu_put_be16(f, vdev->config_vector);
# 94| }
# 95|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1117]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_load_config’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:199:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_load_config’
# 197| vector = VIRTIO_NO_VECTOR;
# 198| }
# 199|-> vdev->config_vector = vector;
# 200| if (vector != VIRTIO_NO_VECTOR) {
# 201| msix_vector_use(&proxy->pci_dev, vector);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1118]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_ioport_write’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:404:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_ioport_write’
# 402| }
# 403| else
# 404|-> virtio_queue_set_addr(vdev, vdev->queue_sel, pa);
# 405| break;
# 406| case VIRTIO_PCI_QUEUE_SEL:
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1119]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:408:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_ioport_write’
# 406| case VIRTIO_PCI_QUEUE_SEL:
# 407| if (val < VIRTIO_QUEUE_MAX)
# 408|-> vdev->queue_sel = val;
# 409| break;
# 410| case VIRTIO_PCI_QUEUE_NOTIFY:
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1120]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:426:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_ioport_write’
# 424| }
# 425|
# 426|-> if (vdev->status == 0) {
# 427| virtio_pci_reset(DEVICE(proxy));
# 428| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1121]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:441:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_ioport_write’
# 439| break;
# 440| case VIRTIO_MSI_CONFIG_VECTOR:
# 441|-> if (vdev->config_vector != VIRTIO_NO_VECTOR) {
# 442| msix_vector_unuse(&proxy->pci_dev, vdev->config_vector);
# 443| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1122]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:453:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_ioport_write’
# 451| break;
# 452| case VIRTIO_MSI_QUEUE_VECTOR:
# 453|-> vector = virtio_queue_vector(vdev, vdev->queue_sel);
# 454| if (vector != VIRTIO_NO_VECTOR) {
# 455| msix_vector_unuse(&proxy->pci_dev, vector);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1123]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_ioport_read’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:480:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_ioport_read’
# 478| switch (addr) {
# 479| case VIRTIO_PCI_HOST_FEATURES:
# 480|-> ret = vdev->host_features;
# 481| break;
# 482| case VIRTIO_PCI_GUEST_FEATURES:
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1124]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:483:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_ioport_read’
# 481| break;
# 482| case VIRTIO_PCI_GUEST_FEATURES:
# 483|-> ret = vdev->guest_features;
# 484| break;
# 485| case VIRTIO_PCI_QUEUE_PFN:
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1125]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:486:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_ioport_read’
# 484| break;
# 485| case VIRTIO_PCI_QUEUE_PFN:
# 486|-> ret = virtio_queue_get_addr(vdev, vdev->queue_sel)
# 487| >> VIRTIO_PCI_QUEUE_ADDR_SHIFT;
# 488| break;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1126]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:490:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_ioport_read’
# 488| break;
# 489| case VIRTIO_PCI_QUEUE_NUM:
# 490|-> ret = virtio_queue_get_num(vdev, vdev->queue_sel);
# 491| break;
# 492| case VIRTIO_PCI_QUEUE_SEL:
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1127]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:493:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_ioport_read’
# 491| break;
# 492| case VIRTIO_PCI_QUEUE_SEL:
# 493|-> ret = vdev->queue_sel;
# 494| break;
# 495| case VIRTIO_PCI_STATUS:
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1128]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:496:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_ioport_read’
# 494| break;
# 495| case VIRTIO_PCI_STATUS:
# 496|-> ret = vdev->status;
# 497| break;
# 498| case VIRTIO_PCI_ISR:
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1129]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:504:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_ioport_read’
# 502| break;
# 503| case VIRTIO_MSI_CONFIG_VECTOR:
# 504|-> ret = vdev->config_vector;
# 505| break;
# 506| case VIRTIO_MSI_QUEUE_VECTOR:
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1130]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:507:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_ioport_read’
# 505| break;
# 506| case VIRTIO_MSI_QUEUE_VECTOR:
# 507|-> ret = virtio_queue_vector(vdev, vdev->queue_sel);
# 508| break;
# 509| default:
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1131]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_ats_ctrl_trigger’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:714:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_ats_ctrl_trigger’
# 712| VirtioDeviceClass *k = VIRTIO_DEVICE_GET_CLASS(vdev);
# 713|
# 714|-> vdev->device_iotlb_enabled = enable;
# 715|
# 716| if (k->toggle_device_iotlb) {
Error: CLANG_WARNING: [#def1132]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:844:67: warning[core.NullDereference]: Access to field 'virq' results in a dereference of a null pointer (loaded from variable 'irqfd')
# 842| {
# 843| VirtIOIRQFD *irqfd = &proxy->vector_irqfd[vector];
# 844|-> return kvm_irqchip_add_irqfd_notifier_gsi(kvm_state, n, NULL, irqfd->virq);
# 845| }
# 846|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1133]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_get_notifier’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:865:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_get_notifier’
# 863| if (queue_no == VIRTIO_CONFIG_IRQ_IDX) {
# 864| *n = virtio_config_get_guest_notifier(vdev);
# 865|-> *vector = vdev->config_vector;
# 866| } else {
# 867| if (!virtio_queue_get_num(vdev, queue_no)) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1134]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘kvm_virtio_pci_vector_use_one’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:901:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘kvm_virtio_pci_vector_use_one’
# 899| * Otherwise, delay until unmasked in the frontend.
# 900| */
# 901|-> if (vdev->use_guest_notifier_mask && k->guest_notifier_mask) {
# 902| ret = kvm_virtio_pci_irqfd_use(proxy, n, vector);
# 903| if (ret < 0) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1135]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:916:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘kvm_virtio_pci_vector_use_one’
# 914| return ret;
# 915| }
# 916|-> if (vdev->use_guest_notifier_mask && k->guest_notifier_mask) {
# 917| ret = virtio_pci_get_notifier(proxy, queue_no, &n, &vector);
# 918| if (ret < 0) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1136]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘kvm_virtio_pci_vector_release_one’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:962:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘kvm_virtio_pci_vector_release_one’
# 960| return;
# 961| }
# 962|-> if (vdev->use_guest_notifier_mask && k->guest_notifier_mask) {
# 963| kvm_virtio_pci_irqfd_release(proxy, n, vector);
# 964| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1137]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_one_vector_unmask’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:1012:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_one_vector_unmask’
# 1010| * Otherwise, set it up now.
# 1011| */
# 1012|-> if (vdev->use_guest_notifier_mask && k->guest_notifier_mask) {
# 1013| k->guest_notifier_mask(vdev, queue_no, false);
# 1014| /* Test after unmasking to avoid losing events. */
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1138]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_one_vector_mask’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:1036:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_one_vector_mask’
# 1034| * Otherwise, clean it up now.
# 1035| */
# 1036|-> if (vdev->use_guest_notifier_mask && k->guest_notifier_mask) {
# 1037| k->guest_notifier_mask(vdev, queue_no, true);
# 1038| } else {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1139]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_vector_unmask’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:1068:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_vector_unmask’
# 1066| }
# 1067| /* unmask config intr */
# 1068|-> if (vector == vdev->config_vector) {
# 1069| n = virtio_config_get_guest_notifier(vdev);
# 1070| ret = virtio_pci_one_vector_unmask(proxy, VIRTIO_CONFIG_IRQ_IDX, vector,
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1140]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_vector_mask’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:1114:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_vector_mask’
# 1112| }
# 1113|
# 1114|-> if (vector == vdev->config_vector) {
# 1115| n = virtio_config_get_guest_notifier(vdev);
# 1116| virtio_pci_one_vector_mask(proxy, VIRTIO_CONFIG_IRQ_IDX, vector, n);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1141]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_set_guest_notifier’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:1208:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_set_guest_notifier’
# 1206|
# 1207| if (!msix_enabled(&proxy->pci_dev) &&
# 1208|-> vdev->use_guest_notifier_mask &&
# 1209| vdc->guest_notifier_mask) {
# 1210| vdc->guest_notifier_mask(vdev, n, !assign);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1142]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_set_guest_notifiers’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:1247:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_set_guest_notifiers’
# 1245| /* Must unset vector notifier while guest notifier is still assigned */
# 1246| if ((proxy->vector_irqfd ||
# 1247|-> (vdev->use_guest_notifier_mask && k->guest_notifier_mask)) &&
# 1248| !assign) {
# 1249| msix_unset_vector_notifiers(&proxy->pci_dev);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1143]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_vmstate_change’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:1355:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_vmstate_change’
# 1353| */
# 1354| if ((proxy->flags & VIRTIO_PCI_FLAG_BUS_MASTER_BUG_MIGRATION) &&
# 1355|-> (vdev->status & VIRTIO_CONFIG_S_DRIVER) &&
# 1356| !(proxy->pci_dev.config[PCI_COMMAND] & PCI_COMMAND_MASTER)) {
# 1357| pci_default_write_config(&proxy->pci_dev, PCI_COMMAND,
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1144]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_device_plugged’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:1939:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_device_plugged’
# 1937| */
# 1938| if (!proxy->ignore_backend_features &&
# 1939|-> !virtio_has_feature(vdev->host_features, VIRTIO_F_VERSION_1)) {
# 1940| virtio_pci_disable_modern(proxy);
# 1941|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1145]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:2018:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_device_plugged’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_device_plugged’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:26: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/host-utils.h:33: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/exec/memop.h:15: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:20: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_device_plugged’
# 2016| struct virtio_pci_cfg_cap *cfg_mask;
# 2017|
# 2018|-> virtio_pci_modern_regions_init(proxy, vdev->name);
# 2019|
# 2020| virtio_pci_modern_mem_region_map(proxy, &proxy->common, &cap);
Error: CLANG_WARNING: [#def1146]
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c:2209:13: warning[deadcode.DeadStores]: Value stored to 'last_pcie_cap_offset' is never read
# 2207| pcie_ats_init(pci_dev, last_pcie_cap_offset,
# 2208| proxy->flags & VIRTIO_PCI_FLAG_ATS_PAGE_ALIGNED);
# 2209|-> last_pcie_cap_offset += PCI_EXT_CAP_ATS_SIZEOF;
# 2210| }
# 2211|
Error: CLANG_WARNING: [#def1147]
qemu-8.2.2-build/qemu-8.2.2/hw/xen/xen-host-pci-device.c:359:18: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 357| goto error;
# 358| }
# 359|-> d->vendor_id = v;
# 360|
# 361| xen_host_pci_get_hex_value(d, "device", &v, errp);
Error: CLANG_WARNING: [#def1148]
qemu-8.2.2-build/qemu-8.2.2/hw/xen/xen-legacy-backend.c:574:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'be'
# 572| snprintf(path, sizeof(path), "backend/%s/%d", type, dom);
# 573| if (!qemu_xen_xs_watch(xenstore, path, xenstore_update_be, be)) {
# 574|-> xen_pv_printf(NULL, 0, "xen be: watching backend path (%s) failed\n",
# 575| path);
# 576| return -1;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1149]
qemu-8.2.2-build/qemu-8.2.2/hw/xen/xen-mapcache.c: scope_hint: In function ‘xen_map_cache_unlocked’
qemu-8.2.2-build/qemu-8.2.2/hw/xen/xen-mapcache.c:323:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pentry’
/usr/include/glib-2.0/glib/glist.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/ghash.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:52: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/xen/xen-mapcache.c:11: included_from: Included from here.
/usr/include/glib-2.0/glib/gmem.h:332:57: note: in expansion of macro ‘_G_NEW’
qemu-8.2.2-build/qemu-8.2.2/hw/xen/xen-mapcache.c:322:17: note: in expansion of macro ‘g_new0’
# 321| if (!entry) {
# 322| entry = g_new0(MapCacheEntry, 1);
# 323|-> pentry->next = entry;
# 324| xen_remap_bucket(entry, NULL, cache_size, address_index, dummy);
# 325| } else if (!entry->lock) {
Error: CLANG_WARNING: [#def1150]
qemu-8.2.2-build/qemu-8.2.2/hw/xen/xen-mapcache.c:323:22: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'pentry')
# 321| if (!entry) {
# 322| entry = g_new0(MapCacheEntry, 1);
# 323|-> pentry->next = entry;
# 324| xen_remap_bucket(entry, NULL, cache_size, address_index, dummy);
# 325| } else if (!entry->lock) {
Error: CLANG_WARNING: [#def1151]
qemu-8.2.2-build/qemu-8.2.2/hw/xen/xen_pt.c:611:13: warning[deadcode.DeadStores]: Value stored to 'rc' is never read
# 609| if (adding) {
# 610| s->msix->mmio_base_addr = sec->offset_within_address_space;
# 611|-> rc = xen_pt_msix_update_remap(s, s->msix->bar_index);
# 612| }
# 613| return;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1152]
qemu-8.2.2-build/qemu-8.2.2/hw/xtensa/mx_pic.c: scope_hint: In function ‘xtensa_mx_pic_init’
qemu-8.2.2-build/qemu-8.2.2/hw/xtensa/mx_pic.c:321:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mx’
# 319| XtensaMxPic *mx = calloc(1, sizeof(XtensaMxPic));
# 320|
# 321|-> mx->n_irq = n_irq + 1;
# 322| mx->irq_inputs = qemu_allocate_irqs(xtensa_mx_pic_set_irq, mx,
# 323| mx->n_irq);
Error: CLANG_WARNING: [#def1153]
qemu-8.2.2-build/qemu-8.2.2/hw/xtensa/xtfpga.c:319:18: warning[deadcode.DeadStores]: Value stored to 'entry_point' during its initialization is never read
# 317| /* Use presence of kernel file name as 'boot from SRAM' switch. */
# 318| if (kernel_filename) {
# 319|-> uint32_t entry_point = env->pc;
# 320| size_t bp_size = 3 * get_tag_size(0); /* first/last and memory tags */
# 321| uint32_t tagptr = env->config->sysrom.location[0].addr +
Error: CLANG_WARNING: [#def1154]
qemu-8.2.2-build/qemu-8.2.2/hw/xtensa/xtfpga.c:319:32: warning[core.NullDereference]: Access to field 'pc' results in a dereference of a null pointer (loaded from variable 'env')
# 317| /* Use presence of kernel file name as 'boot from SRAM' switch. */
# 318| if (kernel_filename) {
# 319|-> uint32_t entry_point = env->pc;
# 320| size_t bp_size = 3 * get_tag_size(0); /* first/last and memory tags */
# 321| uint32_t tagptr = env->config->sysrom.location[0].addr +
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1155]
qemu-8.2.2-build/qemu-8.2.2/hw/xtensa/xtfpga.c: scope_hint: In function ‘xtfpga_init’
qemu-8.2.2-build/qemu-8.2.2/hw/xtensa/xtfpga.c:321:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘env’
# 319| uint32_t entry_point = env->pc;
# 320| size_t bp_size = 3 * get_tag_size(0); /* first/last and memory tags */
# 321|-> uint32_t tagptr = env->config->sysrom.location[0].addr +
# 322| board->sram_size;
# 323| uint32_t cur_tagptr;
Error: CLANG_WARNING: [#def1156]
qemu-8.2.2-build/qemu-8.2.2/hw/xtensa/xtfpga.c:403:13: warning[deadcode.DeadStores]: Value stored to 'cur_lowmem' is never read
# 401| cur_tagptr = put_tag(cur_tagptr, BP_TAG_INITRD,
# 402| sizeof(initrd_location), &initrd_location);
# 403|-> cur_lowmem = QEMU_ALIGN_UP(cur_lowmem + initrd_size, 4 * KiB);
# 404| }
# 405| cur_tagptr = put_tag(cur_tagptr, BP_TAG_LAST, 0, NULL);
Error: CLANG_WARNING: [#def1157]
qemu-8.2.2-build/qemu-8.2.2/hw/xtensa/xtfpga.c:405:9: warning[deadcode.DeadStores]: Value stored to 'cur_tagptr' is never read
# 403| cur_lowmem = QEMU_ALIGN_UP(cur_lowmem + initrd_size, 4 * KiB);
# 404| }
# 405|-> cur_tagptr = put_tag(cur_tagptr, BP_TAG_LAST, 0, NULL);
# 406| env->regs[2] = tagptr;
# 407|
Error: CLANG_WARNING: [#def1158]
qemu-8.2.2-build/qemu-8.2.2/hw/xtensa/xtfpga.c:460:29: warning[core.NullDereference]: Access to field 'config' results in a dereference of a null pointer (loaded from variable 'env')
# 458| MemoryRegion *flash_mr = pflash_cfi01_get_memory(flash);
# 459| MemoryRegion *flash_io = g_malloc(sizeof(*flash_io));
# 460|-> uint32_t size = env->config->sysrom.location[0].size;
# 461|
# 462| if (board->flash->size - board->flash->boot_base < size) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1159]
qemu-8.2.2-build/qemu-8.2.2/hw/xtensa/xtfpga.c:460:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘env’
# 458| MemoryRegion *flash_mr = pflash_cfi01_get_memory(flash);
# 459| MemoryRegion *flash_io = g_malloc(sizeof(*flash_io));
# 460|-> uint32_t size = env->config->sysrom.location[0].size;
# 461|
# 462| if (board->flash->size - board->flash->boot_base < size) {
Error: CLANG_WARNING: [#def1160]
qemu-8.2.2-build/qemu-8.2.2/hw/xtensa/xtfpga.c:472:43: warning[core.NullDereference]: Access to field 'config' results in a dereference of a null pointer (loaded from variable 'env')
# 470| flash_io);
# 471| } else {
# 472|-> xtensa_create_memory_regions(&env->config->sysrom, "xtensa.sysrom",
# 473| system_memory);
# 474| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1161]
qemu-8.2.2-build/qemu-8.2.2/hw/xtensa/xtfpga.c:472:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘env’
# 470| flash_io);
# 471| } else {
# 472|-> xtensa_create_memory_regions(&env->config->sysrom, "xtensa.sysrom",
# 473| system_memory);
# 474| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1162]
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cputlb.c:29: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/exec/ram_addr.h: scope_hint: In function ‘cpu_physical_memory_set_dirty_range’
qemu-8.2.2-build/qemu-8.2.2/include/exec/ram_addr.h:314:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘blocks[2]’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cputlb.c: scope_hint: In function ‘cpu_physical_memory_set_dirty_range’
qemu-8.2.2-build/qemu-8.2.2/include/exec/ram_addr.h: scope_hint: In function ‘cpu_physical_memory_set_dirty_range’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cputlb.c:20: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:477:28: note: in definition of macro ‘ROUND_DOWN’
qemu-8.2.2-build/qemu-8.2.2/include/exec/cpu-all.h:172:33: note: in expansion of macro ‘ROUND_UP’
qemu-8.2.2-build/qemu-8.2.2/include/exec/ram_addr.h:163:11: note: in expansion of macro ‘TARGET_PAGE_ALIGN’
qemu-8.2.2-build/qemu-8.2.2/include/hw/qdev-core.h:7: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/block/aio.h:26: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/main-loop.h:28: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cputlb.c:21: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/rcu.h:182:5: note: in expansion of macro ‘WITH_RCU_READ_LOCK_GUARD_’
qemu-8.2.2-build/qemu-8.2.2/include/exec/ram_addr.h:166:5: note: in expansion of macro ‘WITH_RCU_READ_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/rcu.h: scope_hint: In function ‘cpu_physical_memory_set_dirty_range’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/rcu.h:182:5: note: in expansion of macro ‘WITH_RCU_READ_LOCK_GUARD_’
qemu-8.2.2-build/qemu-8.2.2/include/exec/ram_addr.h:166:5: note: in expansion of macro ‘WITH_RCU_READ_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cputlb.c: scope_hint: In function ‘cpu_physical_memory_set_dirty_range’
qemu-8.2.2-build/qemu-8.2.2/accel/tcg/cputlb.c: scope_hint: In function ‘cpu_physical_memory_set_dirty_range’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:477:28: note: in definition of macro ‘ROUND_DOWN’
qemu-8.2.2-build/qemu-8.2.2/include/exec/cpu-all.h:172:33: note: in expansion of macro ‘ROUND_UP’
qemu-8.2.2-build/qemu-8.2.2/include/exec/ram_addr.h:299:11: note: in expansion of macro ‘TARGET_PAGE_ALIGN’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/thread.h:5: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/block/aio.h:23: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/atomic.h:156:19: note: in definition of macro ‘qatomic_rcu_read__nocheck’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/atomic.h:173:5: note: in expansion of macro ‘qatomic_rcu_read_internal’
qemu-8.2.2-build/qemu-8.2.2/include/exec/ram_addr.h:304:25: note: in expansion of macro ‘qatomic_rcu_read’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:397:41: note: in definition of macro ‘MIN_INTERNAL’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:35:20: note: in expansion of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:41:30: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:402:48: note: in expansion of macro ‘MAKE_IDENTFIER’
qemu-8.2.2-build/qemu-8.2.2/include/exec/ram_addr.h:311:34: note: in expansion of macro ‘MIN’
# 312|
# 313| if (likely(mask & (1 << DIRTY_MEMORY_MIGRATION))) {
# 314|-> bitmap_set_atomic(blocks[DIRTY_MEMORY_MIGRATION]->blocks[idx],
# 315| offset, next - page);
# 316| }
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def1163]
qemu-8.2.2-build/qemu-8.2.2/include/fpu/softfloat-macros.h:373:36: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘64’) >= precision of type (‘64’)
qemu-8.2.2-build/qemu-8.2.2/fpu/softfloat.c: scope_hint: In function ‘normalizeRoundAndPackFloatx80’
qemu-8.2.2-build/qemu-8.2.2/fpu/softfloat.c: scope_hint: In function ‘normalizeRoundAndPackFloatx80’
# 371| {
# 372| *z1Ptr = a1 << count;
# 373|-> *z0Ptr = count == 0 ? a0 : (a0 << count) | (a1 >> (-count & 63));
# 374| }
# 375|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1164]
qemu-8.2.2-build/qemu-8.2.2/include/exec/cpu-defs.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:12: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/hw/loongarch/virt.h:11: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/intc/loongarch_ipi.c:15: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/intc/loongarch_ipi.c: scope_hint: In function ‘ipi_getcpu’
qemu-8.2.2-build/qemu-8.2.2/include/hw/core/cpu.h:53:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/intc/loongarch_ipi.c:106:12: note: in expansion of macro ‘CPU’
qemu-8.2.2-build/qemu-8.2.2/hw/intc/loongarch_ipi.c:106:12: note: in expansion of macro ‘CPU’
# 51| * an unchecked cast.
# 52| */
# 53|-> #define CPU(obj) ((CPUState *)(obj))
# 54|
# 55| /*
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1165]
qemu-8.2.2-build/qemu-8.2.2/include/hw/pci/pci_bus.h:67:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bus’
qemu-8.2.2-build/qemu-8.2.2/hw/pci/pci.c: scope_hint: In function ‘pci_bus_bypass_iommu’
# 65| static inline bool pci_bus_is_root(PCIBus *bus)
# 66| {
# 67|-> return !!(bus->flags & PCI_BUS_IS_ROOT);
# 68| }
# 69|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1166]
qemu-8.2.2-build/qemu-8.2.2/include/hw/virtio/virtio.h:411:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-mmio.c: scope_hint: In function ‘virtio_mmio_pre_plugged’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-mmio.c: scope_hint: In function ‘virtio_mmio_pre_plugged’
# 409| {
# 410| assert(fbit < 64);
# 411|-> *features |= (1ULL << fbit);
# 412| }
# 413|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1167]
qemu-8.2.2-build/qemu-8.2.2/include/hw/virtio/virtio.h:429:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_queue_enabled’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_queue_enabled’
# 427| unsigned int fbit)
# 428| {
# 429|-> return virtio_has_feature(vdev->guest_features, fbit);
# 430| }
# 431|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1168]
qemu-8.2.2-build/qemu-8.2.2/include/hw/virtio/virtio.h:435:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_device_plugged’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_device_plugged’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_pci_device_plugged’
# 433| unsigned int fbit)
# 434| {
# 435|-> return virtio_has_feature(vdev->host_features, fbit);
# 436| }
# 437|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1169]
qemu-8.2.2-build/qemu-8.2.2/include/hw/virtio/virtio.h:498:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_write_config’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_write_config’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/range.h: scope_hint: In function ‘virtio_write_config’
qemu-8.2.2-build/qemu-8.2.2/hw/virtio/virtio-pci.c: scope_hint: In function ‘virtio_write_config’
# 496| static inline void virtio_set_disabled(VirtIODevice *vdev, bool disable)
# 497| {
# 498|-> if (vdev->use_disabled_flag) {
# 499| vdev->disabled = disable;
# 500| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1170]
qemu-8.2.2-build/qemu-8.2.2/include/hw/xen/xen-hvm-common.h:10: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/xen/xen-hvm-common.c:7: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/hw/xen/xen_native.h: scope_hint: In function ‘xen_get_default_ioreq_server_info’
qemu-8.2.2-build/qemu-8.2.2/include/hw/xen/xen_native.h:342:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ioreq_pfn’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:125: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/xen/xen-hvm-common.c:1: included_from: Included from here.
# 340| }
# 341|
# 342|-> *ioreq_pfn = param;
# 343|
# 344| rc = xc_get_hvm_param(xen_xc, dom, HVM_PARAM_BUFIOREQ_PFN, ¶m);
Error: CLANG_WARNING: [#def1171]
qemu-8.2.2-build/qemu-8.2.2/hw/xen/xen-hvm-common.c:7: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/hw/xen/xen-hvm-common.h:10: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/hw/xen/xen_native.h:342:16: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'ioreq_pfn')
# 340| }
# 341|
# 342|-> *ioreq_pfn = param;
# 343|
# 344| rc = xc_get_hvm_param(xen_xc, dom, HVM_PARAM_BUFIOREQ_PFN, ¶m);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1172]
qemu-8.2.2-build/qemu-8.2.2/include/hw/xen/xen_native.h:350:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bufioreq_pfn’
# 348| }
# 349|
# 350|-> *bufioreq_pfn = param;
# 351|
# 352| rc = xc_get_hvm_param(xen_xc, dom, HVM_PARAM_BUFIOREQ_EVTCHN,
Error: CLANG_WARNING: [#def1173]
qemu-8.2.2-build/qemu-8.2.2/include/hw/xen/xen_native.h:350:19: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'bufioreq_pfn')
# 348| }
# 349|
# 350|-> *bufioreq_pfn = param;
# 351|
# 352| rc = xc_get_hvm_param(xen_xc, dom, HVM_PARAM_BUFIOREQ_EVTCHN,
Error: CLANG_WARNING: [#def1174]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-qobject-input-visitor.c:20: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qbool.h:17: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h:126:25: warning[core.NullDereference]: Dereference of null pointer
# 124| static inline QType qobject_type(const QObject *obj)
# 125| {
# 126|-> assert(QTYPE_NONE < obj->base.type && obj->base.type < QTYPE__MAX);
# 127| return obj->base.type;
# 128| }
Error: CLANG_WARNING: [#def1175]
qemu-8.2.2-build/qemu-8.2.2/hw/intc/arm_gicv3_redist.c:15: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/intc/gicv3_internal.h:27: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/hw/registerfields.h:14: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/bitops.h:471:35: warning[core.BitwiseShift]: Left shift overflows the capacity of 'unsigned int'
# 469| uint32_t mask;
# 470| assert(start >= 0 && length > 0 && length <= 32 - start);
# 471|-> mask = (~0U >> (32 - length)) << start;
# 472| return (value & ~mask) | ((fieldval << start) & mask);
# 473| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1176]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-blk-test.c:16: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-blk-test.c: scope_hint: In function ‘virtio_blk_fix_request’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/bswap.h:7:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*req.ioprio’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-blk-test.c:50:23: note: in expansion of macro ‘bswap32’
/usr/include/glib-2.0/glib.h:89: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-blk-test.c:14: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-blk-test.c:75:9: note: in expansion of macro ‘g_assert_cmpuint’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-blk-test.c:75:9: note: in expansion of macro ‘g_assert_cmpuint’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-blk-test.c:79:9: note: in expansion of macro ‘g_assert_cmpuint’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-blk-test.c:79:9: note: in expansion of macro ‘g_assert_cmpuint’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-blk-test.c:49:21: note: in expansion of macro ‘bswap32’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-blk-test.c:50:23: note: in expansion of macro ‘bswap32’
# 5| #define bswap16(_x) __builtin_bswap16(_x)
# 6| #undef bswap32
# 7|-> #define bswap32(_x) __builtin_bswap32(_x)
# 8| #undef bswap64
# 9| #define bswap64(_x) __builtin_bswap64(_x)
Error: CLANG_WARNING: [#def1177]
qemu-8.2.2-build/qemu-8.2.2/block/qcow2-refcount.c:26: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/block/block-io.h:27: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/block/aio-wait.h:28: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/block/aio.h:24: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/timer.h:4: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/bitops.h:16: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/host-utils.h:33: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/bswap.h:135:1: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 133| CPU_CONVERT(be, 16, uint16_t)
# 134| CPU_CONVERT(be, 32, uint32_t)
# 135|-> CPU_CONVERT(be, 64, uint64_t)
# 136|
# 137| CPU_CONVERT(le, 16, uint16_t)
Error: CLANG_WARNING: [#def1178]
qemu-8.2.2-build/qemu-8.2.2/block/qcow2-refcount.c:26: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/block/block-io.h:27: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/block/aio-wait.h:28: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/block/aio.h:24: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/timer.h:4: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/bitops.h:16: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/host-utils.h:33: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/bswap.h:135:1: warning[unix.Malloc]: Use of memory allocated with size zero
# 133| CPU_CONVERT(be, 16, uint16_t)
# 134| CPU_CONVERT(be, 32, uint32_t)
# 135|-> CPU_CONVERT(be, 64, uint64_t)
# 136|
# 137| CPU_CONVERT(le, 16, uint16_t)
Error: CLANG_WARNING: [#def1179]
qemu-8.2.2-build/qemu-8.2.2/hw/scsi/mptconfig.c:19: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/hw/pci/pci.h:4: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/exec/memory.h:22: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/exec/memop.h:15: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/host-utils.h:33: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/bswap.h:263:5: warning[unix.cstring.NullArg]: Null pointer passed as 1st argument to memory copy function
# 261| static inline void stw_he_p(void *ptr, uint16_t v)
# 262| {
# 263|-> __builtin_memcpy(ptr, &v, sizeof(v));
# 264| }
# 265|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1180]
qemu-8.2.2-build/qemu-8.2.2/include/qemu/bswap.h:274:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘((unsigned int *)tinfo)[1]’
qemu-8.2.2-build/qemu-8.2.2/linux-user/strace.c: scope_hint: In function ‘get_target_siginfo’
qemu-8.2.2-build/qemu-8.2.2/linux-user/qemu.h:251:31: note: in expansion of macro ‘__get_user_e’
qemu-8.2.2-build/qemu-8.2.2/linux-user/strace.c:223:5: note: in expansion of macro ‘__get_user’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/bswap.h:46:28: note: in definition of macro ‘le_bswap’
# 272| {
# 273| int32_t r;
# 274|-> __builtin_memcpy(&r, ptr, sizeof(r));
# 275| return r;
# 276| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1181]
qemu-8.2.2-build/qemu-8.2.2/include/qemu/bswap.h:274:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘((unsigned int *)tinfo)[2]’
qemu-8.2.2-build/qemu-8.2.2/linux-user/strace.c: scope_hint: In function ‘get_target_siginfo’
qemu-8.2.2-build/qemu-8.2.2/linux-user/qemu.h:248:31: note: in expansion of macro ‘__get_user_e’
qemu-8.2.2-build/qemu-8.2.2/linux-user/strace.c:223:5: note: in expansion of macro ‘__get_user’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/bswap.h:48:55: note: in definition of macro ‘be_bswap’
# 272| {
# 273| int32_t r;
# 274|-> __builtin_memcpy(&r, ptr, sizeof(r));
# 275| return r;
# 276| }
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1182]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:39: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/help_option.h: scope_hint: In function ‘is_help_option’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/help_option.h:19:13: warning[-Wanalyzer-null-argument]: use of NULL ‘s’ where non-null expected
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:116: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:25: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
# 17| static inline bool is_help_option(const char *s)
# 18| {
# 19|-> return !strcmp(s, "?") || !strcmp(s, "help");
# 20| }
# 21|
Error: CLANG_WARNING: [#def1183]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:39: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/help_option.h:19:13: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 17| static inline bool is_help_option(const char *s)
# 18| {
# 19|-> return !strcmp(s, "?") || !strcmp(s, "help");
# 20| }
# 21|
Error: CLANG_WARNING: [#def1184]
qemu-8.2.2-build/qemu-8.2.2/util/host-utils.c:27: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/host-utils.h:34: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/int128.h:212:27: warning[core.DivideZero]: Division by zero
# 210| static inline Int128 int128_remu(Int128 a, Int128 b)
# 211| {
# 212|-> return (__uint128_t)a % (__uint128_t)b;
# 213| }
# 214|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1185]
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:13: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:402:63: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vdev’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:397:41: note: in definition of macro ‘MIN_INTERNAL’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:35:20: note: in expansion of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:41:30: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:402:48: note: in expansion of macro ‘MAKE_IDENTFIER’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:466:15: note: in expansion of macro ‘MIN’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c: scope_hint: In function ‘virtio_ccw_cb’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:397:31: note: in definition of macro ‘MIN_INTERNAL’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:35:20: note: in expansion of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:41:30: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:402:28: note: in expansion of macro ‘MAKE_IDENTFIER’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:466:15: note: in expansion of macro ‘MIN’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:397:41: note: in definition of macro ‘MIN_INTERNAL’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:35:20: note: in expansion of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:41:30: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:402:48: note: in expansion of macro ‘MAKE_IDENTFIER’
qemu-8.2.2-build/qemu-8.2.2/hw/s390x/virtio-ccw.c:466:15: note: in expansion of macro ‘MIN’
# 400| #undef MIN
# 401| #define MIN(a, b) \
# 402|-> MIN_INTERNAL((a), (b), MAKE_IDENTFIER(_a), MAKE_IDENTFIER(_b))
# 403|
# 404| #define MAX_INTERNAL(a, b, _a, _b) \
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1186]
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:402:63: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ret_addrlen’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:397:41: note: in definition of macro ‘MIN_INTERNAL’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:35:20: note: in expansion of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:41:30: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:402:48: note: in expansion of macro ‘MAKE_IDENTFIER’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3621:37: note: in expansion of macro ‘MIN’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c: scope_hint: In function ‘do_recvfrom’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c: scope_hint: In function ‘do_recvfrom’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:397:41: note: in definition of macro ‘MIN_INTERNAL’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:35:20: note: in expansion of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:41:30: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:402:48: note: in expansion of macro ‘MAKE_IDENTFIER’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3621:37: note: in expansion of macro ‘MIN’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:397:41: note: in definition of macro ‘MIN_INTERNAL’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:35:20: note: in expansion of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:41:30: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:402:48: note: in expansion of macro ‘MAKE_IDENTFIER’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3621:37: note: in expansion of macro ‘MIN’
# 400| #undef MIN
# 401| #define MIN(a, b) \
# 402|-> MIN_INTERNAL((a), (b), MAKE_IDENTFIER(_a), MAKE_IDENTFIER(_b))
# 403|
# 404| #define MAX_INTERNAL(a, b, _a, _b) \
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1187]
qemu-8.2.2-build/qemu-8.2.2/io/channel-socket.c: scope_hint: In function ‘qio_channel_socket_flush’
qemu-8.2.2-build/qemu-8.2.2/io/channel-socket.c:767:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/sys/socket.h:33: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/sysemu/os-posix.h:30: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:168: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/io/channel-socket.c:20: included_from: Included from here.
# 765|
# 766| cm = CMSG_FIRSTHDR(&msg);
# 767|-> if (cm->cmsg_level != SOL_IP && cm->cmsg_type != IP_RECVERR &&
# 768| cm->cmsg_level != SOL_IPV6 && cm->cmsg_type != IPV6_RECVERR) {
# 769| error_setg_errno(errp, EPROTOTYPE,
Error: CPPCHECK_WARNING: [#def1188]
qemu-8.2.2-build/qemu-8.2.2/io/dns-resolver.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1189]
qemu-8.2.2-build/qemu-8.2.2/job.c:1272:5: warning[unix.Malloc]: Use of memory after it is freed
# 1270|
# 1271| job_unlock();
# 1272|-> AIO_WAIT_WHILE_UNLOCKED(job->aio_context,
# 1273| (job_enter(job), !job_is_completed(job)));
# 1274| job_lock();
Error: CPPCHECK_WARNING: [#def1190]
qemu-8.2.2-build/qemu-8.2.2/libdecnumber/decContext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1191]
qemu-8.2.2-build/qemu-8.2.2/libdecnumber/decNumber.c: scope_hint: In function ‘decUnitCompare’
qemu-8.2.2-build/qemu-8.2.2/libdecnumber/decNumber.c:6430:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*u’
qemu-8.2.2-build/qemu-8.2.2/libdecnumber/decNumber.c:173: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/libdecnumber/decNumber.c:6358:36: note: in expansion of macro ‘D2U’
qemu-8.2.2-build/qemu-8.2.2/libdecnumber/decNumber.c:6357:36: note: in expansion of macro ‘D2U’
# 6428| else { /* non-negative result */
# 6429| /* check units of the result before freeing any storage */
# 6430|-> for (u=acc; u<acc+accunits-1 && *u==0;) u++;
# 6431| result=(*u==0 ? 0 : +1);
# 6432| }
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1192]
qemu-8.2.2-build/qemu-8.2.2/libdecnumber/decNumber.c: scope_hint: In function ‘decUnitAddSub’
qemu-8.2.2-build/qemu-8.2.2/libdecnumber/decNumber.c:6530:19: warning[-Wanalyzer-out-of-bounds]: buffer over-read
qemu-8.2.2-build/qemu-8.2.2/libdecnumber/decNumber.c: scope_hint: In function ‘decUnitAddSub’
qemu-8.2.2-build/qemu-8.2.2/libdecnumber/decNumber.c:7366:26: note: in expansion of macro ‘D2U’
qemu-8.2.2-build/qemu-8.2.2/libdecnumber/decNumber.c:6530:19: note: read of 2 bytes from after the end of ‘uarrone’
qemu-8.2.2-build/qemu-8.2.2/libdecnumber/decNumber.c:6530:19: note: valid subscripts for ‘uarrone’ are ‘[0]’ to ‘[0]’
# └──────────────────────────────────┘
# ^
# 6528| carry+=*a;
# 6529| a++;
# 6530|-> carry+=((eInt)*b)*m; /* [special-casing m=1/-1 */
# 6531| b++; /* here is not a win] */
# 6532| /* here carry is new Unit of digits; it could be +ve or -ve */
Error: CPPCHECK_WARNING: [#def1193]
qemu-8.2.2-build/qemu-8.2.2/libdecnumber/dpd/decimal128.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1194]
qemu-8.2.2-build/qemu-8.2.2/libdecnumber/dpd/decimal32.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1195]
qemu-8.2.2-build/qemu-8.2.2/libdecnumber/dpd/decimal64.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1196]
qemu-8.2.2-build/qemu-8.2.2/libdecnumber/dpd/decimal64.c:680:10: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 678| while (digits > 0) { /* each output bunch */
# 679| #if DECDPUN==3 /* fast path, 3-at-a-time */
# 680|-> bin=*inu; /* 3 digits ready for convert */
# 681| digits-=3; /* [may go negative] */
# 682| inu++; /* may need another */
Error: CLANG_WARNING: [#def1197]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/double_cpdo.c:99:37: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 97| /* dyadic opcodes */
# 98| case ADF_CODE:
# 99|-> fpa11->fpreg[Fd].fDouble = float64_add(rFn,rFm, &fpa11->fp_status);
# 100| break;
# 101|
Error: CLANG_WARNING: [#def1198]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/double_cpdo.c:104:37: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 102| case MUF_CODE:
# 103| case FML_CODE:
# 104|-> fpa11->fpreg[Fd].fDouble = float64_mul(rFn,rFm, &fpa11->fp_status);
# 105| break;
# 106|
Error: CLANG_WARNING: [#def1199]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/double_cpdo.c:108:37: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 106|
# 107| case SUF_CODE:
# 108|-> fpa11->fpreg[Fd].fDouble = float64_sub(rFn,rFm, &fpa11->fp_status);
# 109| break;
# 110|
Error: CLANG_WARNING: [#def1200]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/double_cpdo.c:112:37: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 110|
# 111| case RSF_CODE:
# 112|-> fpa11->fpreg[Fd].fDouble = float64_sub(rFm,rFn, &fpa11->fp_status);
# 113| break;
# 114|
Error: CLANG_WARNING: [#def1201]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/double_cpdo.c:117:37: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 115| case DVF_CODE:
# 116| case FDV_CODE:
# 117|-> fpa11->fpreg[Fd].fDouble = float64_div(rFn,rFm, &fpa11->fp_status);
# 118| break;
# 119|
Error: CLANG_WARNING: [#def1202]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/double_cpdo.c:122:37: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 120| case RDF_CODE:
# 121| case FRD_CODE:
# 122|-> fpa11->fpreg[Fd].fDouble = float64_div(rFm,rFn, &fpa11->fp_status);
# 123| break;
# 124|
Error: CLANG_WARNING: [#def1203]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/double_cpdo.c:136:37: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 134|
# 135| case RMF_CODE:
# 136|-> fpa11->fpreg[Fd].fDouble = float64_rem(rFn,rFm, &fpa11->fp_status);
# 137| break;
# 138|
Error: CLANG_WARNING: [#def1204]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/double_cpdo.c:147:35: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 145| /* monadic opcodes */
# 146| case MVF_CODE:
# 147|-> fpa11->fpreg[Fd].fDouble = rFm;
# 148| break;
# 149|
Error: CLANG_WARNING: [#def1205]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/double_cpdo.c:156:15: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
# 154| p[0] ^= 0x80000000;
# 155| #else
# 156|-> p[1] ^= 0x80000000;
# 157| #endif
# 158| fpa11->fpreg[Fd].fDouble = rFm;
Error: CLANG_WARNING: [#def1206]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/double_cpdo.c:168:15: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
# 166| p[0] &= 0x7fffffff;
# 167| #else
# 168|-> p[1] &= 0x7fffffff;
# 169| #endif
# 170| fpa11->fpreg[Fd].fDouble = rFm;
Error: CLANG_WARNING: [#def1207]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/double_cpdo.c:176:37: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 174| case RND_CODE:
# 175| case URD_CODE:
# 176|-> fpa11->fpreg[Fd].fDouble = float64_round_to_int(rFm, &fpa11->fp_status);
# 177| break;
# 178|
Error: CLANG_WARNING: [#def1208]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/double_cpdo.c:180:37: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 178|
# 179| case SQT_CODE:
# 180|-> fpa11->fpreg[Fd].fDouble = float64_sqrt(rFm, &fpa11->fp_status);
# 181| break;
# 182|
Error: CLANG_WARNING: [#def1209]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/extended_cpdo.c:97:39: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'low')
# 95| /* dyadic opcodes */
# 96| case ADF_CODE:
# 97|-> fpa11->fpreg[Fd].fExtended = floatx80_add(rFn,rFm, &fpa11->fp_status);
# 98| break;
# 99|
Error: CLANG_WARNING: [#def1210]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/extended_cpdo.c:102:39: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'low')
# 100| case MUF_CODE:
# 101| case FML_CODE:
# 102|-> fpa11->fpreg[Fd].fExtended = floatx80_mul(rFn,rFm, &fpa11->fp_status);
# 103| break;
# 104|
Error: CLANG_WARNING: [#def1211]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/extended_cpdo.c:106:39: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'low')
# 104|
# 105| case SUF_CODE:
# 106|-> fpa11->fpreg[Fd].fExtended = floatx80_sub(rFn,rFm, &fpa11->fp_status);
# 107| break;
# 108|
Error: CLANG_WARNING: [#def1212]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/extended_cpdo.c:110:39: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'low')
# 108|
# 109| case RSF_CODE:
# 110|-> fpa11->fpreg[Fd].fExtended = floatx80_sub(rFm,rFn, &fpa11->fp_status);
# 111| break;
# 112|
Error: CLANG_WARNING: [#def1213]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/extended_cpdo.c:115:39: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'low')
# 113| case DVF_CODE:
# 114| case FDV_CODE:
# 115|-> fpa11->fpreg[Fd].fExtended = floatx80_div(rFn,rFm, &fpa11->fp_status);
# 116| break;
# 117|
Error: CLANG_WARNING: [#def1214]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/extended_cpdo.c:120:39: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'low')
# 118| case RDF_CODE:
# 119| case FRD_CODE:
# 120|-> fpa11->fpreg[Fd].fExtended = floatx80_div(rFm,rFn, &fpa11->fp_status);
# 121| break;
# 122|
Error: CLANG_WARNING: [#def1215]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/extended_cpdo.c:134:39: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'low')
# 132|
# 133| case RMF_CODE:
# 134|-> fpa11->fpreg[Fd].fExtended = floatx80_rem(rFn,rFm, &fpa11->fp_status);
# 135| break;
# 136|
Error: CLANG_WARNING: [#def1216]
qemu-8.2.2-build/qemu-8.2.2/linux-user/arm/nwfpe/fpa11_cpdt.c:181:4: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 179| /* FIXME - handle put_user() failures */
# 180| put_user_u32(p[0], addr); /* sign & exp */
# 181|-> put_user_u32(p[1], addr + 8);
# 182| put_user_u32(p[2], addr + 4); /* msw */
# 183| }
Error: CLANG_WARNING: [#def1217]
qemu-8.2.2-build/qemu-8.2.2/linux-user/elfload.c:4218:5: warning[unix.Malloc]: Use of memory after it is freed
# 4216| static struct vm_area_struct *vma_first(const struct mm_struct *mm)
# 4217| {
# 4218|-> return (QTAILQ_FIRST(&mm->mm_mmap));
# 4219| }
# 4220|
Error: CLANG_WARNING: [#def1218]
qemu-8.2.2-build/qemu-8.2.2/linux-user/elfload.c:4439:5: warning[deadcode.DeadStores]: Value stored to 'bytes_written' is never read
# 4437| off_t pos;
# 4438|
# 4439|-> bytes_written = 0;
# 4440| getrlimit(RLIMIT_CORE, &dumpsize);
# 4441| if ((pos = lseek(fd, 0, SEEK_CUR))==-1) {
Error: CLANG_WARNING: [#def1219]
qemu-8.2.2-build/qemu-8.2.2/linux-user/elfload.c:4581:9: warning[unix.Malloc]: Use of memory after it is freed
# 4579| while (!QTAILQ_EMPTY(&info->thread_list)) {
# 4580| ets = QTAILQ_FIRST(&info->thread_list);
# 4581|-> QTAILQ_REMOVE(&info->thread_list, ets, ets_link);
# 4582| g_free(ets);
# 4583| }
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1220]
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.c: scope_hint: In function ‘host_to_target_data_linkinfo_nlattr’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.c:693:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.c: scope_hint: In function ‘host_to_target_data_linkinfo_nlattr’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.c: scope_hint: In function ‘host_to_target_data_linkinfo_nlattr’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.c: scope_hint: In function ‘host_to_target_data_linkinfo_nlattr’
/usr/include/string.h:159:12: note: argument 1 of ‘strncmp’ must be non-null
# 691| /* nested */
# 692| case QEMU_IFLA_INFO_DATA:
# 693|-> if (strncmp(li_context->name, "bridge",
# 694| li_context->len) == 0) {
# 695| return host_to_target_for_each_nlattr(NLA_DATA(nlattr),
Error: CLANG_WARNING: [#def1221]
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.c:693:13: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 691| /* nested */
# 692| case QEMU_IFLA_INFO_DATA:
# 693|-> if (strncmp(li_context->name, "bridge",
# 694| li_context->len) == 0) {
# 695| return host_to_target_for_each_nlattr(NLA_DATA(nlattr),
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1222]
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.c:711:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.c: scope_hint: In function ‘host_to_target_data_linkinfo_nlattr’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.c: scope_hint: In function ‘host_to_target_data_linkinfo_nlattr’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.c: scope_hint: In function ‘host_to_target_data_linkinfo_nlattr’
/usr/include/string.h:159:12: note: argument 1 of ‘strncmp’ must be non-null
# 709| break;
# 710| case QEMU_IFLA_INFO_SLAVE_DATA:
# 711|-> if (strncmp(li_context->slave_name, "bridge",
# 712| li_context->slave_len) == 0) {
# 713| return host_to_target_for_each_nlattr(NLA_DATA(nlattr),
Error: CLANG_WARNING: [#def1223]
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.c:711:13: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 709| break;
# 710| case QEMU_IFLA_INFO_SLAVE_DATA:
# 711|-> if (strncmp(li_context->slave_name, "bridge",
# 712| li_context->slave_len) == 0) {
# 713| return host_to_target_for_each_nlattr(NLA_DATA(nlattr),
Error: CPPCHECK_WARNING: [#def1224]
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1225]
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c: scope_hint: In function ‘main’
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c:106:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(inf_name, "rb")’
# 104| }
# 105| outf = fopen(outf_name, "w");
# 106|-> if (outf == NULL) {
# 107| goto perror_outf;
# 108| }
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1226]
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c:106:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(inf_name, "rb")’
# 104| }
# 105| outf = fopen(outf_name, "w");
# 106|-> if (outf == NULL) {
# 107| goto perror_outf;
# 108| }
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1227]
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c:120:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(inf_name, "rb")’
# 118|
# 119| buf = malloc(total_len);
# 120|-> if (buf == NULL) {
# 121| goto perror_inf;
# 122| }
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1228]
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c:120:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outf_name, "w")’
# 118|
# 119| buf = malloc(total_len);
# 120|-> if (buf == NULL) {
# 121| goto perror_inf;
# 122| }
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1229]
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c:120:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(inf_name, "rb")’
# 118|
# 119| buf = malloc(total_len);
# 120|-> if (buf == NULL) {
# 121| goto perror_inf;
# 122| }
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1230]
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c:120:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outf_name, "w")’
# 118|
# 119| buf = malloc(total_len);
# 120|-> if (buf == NULL) {
# 121| goto perror_inf;
# 122| }
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1231]
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c:125:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(inf_name, "rb")’
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c:14: included_from: Included from here.
# 123|
# 124| errno = 0;
# 125|-> if (fread(buf, 1, total_len, inf) != total_len) {
# 126| if (errno) {
# 127| goto perror_inf;
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1232]
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c:125:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outf_name, "w")’
# 123|
# 124| errno = 0;
# 125|-> if (fread(buf, 1, total_len, inf) != total_len) {
# 126| if (errno) {
# 127| goto perror_inf;
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1233]
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c:125:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(inf_name, "rb")’
# 123|
# 124| errno = 0;
# 125|-> if (fread(buf, 1, total_len, inf) != total_len) {
# 126| if (errno) {
# 127| goto perror_inf;
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1234]
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c:125:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outf_name, "w")’
# 123|
# 124| errno = 0;
# 125|-> if (fread(buf, 1, total_len, inf) != total_len) {
# 126| if (errno) {
# 127| goto perror_inf;
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1235]
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c:144:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outf_name, "w")’
# 142| prefix);
# 143| for (long i = 0; i < total_len; ++i) {
# 144|-> if (i % 12 == 0) {
# 145| fputs("\n ", outf);
# 146| }
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1236]
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c:144:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outf_name, "w")’
# 142| prefix);
# 143| for (long i = 0; i < total_len; ++i) {
# 144|-> if (i % 12 == 0) {
# 145| fputs("\n ", outf);
# 146| }
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1237]
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c:156:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outf_name, "w")’
# 154| */
# 155|
# 156|-> if (buf[EI_MAG0] != ELFMAG0 || buf[EI_MAG1] != ELFMAG1 ||
# 157| buf[EI_MAG2] != ELFMAG2 || buf[EI_MAG3] != ELFMAG3) {
# 158| fprintf(stderr, "%s: not an elf file\n", inf_name);
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1238]
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c:156:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outf_name, "w")’
# 154| */
# 155|
# 156|-> if (buf[EI_MAG0] != ELFMAG0 || buf[EI_MAG1] != ELFMAG1 ||
# 157| buf[EI_MAG2] != ELFMAG2 || buf[EI_MAG3] != ELFMAG3) {
# 158| fprintf(stderr, "%s: not an elf file\n", inf_name);
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1239]
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c:156:39: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outf_name, "w")’
# 154| */
# 155|
# 156|-> if (buf[EI_MAG0] != ELFMAG0 || buf[EI_MAG1] != ELFMAG1 ||
# 157| buf[EI_MAG2] != ELFMAG2 || buf[EI_MAG3] != ELFMAG3) {
# 158| fprintf(stderr, "%s: not an elf file\n", inf_name);
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1240]
qemu-8.2.2-build/qemu-8.2.2/linux-user/gen-vdso.c:156:39: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outf_name, "w")’
# 154| */
# 155|
# 156|-> if (buf[EI_MAG0] != ELFMAG0 || buf[EI_MAG1] != ELFMAG1 ||
# 157| buf[EI_MAG2] != ELFMAG2 || buf[EI_MAG3] != ELFMAG3) {
# 158| fprintf(stderr, "%s: not an elf file\n", inf_name);
Error: CLANG_WARNING: [#def1241]
qemu-8.2.2-build/qemu-8.2.2/linux-user/mmap.c:938:21: warning[deadcode.DeadStores]: Value stored to 'host_addr' is never read
# 936| if (!guest_range_valid_untagged(h2g(host_addr), new_size)) {
# 937| /* Revert mremap() changes */
# 938|-> host_addr = mremap(g2h_untagged(old_addr),
# 939| new_size, old_size, flags);
# 940| errno = ENOMEM;
Error: CLANG_WARNING: [#def1242]
qemu-8.2.2-build/qemu-8.2.2/linux-user/sparc/cpu_loop.c:142:5: warning[deadcode.DeadStores]: Value stored to 'cwp1' is never read
# 140| offset++;
# 141| }
# 142|-> cwp1 = cpu_cwp_inc(env, env->cwp + 1);
# 143| #ifndef TARGET_SPARC64
# 144| /* set wim so that restore will reload the registers */
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1243]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:568:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c: scope_hint: In function ‘do_syscall1’
# 566| abi_long get_errno(abi_long ret)
# 567| {
# 568|-> if (ret == -1)
# 569| return -host_to_target_errno(errno);
# 570| else
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1244]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c: scope_hint: In function ‘do_pipe’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:1592:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘host_pipe[0]’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:132: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/linux-user/qemu.h:293:32: note: in expansion of macro ‘put_user’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:1612:9: note: in expansion of macro ‘put_user_s32’
qemu-8.2.2-build/qemu-8.2.2/linux-user/qemu.h:293:32: note: in expansion of macro ‘put_user’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:1612:9: note: in expansion of macro ‘put_user_s32’
# 1590|
# 1591| if (is_error(ret))
# 1592|-> return get_errno(ret);
# 1593|
# 1594| /* Several targets have special calling conventions for the original
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1245]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:1592:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘host_pipe[1]’
qemu-8.2.2-build/qemu-8.2.2/linux-user/qemu.h:293:32: note: in expansion of macro ‘put_user’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:1612:9: note: in expansion of macro ‘put_user_s32’
qemu-8.2.2-build/qemu-8.2.2/linux-user/qemu.h:293:32: note: in expansion of macro ‘put_user’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:1612:9: note: in expansion of macro ‘put_user_s32’
# 1590|
# 1591| if (is_error(ret))
# 1592|-> return get_errno(ret);
# 1593|
# 1594| /* Several targets have special calling conventions for the original
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1246]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:1592:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘host_pipe[is_pipe2]’
qemu-8.2.2-build/qemu-8.2.2/linux-user/qemu.h:293:32: note: in expansion of macro ‘put_user’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:1612:9: note: in expansion of macro ‘put_user_s32’
qemu-8.2.2-build/qemu-8.2.2/linux-user/qemu.h:293:32: note: in expansion of macro ‘put_user’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:1612:9: note: in expansion of macro ‘put_user_s32’
# 1590|
# 1591| if (is_error(ret))
# 1592|-> return get_errno(ret);
# 1593|
# 1594| /* Several targets have special calling conventions for the original
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1247]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c: scope_hint: In function ‘target_to_host_sockaddr’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:1645:16: warning[-Wanalyzer-jump-through-null]: jump through null pointer
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:144: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:19: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:53: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:20: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘target_to_host_sockaddr’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘target_to_host_sockaddr’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘target_to_host_sockaddr’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘target_to_host_sockaddr’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
# 1643|
# 1644| if (fd_trans_target_to_host_addr(fd)) {
# 1645|-> return fd_trans_target_to_host_addr(fd)(addr, target_addr, len);
# 1646| }
# 1647|
Error: CLANG_WARNING: [#def1248]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:1715:35: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 1713| if (len >= offsetof(struct target_sockaddr, sa_family) +
# 1714| sizeof(target_saddr->sa_family)) {
# 1715|-> target_saddr->sa_family = tswap16(addr->sa_family);
# 1716| }
# 1717| if (addr->sa_family == AF_NETLINK &&
Error: CLANG_WARNING: [#def1249]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:1717:25: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
# 1715| target_saddr->sa_family = tswap16(addr->sa_family);
# 1716| }
# 1717|-> if (addr->sa_family == AF_NETLINK &&
# 1718| len >= sizeof(struct target_sockaddr_nl)) {
# 1719| struct target_sockaddr_nl *target_nl =
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1250]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c: scope_hint: In function ‘do_socket’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3161:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c: scope_hint: In function ‘do_socket’
# 3159| fd_trans_register(ret, &target_packet_trans);
# 3160| } else if (domain == PF_NETLINK) {
# 3161|-> switch (protocol) {
# 3162| #ifdef CONFIG_RTNETLINK
# 3163| case NETLINK_ROUTE:
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1251]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c: scope_hint: In function ‘do_sendrecvmsg_locked’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3284:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘msg.msg_iov’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3340:10: note: in expansion of macro ‘lock_user_struct’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3340:10: note: in expansion of macro ‘lock_user_struct’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘do_sendrecvmsg_locked’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘do_sendrecvmsg_locked’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘do_sendrecvmsg_locked’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘do_sendrecvmsg_locked’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:125: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:45:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:45:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘do_sendrecvmsg_locked’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘do_sendrecvmsg_locked’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:45:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
# 3282| void *host_msg;
# 3283|
# 3284|-> host_msg = g_malloc(msg.msg_iov->iov_len);
# 3285| memcpy(host_msg, msg.msg_iov->iov_base, msg.msg_iov->iov_len);
# 3286| ret = fd_trans_target_to_host_data(fd)(host_msg,
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1252]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c: scope_hint: In function ‘do_sendrecvmsg_locked’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3286:19: warning[-Wanalyzer-jump-through-null]: jump through null pointer
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3340:10: note: in expansion of macro ‘lock_user_struct’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3340:10: note: in expansion of macro ‘lock_user_struct’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘do_sendrecvmsg_locked’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘do_sendrecvmsg_locked’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘do_sendrecvmsg_locked’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘do_sendrecvmsg_locked’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/glist.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/ghash.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:52: included_from: Included from here.
/usr/include/glib-2.0/glib/gmem.h:375:57: note: in expansion of macro ‘_G_NEW’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:2986:11: note: in expansion of macro ‘g_try_new0’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:45:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:45:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘do_sendrecvmsg_locked’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘do_sendrecvmsg_locked’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:45:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:45:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:45:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘do_sendrecvmsg_locked’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘do_sendrecvmsg_locked’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:45:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
# 3284| host_msg = g_malloc(msg.msg_iov->iov_len);
# 3285| memcpy(host_msg, msg.msg_iov->iov_base, msg.msg_iov->iov_len);
# 3286|-> ret = fd_trans_target_to_host_data(fd)(host_msg,
# 3287| msg.msg_iov->iov_len);
# 3288| if (ret >= 0) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1253]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3304:23: warning[-Wanalyzer-jump-through-null]: jump through null pointer
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3340:10: note: in expansion of macro ‘lock_user_struct’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘do_sendrecvmsg_locked’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘do_sendrecvmsg_locked’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘do_sendrecvmsg_locked’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘do_sendrecvmsg_locked’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:71:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmem.h:375:57: note: in expansion of macro ‘_G_NEW’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:2986:11: note: in expansion of macro ‘g_try_new0’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:58:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:58:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘do_sendrecvmsg_locked’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘do_sendrecvmsg_locked’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:58:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:58:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:58:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘do_sendrecvmsg_locked’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘do_sendrecvmsg_locked’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:58:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
# 3302| len = ret;
# 3303| if (fd_trans_host_to_target_data(fd)) {
# 3304|-> ret = fd_trans_host_to_target_data(fd)(msg.msg_iov->iov_base,
# 3305| MIN(msg.msg_iov->iov_len, len));
# 3306| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1254]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c: scope_hint: In function ‘do_sendto’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3550:15: warning[-Wanalyzer-jump-through-null]: jump through null pointer
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:45:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:45:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘do_sendto’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘do_sendto’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:45:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
# 3548| host_msg = g_malloc(len);
# 3549| memcpy(host_msg, copy_msg, len);
# 3550|-> ret = fd_trans_target_to_host_data(fd)(host_msg, len);
# 3551| if (ret < 0) {
# 3552| goto fail;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1255]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c: scope_hint: In function ‘do_recvfrom’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3613:21: warning[-Wanalyzer-jump-through-null]: jump through null pointer
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c: scope_hint: In function ‘do_recvfrom’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c: scope_hint: In function ‘do_recvfrom’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:58:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:58:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘do_recvfrom’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘do_recvfrom’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:58:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:58:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:58:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘do_recvfrom’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘do_recvfrom’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:58:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
# 3611| if (fd_trans_host_to_target_data(fd)) {
# 3612| abi_long trans;
# 3613|-> trans = fd_trans_host_to_target_data(fd)(host_msg, MIN(ret, len));
# 3614| if (is_error(trans)) {
# 3615| ret = trans;
Error: CLANG_WARNING: [#def1256]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3682:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3680| switch (num) {
# 3681| case TARGET_SYS_SOCKET: /* domain, type, protocol */
# 3682|-> return do_socket(a[0], a[1], a[2]);
# 3683| case TARGET_SYS_BIND: /* sockfd, addr, addrlen */
# 3684| return do_bind(a[0], a[1], a[2]);
Error: CLANG_WARNING: [#def1257]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3682:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3680| switch (num) {
# 3681| case TARGET_SYS_SOCKET: /* domain, type, protocol */
# 3682|-> return do_socket(a[0], a[1], a[2]);
# 3683| case TARGET_SYS_BIND: /* sockfd, addr, addrlen */
# 3684| return do_bind(a[0], a[1], a[2]);
Error: CLANG_WARNING: [#def1258]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3682:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 3680| switch (num) {
# 3681| case TARGET_SYS_SOCKET: /* domain, type, protocol */
# 3682|-> return do_socket(a[0], a[1], a[2]);
# 3683| case TARGET_SYS_BIND: /* sockfd, addr, addrlen */
# 3684| return do_bind(a[0], a[1], a[2]);
Error: CLANG_WARNING: [#def1259]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3684:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3682| return do_socket(a[0], a[1], a[2]);
# 3683| case TARGET_SYS_BIND: /* sockfd, addr, addrlen */
# 3684|-> return do_bind(a[0], a[1], a[2]);
# 3685| case TARGET_SYS_CONNECT: /* sockfd, addr, addrlen */
# 3686| return do_connect(a[0], a[1], a[2]);
Error: CLANG_WARNING: [#def1260]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3684:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3682| return do_socket(a[0], a[1], a[2]);
# 3683| case TARGET_SYS_BIND: /* sockfd, addr, addrlen */
# 3684|-> return do_bind(a[0], a[1], a[2]);
# 3685| case TARGET_SYS_CONNECT: /* sockfd, addr, addrlen */
# 3686| return do_connect(a[0], a[1], a[2]);
Error: CLANG_WARNING: [#def1261]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3684:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 3682| return do_socket(a[0], a[1], a[2]);
# 3683| case TARGET_SYS_BIND: /* sockfd, addr, addrlen */
# 3684|-> return do_bind(a[0], a[1], a[2]);
# 3685| case TARGET_SYS_CONNECT: /* sockfd, addr, addrlen */
# 3686| return do_connect(a[0], a[1], a[2]);
Error: CLANG_WARNING: [#def1262]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3686:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3684| return do_bind(a[0], a[1], a[2]);
# 3685| case TARGET_SYS_CONNECT: /* sockfd, addr, addrlen */
# 3686|-> return do_connect(a[0], a[1], a[2]);
# 3687| case TARGET_SYS_LISTEN: /* sockfd, backlog */
# 3688| return get_errno(listen(a[0], a[1]));
Error: CLANG_WARNING: [#def1263]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3686:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3684| return do_bind(a[0], a[1], a[2]);
# 3685| case TARGET_SYS_CONNECT: /* sockfd, addr, addrlen */
# 3686|-> return do_connect(a[0], a[1], a[2]);
# 3687| case TARGET_SYS_LISTEN: /* sockfd, backlog */
# 3688| return get_errno(listen(a[0], a[1]));
Error: CLANG_WARNING: [#def1264]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3686:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 3684| return do_bind(a[0], a[1], a[2]);
# 3685| case TARGET_SYS_CONNECT: /* sockfd, addr, addrlen */
# 3686|-> return do_connect(a[0], a[1], a[2]);
# 3687| case TARGET_SYS_LISTEN: /* sockfd, backlog */
# 3688| return get_errno(listen(a[0], a[1]));
Error: CLANG_WARNING: [#def1265]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3688:26: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3686| return do_connect(a[0], a[1], a[2]);
# 3687| case TARGET_SYS_LISTEN: /* sockfd, backlog */
# 3688|-> return get_errno(listen(a[0], a[1]));
# 3689| case TARGET_SYS_ACCEPT: /* sockfd, addr, addrlen */
# 3690| return do_accept4(a[0], a[1], a[2], 0);
Error: CLANG_WARNING: [#def1266]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3688:26: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3686| return do_connect(a[0], a[1], a[2]);
# 3687| case TARGET_SYS_LISTEN: /* sockfd, backlog */
# 3688|-> return get_errno(listen(a[0], a[1]));
# 3689| case TARGET_SYS_ACCEPT: /* sockfd, addr, addrlen */
# 3690| return do_accept4(a[0], a[1], a[2], 0);
Error: CLANG_WARNING: [#def1267]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3690:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3688| return get_errno(listen(a[0], a[1]));
# 3689| case TARGET_SYS_ACCEPT: /* sockfd, addr, addrlen */
# 3690|-> return do_accept4(a[0], a[1], a[2], 0);
# 3691| case TARGET_SYS_GETSOCKNAME: /* sockfd, addr, addrlen */
# 3692| return do_getsockname(a[0], a[1], a[2]);
Error: CLANG_WARNING: [#def1268]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3690:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3688| return get_errno(listen(a[0], a[1]));
# 3689| case TARGET_SYS_ACCEPT: /* sockfd, addr, addrlen */
# 3690|-> return do_accept4(a[0], a[1], a[2], 0);
# 3691| case TARGET_SYS_GETSOCKNAME: /* sockfd, addr, addrlen */
# 3692| return do_getsockname(a[0], a[1], a[2]);
Error: CLANG_WARNING: [#def1269]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3690:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 3688| return get_errno(listen(a[0], a[1]));
# 3689| case TARGET_SYS_ACCEPT: /* sockfd, addr, addrlen */
# 3690|-> return do_accept4(a[0], a[1], a[2], 0);
# 3691| case TARGET_SYS_GETSOCKNAME: /* sockfd, addr, addrlen */
# 3692| return do_getsockname(a[0], a[1], a[2]);
Error: CLANG_WARNING: [#def1270]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3692:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3690| return do_accept4(a[0], a[1], a[2], 0);
# 3691| case TARGET_SYS_GETSOCKNAME: /* sockfd, addr, addrlen */
# 3692|-> return do_getsockname(a[0], a[1], a[2]);
# 3693| case TARGET_SYS_GETPEERNAME: /* sockfd, addr, addrlen */
# 3694| return do_getpeername(a[0], a[1], a[2]);
Error: CLANG_WARNING: [#def1271]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3692:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3690| return do_accept4(a[0], a[1], a[2], 0);
# 3691| case TARGET_SYS_GETSOCKNAME: /* sockfd, addr, addrlen */
# 3692|-> return do_getsockname(a[0], a[1], a[2]);
# 3693| case TARGET_SYS_GETPEERNAME: /* sockfd, addr, addrlen */
# 3694| return do_getpeername(a[0], a[1], a[2]);
Error: CLANG_WARNING: [#def1272]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3692:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 3690| return do_accept4(a[0], a[1], a[2], 0);
# 3691| case TARGET_SYS_GETSOCKNAME: /* sockfd, addr, addrlen */
# 3692|-> return do_getsockname(a[0], a[1], a[2]);
# 3693| case TARGET_SYS_GETPEERNAME: /* sockfd, addr, addrlen */
# 3694| return do_getpeername(a[0], a[1], a[2]);
Error: CLANG_WARNING: [#def1273]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3694:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3692| return do_getsockname(a[0], a[1], a[2]);
# 3693| case TARGET_SYS_GETPEERNAME: /* sockfd, addr, addrlen */
# 3694|-> return do_getpeername(a[0], a[1], a[2]);
# 3695| case TARGET_SYS_SOCKETPAIR: /* domain, type, protocol, tab */
# 3696| return do_socketpair(a[0], a[1], a[2], a[3]);
Error: CLANG_WARNING: [#def1274]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3694:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3692| return do_getsockname(a[0], a[1], a[2]);
# 3693| case TARGET_SYS_GETPEERNAME: /* sockfd, addr, addrlen */
# 3694|-> return do_getpeername(a[0], a[1], a[2]);
# 3695| case TARGET_SYS_SOCKETPAIR: /* domain, type, protocol, tab */
# 3696| return do_socketpair(a[0], a[1], a[2], a[3]);
Error: CLANG_WARNING: [#def1275]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3694:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 3692| return do_getsockname(a[0], a[1], a[2]);
# 3693| case TARGET_SYS_GETPEERNAME: /* sockfd, addr, addrlen */
# 3694|-> return do_getpeername(a[0], a[1], a[2]);
# 3695| case TARGET_SYS_SOCKETPAIR: /* domain, type, protocol, tab */
# 3696| return do_socketpair(a[0], a[1], a[2], a[3]);
Error: CLANG_WARNING: [#def1276]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3696:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3694| return do_getpeername(a[0], a[1], a[2]);
# 3695| case TARGET_SYS_SOCKETPAIR: /* domain, type, protocol, tab */
# 3696|-> return do_socketpair(a[0], a[1], a[2], a[3]);
# 3697| case TARGET_SYS_SEND: /* sockfd, msg, len, flags */
# 3698| return do_sendto(a[0], a[1], a[2], a[3], 0, 0);
Error: CLANG_WARNING: [#def1277]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3696:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3694| return do_getpeername(a[0], a[1], a[2]);
# 3695| case TARGET_SYS_SOCKETPAIR: /* domain, type, protocol, tab */
# 3696|-> return do_socketpair(a[0], a[1], a[2], a[3]);
# 3697| case TARGET_SYS_SEND: /* sockfd, msg, len, flags */
# 3698| return do_sendto(a[0], a[1], a[2], a[3], 0, 0);
Error: CLANG_WARNING: [#def1278]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3696:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 3694| return do_getpeername(a[0], a[1], a[2]);
# 3695| case TARGET_SYS_SOCKETPAIR: /* domain, type, protocol, tab */
# 3696|-> return do_socketpair(a[0], a[1], a[2], a[3]);
# 3697| case TARGET_SYS_SEND: /* sockfd, msg, len, flags */
# 3698| return do_sendto(a[0], a[1], a[2], a[3], 0, 0);
Error: CLANG_WARNING: [#def1279]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3698:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3696| return do_socketpair(a[0], a[1], a[2], a[3]);
# 3697| case TARGET_SYS_SEND: /* sockfd, msg, len, flags */
# 3698|-> return do_sendto(a[0], a[1], a[2], a[3], 0, 0);
# 3699| case TARGET_SYS_RECV: /* sockfd, msg, len, flags */
# 3700| return do_recvfrom(a[0], a[1], a[2], a[3], 0, 0);
Error: CLANG_WARNING: [#def1280]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3698:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3696| return do_socketpair(a[0], a[1], a[2], a[3]);
# 3697| case TARGET_SYS_SEND: /* sockfd, msg, len, flags */
# 3698|-> return do_sendto(a[0], a[1], a[2], a[3], 0, 0);
# 3699| case TARGET_SYS_RECV: /* sockfd, msg, len, flags */
# 3700| return do_recvfrom(a[0], a[1], a[2], a[3], 0, 0);
Error: CLANG_WARNING: [#def1281]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3698:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 3696| return do_socketpair(a[0], a[1], a[2], a[3]);
# 3697| case TARGET_SYS_SEND: /* sockfd, msg, len, flags */
# 3698|-> return do_sendto(a[0], a[1], a[2], a[3], 0, 0);
# 3699| case TARGET_SYS_RECV: /* sockfd, msg, len, flags */
# 3700| return do_recvfrom(a[0], a[1], a[2], a[3], 0, 0);
Error: CLANG_WARNING: [#def1282]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3700:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3698| return do_sendto(a[0], a[1], a[2], a[3], 0, 0);
# 3699| case TARGET_SYS_RECV: /* sockfd, msg, len, flags */
# 3700|-> return do_recvfrom(a[0], a[1], a[2], a[3], 0, 0);
# 3701| case TARGET_SYS_SENDTO: /* sockfd, msg, len, flags, addr, addrlen */
# 3702| return do_sendto(a[0], a[1], a[2], a[3], a[4], a[5]);
Error: CLANG_WARNING: [#def1283]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3700:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3698| return do_sendto(a[0], a[1], a[2], a[3], 0, 0);
# 3699| case TARGET_SYS_RECV: /* sockfd, msg, len, flags */
# 3700|-> return do_recvfrom(a[0], a[1], a[2], a[3], 0, 0);
# 3701| case TARGET_SYS_SENDTO: /* sockfd, msg, len, flags, addr, addrlen */
# 3702| return do_sendto(a[0], a[1], a[2], a[3], a[4], a[5]);
Error: CLANG_WARNING: [#def1284]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3700:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 3698| return do_sendto(a[0], a[1], a[2], a[3], 0, 0);
# 3699| case TARGET_SYS_RECV: /* sockfd, msg, len, flags */
# 3700|-> return do_recvfrom(a[0], a[1], a[2], a[3], 0, 0);
# 3701| case TARGET_SYS_SENDTO: /* sockfd, msg, len, flags, addr, addrlen */
# 3702| return do_sendto(a[0], a[1], a[2], a[3], a[4], a[5]);
Error: CLANG_WARNING: [#def1285]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3702:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3700| return do_recvfrom(a[0], a[1], a[2], a[3], 0, 0);
# 3701| case TARGET_SYS_SENDTO: /* sockfd, msg, len, flags, addr, addrlen */
# 3702|-> return do_sendto(a[0], a[1], a[2], a[3], a[4], a[5]);
# 3703| case TARGET_SYS_RECVFROM: /* sockfd, msg, len, flags, addr, addrlen */
# 3704| return do_recvfrom(a[0], a[1], a[2], a[3], a[4], a[5]);
Error: CLANG_WARNING: [#def1286]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3702:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3700| return do_recvfrom(a[0], a[1], a[2], a[3], 0, 0);
# 3701| case TARGET_SYS_SENDTO: /* sockfd, msg, len, flags, addr, addrlen */
# 3702|-> return do_sendto(a[0], a[1], a[2], a[3], a[4], a[5]);
# 3703| case TARGET_SYS_RECVFROM: /* sockfd, msg, len, flags, addr, addrlen */
# 3704| return do_recvfrom(a[0], a[1], a[2], a[3], a[4], a[5]);
Error: CLANG_WARNING: [#def1287]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3702:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 3700| return do_recvfrom(a[0], a[1], a[2], a[3], 0, 0);
# 3701| case TARGET_SYS_SENDTO: /* sockfd, msg, len, flags, addr, addrlen */
# 3702|-> return do_sendto(a[0], a[1], a[2], a[3], a[4], a[5]);
# 3703| case TARGET_SYS_RECVFROM: /* sockfd, msg, len, flags, addr, addrlen */
# 3704| return do_recvfrom(a[0], a[1], a[2], a[3], a[4], a[5]);
Error: CLANG_WARNING: [#def1288]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3704:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3702| return do_sendto(a[0], a[1], a[2], a[3], a[4], a[5]);
# 3703| case TARGET_SYS_RECVFROM: /* sockfd, msg, len, flags, addr, addrlen */
# 3704|-> return do_recvfrom(a[0], a[1], a[2], a[3], a[4], a[5]);
# 3705| case TARGET_SYS_SHUTDOWN: /* sockfd, how */
# 3706| return get_errno(shutdown(a[0], a[1]));
Error: CLANG_WARNING: [#def1289]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3704:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3702| return do_sendto(a[0], a[1], a[2], a[3], a[4], a[5]);
# 3703| case TARGET_SYS_RECVFROM: /* sockfd, msg, len, flags, addr, addrlen */
# 3704|-> return do_recvfrom(a[0], a[1], a[2], a[3], a[4], a[5]);
# 3705| case TARGET_SYS_SHUTDOWN: /* sockfd, how */
# 3706| return get_errno(shutdown(a[0], a[1]));
Error: CLANG_WARNING: [#def1290]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3704:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 3702| return do_sendto(a[0], a[1], a[2], a[3], a[4], a[5]);
# 3703| case TARGET_SYS_RECVFROM: /* sockfd, msg, len, flags, addr, addrlen */
# 3704|-> return do_recvfrom(a[0], a[1], a[2], a[3], a[4], a[5]);
# 3705| case TARGET_SYS_SHUTDOWN: /* sockfd, how */
# 3706| return get_errno(shutdown(a[0], a[1]));
Error: CLANG_WARNING: [#def1291]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3706:26: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3704| return do_recvfrom(a[0], a[1], a[2], a[3], a[4], a[5]);
# 3705| case TARGET_SYS_SHUTDOWN: /* sockfd, how */
# 3706|-> return get_errno(shutdown(a[0], a[1]));
# 3707| case TARGET_SYS_SETSOCKOPT: /* sockfd, level, optname, optval, optlen */
# 3708| return do_setsockopt(a[0], a[1], a[2], a[3], a[4]);
Error: CLANG_WARNING: [#def1292]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3706:26: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3704| return do_recvfrom(a[0], a[1], a[2], a[3], a[4], a[5]);
# 3705| case TARGET_SYS_SHUTDOWN: /* sockfd, how */
# 3706|-> return get_errno(shutdown(a[0], a[1]));
# 3707| case TARGET_SYS_SETSOCKOPT: /* sockfd, level, optname, optval, optlen */
# 3708| return do_setsockopt(a[0], a[1], a[2], a[3], a[4]);
Error: CLANG_WARNING: [#def1293]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3708:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3706| return get_errno(shutdown(a[0], a[1]));
# 3707| case TARGET_SYS_SETSOCKOPT: /* sockfd, level, optname, optval, optlen */
# 3708|-> return do_setsockopt(a[0], a[1], a[2], a[3], a[4]);
# 3709| case TARGET_SYS_GETSOCKOPT: /* sockfd, level, optname, optval, optlen */
# 3710| return do_getsockopt(a[0], a[1], a[2], a[3], a[4]);
Error: CLANG_WARNING: [#def1294]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3708:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3706| return get_errno(shutdown(a[0], a[1]));
# 3707| case TARGET_SYS_SETSOCKOPT: /* sockfd, level, optname, optval, optlen */
# 3708|-> return do_setsockopt(a[0], a[1], a[2], a[3], a[4]);
# 3709| case TARGET_SYS_GETSOCKOPT: /* sockfd, level, optname, optval, optlen */
# 3710| return do_getsockopt(a[0], a[1], a[2], a[3], a[4]);
Error: CLANG_WARNING: [#def1295]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3708:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 3706| return get_errno(shutdown(a[0], a[1]));
# 3707| case TARGET_SYS_SETSOCKOPT: /* sockfd, level, optname, optval, optlen */
# 3708|-> return do_setsockopt(a[0], a[1], a[2], a[3], a[4]);
# 3709| case TARGET_SYS_GETSOCKOPT: /* sockfd, level, optname, optval, optlen */
# 3710| return do_getsockopt(a[0], a[1], a[2], a[3], a[4]);
Error: CLANG_WARNING: [#def1296]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3710:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3708| return do_setsockopt(a[0], a[1], a[2], a[3], a[4]);
# 3709| case TARGET_SYS_GETSOCKOPT: /* sockfd, level, optname, optval, optlen */
# 3710|-> return do_getsockopt(a[0], a[1], a[2], a[3], a[4]);
# 3711| case TARGET_SYS_SENDMSG: /* sockfd, msg, flags */
# 3712| return do_sendrecvmsg(a[0], a[1], a[2], 1);
Error: CLANG_WARNING: [#def1297]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3710:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3708| return do_setsockopt(a[0], a[1], a[2], a[3], a[4]);
# 3709| case TARGET_SYS_GETSOCKOPT: /* sockfd, level, optname, optval, optlen */
# 3710|-> return do_getsockopt(a[0], a[1], a[2], a[3], a[4]);
# 3711| case TARGET_SYS_SENDMSG: /* sockfd, msg, flags */
# 3712| return do_sendrecvmsg(a[0], a[1], a[2], 1);
Error: CLANG_WARNING: [#def1298]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3710:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 3708| return do_setsockopt(a[0], a[1], a[2], a[3], a[4]);
# 3709| case TARGET_SYS_GETSOCKOPT: /* sockfd, level, optname, optval, optlen */
# 3710|-> return do_getsockopt(a[0], a[1], a[2], a[3], a[4]);
# 3711| case TARGET_SYS_SENDMSG: /* sockfd, msg, flags */
# 3712| return do_sendrecvmsg(a[0], a[1], a[2], 1);
Error: CLANG_WARNING: [#def1299]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3712:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3710| return do_getsockopt(a[0], a[1], a[2], a[3], a[4]);
# 3711| case TARGET_SYS_SENDMSG: /* sockfd, msg, flags */
# 3712|-> return do_sendrecvmsg(a[0], a[1], a[2], 1);
# 3713| case TARGET_SYS_RECVMSG: /* sockfd, msg, flags */
# 3714| return do_sendrecvmsg(a[0], a[1], a[2], 0);
Error: CLANG_WARNING: [#def1300]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3712:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3710| return do_getsockopt(a[0], a[1], a[2], a[3], a[4]);
# 3711| case TARGET_SYS_SENDMSG: /* sockfd, msg, flags */
# 3712|-> return do_sendrecvmsg(a[0], a[1], a[2], 1);
# 3713| case TARGET_SYS_RECVMSG: /* sockfd, msg, flags */
# 3714| return do_sendrecvmsg(a[0], a[1], a[2], 0);
Error: CLANG_WARNING: [#def1301]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3712:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 3710| return do_getsockopt(a[0], a[1], a[2], a[3], a[4]);
# 3711| case TARGET_SYS_SENDMSG: /* sockfd, msg, flags */
# 3712|-> return do_sendrecvmsg(a[0], a[1], a[2], 1);
# 3713| case TARGET_SYS_RECVMSG: /* sockfd, msg, flags */
# 3714| return do_sendrecvmsg(a[0], a[1], a[2], 0);
Error: CLANG_WARNING: [#def1302]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3714:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3712| return do_sendrecvmsg(a[0], a[1], a[2], 1);
# 3713| case TARGET_SYS_RECVMSG: /* sockfd, msg, flags */
# 3714|-> return do_sendrecvmsg(a[0], a[1], a[2], 0);
# 3715| case TARGET_SYS_ACCEPT4: /* sockfd, addr, addrlen, flags */
# 3716| return do_accept4(a[0], a[1], a[2], a[3]);
Error: CLANG_WARNING: [#def1303]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3714:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3712| return do_sendrecvmsg(a[0], a[1], a[2], 1);
# 3713| case TARGET_SYS_RECVMSG: /* sockfd, msg, flags */
# 3714|-> return do_sendrecvmsg(a[0], a[1], a[2], 0);
# 3715| case TARGET_SYS_ACCEPT4: /* sockfd, addr, addrlen, flags */
# 3716| return do_accept4(a[0], a[1], a[2], a[3]);
Error: CLANG_WARNING: [#def1304]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3714:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 3712| return do_sendrecvmsg(a[0], a[1], a[2], 1);
# 3713| case TARGET_SYS_RECVMSG: /* sockfd, msg, flags */
# 3714|-> return do_sendrecvmsg(a[0], a[1], a[2], 0);
# 3715| case TARGET_SYS_ACCEPT4: /* sockfd, addr, addrlen, flags */
# 3716| return do_accept4(a[0], a[1], a[2], a[3]);
Error: CLANG_WARNING: [#def1305]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3716:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3714| return do_sendrecvmsg(a[0], a[1], a[2], 0);
# 3715| case TARGET_SYS_ACCEPT4: /* sockfd, addr, addrlen, flags */
# 3716|-> return do_accept4(a[0], a[1], a[2], a[3]);
# 3717| case TARGET_SYS_RECVMMSG: /* sockfd, msgvec, vlen, flags */
# 3718| return do_sendrecvmmsg(a[0], a[1], a[2], a[3], 0);
Error: CLANG_WARNING: [#def1306]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3716:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3714| return do_sendrecvmsg(a[0], a[1], a[2], 0);
# 3715| case TARGET_SYS_ACCEPT4: /* sockfd, addr, addrlen, flags */
# 3716|-> return do_accept4(a[0], a[1], a[2], a[3]);
# 3717| case TARGET_SYS_RECVMMSG: /* sockfd, msgvec, vlen, flags */
# 3718| return do_sendrecvmmsg(a[0], a[1], a[2], a[3], 0);
Error: CLANG_WARNING: [#def1307]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3716:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 3714| return do_sendrecvmsg(a[0], a[1], a[2], 0);
# 3715| case TARGET_SYS_ACCEPT4: /* sockfd, addr, addrlen, flags */
# 3716|-> return do_accept4(a[0], a[1], a[2], a[3]);
# 3717| case TARGET_SYS_RECVMMSG: /* sockfd, msgvec, vlen, flags */
# 3718| return do_sendrecvmmsg(a[0], a[1], a[2], a[3], 0);
Error: CLANG_WARNING: [#def1308]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3718:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3716| return do_accept4(a[0], a[1], a[2], a[3]);
# 3717| case TARGET_SYS_RECVMMSG: /* sockfd, msgvec, vlen, flags */
# 3718|-> return do_sendrecvmmsg(a[0], a[1], a[2], a[3], 0);
# 3719| case TARGET_SYS_SENDMMSG: /* sockfd, msgvec, vlen, flags */
# 3720| return do_sendrecvmmsg(a[0], a[1], a[2], a[3], 1);
Error: CLANG_WARNING: [#def1309]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3718:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3716| return do_accept4(a[0], a[1], a[2], a[3]);
# 3717| case TARGET_SYS_RECVMMSG: /* sockfd, msgvec, vlen, flags */
# 3718|-> return do_sendrecvmmsg(a[0], a[1], a[2], a[3], 0);
# 3719| case TARGET_SYS_SENDMMSG: /* sockfd, msgvec, vlen, flags */
# 3720| return do_sendrecvmmsg(a[0], a[1], a[2], a[3], 1);
Error: CLANG_WARNING: [#def1310]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3718:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 3716| return do_accept4(a[0], a[1], a[2], a[3]);
# 3717| case TARGET_SYS_RECVMMSG: /* sockfd, msgvec, vlen, flags */
# 3718|-> return do_sendrecvmmsg(a[0], a[1], a[2], a[3], 0);
# 3719| case TARGET_SYS_SENDMMSG: /* sockfd, msgvec, vlen, flags */
# 3720| return do_sendrecvmmsg(a[0], a[1], a[2], a[3], 1);
Error: CLANG_WARNING: [#def1311]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3720:16: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 3718| return do_sendrecvmmsg(a[0], a[1], a[2], a[3], 0);
# 3719| case TARGET_SYS_SENDMMSG: /* sockfd, msgvec, vlen, flags */
# 3720|-> return do_sendrecvmmsg(a[0], a[1], a[2], a[3], 1);
# 3721| default:
# 3722| qemu_log_mask(LOG_UNIMP, "Unsupported socketcall: %d\n", num);
Error: CLANG_WARNING: [#def1312]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3720:16: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3718| return do_sendrecvmmsg(a[0], a[1], a[2], a[3], 0);
# 3719| case TARGET_SYS_SENDMMSG: /* sockfd, msgvec, vlen, flags */
# 3720|-> return do_sendrecvmmsg(a[0], a[1], a[2], a[3], 1);
# 3721| default:
# 3722| qemu_log_mask(LOG_UNIMP, "Unsupported socketcall: %d\n", num);
Error: CLANG_WARNING: [#def1313]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3720:16: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 3718| return do_sendrecvmmsg(a[0], a[1], a[2], a[3], 0);
# 3719| case TARGET_SYS_SENDMMSG: /* sockfd, msgvec, vlen, flags */
# 3720|-> return do_sendrecvmmsg(a[0], a[1], a[2], a[3], 1);
# 3721| default:
# 3722| qemu_log_mask(LOG_UNIMP, "Unsupported socketcall: %d\n", num);
Error: CLANG_WARNING: [#def1314]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:3941:9: warning[core.NullDereference]: Array access results in a null pointer dereference
# 3939|
# 3940| for(i=0; i<nsems; i++) {
# 3941|-> __put_user((*host_array)[i], &array[i]);
# 3942| }
# 3943| g_free(*host_array);
Error: CLANG_WARNING: [#def1315]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:4096:5: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 4094| }
# 4095|
# 4096|-> ret = -TARGET_ENOSYS;
# 4097| #ifdef __NR_semtimedop
# 4098| ret = get_errno(safe_semtimedop(semid, sops, nsops, pts));
Error: CLANG_WARNING: [#def1316]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:4263:5: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 4261| host_mb->mtype = (abi_long) tswapal(target_mb->mtype);
# 4262| memcpy(host_mb->mtext, target_mb->mtext, msgsz);
# 4263|-> ret = -TARGET_ENOSYS;
# 4264| #ifdef __NR_msgsnd
# 4265| ret = get_errno(safe_msgsnd(msqid, host_mb, msgsz, msgflg));
Error: CLANG_WARNING: [#def1317]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:4319:5: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 4317| goto end;
# 4318| }
# 4319|-> ret = -TARGET_ENOSYS;
# 4320| #ifdef __NR_msgrcv
# 4321| ret = get_errno(safe_msgrcv(msqid, host_mb, msgsz, msgtyp, msgflg));
Error: CLANG_WARNING: [#def1318]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:6616:9: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 6614| }
# 6615|
# 6616|-> ret = pthread_attr_init(&attr);
# 6617| ret = pthread_attr_setstacksize(&attr, NEW_STACK_SIZE);
# 6618| ret = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
Error: CLANG_WARNING: [#def1319]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:6617:9: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 6615|
# 6616| ret = pthread_attr_init(&attr);
# 6617|-> ret = pthread_attr_setstacksize(&attr, NEW_STACK_SIZE);
# 6618| ret = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
# 6619| /* It is not safe to deliver signals until the child has finished
Error: CLANG_WARNING: [#def1320]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:6618:9: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 6616| ret = pthread_attr_init(&attr);
# 6617| ret = pthread_attr_setstacksize(&attr, NEW_STACK_SIZE);
# 6618|-> ret = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
# 6619| /* It is not safe to deliver signals until the child has finished
# 6620| initializing, so temporarily block all signals. */
Error: CLANG_WARNING: [#def1321]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:8278:5: warning[deadcode.DeadStores]: Value stored to 'read' is never read
# 8276| /* read header */
# 8277|
# 8278|-> read = getline(&line, &len, fp);
# 8279| dprintf(fd, "%s", line);
# 8280|
Error: CLANG_WARNING: [#def1322]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:8283:13: warning[deadcode.DeadStores]: Although the value stored to 'read' is used in the enclosing expression, the value is never actually read from 'read'
# 8281| /* read routes */
# 8282|
# 8283|-> while ((read = getline(&line, &len, fp)) != -1) {
# 8284| char iface[16];
# 8285| uint32_t dest, gw, mask;
Error: CLANG_WARNING: [#def1323]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:8655:16: warning[unix.Malloc]: Potential leak of memory pointed to by 'hdirp'
# 8653| hlen = get_errno(hlen);
# 8654| if (is_error(hlen)) {
# 8655|-> return hlen;
# 8656| }
# 8657|
Error: CLANG_WARNING: [#def1324]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:8685:17: warning[unix.Malloc]: Potential leak of memory pointed to by 'hde'
# 8683| * on to the guest.
# 8684| */
# 8685|-> if (toff == 0) {
# 8686| toff = -TARGET_EINVAL; /* result buffer is too small */
# 8687| break;
Error: CLANG_WARNING: [#def1325]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:8736:16: warning[unix.Malloc]: Potential leak of memory pointed to by 'hdirp'
# 8734| hlen = get_errno(sys_getdents64(dirfd, hdirp, count));
# 8735| if (is_error(hlen)) {
# 8736|-> return hlen;
# 8737| }
# 8738|
Error: CLANG_WARNING: [#def1326]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:8761:17: warning[unix.Malloc]: Potential leak of memory pointed to by 'hde'
# 8759| * on to the guest.
# 8760| */
# 8761|-> if (toff == 0) {
# 8762| toff = -TARGET_EINVAL; /* result buffer is too small */
# 8763| break;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1327]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c: scope_hint: In function ‘do_syscall1’
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:9036:23: warning[-Wanalyzer-jump-through-null]: jump through null pointer
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:58:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:58:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘do_syscall1’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘do_syscall1’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:58:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:58:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:58:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘do_syscall1’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘do_syscall1’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:58:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
# 9034| if (ret >= 0 &&
# 9035| fd_trans_host_to_target_data(arg1)) {
# 9036|-> ret = fd_trans_host_to_target_data(arg1)(p, ret);
# 9037| }
# 9038| unlock_user(p, arg2, ret);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1328]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:9050:19: warning[-Wanalyzer-jump-through-null]: jump through null pointer
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:45:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:45:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘do_syscall1’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘do_syscall1’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:45:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:72:49: note: in expansion of macro ‘QML_OBJ_’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:167:37: note: in expansion of macro ‘QEMU_MAKE_LOCKABLE’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:45:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:45:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h: scope_hint: In function ‘do_syscall1’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:116:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h: scope_hint: In function ‘do_syscall1’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/lockable.h:166:5: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/linux-user/fd-trans.h:45:5: note: in expansion of macro ‘QEMU_LOCK_GUARD’
# 9048| void *copy = g_malloc(arg3);
# 9049| memcpy(copy, p, arg3);
# 9050|-> ret = fd_trans_target_to_host_data(arg1)(copy, arg3);
# 9051| if (ret >= 0) {
# 9052| ret = get_errno(safe_write(arg1, copy, ret));
Error: CLANG_WARNING: [#def1329]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:11736:29: warning[unix.Malloc]: Potential leak of memory pointed to by 'grouplist'
#11734| gidsetsize * sizeof(target_id), 0);
#11735| if (!target_grouplist) {
#11736|-> return -TARGET_EFAULT;
#11737| }
#11738| for (i = 0; i < ret; i++) {
Error: CLANG_WARNING: [#def1330]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:11764:29: warning[unix.Malloc]: Potential leak of memory pointed to by 'grouplist'
#11762| gidsetsize * sizeof(target_id), 1);
#11763| if (!target_grouplist) {
#11764|-> return -TARGET_EFAULT;
#11765| }
#11766| for (i = 0; i < gidsetsize; i++) {
Error: CLANG_WARNING: [#def1331]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:12072:29: warning[unix.Malloc]: Potential leak of memory pointed to by 'grouplist'
#12070| gidsetsize * 4, 0);
#12071| if (!target_grouplist) {
#12072|-> return -TARGET_EFAULT;
#12073| }
#12074| for (i = 0; i < ret; i++) {
Error: CLANG_WARNING: [#def1332]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:12101:29: warning[unix.Malloc]: Potential leak of memory pointed to by 'grouplist'
#12099| gidsetsize * 4, 1);
#12100| if (!target_grouplist) {
#12101|-> return -TARGET_EFAULT;
#12102| }
#12103| for (i = 0; i < gidsetsize; i++) {
Error: CLANG_WARNING: [#def1333]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:13179:39: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#13177| int i;
#13178| for (i = 0; i < ret; i++) {
#13179|-> target_ep[i].events = tswap32(ep[i].events);
#13180| target_ep[i].data.u64 = tswap64(ep[i].data.u64);
#13181| }
Error: CLANG_WARNING: [#def1334]
qemu-8.2.2-build/qemu-8.2.2/linux-user/syscall.c:13249:13: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#13247| info._sifields._sigfault._addr = arg6;
#13248| queue_signal(cpu_env, info.si_signo, QEMU_SI_FAULT, &info);
#13249|-> ret = 0xdeadbeef;
#13250|
#13251| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1335]
qemu-8.2.2-build/qemu-8.2.2/linux-user/thunk.c: scope_hint: In function ‘thunk_print’
qemu-8.2.2-build/qemu-8.2.2/linux-user/thunk.c:279:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘type_ptr’
# 277| int type;
# 278|
# 279|-> type = *type_ptr++;
# 280|
# 281| switch (type) {
Error: CLANG_WARNING: [#def1336]
qemu-8.2.2-build/qemu-8.2.2/migration/migration.c:485:13: warning[unix.Malloc]: Potential leak of memory pointed to by 'val'
# 483| } else if (strstart(uri, "rdma:", NULL)) {
# 484| if (inet_parse(isock, uri + strlen("rdma:"), errp)) {
# 485|-> qapi_free_InetSocketAddress(isock);
# 486| return false;
# 487| }
Error: CLANG_WARNING: [#def1337]
qemu-8.2.2-build/qemu-8.2.2/migration/migration.c:496:20: warning[unix.Malloc]: Potential leak of memory pointed to by 'addr'
# 494| SocketAddress *saddr = socket_parse(uri, errp);
# 495| if (!saddr) {
# 496|-> return false;
# 497| }
# 498| addr->u.socket.type = saddr->type;
Error: CLANG_WARNING: [#def1338]
qemu-8.2.2-build/qemu-8.2.2/migration/rdma.c:657:9: warning[core.NullDereference]: Access to field 'pmr' results in a dereference of a null pointer (loaded from variable 'block')
# 655| g_hash_table_remove(rdma->blockmap, (void *)(uintptr_t)block->offset);
# 656| }
# 657|-> if (block->pmr) {
# 658| for (int j = 0; j < block->nb_chunks; j++) {
# 659| if (!block->pmr[j]) {
Error: CLANG_WARNING: [#def1339]
qemu-8.2.2-build/qemu-8.2.2/migration/rdma.c:728:52: warning[core.NullDereference]: Dereference of null pointer
# 726| for (int x = 0; x < local->nb_blocks; x++) {
# 727| g_hash_table_insert(rdma->blockmap,
# 728|-> (void *)(uintptr_t)local->block[x].offset,
# 729| &local->block[x]);
# 730| }
Error: CLANG_WARNING: [#def1340]
qemu-8.2.2-build/qemu-8.2.2/migration/rdma.c:3488:21: warning[unix.Malloc]: Potential leak of memory pointed to by 'isock'
# 3486|
# 3487| err_rdma_dest_wait:
# 3488|-> rdma->errored = true;
# 3489| qemu_rdma_cleanup(rdma);
# 3490| g_free(rdma_return_path);
Error: CLANG_WARNING: [#def1341]
qemu-8.2.2-build/qemu-8.2.2/migration/savevm.c:3320:9: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 3318|
# 3319| if (!yank_register_instance(MIGRATION_YANK_INSTANCE, errp)) {
# 3320|-> ret = -EINVAL;
# 3321| goto err_drain;
# 3322| }
Error: CLANG_WARNING: [#def1342]
qemu-8.2.2-build/qemu-8.2.2/migration/vmstate.c:383:30: warning[core.NullDereference]: Dereference of null pointer
# 381| trace_vmstate_save_state_loop(vmsd->name, field->name, n_elems);
# 382| if (field->flags & VMS_POINTER) {
# 383|-> first_elem = *(void **)first_elem;
# 384| assert(first_elem || !n_elems || !size);
# 385| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1343]
qemu-8.2.2-build/qemu-8.2.2/monitor/hmp-cmds-target.c: scope_hint: In function ‘hmp_gpa2hva’
qemu-8.2.2-build/qemu-8.2.2/monitor/hmp-cmds-target.c:293:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mr’
# 291| }
# 292|
# 293|-> monitor_printf(mon, "Host virtual address for 0x%" HWADDR_PRIx
# 294| " (%s) is %p\n",
# 295| addr, mr->name, ptr);
Error: CLANG_WARNING: [#def1344]
qemu-8.2.2-build/qemu-8.2.2/monitor/hmp-cmds-target.c:295:26: warning[core.NullDereference]: Access to field 'name' results in a dereference of a null pointer (loaded from variable 'mr')
# 293| monitor_printf(mon, "Host virtual address for 0x%" HWADDR_PRIx
# 294| " (%s) is %p\n",
# 295|-> addr, mr->name, ptr);
# 296|
# 297| memory_region_unref(mr);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1345]
qemu-8.2.2-build/qemu-8.2.2/monitor/hmp-cmds-target.c: scope_hint: In function ‘hmp_gpa2hpa’
qemu-8.2.2-build/qemu-8.2.2/monitor/hmp-cmds-target.c:373:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mr’
qemu-8.2.2-build/qemu-8.2.2/monitor/hmp-cmds-target.c:30: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qapi/error.h:335:32: note: in definition of macro ‘error_setg_errno’
# 371| error_report_err(local_err);
# 372| } else {
# 373|-> monitor_printf(mon, "Host physical address for 0x%" HWADDR_PRIx
# 374| " (%s) is 0x%" PRIx64 "\n",
# 375| addr, mr->name, (uint64_t) physaddr);
Error: CLANG_WARNING: [#def1346]
qemu-8.2.2-build/qemu-8.2.2/monitor/hmp-cmds-target.c:375:30: warning[core.NullDereference]: Access to field 'name' results in a dereference of a null pointer (loaded from variable 'mr')
# 373| monitor_printf(mon, "Host physical address for 0x%" HWADDR_PRIx
# 374| " (%s) is 0x%" PRIx64 "\n",
# 375|-> addr, mr->name, (uint64_t) physaddr);
# 376| }
# 377|
Error: CLANG_WARNING: [#def1347]
qemu-8.2.2-build/qemu-8.2.2/nbd/client.c:678:16: warning[deadcode.DeadStores]: Although the value stored to 'p' is used in the enclosing expression, the value is never actually read from 'p'
# 676| if (query) {
# 677| stl_be_p(p += sizeof(queries), query_len);
# 678|-> memcpy(p += sizeof(query_len), query, query_len);
# 679| }
# 680|
Error: CLANG_WARNING: [#def1348]
qemu-8.2.2-build/qemu-8.2.2/nbd/server.c:379:11: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 377| return ret;
# 378| }
# 379|-> len = cpu_to_be32(len);
# 380|
# 381| if (len > NBD_MAX_STRING_SIZE) {
Error: CLANG_WARNING: [#def1349]
qemu-8.2.2-build/qemu-8.2.2/nbd/server.c:389:16: warning[unix.Malloc]: Potential leak of memory pointed to by 'local_name'
# 387| ret = nbd_opt_read(client, local_name, len, true, errp);
# 388| if (ret <= 0) {
# 389|-> return ret;
# 390| }
# 391| local_name[len] = '\0';
Error: CLANG_WARNING: [#def1350]
qemu-8.2.2-build/qemu-8.2.2/nbd/server.c:962:11: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 960| return ret;
# 961| }
# 962|-> len = cpu_to_be32(len);
# 963|
# 964| if (len > NBD_MAX_STRING_SIZE) {
Error: CLANG_WARNING: [#def1351]
qemu-8.2.2-build/qemu-8.2.2/nbd/server.c:972:16: warning[unix.Malloc]: Potential leak of memory pointed to by 'query'
# 970| ret = nbd_opt_read(client, query, len, true, errp);
# 971| if (ret <= 0) {
# 972|-> return ret;
# 973| }
# 974| query[len] = '\0';
Error: CLANG_WARNING: [#def1352]
qemu-8.2.2-build/qemu-8.2.2/nbd/server.c:2379:16: warning[unix.Malloc]: Potential leak of memory pointed to by 'ea'
# 2377| }
# 2378| if (ret < 0) {
# 2379|-> return nbd_co_send_chunk_error(client, request, -ret,
# 2380| "can't get block status", errp);
# 2381| }
Error: CLANG_WARNING: [#def1353]
qemu-8.2.2-build/qemu-8.2.2/nbd/server.c:3019:5: warning[unix.Malloc]: Use of memory after it is freed
# 3017| done:
# 3018| nbd_request_put(req);
# 3019|-> nbd_client_put(client);
# 3020| return;
# 3021|
Error: CLANG_WARNING: [#def1354]
qemu-8.2.2-build/qemu-8.2.2/nbd/server.c:3027:5: warning[unix.Malloc]: Use of memory after it is freed
# 3025| }
# 3026| nbd_request_put(req);
# 3027|-> client_close(client, true);
# 3028| nbd_client_put(client);
# 3029| }
Error: GCC_ANALYZER_WARNING (CWE-787): [#def1355]
qemu-8.2.2-build/qemu-8.2.2/net/af-xdp.c: scope_hint: In function ‘af_xdp_umem_create’
qemu-8.2.2-build/qemu-8.2.2/net/af-xdp.c:328:20: warning[-Wanalyzer-out-of-bounds]: buffer overflow
/usr/include/glib-2.0/glib/glist.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/ghash.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:52: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/net/af-xdp.c:14: included_from: Included from here.
/usr/include/glib-2.0/glib/gmem.h:315:57: note: in expansion of macro ‘_G_NEW’
qemu-8.2.2-build/qemu-8.2.2/net/af-xdp.c:325:15: note: in expansion of macro ‘g_new’
# 326| /* Fill the pool in the opposite order, because it's a LIFO queue. */
# 327| for (i = n_descs; i >= 0; i--) {
# 328|-> s->pool[i] = i * XSK_UMEM__DEFAULT_FRAME_SIZE;
# 329| }
# 330| s->n_pool = n_descs;
Error: CLANG_WARNING: [#def1356]
qemu-8.2.2-build/qemu-8.2.2/net/af-xdp.c:515:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'sock_fds'
# 513| }
# 514|
# 515|-> af_xdp_read_poll(s, true); /* Initially only poll for reads. */
# 516|
# 517| return 0;
Error: GCC_ANALYZER_WARNING (CWE-465): [#def1357]
qemu-8.2.2-build/qemu-8.2.2/net/colo-compare.c: scope_hint: In function ‘colo_compare_tcp’
qemu-8.2.2-build/qemu-8.2.2/net/colo-compare.c:444:12: warning[-Wanalyzer-deref-before-check]: check of ‘ppkt’ for NULL after already dereferencing it
# 442| if (spkt->tcp_seq == spkt->seq_end) {
# 443| packet_destroy(spkt, NULL);
# 444|-> if (!ppkt) {
# 445| goto pri;
# 446| } else {
Error: GCC_ANALYZER_WARNING (CWE-465): [#def1358]
qemu-8.2.2-build/qemu-8.2.2/net/colo-compare.c:453:16: warning[-Wanalyzer-deref-before-check]: check of ‘ppkt’ for NULL after already dereferencing it
qemu-8.2.2-build/qemu-8.2.2/net/colo-compare.c: scope_hint: In function ‘colo_compare_tcp’
qemu-8.2.2-build/qemu-8.2.2/net/colo-compare.c: scope_hint: In function ‘colo_compare_tcp’
# 451| trace_colo_compare_main("sec: this packet has compared");
# 452| packet_destroy(spkt, NULL);
# 453|-> if (!ppkt) {
# 454| goto pri;
# 455| } else {
Error: GCC_ANALYZER_WARNING (CWE-465): [#def1359]
qemu-8.2.2-build/qemu-8.2.2/net/colo-compare.c:459:12: warning[-Wanalyzer-deref-before-check]: check of ‘ppkt’ for NULL after already dereferencing it
# 457| }
# 458| }
# 459|-> if (!ppkt) {
# 460| g_queue_push_tail(&conn->secondary_list, spkt);
# 461| goto pri;
Error: CLANG_WARNING: [#def1360]
qemu-8.2.2-build/qemu-8.2.2/net/dump.c:75:16: warning[unix.Malloc]: Potential leak of memory pointed to by 'dumpiov'
# 73| /* Early return in case of previous error. */
# 74| if (s->fd < 0) {
# 75|-> return size;
# 76| }
# 77|
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1361]
qemu-8.2.2-build/qemu-8.2.2/net/net.c: scope_hint: In function ‘assign_name’
qemu-8.2.2-build/qemu-8.2.2/net/net.c:239:13: warning[-Wanalyzer-null-argument]: use of NULL ‘model’ where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/net/net.c:25: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/net/net.c:266:17: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/net/net.c: scope_hint: In function ‘assign_name’
qemu-8.2.2-build/qemu-8.2.2/include/net/net.h:4: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/net/net.c:27: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/net/net.c:235:5: note: in expansion of macro ‘QTAILQ_FOREACH’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:116: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null
# 237| continue;
# 238| }
# 239|-> if (strcmp(nc->model, model) == 0) {
# 240| id++;
# 241| }
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1362]
qemu-8.2.2-build/qemu-8.2.2/net/net.c: scope_hint: In function ‘qemu_find_nic_model’
qemu-8.2.2-build/qemu-8.2.2/net/net.c:1015:13: warning[-Wanalyzer-null-argument]: use of NULL ‘*nd.model’ where non-null expected
qemu-8.2.2-build/qemu-8.2.2/net/net.c:1012:21: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/net/net.c: scope_hint: In function ‘qemu_find_nic_model’
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
# 1013|
# 1014| for (i = 0 ; models[i]; i++) {
# 1015|-> if (strcmp(nd->model, models[i]) == 0)
# 1016| return i;
# 1017| }
Error: GCC_ANALYZER_WARNING (CWE-835): [#def1363]
qemu-8.2.2-build/qemu-8.2.2/net/net.c: scope_hint: In function ‘net_fill_rstate’
qemu-8.2.2-build/qemu-8.2.2/net/net.c:1873:17: warning[-Wanalyzer-infinite-loop]: infinite loop
# 1871| unsigned int l;
# 1872|
# 1873|-> while (size > 0) {
# 1874| /* Reassemble a packet from the network.
# 1875| * 0 = getting length.
Error: CLANG_WARNING: [#def1364]
qemu-8.2.2-build/qemu-8.2.2/net/queue.c:283:9: warning[unix.Malloc]: Use of memory after it is freed
# 281|
# 282| packet = QTAILQ_FIRST(&queue->packets);
# 283|-> QTAILQ_REMOVE(&queue->packets, packet, entry);
# 284| queue->nq_count--;
# 285|
Error: CLANG_WARNING: [#def1365]
qemu-8.2.2-build/qemu-8.2.2/net/slirp.c:785:17: warning[deadcode.DeadStores]: Value stored to 'fail_reason' during its initialization is never read
# 783| int is_udp;
# 784| char *end;
# 785|-> const char *fail_reason = "Unknown reason";
# 786|
# 787| p = redir_str;
Error: CPPCHECK_WARNING: [#def1366]
qemu-8.2.2-build/qemu-8.2.2/net/tap-linux.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1367]
qemu-8.2.2-build/qemu-8.2.2/net/tap.c:133:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'iovp'
# 131| }
# 132|
# 133|-> return tap_write_packet(s, iovp, iovcnt);
# 134| }
# 135|
Error: CLANG_WARNING: [#def1368]
qemu-8.2.2-build/qemu-8.2.2/net/tap.c:537:18: warning[deadcode.DeadStores]: Although the value stored to 'default_helper' is used in the enclosing expression, the value is never actually read from 'default_helper'
# 535|
# 536| if (!helper) {
# 537|-> helper = default_helper = get_relocated_path(DEFAULT_BRIDGE_HELPER);
# 538| }
# 539|
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1369]
qemu-8.2.2-build/qemu-8.2.2/net/tap.c: scope_hint: In function ‘net_init_tap_one’
qemu-8.2.2-build/qemu-8.2.2/net/tap.c:724:13: warning[-Wanalyzer-null-argument]: use of NULL ‘downscript’ where non-null expected
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/net/tap.c:26: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/net/tap.c: scope_hint: In function ‘net_init_tap_one’
qemu-8.2.2-build/qemu-8.2.2/net/tap.c: scope_hint: In function ‘net_init_tap_one’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:116: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
# 722| script, downscript);
# 723|
# 724|-> if (strcmp(downscript, "no") != 0) {
# 725| snprintf(s->down_script, sizeof(s->down_script), "%s", downscript);
# 726| snprintf(s->down_script_arg, sizeof(s->down_script_arg),
Error: CLANG_WARNING: [#def1370]
qemu-8.2.2-build/qemu-8.2.2/net/tap.c:1005:22: warning[deadcode.DeadStores]: Although the value stored to 'default_script' is used in the enclosing expression, the value is never actually read from 'default_script'
# 1003|
# 1004| if (!script) {
# 1005|-> script = default_script = get_relocated_path(DEFAULT_NETWORK_SCRIPT);
# 1006| }
# 1007| if (!downscript) {
Error: CLANG_WARNING: [#def1371]
qemu-8.2.2-build/qemu-8.2.2/net/tap.c:1008:26: warning[deadcode.DeadStores]: Although the value stored to 'default_downscript' is used in the enclosing expression, the value is never actually read from 'default_downscript'
# 1006| }
# 1007| if (!downscript) {
# 1008|-> downscript = default_downscript =
# 1009| get_relocated_path(DEFAULT_NETWORK_DOWN_SCRIPT);
# 1010| }
Error: CLANG_WARNING: [#def1372]
qemu-8.2.2-build/qemu-8.2.2/net/vhost-vdpa.c:1750:13: warning[unix.Malloc]: Potential leak of memory pointed to by 'config'
# 1748| ret = ioctl(fd, VHOST_VDPA_GET_CONFIG, config);
# 1749| if (ret) {
# 1750|-> error_setg(errp, "Fail to get config from vhost-vDPA device");
# 1751| return -ret;
# 1752| }
Error: CPPCHECK_WARNING (CWE-457): [#def1373]
qemu-8.2.2-build/qemu-8.2.2/pc-bios/optionrom/optrom.h:58: error[uninitvar]: Uninitialized variable: value
# 56|
# 57| asm volatile("inb %w1, %0" : "=a"(value) : "Nd"(port));
# 58|-> return value;
# 59| }
# 60|
Error: CPPCHECK_WARNING (CWE-457): [#def1374]
qemu-8.2.2-build/qemu-8.2.2/pc-bios/optionrom/optrom.h:66: error[uninitvar]: Uninitialized variable: value
# 64|
# 65| asm volatile("inw %w1, %0" : "=a"(value) : "Nd"(port));
# 66|-> return value;
# 67| }
# 68|
Error: CPPCHECK_WARNING (CWE-457): [#def1375]
qemu-8.2.2-build/qemu-8.2.2/pc-bios/optionrom/optrom.h:74: error[uninitvar]: Uninitialized variable: value
# 72|
# 73| asm volatile("inl %w1, %0" : "=a"(value) : "Nd"(port));
# 74|-> return value;
# 75| }
# 76|
Error: CPPCHECK_WARNING: [#def1376]
qemu-8.2.2-build/qemu-8.2.2/qapi/qobject-input-visitor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1377]
qemu-8.2.2-build/qemu-8.2.2/qemu-bridge-helper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1378]
qemu-8.2.2-build/qemu-8.2.2/qemu-img.c:5164:15: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
# 5162| arg = g_strdup(argv[i]);
# 5163|
# 5164|-> tmp = strchr(arg, '=');
# 5165| if (tmp == NULL) {
# 5166| error_report("unrecognized operand %s", arg);
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1379]
qemu-8.2.2-build/qemu-8.2.2/qemu-img.c: scope_hint: In function ‘img_dd’
qemu-8.2.2-build/qemu-8.2.2/qemu-img.c:5164:15: warning[-Wanalyzer-null-argument]: use of NULL ‘out.filename’ where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qemu-img.c:25: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/qemu-img.c:5162:15: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/qemu-img.c: scope_hint: In function ‘img_dd’
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
# 5162| arg = g_strdup(argv[i]);
# 5163|
# 5164|-> tmp = strchr(arg, '=');
# 5165| if (tmp == NULL) {
# 5166| error_report("unrecognized operand %s", arg);
Error: CLANG_WARNING: [#def1380]
qemu-8.2.2-build/qemu-8.2.2/qemu-io-cmds.c:1907:10: warning[deadcode.DeadStores]: Although the value stored to 'c' is used in the enclosing expression, the value is never actually read from 'c'
# 1905| }
# 1906|
# 1907|-> if ((c = getopt(argc, argv, "p")) != -1) {
# 1908| pflag = true;
# 1909| }
Error: CPPCHECK_WARNING: [#def1381]
qemu-8.2.2-build/qemu-8.2.2/qemu-keymap.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1382]
qemu-8.2.2-build/qemu-8.2.2/qemu-nbd.c: scope_hint: In function ‘nbd_client_release_pipe’
qemu-8.2.2-build/qemu-8.2.2/qemu-nbd.c:270:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(old_stderr, 2)’
# 268| {
# 269| /* Close stderr so that the qemu-nbd process exits. */
# 270|-> if (dup2(old_stderr, STDERR_FILENO) < 0) {
# 271| error_report("Could not release pipe to parent: %s",
# 272| strerror(errno));
Error: CLANG_WARNING: [#def1383]
qemu-8.2.2-build/qemu-8.2.2/qemu-nbd.c:989:17: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 987| * manually.
# 988| */
# 989|-> ret = write(stderr_fd[1], str, strlen(str));
# 990| exit(EXIT_FAILURE);
# 991| }
Error: CPPCHECK_WARNING: [#def1384]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qapi/qapi-visit-acpi.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1385]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qapi/qapi-visit-audio.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1386]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qapi/qapi-visit-block-core.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1387]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qapi/qapi-visit-block-export.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1388]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qapi/qapi-visit-crypto.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1389]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qapi/qapi-visit-cxl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1390]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qapi/qapi-visit-job.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1391]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qapi/qapi-visit-machine-target.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1392]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qapi/qapi-visit-machine.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1393]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qapi/qapi-visit-migration.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1394]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qapi/qapi-visit-net.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1395]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qapi/qapi-visit-pci.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1396]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qapi/qapi-visit-qom.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1397]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qapi/qapi-visit-rocker.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1398]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qapi/qapi-visit-run-state.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1399]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qapi/qapi-visit-sockets.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1400]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qapi/qapi-visit-ui.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1401]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qapi/qapi-visit-virtio.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1402]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/qga/qga-qapi-visit.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1403]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/target/hexagon/idef-parser.p/idef-parser.tab.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1404]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/target/hexagon/idef-parser.p/idef-parser.tab.c: scope_hint: In function ‘yyparse’
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/target/hexagon/idef-parser.p/idef-parser.tab.c:541:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/target/hexagon/idef-parser.p/idef-parser.tab.c:526:9: note: in expansion of macro ‘YYCOPY’
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/target/hexagon/idef-parser.p/idef-parser.tab.c:2318:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/idef-parser/parser-helpers.h:21: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/idef-parser/idef-parser.y:15: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/target/hexagon/idef-parser.p/idef-parser.tab.c:541:25: note: in definition of macro ‘YYCOPY’
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/target/hexagon/idef-parser.p/idef-parser.tab.c:2318:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/target/hexagon/idef-parser.p/idef-parser.tab.c:526:9: note: in expansion of macro ‘YYCOPY’
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/target/hexagon/idef-parser.p/idef-parser.tab.c:2318:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
# 539| # if defined __GNUC__ && 1 < __GNUC__
# 540| # define YYCOPY(Dst, Src, Count) \
# 541|-> __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
# 542| # else
# 543| # define YYCOPY(Dst, Src, Count) \
Error: CPPCHECK_WARNING: [#def1405]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/target/hexagon/idef-parser.p/idef-parser.yy.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1406]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/target/hexagon/idef-parser.p/idef-parser.yy.c: scope_hint: In function ‘yy_create_buffer’
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/target/hexagon/idef-parser.p/idef-parser.yy.c:2668:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/target/hexagon/idef-parser.p/idef-parser.yy.c: scope_hint: In function ‘yy_create_buffer’
# 2666| * we need to put in 2 end-of-buffer characters.
# 2667| */
# 2668|-> b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner );
# 2669| if ( ! b->yy_ch_buf )
# 2670| YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1407]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/target/hexagon/idef-parser.p/idef-parser.yy.c: scope_hint: In function ‘yy_init_buffer’
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/target/hexagon/idef-parser.p/idef-parser.yy.c:2710:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
# 2708|
# 2709| yy_flush_buffer( b , yyscanner);
# 2710|->
# 2711| b->yy_input_file = file;
# 2712| b->yy_fill_buffer = 1;
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1408]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/target/hexagon/idef-parser.p/idef-parser.yy.c: scope_hint: In function ‘yy_scan_buffer’
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/target/hexagon/idef-parser.p/idef-parser.yy.c:2928:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/target/hexagon/idef-parser.p/idef-parser.yy.c: scope_hint: In function ‘yy_scan_buffer’
# 2926| for ( i = 0; i < _yybytes_len; ++i )
# 2927| buf[i] = yybytes[i];
# 2928|->
# 2929| buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
# 2930|
Error: CPPCHECK_WARNING: [#def1409]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/tests/test-qapi-visit.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1410]
qemu-8.2.2-build/qemu-8.2.2/qemu_kvm_build/ui/dbus-display1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1411]
qemu-8.2.2-build/qemu-8.2.2/qga/commands-posix-ssh.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1412]
qemu-8.2.2-build/qemu-8.2.2/qga/commands.c: scope_hint: In function ‘guest_exec_task_setup’
qemu-8.2.2-build/qemu-8.2.2/qga/commands.c:286:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(1, 2)’
# 284| * inside the parent, not the child.
# 285| */
# 286|-> if (dup2(STDOUT_FILENO, STDERR_FILENO) != 0) {
# 287| slog("dup2() failed to merge stderr into stdout: %s",
# 288| strerror(errno));
Error: CPPCHECK_WARNING: [#def1413]
qemu-8.2.2-build/qemu-8.2.2/qobject/block-qdict.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1414]
qemu-8.2.2-build/qemu-8.2.2/qobject/block-qdict.c: scope_hint: In function ‘qdict_split_flat_key’
qemu-8.2.2-build/qemu-8.2.2/qobject/block-qdict.c:312:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prefix’
qemu-8.2.2-build/qemu-8.2.2/qobject/block-qdict.c: scope_hint: In function ‘qdict_split_flat_key’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qdict.h:16: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/block/qdict.h:13: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/block-qdict.c:11: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/block-qdict.c:570:32: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h: scope_hint: In function ‘qdict_split_flat_key’
qemu-8.2.2-build/qemu-8.2.2/qobject/block-qdict.c:570:32: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h:71:33: note: in definition of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/qobject/block-qdict.c:482:20: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h: scope_hint: In function ‘qdict_split_flat_key’
qemu-8.2.2-build/qemu-8.2.2/qobject/block-qdict.c:482:20: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h:71:33: note: in definition of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/qobject/block-qdict.c:482:20: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h: scope_hint: In function ‘qdict_split_flat_key’
qemu-8.2.2-build/qemu-8.2.2/qobject/block-qdict.c:482:20: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h:71:33: note: in definition of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h:71:33: note: in definition of macro ‘qobject_to’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/block-qdict.c:307:19: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/qobject/block-qdict.c: scope_hint: In function ‘qdict_split_flat_key’
# 310|
# 311| /* Unescape the '..' sequence into '.' */
# 312|-> for (i = 0, j = 0; (*prefix)[i] != '\0'; i++, j++) {
# 313| if ((*prefix)[i] == '.') {
# 314| assert((*prefix)[i + 1] == '.');
Error: CPPCHECK_WARNING: [#def1415]
qemu-8.2.2-build/qemu-8.2.2/qobject/json-parser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1416]
qemu-8.2.2-build/qemu-8.2.2/qobject/json-parser.c:384:13: warning[unix.Malloc]: Use of memory after it is freed
# 382| obj = parse_value(ctxt);
# 383| if (obj == NULL) {
# 384|-> parse_error(ctxt, token, "expecting value");
# 385| goto out;
# 386| }
Error: CLANG_WARNING: [#def1417]
qemu-8.2.2-build/qemu-8.2.2/qobject/json-parser.c:404:17: warning[unix.Malloc]: Use of memory after it is freed
# 402| obj = parse_value(ctxt);
# 403| if (obj == NULL) {
# 404|-> parse_error(ctxt, token, "expecting value");
# 405| goto out;
# 406| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1418]
qemu-8.2.2-build/qemu-8.2.2/qobject/qbool.c: scope_hint: In function ‘qbool_from_bool’
qemu-8.2.2-build/qemu-8.2.2/qobject/qbool.c:29:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘g_malloc(24)’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qbool.h:17: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/qbool.c:15: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h:57:22: note: in expansion of macro ‘QOBJECT_INTERNAL’
qemu-8.2.2-build/qemu-8.2.2/qobject/qbool.c:28:18: note: in expansion of macro ‘QOBJECT’
qemu-8.2.2-build/qemu-8.2.2/qobject/qbool.c: scope_hint: In function ‘qbool_from_bool’
# 27| qb = g_malloc(sizeof(*qb));
# 28| qobject_init(QOBJECT(qb), QTYPE_QBOOL);
# 29|-> qb->value = value;
# 30|
# 31| return qb;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1419]
qemu-8.2.2-build/qemu-8.2.2/qobject/qbool.c: scope_hint: In function ‘qbool_is_equal’
qemu-8.2.2-build/qemu-8.2.2/qobject/qbool.c:47:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 45| bool qbool_is_equal(const QObject *x, const QObject *y)
# 46| {
# 47|-> return qobject_to(QBool, x)->value == qobject_to(QBool, y)->value;
# 48| }
# 49|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1420]
qemu-8.2.2-build/qemu-8.2.2/qobject/qbool.c:47:63: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/qobject/qbool.c:47:12: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h: scope_hint: In function ‘qbool_is_equal’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/qbool.c:14: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/qbool.c:47:12: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/qobject/qbool.c: scope_hint: In function ‘qbool_is_equal’
# 45| bool qbool_is_equal(const QObject *x, const QObject *y)
# 46| {
# 47|-> return qobject_to(QBool, x)->value == qobject_to(QBool, y)->value;
# 48| }
# 49|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1421]
qemu-8.2.2-build/qemu-8.2.2/qobject/qdict.c: scope_hint: In function ‘qdict_put_obj’
qemu-8.2.2-build/qemu-8.2.2/qobject/qdict.c:130:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘qdict’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qnum.h:18: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/qdict.c:14: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h:57:22: note: in expansion of macro ‘QOBJECT_INTERNAL’
qemu-8.2.2-build/qemu-8.2.2/qobject/qdict.c:31:18: note: in expansion of macro ‘QOBJECT’
qemu-8.2.2-build/qemu-8.2.2/qobject/qdict.c: scope_hint: In function ‘qdict_put_obj’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qdict.h:17: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/qdict.c:15: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/qdict.c:354:9: note: in expansion of macro ‘QLIST_FOREACH’
qemu-8.2.2-build/qemu-8.2.2/qobject/qdict.c:354:9: note: in expansion of macro ‘QLIST_FOREACH’
qemu-8.2.2-build/qemu-8.2.2/qobject/qdict.c:355:45: note: in expansion of macro ‘qobject_ref’
qemu-8.2.2-build/qemu-8.2.2/qobject/qdict.c:96:5: note: in expansion of macro ‘QLIST_FOREACH’
# 128| entry = alloc_entry(key, value);
# 129| QLIST_INSERT_HEAD(&qdict->table[bucket], entry, next);
# 130|-> qdict->size++;
# 131| }
# 132| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1422]
qemu-8.2.2-build/qemu-8.2.2/qobject/qdict.c:184:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/qobject/qdict.c: scope_hint: In function ‘qdict_is_equal’
qemu-8.2.2-build/qemu-8.2.2/qobject/qdict.c:402:27: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h: scope_hint: In function ‘qdict_is_equal’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/qdict.c:13: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/qdict.c:402:27: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/qobject/qdict.c: scope_hint: In function ‘qdict_is_equal’
qemu-8.2.2-build/qemu-8.2.2/qobject/qdict.c:403:27: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/qobject/qdict.c: scope_hint: In function ‘qdict_is_equal’
# 182| size_t qdict_size(const QDict *qdict)
# 183| {
# 184|-> return qdict->size;
# 185| }
# 186|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1423]
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c: scope_hint: In function ‘to_json’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c:161:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c: scope_hint: In function ‘to_json’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qbool.h:17: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c:19: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c:183:22: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h: scope_hint: In function ‘to_json’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c:183:22: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c: scope_hint: In function ‘to_json’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c:183:22: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h: scope_hint: In function ‘to_json’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c:183:22: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c: scope_hint: In function ‘to_json’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c:198:22: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h: scope_hint: In function ‘to_json’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c:198:22: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c:21: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c:203:9: note: in expansion of macro ‘QLIST_FOREACH_ENTRY’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c: scope_hint: In function ‘to_json’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c: scope_hint: In function ‘to_json’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c:198:22: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h: scope_hint: In function ‘to_json’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c:198:22: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c:203:9: note: in expansion of macro ‘QLIST_FOREACH_ENTRY’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c: scope_hint: In function ‘to_json’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c: scope_hint: In function ‘to_json’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c:203:9: note: in expansion of macro ‘QLIST_FOREACH_ENTRY’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c: scope_hint: In function ‘to_json’
qemu-8.2.2-build/qemu-8.2.2/qobject/qjson.c: scope_hint: In function ‘to_json’
# 159| QNum *val = qobject_to(QNum, obj);
# 160|
# 161|-> switch (val->kind) {
# 162| case QNUM_I64:
# 163| json_writer_int64(writer, name, val->u.i64);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1424]
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c: scope_hint: In function ‘qnum_from_int’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:29:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘g_malloc(32)’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qnum.h:18: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:16: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h:57:22: note: in expansion of macro ‘QOBJECT_INTERNAL’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:28:18: note: in expansion of macro ‘QOBJECT’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c: scope_hint: In function ‘qnum_from_int’
# 27|
# 28| qobject_init(QOBJECT(qn), QTYPE_QNUM);
# 29|-> qn->kind = QNUM_I64;
# 30| qn->u.i64 = value;
# 31|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1425]
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c: scope_hint: In function ‘qnum_from_uint’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:45:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘g_malloc(32)’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h:57:22: note: in expansion of macro ‘QOBJECT_INTERNAL’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:44:18: note: in expansion of macro ‘QOBJECT’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c: scope_hint: In function ‘qnum_from_uint’
# 43|
# 44| qobject_init(QOBJECT(qn), QTYPE_QNUM);
# 45|-> qn->kind = QNUM_U64;
# 46| qn->u.u64 = value;
# 47|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1426]
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c: scope_hint: In function ‘qnum_from_double’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:61:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘g_malloc(32)’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h:57:22: note: in expansion of macro ‘QOBJECT_INTERNAL’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:60:18: note: in expansion of macro ‘QOBJECT’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c: scope_hint: In function ‘qnum_from_double’
# 59|
# 60| qobject_init(QOBJECT(qn), QTYPE_QNUM);
# 61|-> qn->kind = QNUM_DOUBLE;
# 62| qn->u.dbl = value;
# 63|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1427]
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c: scope_hint: In function ‘qnum_is_equal’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:193:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 191| QNum *num_y = qobject_to(QNum, y);
# 192|
# 193|-> switch (num_x->kind) {
# 194| case QNUM_I64:
# 195| switch (num_y->kind) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1428]
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:195:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:190:19: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h: scope_hint: In function ‘qnum_is_equal’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:15: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:190:19: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c: scope_hint: In function ‘qnum_is_equal’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:191:19: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c: scope_hint: In function ‘qnum_is_equal’
# 193| switch (num_x->kind) {
# 194| case QNUM_I64:
# 195|-> switch (num_y->kind) {
# 196| case QNUM_I64:
# 197| /* Comparison in native int64_t type */
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1429]
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:208:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:190:19: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h: scope_hint: In function ‘qnum_is_equal’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:190:19: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c: scope_hint: In function ‘qnum_is_equal’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:191:19: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c: scope_hint: In function ‘qnum_is_equal’
# 206| abort();
# 207| case QNUM_U64:
# 208|-> switch (num_y->kind) {
# 209| case QNUM_I64:
# 210| return qnum_is_equal(y, x);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1430]
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:219:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:190:19: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h: scope_hint: In function ‘qnum_is_equal’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:190:19: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c: scope_hint: In function ‘qnum_is_equal’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:191:19: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c: scope_hint: In function ‘qnum_is_equal’
# 217| abort();
# 218| case QNUM_DOUBLE:
# 219|-> switch (num_y->kind) {
# 220| case QNUM_I64:
# 221| case QNUM_U64:
Error: CLANG_WARNING: [#def1431]
qemu-8.2.2-build/qemu-8.2.2/qobject/qnum.c:17: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/qobject-internal.h:18:22: warning[core.NullDereference]: Dereference of null pointer
# 16| {
# 17| assert(QTYPE_NONE < type && type < QTYPE__MAX);
# 18|-> obj->base.refcnt = 1;
# 19| obj->base.type = type;
# 20| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1432]
qemu-8.2.2-build/qemu-8.2.2/qobject/qstring.c: scope_hint: In function ‘qstring_from_substr’
qemu-8.2.2-build/qemu-8.2.2/qobject/qstring.c:39:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘g_malloc(24)’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/qstring.c:13: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qstring.h:16: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/qstring.c:14: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h:57:22: note: in expansion of macro ‘QOBJECT_INTERNAL’
qemu-8.2.2-build/qemu-8.2.2/qobject/qstring.c:38:18: note: in expansion of macro ‘QOBJECT’
qemu-8.2.2-build/qemu-8.2.2/qobject/qstring.c: scope_hint: In function ‘qstring_from_substr’
# 37| qstring = g_malloc(sizeof(*qstring));
# 38| qobject_init(QOBJECT(qstring), QTYPE_QSTRING);
# 39|-> qstring->string = g_strndup(str + start, end - start);
# 40| return qstring;
# 41| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1433]
qemu-8.2.2-build/qemu-8.2.2/qobject/qstring.c: scope_hint: In function ‘qstring_from_gstring’
qemu-8.2.2-build/qemu-8.2.2/qobject/qstring.c:65:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘g_malloc(24)’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h:57:22: note: in expansion of macro ‘QOBJECT_INTERNAL’
qemu-8.2.2-build/qemu-8.2.2/qobject/qstring.c:64:18: note: in expansion of macro ‘QOBJECT’
qemu-8.2.2-build/qemu-8.2.2/qobject/qstring.c: scope_hint: In function ‘qstring_from_gstring’
# 63| qstring = g_malloc(sizeof(*qstring));
# 64| qobject_init(QOBJECT(qstring), QTYPE_QSTRING);
# 65|-> qstring->string = g_string_free(gstr, false);
# 66| return qstring;
# 67| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1434]
qemu-8.2.2-build/qemu-8.2.2/qobject/qstring.c: scope_hint: In function ‘qstring_is_equal’
qemu-8.2.2-build/qemu-8.2.2/qobject/qstring.c:86:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 84| bool qstring_is_equal(const QObject *x, const QObject *y)
# 85| {
# 86|-> return !strcmp(qobject_to(QString, x)->string,
# 87| qobject_to(QString, y)->string);
# 88| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1435]
qemu-8.2.2-build/qemu-8.2.2/qobject/qstring.c: scope_hint: In function ‘qstring_destroy_obj’
qemu-8.2.2-build/qemu-8.2.2/qobject/qstring.c:100:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/qobject/qstring.c:99:10: note: in expansion of macro ‘qobject_to’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qobject.h: scope_hint: In function ‘qstring_destroy_obj’
qemu-8.2.2-build/qemu-8.2.2/qobject/qstring.c:99:10: note: in expansion of macro ‘qobject_to’
/usr/include/rpc/netdb.h:42: included_from: Included from here.
/usr/include/netdb.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/sysemu/os-posix.h:34: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:168: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/qobject/qstring.c: scope_hint: In function ‘qstring_destroy_obj’
# 98| assert(obj != NULL);
# 99| qs = qobject_to(QString, obj);
# 100|-> g_free((char *)qs->string);
# 101| g_free(qs);
# 102| }
Error: CPPCHECK_WARNING: [#def1436]
qemu-8.2.2-build/qemu-8.2.2/qom/object_interfaces.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1437]
qemu-8.2.2-build/qemu-8.2.2/scsi/qemu-pr-helper.c:442:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'paramp'
# 440| * we have read the data, send an error without closing the socket.
# 441| */
# 442|-> scsi_build_sense(sense, SENSE_CODE(INVALID_PARAM_LEN));
# 443| return CHECK_CONDITION;
# 444| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1438]
qemu-8.2.2-build/qemu-8.2.2/scsi/qemu-pr-helper.c: scope_hint: In function ‘main’
qemu-8.2.2-build/qemu-8.2.2/scsi/qemu-pr-helper.c:920:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/scsi/qemu-pr-helper.c:21: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/scsi/qemu-pr-helper.c:918:27: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/scsi/qemu-pr-helper.c: scope_hint: In function ‘main’
# 918| socket_path = g_strdup(optarg);
# 919| socket_path_specified = true;
# 920|-> if (socket_path[0] != '/') {
# 921| error_report("socket path must be absolute");
# 922| exit(EXIT_FAILURE);
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1439]
qemu-8.2.2-build/qemu-8.2.2/semihosting/syscalls.c: scope_hint: In function ‘host_stat’
qemu-8.2.2-build/qemu-8.2.2/semihosting/syscalls.c:425:11: warning[-Wanalyzer-null-argument]: use of NULL ‘name’ where non-null expected
/usr/include/features.h:511: included_from: Included from here.
/usr/include/bits/libc-header-start.h:33: included_from: Included from here.
/usr/include/stdint.h:26: included_from: Included from here.
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdint.h:9: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:111: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/semihosting/syscalls.c:9: included_from: Included from here.
/usr/include/sys/stat.h:227:12: note: argument 1 of ‘stat’ must be non-null
# 423| }
# 424|
# 425|-> ret = stat(name, &buf);
# 426| if (ret) {
# 427| err = errno;
Error: CPPCHECK_WARNING: [#def1440]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/qapi/qapi-visit-block-core.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1441]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/qapi/qapi-visit-block-export.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1442]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/qapi/qapi-visit-crypto.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1443]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/qapi/qapi-visit-cxl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1444]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/qapi/qapi-visit-job.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1445]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/qapi/qapi-visit-machine.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1446]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/qapi/qapi-visit-migration.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1447]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/qapi/qapi-visit-net.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1448]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/qapi/qapi-visit-qom.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1449]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/qapi/qapi-visit-run-state.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1450]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/qapi/qapi-visit-sockets.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1451]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/qapi/qapi-visit-virtio.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1452]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/target/hexagon/idef-parser.p/idef-parser.tab.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1453]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/target/hexagon/idef-parser.p/idef-parser.tab.c: scope_hint: In function ‘yyparse’
qemu-8.2.2-build/qemu-8.2.2/static_builddir/target/hexagon/idef-parser.p/idef-parser.tab.c:541:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
qemu-8.2.2-build/qemu-8.2.2/static_builddir/target/hexagon/idef-parser.p/idef-parser.tab.c:526:9: note: in expansion of macro ‘YYCOPY’
qemu-8.2.2-build/qemu-8.2.2/static_builddir/target/hexagon/idef-parser.p/idef-parser.tab.c:2318:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/idef-parser/parser-helpers.h:21: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/idef-parser/idef-parser.y:15: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/static_builddir/target/hexagon/idef-parser.p/idef-parser.tab.c:541:25: note: in definition of macro ‘YYCOPY’
qemu-8.2.2-build/qemu-8.2.2/static_builddir/target/hexagon/idef-parser.p/idef-parser.tab.c:2318:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
qemu-8.2.2-build/qemu-8.2.2/static_builddir/target/hexagon/idef-parser.p/idef-parser.tab.c:526:9: note: in expansion of macro ‘YYCOPY’
qemu-8.2.2-build/qemu-8.2.2/static_builddir/target/hexagon/idef-parser.p/idef-parser.tab.c:2318:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
# 539| # if defined __GNUC__ && 1 < __GNUC__
# 540| # define YYCOPY(Dst, Src, Count) \
# 541|-> __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
# 542| # else
# 543| # define YYCOPY(Dst, Src, Count) \
Error: CPPCHECK_WARNING: [#def1454]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/target/hexagon/idef-parser.p/idef-parser.yy.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1455]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/target/hexagon/idef-parser.p/idef-parser.yy.c: scope_hint: In function ‘yy_create_buffer’
qemu-8.2.2-build/qemu-8.2.2/static_builddir/target/hexagon/idef-parser.p/idef-parser.yy.c:2668:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
qemu-8.2.2-build/qemu-8.2.2/static_builddir/target/hexagon/idef-parser.p/idef-parser.yy.c: scope_hint: In function ‘yy_create_buffer’
# 2666| * we need to put in 2 end-of-buffer characters.
# 2667| */
# 2668|-> b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner );
# 2669| if ( ! b->yy_ch_buf )
# 2670| YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1456]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/target/hexagon/idef-parser.p/idef-parser.yy.c: scope_hint: In function ‘yy_init_buffer’
qemu-8.2.2-build/qemu-8.2.2/static_builddir/target/hexagon/idef-parser.p/idef-parser.yy.c:2710:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
# 2708|
# 2709| yy_flush_buffer( b , yyscanner);
# 2710|->
# 2711| b->yy_input_file = file;
# 2712| b->yy_fill_buffer = 1;
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1457]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/target/hexagon/idef-parser.p/idef-parser.yy.c: scope_hint: In function ‘yy_scan_buffer’
qemu-8.2.2-build/qemu-8.2.2/static_builddir/target/hexagon/idef-parser.p/idef-parser.yy.c:2928:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
qemu-8.2.2-build/qemu-8.2.2/static_builddir/target/hexagon/idef-parser.p/idef-parser.yy.c: scope_hint: In function ‘yy_scan_buffer’
# 2926| for ( i = 0; i < _yybytes_len; ++i )
# 2927| buf[i] = yybytes[i];
# 2928|->
# 2929| buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
# 2930|
Error: CPPCHECK_WARNING: [#def1458]
qemu-8.2.2-build/qemu-8.2.2/static_builddir/tests/test-qapi-visit.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1459]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-softfloat-3/source/extF80_div.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1460]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-softfloat-3/source/extF80_roundToInt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1461]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-softfloat-3/source/extF80_sqrt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1462]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-softfloat-3/source/f128_div.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1463]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-softfloat-3/source/f128_roundToInt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1464]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-softfloat-3/source/f128_sqrt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1465]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-softfloat-3/source/f16_rem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1466]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-softfloat-3/source/f16_sqrt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1467]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-softfloat-3/source/f32_rem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1468]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-softfloat-3/source/f64_rem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-909): [#def1469]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-softfloat-3/source/s_mulAddF64.c:163: error[uninitStructMember]: Uninitialized struct member: sig128C.v0
# 161| sig128Z =
# 162| softfloat_add128(
# 163|-> sig128Z.v64, sig128Z.v0, sig128C.v64, sig128C.v0 );
# 164| sigZ = sig128Z.v64 | (sig128Z.v0 != 0);
# 165| }
Error: CPPCHECK_WARNING (CWE-909): [#def1470]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-softfloat-3/source/s_mulAddF64.c:163: error[uninitStructMember]: Uninitialized struct member: sig128C.v64
# 161| sig128Z =
# 162| softfloat_add128(
# 163|-> sig128Z.v64, sig128Z.v0, sig128C.v64, sig128C.v0 );
# 164| sigZ = sig128Z.v64 | (sig128Z.v0 != 0);
# 165| }
Error: CPPCHECK_WARNING: [#def1471]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-softfloat-3/source/s_roundPackToF128.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1472]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/readHex.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1473]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1474]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c: scope_hint: In function ‘floatXToF16’
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c:742:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘uiZ’
# 740| uiZ |= x.sig.v64>>45 & 0x03FF;
# 741| uiZ:
# 742|-> uZ.ui = uiZ;
# 743| return uZ.f;
# 744|
Error: COMPILER_WARNING (CWE-457): [#def1475]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c: scope_hint: In function ‘floatXToF16’
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c:742:11: warning[-Wmaybe-uninitialized]: ‘uiZ’ may be used uninitialized
# 742 | uZ.ui = uiZ;
# | ~~~~~~^~~~~
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c:657:19: note: ‘uiZ’ was declared here
# 657 | uint_fast16_t uiZ;
# | ^~~
# 740| uiZ |= x.sig.v64>>45 & 0x03FF;
# 741| uiZ:
# 742|-> uZ.ui = uiZ;
# 743| return uZ.f;
# 744|
Error: CLANG_WARNING: [#def1476]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c:742:11: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 740| uiZ |= x.sig.v64>>45 & 0x03FF;
# 741| uiZ:
# 742|-> uZ.ui = uiZ;
# 743| return uZ.f;
# 744|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1477]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c: scope_hint: In function ‘floatXToF32’
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c:878:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘uiZ’
# 876| uiZ |= x.sig.v64>>32 & 0x007FFFFF;
# 877| uiZ:
# 878|-> uZ.ui = uiZ;
# 879| return uZ.f;
# 880|
Error: COMPILER_WARNING (CWE-457): [#def1478]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c: scope_hint: In function ‘floatXToF32’
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c:878:11: warning[-Wmaybe-uninitialized]: ‘uiZ’ may be used uninitialized
# 878 | uZ.ui = uiZ;
# | ~~~~~~^~~~~
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c:793:19: note: ‘uiZ’ was declared here
# 793 | uint_fast32_t uiZ;
# | ^~~
# 876| uiZ |= x.sig.v64>>32 & 0x007FFFFF;
# 877| uiZ:
# 878|-> uZ.ui = uiZ;
# 879| return uZ.f;
# 880|
Error: CLANG_WARNING: [#def1479]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c:878:11: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 876| uiZ |= x.sig.v64>>32 & 0x007FFFFF;
# 877| uiZ:
# 878|-> uZ.ui = uiZ;
# 879| return uZ.f;
# 880|
Error: CLANG_WARNING: [#def1480]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c:1015:11: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1013| uiZ |= x.sig.v64>>3 & UINT64_C( 0x000FFFFFFFFFFFFF );
# 1014| uiZ:
# 1015|-> uZ.ui = uiZ;
# 1016| return uZ.f;
# 1017|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1481]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c: scope_hint: In function ‘floatXToF64’
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c:1016:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘uiZ’
# 1014| uiZ:
# 1015| uZ.ui = uiZ;
# 1016|-> return uZ.f;
# 1017|
# 1018| }
Error: COMPILER_WARNING (CWE-457): [#def1482]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c: scope_hint: In function ‘floatXToF64’
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c:1016:14: warning[-Wmaybe-uninitialized]: ‘uiZ’ may be used uninitialized
# 1016 | return uZ.f;
# | ~~^~
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c:928:19: note: ‘uiZ’ was declared here
# 928 | uint_fast64_t uiZ;
# | ^~~
# 1014| uiZ:
# 1015| uZ.ui = uiZ;
# 1016|-> return uZ.f;
# 1017|
# 1018| }
Error: COMPILER_WARNING (CWE-457): [#def1483]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c:1661:39: warning[-Wmaybe-uninitialized]: ‘x.exp’ may be used uninitialized
# 1661 | return ( xPtr->exp == yPtr->exp ) && eq128( xPtr->sig, yPtr->sig );
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c: scope_hint: In function ‘slow_f16_eq’
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c:2495:19: note: ‘x.exp’ was declared here
# 2495 | struct floatX x, y;
# | ^
# 1659| if ( xPtr->sign != yPtr->sign ) return false;
# 1660| if ( xPtr->isInf || yPtr->isInf ) return xPtr->isInf && yPtr->isInf;
# 1661|-> return ( xPtr->exp == yPtr->exp ) && eq128( xPtr->sig, yPtr->sig );
# 1662|
# 1663| }
Error: COMPILER_WARNING (CWE-457): [#def1484]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c:1661:39: warning[-Wmaybe-uninitialized]: ‘y.exp’ may be used uninitialized
# 1661 | return ( xPtr->exp == yPtr->exp ) && eq128( xPtr->sig, yPtr->sig );
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c: scope_hint: In function ‘slow_f16_eq’
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/slowfloat.c:2495:22: note: ‘y.exp’ was declared here
# 2495 | struct floatX x, y;
# | ^
# 1659| if ( xPtr->sign != yPtr->sign ) return false;
# 1660| if ( xPtr->isInf || yPtr->isInf ) return xPtr->isInf && yPtr->isInf;
# 1661|-> return ( xPtr->exp == yPtr->exp ) && eq128( xPtr->sig, yPtr->sig );
# 1662|
# 1663| }
Error: CPPCHECK_WARNING: [#def1485]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_extF80_z_f128.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1486]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_extF80_z_f16.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1487]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_extF80_z_f32.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1488]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_extF80_z_f64.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1489]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_f128_z_extF80.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1490]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_f128_z_f16.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1491]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_f128_z_f32.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1492]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_f128_z_f64.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1493]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_f16_z_extF80.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1494]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_f16_z_f128.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1495]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_f16_z_f32.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1496]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_f16_z_f64.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1497]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_f32_z_extF80.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1498]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_f32_z_f128.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1499]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_f32_z_f16.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1500]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_f32_z_f64.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1501]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_f64_z_extF80.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1502]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_f64_z_f128.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1503]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_f64_z_f16.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1504]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_a_f64_z_f32.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1505]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_ab_extF80_z_bool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1506]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_ab_f128_z_bool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1507]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_ab_f16_z_bool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1508]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_ab_f32_z_bool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1509]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_ab_f64_z_bool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1510]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_abcz_f128.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1511]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_abcz_f16.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1512]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_abcz_f32.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1513]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_abcz_f64.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1514]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_abz_extF80.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1515]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_abz_f128.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1516]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_abz_f16.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1517]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_abz_f32.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1518]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_abz_f64.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1519]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_az_extF80.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1520]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_az_extF80_rx.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1521]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_az_f128.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1522]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_az_f128_rx.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1523]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_az_f16.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1524]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_az_f16_rx.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1525]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_az_f32.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1526]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_az_f32_rx.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1527]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_az_f64.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1528]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/test_az_f64_rx.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1529]
qemu-8.2.2-build/qemu-8.2.2/subprojects/berkeley-testfloat-3/source/writeHex.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1530]
qemu-8.2.2-build/qemu-8.2.2/subprojects/libvhost-user/libvhost-user.c: scope_hint: In function ‘vu_queue_map_desc’
qemu-8.2.2-build/qemu-8.2.2/subprojects/libvhost-user/libvhost-user.c:2788:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘iov[<unknown>]’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/atomic.h:18: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/subprojects/libvhost-user/libvhost-user.c:53: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:45:43: note: in definition of macro ‘unlikely’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:45:43: note: in definition of macro ‘unlikely’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:45:43: note: in definition of macro ‘unlikely’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/atomic.h:80:41: note: in expansion of macro ‘barrier’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/atomic.h:253:21: note: in expansion of macro ‘smp_mb_acquire’
qemu-8.2.2-build/qemu-8.2.2/subprojects/libvhost-user/libvhost-user.c:2883:5: note: in expansion of macro ‘smp_rmb’
qemu-8.2.2-build/qemu-8.2.2/subprojects/libvhost-user/libvhost-user.c: scope_hint: In function ‘vu_queue_map_desc’
/usr/include/sys/types.h:176: included_from: Included from here.
/usr/include/stdlib.h:514: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/subprojects/libvhost-user/libvhost-user.c:21: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/subprojects/libvhost-user/libvhost-user.c:27: included_from: Included from here.
# 2786| elem->index = idx;
# 2787| for (i = 0; i < out_num; i++) {
# 2788|-> elem->out_sg[i] = iov[i];
# 2789| }
# 2790| for (i = 0; i < in_num; i++) {
Error: CLANG_WARNING: [#def1531]
qemu-8.2.2-build/qemu-8.2.2/system/device_tree.c:266:21: warning[deadcode.DeadStores]: Although the value stored to 'ret' is used in the enclosing expression, the value is never actually read from 'ret'
# 264|
# 265| path = g_malloc(path_len);
# 266|-> while ((ret = fdt_get_path(fdt, offset, path, path_len))
# 267| == -FDT_ERR_NOSPACE) {
# 268| path_len += 16;
Error: CLANG_WARNING: [#def1532]
qemu-8.2.2-build/qemu-8.2.2/system/device_tree.c:321:21: warning[deadcode.DeadStores]: Although the value stored to 'ret' is used in the enclosing expression, the value is never actually read from 'ret'
# 319|
# 320| path = g_malloc(path_len);
# 321|-> while ((ret = fdt_get_path(fdt, offset, path, path_len))
# 322| == -FDT_ERR_NOSPACE) {
# 323| path_len += 16;
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1533]
qemu-8.2.2-build/qemu-8.2.2/system/device_tree.c: scope_hint: In function ‘qemu_fdt_add_subnode’
qemu-8.2.2-build/qemu-8.2.2/system/device_tree.c:531:22: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/system/device_tree.c:14: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/system/device_tree.c:530:21: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/system/device_tree.c: scope_hint: In function ‘qemu_fdt_add_subnode’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:116: included_from: Included from here.
/usr/include/string.h:273:14: note: argument 1 of ‘strrchr’ must be non-null
# 529| {
# 530| char *dupname = g_strdup(name);
# 531|-> char *basename = strrchr(dupname, '/');
# 532| int retval;
# 533| int parent = 0;
Error: CLANG_WARNING: [#def1534]
qemu-8.2.2-build/qemu-8.2.2/system/dirtylimit.c:256:42: warning[core.DivideZero]: Division by zero
# 254| }
# 255|
# 256|-> return dirty_ring_size_MiB * 1000000 / max_dirtyrate;
# 257| }
# 258|
Error: CLANG_WARNING: [#def1535]
qemu-8.2.2-build/qemu-8.2.2/system/dirtylimit.c:675:23: warning[unix.Malloc]: Potential leak of memory pointed to by 'info'
# 673| }
# 674|
# 675|-> for (info = head; info != NULL; info = info->next) {
# 676| monitor_printf(mon, "vcpu[%"PRIi64"], limit rate %"PRIi64 " (MB/s),"
# 677| " current rate %"PRIi64 " (MB/s)\n",
Error: CPPCHECK_WARNING: [#def1536]
qemu-8.2.2-build/qemu-8.2.2/system/tpm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1537]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:1817:9: warning[core.NullDereference]: Array access (from variable 'str') results in a null pointer dereference
# 1815| Visitor *v;
# 1816|
# 1817|-> if (str[0] == '{') {
# 1818| QObject *obj = qobject_from_json(str, &error_fatal);
# 1819|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1538]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c: scope_hint: In function ‘object_option_parse’
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:1817:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘str’
# 1815| Visitor *v;
# 1816|
# 1817|-> if (str[0] == '{') {
# 1818| QObject *obj = qobject_from_json(str, &error_fatal);
# 1819|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1539]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c: scope_hint: In function ‘qemu_create_machine’
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:2096:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/qmp/qdict.h:16: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:34: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:2089:5: note: in expansion of macro ‘qobject_unref’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:2089:5: note: in expansion of macro ‘qobject_unref’
qemu-8.2.2-build/qemu-8.2.2/include/qapi/compat-policy.h:16: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:1675:13: note: in expansion of macro ‘error_setg’
# 2094| {
# 2095| MachineClass *machine_class = select_machine(qdict, &error_fatal);
# 2096|-> object_set_machine_compat_props(machine_class->compat_props);
# 2097|
# 2098| current_machine = MACHINE(object_new_with_class(OBJECT_CLASS(machine_class)));
Error: CLANG_WARNING: [#def1540]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:2249:19: warning[core.NullDereference]: Array access (from variable 'str') results in a null pointer dereference
# 2247|
# 2248| rc = sscanf(str, "%63[^.].%63[^.].%63[^=]%n", group, id, arg, &offset);
# 2249|-> if (rc < 3 || str[offset] != '=') {
# 2250| error_setg(errp, "can't parse: \"%s\"", str);
# 2251| return;
Error: CLANG_WARNING: [#def1541]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:2576:17: warning[unix.Malloc]: Potential leak of memory pointed to by 'pid_file_realpath'
# 2574| pid_file_realpath = g_malloc0(PATH_MAX);
# 2575| if (!realpath(pid_file, pid_file_realpath)) {
# 2576|-> if (errno != ENOENT) {
# 2577| warn_report("not removing PID file on exit: cannot resolve PID "
# 2578| "file path: %s: %s", pid_file, strerror(errno));
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1542]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c: scope_hint: In function ‘qemu_init’
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:2902:34: warning[-Wanalyzer-null-argument]: use of NULL ‘optarg’ where non-null expected
/usr/include/features.h:511: included_from: Included from here.
/usr/include/bits/libc-header-start.h:33: included_from: Included from here.
/usr/include/stdint.h:26: included_from: Included from here.
/usr/lib/gcc/x86_64-redhat-linux/14/include/stdint.h:9: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:111: included_from: Included from here.
/usr/include/stdlib.h:215:17: note: argument 1 of ‘strtol’ must be non-null
# 2900| break;
# 2901| case QEMU_OPTION_rotate:
# 2902|-> graphic_rotate = strtol(optarg, (char **) &optarg, 10);
# 2903| if (graphic_rotate != 0 && graphic_rotate != 90 &&
# 2904| graphic_rotate != 180 && graphic_rotate != 270) {
Error: CLANG_WARNING: [#def1543]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:2902:34: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 2900| break;
# 2901| case QEMU_OPTION_rotate:
# 2902|-> graphic_rotate = strtol(optarg, (char **) &optarg, 10);
# 2903| if (graphic_rotate != 0 && graphic_rotate != 90 &&
# 2904| graphic_rotate != 180 && graphic_rotate != 270) {
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1544]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:3080:25: warning[-Wanalyzer-null-argument]: use of NULL ‘optarg’ where non-null expected
/usr/include/stdlib.h:215:17: note: argument 1 of ‘strtol’ must be non-null
# 3078| int w, h, depth;
# 3079| p = optarg;
# 3080|-> w = strtol(p, (char **)&p, 10);
# 3081| if (w <= 0) {
# 3082| graphic_error:
Error: CLANG_WARNING: [#def1545]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:3080:25: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 3078| int w, h, depth;
# 3079| p = optarg;
# 3080|-> w = strtol(p, (char **)&p, 10);
# 3081| if (w <= 0) {
# 3082| graphic_error:
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1546]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:3113:40: warning[-Wanalyzer-null-argument]: use of NULL ‘optarg’ where non-null expected
/usr/include/stdlib.h:215:17: note: argument 1 of ‘strtol’ must be non-null
# 3111| {
# 3112| char *r;
# 3113|-> term_escape_char = strtol(optarg, &r, 0);
# 3114| if (r == optarg)
# 3115| printf("Bad argument to echr\n");
Error: CLANG_WARNING: [#def1547]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:3113:40: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 3111| {
# 3112| char *r;
# 3113|-> term_escape_char = strtol(optarg, &r, 0);
# 3114| if (r == optarg)
# 3115| printf("Bad argument to echr\n");
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1548]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:3120:21: warning[-Wanalyzer-null-argument]: use of NULL ‘optarg’ where non-null expected
/usr/include/string.h:159:12: note: argument 1 of ‘strncmp’ must be non-null
# 3118| case QEMU_OPTION_monitor:
# 3119| default_monitor = 0;
# 3120|-> if (strncmp(optarg, "none", 4)) {
# 3121| monitor_parse(optarg, "readline", false);
# 3122| }
Error: CLANG_WARNING: [#def1549]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:3120:21: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 3118| case QEMU_OPTION_monitor:
# 3119| default_monitor = 0;
# 3120|-> if (strncmp(optarg, "none", 4)) {
# 3121| monitor_parse(optarg, "readline", false);
# 3122| }
Error: CLANG_WARNING: [#def1550]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:3238:21: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 3236| add_device_config(DEV_SERIAL, optarg);
# 3237| default_serial = 0;
# 3238|-> if (strncmp(optarg, "mon:", 4) == 0) {
# 3239| default_monitor = 0;
# 3240| }
Error: CLANG_WARNING: [#def1551]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:3256:21: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 3254| add_device_config(DEV_PARALLEL, optarg);
# 3255| default_parallel = 0;
# 3256|-> if (strncmp(optarg, "mon:", 4) == 0) {
# 3257| default_monitor = 0;
# 3258| }
Error: CLANG_WARNING: [#def1552]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:3350:21: warning[core.NullDereference]: Array access (from variable 'optarg') results in a null pointer dereference
# 3348| break;
# 3349| case QEMU_OPTION_device:
# 3350|-> if (optarg[0] == '{') {
# 3351| QObject *obj = qobject_from_json(optarg, &error_fatal);
# 3352| DeviceOption *opt = g_new0(DeviceOption, 1);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1553]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:3350:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘optarg’
# 3348| break;
# 3349| case QEMU_OPTION_device:
# 3350|-> if (optarg[0] == '{') {
# 3351| QObject *obj = qobject_from_json(optarg, &error_fatal);
# 3352| DeviceOption *opt = g_new0(DeviceOption, 1);
Error: CLANG_WARNING: [#def1554]
qemu-8.2.2-build/qemu-8.2.2/system/vl.c:3475:29: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 3473| exit(1);
# 3474| }
# 3475|-> xen_domid = atoi(optarg);
# 3476| break;
# 3477| case QEMU_OPTION_xen_attach:
Error: CLANG_WARNING: [#def1555]
qemu-8.2.2-build/qemu-8.2.2/target/arm/arch_dump.c:213:30: warning[deadcode.DeadStores]: Although the value stored to 'r' is used in the enclosing expression, the value is never actually read from 'r'
# 211|
# 212| for (i = 0; i < 17; ++i) {
# 213|-> r = sve_bswap64(tmp, r = &env->vfp.pregs[i].p[0],
# 214| DIV_ROUND_UP(vq * 2, 8));
# 215| memcpy(&buf[sve_preg_offset(vq, i)], r, vq * 16 / 8);
Error: CLANG_WARNING: [#def1556]
qemu-8.2.2-build/qemu-8.2.2/target/arm/arm-powerctl.c:186:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'info'
# 184|
# 185| /* We are good to go */
# 186|-> return QEMU_ARM_POWERCTL_RET_SUCCESS;
# 187| }
# 188|
Error: CLANG_WARNING: [#def1557]
qemu-8.2.2-build/qemu-8.2.2/target/arm/cpu64.c:554:13: warning[deadcode.DeadStores]: Value stored to 'cpu' during its initialization is never read
# 552| void aarch64_add_pauth_properties(Object *obj)
# 553| {
# 554|-> ARMCPU *cpu = ARM_CPU(obj);
# 555|
# 556| /* Default to PAUTH on, with the architected algorithm on TCG. */
Error: CLANG_WARNING: [#def1558]
qemu-8.2.2-build/qemu-8.2.2/target/arm/debug_helper.c:176:14: warning[deadcode.DeadStores]: Value stored to 'bcr' during its initialization is never read
# 174| {
# 175| CPUARMState *env = &cpu->env;
# 176|-> uint64_t bcr = env->cp15.dbgbcr[lbn];
# 177| int brps = arm_num_brps(cpu);
# 178| int ctx_cmps = arm_num_ctx_cmps(cpu);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1559]
qemu-8.2.2-build/qemu-8.2.2/target/arm/tcg/psci.c: scope_hint: In function ‘arm_handle_psci_call’
qemu-8.2.2-build/qemu-8.2.2/target/arm/tcg/psci.c:99:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘param[1]’
qemu-8.2.2-build/qemu-8.2.2/target/arm/tcg/psci.c: scope_hint: In function ‘arm_handle_psci_call’
# 97| case QEMU_PSCI_0_2_FN_AFFINITY_INFO:
# 98| case QEMU_PSCI_0_2_FN64_AFFINITY_INFO:
# 99|-> mpidr = param[1];
# 100|
# 101| switch (param[2]) {
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1560]
qemu-8.2.2-build/qemu-8.2.2/target/arm/tcg/psci.c:147:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘param[1]’
qemu-8.2.2-build/qemu-8.2.2/target/arm/tcg/psci.c: scope_hint: In function ‘arm_handle_psci_call’
qemu-8.2.2-build/qemu-8.2.2/target/arm/tcg/psci.c: scope_hint: In function ‘arm_handle_psci_call’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/target/arm/tcg/psci.c:19: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/target/arm/tcg/psci.c: scope_hint: In function ‘arm_handle_psci_call’
# 145| bool target_aarch64 = arm_el_is_aa64(env, target_el);
# 146|
# 147|-> mpidr = param[1];
# 148| entry = param[2];
# 149| context_id = param[3];
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1561]
qemu-8.2.2-build/qemu-8.2.2/target/arm/tcg/psci.c:161:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘param[1]’
qemu-8.2.2-build/qemu-8.2.2/target/arm/tcg/psci.c: scope_hint: In function ‘arm_handle_psci_call’
# 159| case QEMU_PSCI_0_2_FN64_CPU_SUSPEND:
# 160| /* Affinity levels are not supported in QEMU */
# 161|-> if (param[1] & 0xfffe0000) {
# 162| ret = QEMU_PSCI_RET_INVALID_PARAMS;
# 163| break;
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1562]
qemu-8.2.2-build/qemu-8.2.2/target/arm/tcg/psci.c:174:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘param[1]’
qemu-8.2.2-build/qemu-8.2.2/target/arm/tcg/psci.c: scope_hint: In function ‘arm_handle_psci_call’
# 172| break;
# 173| case QEMU_PSCI_1_0_FN_PSCI_FEATURES:
# 174|-> switch (param[1]) {
# 175| case QEMU_PSCI_0_2_FN_PSCI_VERSION:
# 176| case QEMU_PSCI_0_2_FN_MIGRATE_INFO_TYPE:
Error: CLANG_WARNING: [#def1563]
qemu-8.2.2-build/qemu-8.2.2/target/arm/tcg/translate-sve.c:53:16: warning[core.BitwiseShift]: Right operand is negative in left shift
# 51| static int tszimm_shr(DisasContext *s, int x)
# 52| {
# 53|-> return (16 << tszimm_esz(s, x)) - x;
# 54| }
# 55|
Error: CLANG_WARNING: [#def1564]
qemu-8.2.2-build/qemu-8.2.2/target/arm/tcg/translate-sve.c:59:19: warning[core.BitwiseShift]: Right operand is negative in left shift
# 57| static int tszimm_shl(DisasContext *s, int x)
# 58| {
# 59|-> return x - (8 << tszimm_esz(s, x));
# 60| }
# 61|
Error: CLANG_WARNING: [#def1565]
qemu-8.2.2-build/qemu-8.2.2/target/arm/vfp_helper.c:1096:5: warning[deadcode.DeadStores]: Value stored to 'new_flags' is never read
# 1094| ret = float64_round_to_int(x, fp_status);
# 1095|
# 1096|-> new_flags = get_float_exception_flags(fp_status);
# 1097|
# 1098| /* Suppress any inexact exceptions the conversion produced */
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1566]
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/cpu.c: scope_hint: In function ‘hexagon_cpu_list_entry’
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/cpu.c:40:14: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 38| char *name = g_strdup(object_class_get_name(oc));
# 39| if (g_str_has_suffix(name, HEXAGON_CPU_TYPE_SUFFIX)) {
# 40|-> name[strlen(name) - strlen(HEXAGON_CPU_TYPE_SUFFIX)] = '\0';
# 41| }
# 42| qemu_printf(" %s\n", name);
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1567]
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/idef-parser/idef-parser.y: scope_hint: In function ‘main’
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/idef-parser/idef-parser.y:841:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[4], "w")’
# 839| FILE *enabled_file = fopen(argv[ARG_INDEX_ENABLED_INSTRUCTIONS_LIST], "w");
# 840|
# 841|-> FILE *output_file = fopen(argv[ARG_INDEX_EMITTER_C], "w");
# 842| fputs("#include \"qemu/osdep.h\"\n", output_file);
# 843| fputs("#include \"qemu/log.h\"\n", output_file);
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1568]
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/idef-parser/idef-parser.y:841:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[4], "w")’
# 839| FILE *enabled_file = fopen(argv[ARG_INDEX_ENABLED_INSTRUCTIONS_LIST], "w");
# 840|
# 841|-> FILE *output_file = fopen(argv[ARG_INDEX_EMITTER_C], "w");
# 842| fputs("#include \"qemu/osdep.h\"\n", output_file);
# 843| fputs("#include \"qemu/log.h\"\n", output_file);
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1569]
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/idef-parser/idef-parser.y:842:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(argv[2], "w")’ where non-null expected
<built-in>: note: argument 4 of ‘__builtin_fwrite’ must be non-null
# 840|
# 841| FILE *output_file = fopen(argv[ARG_INDEX_EMITTER_C], "w");
# 842|-> fputs("#include \"qemu/osdep.h\"\n", output_file);
# 843| fputs("#include \"qemu/log.h\"\n", output_file);
# 844| fputs("#include \"cpu.h\"\n", output_file);
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1570]
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/idef-parser/idef-parser.y:876:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(argv[1], "r")’ where non-null expected
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/idef-parser/idef-parser.h:22: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/idef-parser/idef-parser.y:14: included_from: Included from here.
/usr/include/stdio.h:769:12: note: argument 1 of ‘fseek’ must be non-null
# 874| /* Read input file */
# 875| FILE *input_file = fopen(argv[ARG_INDEX_IDEFS], "r");
# 876|-> fseek(input_file, 0L, SEEK_END);
# 877| long input_size = ftell(input_file);
# 878| context.input_buffer = (char *) calloc(input_size + 1, sizeof(char));
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1571]
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/idef-parser/idef-parser.y:884:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[1], "r")’
# 882| input_size,
# 883| input_file);
# 884|-> if (read_chars != (size_t) input_size) {
# 885| fprintf(stderr, "Error: an error occurred while reading input file!\n");
# 886| return -1;
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1572]
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/idef-parser/idef-parser.y:884:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[1], "r")’
# 882| input_size,
# 883| input_file);
# 884|-> if (read_chars != (size_t) input_size) {
# 885| fprintf(stderr, "Error: an error occurred while reading input file!\n");
# 886| return -1;
Error: CPPCHECK_WARNING (CWE-401): [#def1573]
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/idef-parser/idef-parser.y:886: error[memleak]: Memory leak: context.input_buffer
# 884| if (read_chars != (size_t) input_size) {
# 885| fprintf(stderr, "Error: an error occurred while reading input file!\n");
# 886|-> return -1;
# 887| }
# 888| yylex_init(&context.scanner);
Error: CPPCHECK_WARNING (CWE-404): [#def1574]
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/idef-parser/idef-parser.y:886: error[resourceLeak]: Resource leak: input_file
# 884| if (read_chars != (size_t) input_size) {
# 885| fprintf(stderr, "Error: an error occurred while reading input file!\n");
# 886|-> return -1;
# 887| }
# 888| yylex_init(&context.scanner);
Error: CPPCHECK_WARNING: [#def1575]
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/idef-parser/parser-helpers.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1576]
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/mmvec/decode_ext_mmvec.c:81:17: warning[deadcode.DeadStores]: Value stored to 'def_regnum' is never read
# 79| }
# 80| if ((dststr == NULL) && GET_ATTRIB(def_opcode, A_CVI_GATHER)) {
# 81|-> def_regnum = 0;
# 82| pkt->insn[i].regno[use_regidx] = def_oreg;
# 83| pkt->insn[i].new_value_producer_slot = pkt->insn[def_idx].slot;
Error: CLANG_WARNING: [#def1577]
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/op_helper.c:182:22: warning[deadcode.DeadStores]: Value stored to 'data' during its initialization is never read
# 180| uint8_t width = env->mem_log_stores[slot].width;
# 181| if (width == 1) {
# 182|-> uint32_t data = env->mem_log_stores[slot].data32 & 0xff;
# 183| HEX_DEBUG_LOG("\tmemb[0x" TARGET_FMT_lx "] = %" PRId32
# 184| " (0x%02" PRIx32 ")\n",
Error: CLANG_WARNING: [#def1578]
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/op_helper.c:187:22: warning[deadcode.DeadStores]: Value stored to 'data' during its initialization is never read
# 185| env->mem_log_stores[slot].va, data, data);
# 186| } else if (width == 2) {
# 187|-> uint32_t data = env->mem_log_stores[slot].data32 & 0xffff;
# 188| HEX_DEBUG_LOG("\tmemh[0x" TARGET_FMT_lx "] = %" PRId32
# 189| " (0x%04" PRIx32 ")\n",
Error: CLANG_WARNING: [#def1579]
qemu-8.2.2-build/qemu-8.2.2/target/hexagon/op_helper.c:192:22: warning[deadcode.DeadStores]: Value stored to 'data' during its initialization is never read
# 190| env->mem_log_stores[slot].va, data, data);
# 191| } else if (width == 4) {
# 192|-> uint32_t data = env->mem_log_stores[slot].data32;
# 193| HEX_DEBUG_LOG("\tmemw[0x" TARGET_FMT_lx "] = %" PRId32
# 194| " (0x%08" PRIx32 ")\n",
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1580]
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/kvm.c: scope_hint: In function ‘kvm_arch_update_guest_debug’
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/kvm.c:5120:53: warning[-Wanalyzer-out-of-bounds]: buffer over-read
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/kvm.c:5120:53: note: read of 4 bytes from after the end of ‘hw_breakpoint’
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/kvm.c:5120:53: note: valid subscripts for ‘hw_breakpoint’ are ‘[0]’ to ‘[3]’
# └────────────────────────────────┘
# ^
# 5118| dbg->arch.debugreg[7] = 0x0600;
# 5119| for (n = 0; n < nb_hw_breakpoint; n++) {
# 5120|-> dbg->arch.debugreg[n] = hw_breakpoint[n].addr;
# 5121| dbg->arch.debugreg[7] |= (2 << (n * 2)) |
# 5122| (type_code[hw_breakpoint[n].type] << (16 + n*4)) |
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1581]
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/kvm.c:5122:44: warning[-Wanalyzer-out-of-bounds]: buffer over-read
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/kvm.c:5122:44: note: read of 4 bytes from after the end of ‘hw_breakpoint’
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/kvm.c:5122:44: note: valid subscripts for ‘hw_breakpoint’ are ‘[0]’ to ‘[3]’
# └───────────────────────┘
# ^
# 5120| dbg->arch.debugreg[n] = hw_breakpoint[n].addr;
# 5121| dbg->arch.debugreg[7] |= (2 << (n * 2)) |
# 5122|-> (type_code[hw_breakpoint[n].type] << (16 + n*4)) |
# 5123| ((uint32_t)len_code[hw_breakpoint[n].len] << (18 + n*4));
# 5124| }
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def1582]
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/kvm.c:5122:51: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘32’) >= precision of type (‘32’)
# 5120| dbg->arch.debugreg[n] = hw_breakpoint[n].addr;
# 5121| dbg->arch.debugreg[7] |= (2 << (n * 2)) |
# 5122|-> (type_code[hw_breakpoint[n].type] << (16 + n*4)) |
# 5123| ((uint32_t)len_code[hw_breakpoint[n].len] << (18 + n*4));
# 5124| }
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def1583]
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/kvm.c:5122:51: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘36’) >= precision of type (‘32’)
# 5120| dbg->arch.debugreg[n] = hw_breakpoint[n].addr;
# 5121| dbg->arch.debugreg[7] |= (2 << (n * 2)) |
# 5122|-> (type_code[hw_breakpoint[n].type] << (16 + n*4)) |
# 5123| ((uint32_t)len_code[hw_breakpoint[n].len] << (18 + n*4));
# 5124| }
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def1584]
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/kvm.c:5122:51: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘40’) >= precision of type (‘32’)
# 5120| dbg->arch.debugreg[n] = hw_breakpoint[n].addr;
# 5121| dbg->arch.debugreg[7] |= (2 << (n * 2)) |
# 5122|-> (type_code[hw_breakpoint[n].type] << (16 + n*4)) |
# 5123| ((uint32_t)len_code[hw_breakpoint[n].len] << (18 + n*4));
# 5124| }
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def1585]
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/kvm.c:5122:51: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘44’) >= precision of type (‘32’)
# 5120| dbg->arch.debugreg[n] = hw_breakpoint[n].addr;
# 5121| dbg->arch.debugreg[7] |= (2 << (n * 2)) |
# 5122|-> (type_code[hw_breakpoint[n].type] << (16 + n*4)) |
# 5123| ((uint32_t)len_code[hw_breakpoint[n].len] << (18 + n*4));
# 5124| }
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1586]
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/kvm.c:5123:53: warning[-Wanalyzer-out-of-bounds]: buffer over-read
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/kvm.c:5123:53: note: read of 4 bytes from after the end of ‘hw_breakpoint’
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/kvm.c:5123:53: note: valid subscripts for ‘hw_breakpoint’ are ‘[0]’ to ‘[3]’
# └───────────────────────┘
# ^
# 5121| dbg->arch.debugreg[7] |= (2 << (n * 2)) |
# 5122| (type_code[hw_breakpoint[n].type] << (16 + n*4)) |
# 5123|-> ((uint32_t)len_code[hw_breakpoint[n].len] << (18 + n*4));
# 5124| }
# 5125| }
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def1587]
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/kvm.c:5123:59: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘34’) >= precision of type (‘32’)
# 5121| dbg->arch.debugreg[7] |= (2 << (n * 2)) |
# 5122| (type_code[hw_breakpoint[n].type] << (16 + n*4)) |
# 5123|-> ((uint32_t)len_code[hw_breakpoint[n].len] << (18 + n*4));
# 5124| }
# 5125| }
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def1588]
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/kvm.c:5123:59: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘38’) >= precision of type (‘32’)
# 5121| dbg->arch.debugreg[7] |= (2 << (n * 2)) |
# 5122| (type_code[hw_breakpoint[n].type] << (16 + n*4)) |
# 5123|-> ((uint32_t)len_code[hw_breakpoint[n].len] << (18 + n*4));
# 5124| }
# 5125| }
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def1589]
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/kvm.c:5123:59: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘42’) >= precision of type (‘32’)
# 5121| dbg->arch.debugreg[7] |= (2 << (n * 2)) |
# 5122| (type_code[hw_breakpoint[n].type] << (16 + n*4)) |
# 5123|-> ((uint32_t)len_code[hw_breakpoint[n].len] << (18 + n*4));
# 5124| }
# 5125| }
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def1590]
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/kvm.c:5123:59: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘46’) >= precision of type (‘32’)
# 5121| dbg->arch.debugreg[7] |= (2 << (n * 2)) |
# 5122| (type_code[hw_breakpoint[n].type] << (16 + n*4)) |
# 5123|-> ((uint32_t)len_code[hw_breakpoint[n].len] << (18 + n*4));
# 5124| }
# 5125| }
Error: CLANG_WARNING: [#def1591]
qemu-8.2.2-build/qemu-8.2.2/target/i386/kvm/xen-emu.c:1113:9: warning[deadcode.DeadStores]: Value stored to 'timeout_abs' is never read
# 1111| */
# 1112| delta = (100 * SCALE_MS);
# 1113|-> timeout_abs = now + delta;
# 1114| }
# 1115|
Error: CLANG_WARNING: [#def1592]
qemu-8.2.2-build/qemu-8.2.2/target/i386/tcg/seg_helper.c:942:9: warning[deadcode.DeadStores]: Value stored to 'ss' is never read
# 940| new_stack = 1;
# 941| esp = get_rsp_from_tss(env, ist != 0 ? ist + 3 : dpl);
# 942|-> ss = 0;
# 943| } else {
# 944| /* to same privilege */
Error: CLANG_WARNING: [#def1593]
qemu-8.2.2-build/qemu-8.2.2/target/i386/tcg/seg_helper.c:1709:17: warning[deadcode.DeadStores]: Value stored to 'new_stack' is never read
# 1707| sp = get_rsp_from_tss(env, dpl);
# 1708| ss = dpl; /* SS = NULL selector with RPL = new CPL */
# 1709|-> new_stack = 1;
# 1710| sp_mask = 0;
# 1711| ssp = 0; /* SS base is always zero in IA-32e mode */
Error: CLANG_WARNING: [#def1594]
qemu-8.2.2-build/qemu-8.2.2/target/i386/tcg/translate.c:2186:9: warning[deadcode.DeadStores]: Value stored to 'havesib' is never read
# 2184| case MO_64:
# 2185| case MO_32:
# 2186|-> havesib = 0;
# 2187| if (rm == 4) {
# 2188| int code = x86_ldub_code(env, s);
Error: CLANG_WARNING: [#def1595]
qemu-8.2.2-build/qemu-8.2.2/target/i386/tcg/translate.c:2195:13: warning[deadcode.DeadStores]: Value stored to 'havesib' is never read
# 2193| }
# 2194| base = (code & 7) | REX_B(s);
# 2195|-> havesib = 1;
# 2196| }
# 2197|
Error: CLANG_WARNING: [#def1596]
qemu-8.2.2-build/qemu-8.2.2/target/i386/tcg/translate.c:3174:17: warning[deadcode.DeadStores]: Value stored to 'vex2' during its initialization is never read
# 3172| case 0xc4: /* 3-byte VEX */
# 3173| if (CODE32(s) && !VM86(s)) {
# 3174|-> int vex2 = x86_ldub_code(env, s);
# 3175| s->pc--; /* rewind the advance_pc() x86_ldub_code() did */
# 3176|
Error: GCC_ANALYZER_WARNING (CWE-121): [#def1597]
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvtl_d_s’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2616:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:53: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:8: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/exec/helper-head.h:11:22: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2603:6: note: in expansion of macro ‘HELPER’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvtl_d_s’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:14: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:9: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:78:18: note: in expansion of macro ‘FIELD_DP32’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2391:9: note: in expansion of macro ‘UPDATE_FP_FLAGS’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvtl_d_s’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvtl_d_s’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:10: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2619:31: note: in expansion of macro ‘GETPC’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvtl_d_s’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:64:32: note: in expansion of macro ‘FIELD_EX32’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2388:9: note: in expansion of macro ‘GET_FP_ENABLES’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:78:18: note: in expansion of macro ‘FIELD_DP32’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2391:9: note: in expansion of macro ‘UPDATE_FP_FLAGS’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvtl_d_s’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvtl_d_s’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2616:34: note: write of 8 bytes to beyond the end of ‘temp’
# 2614| for (i = 0; i < oprsz / 16; i++) {
# 2615| for (j = 0; j < ofs; j++) {
# 2616|-> temp.UD(j + ofs * i) = float32_cvt_float64(Vj->UW(j + ofs * 2 * i),
# 2617| &env->fp_status);
# 2618| }
Error: GCC_ANALYZER_WARNING (CWE-121): [#def1598]
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvth_d_s’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2658:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/exec/helper-head.h:11:22: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2645:6: note: in expansion of macro ‘HELPER’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvth_d_s’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:78:18: note: in expansion of macro ‘FIELD_DP32’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2391:9: note: in expansion of macro ‘UPDATE_FP_FLAGS’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvth_d_s’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvth_d_s’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2661:31: note: in expansion of macro ‘GETPC’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvth_d_s’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:64:32: note: in expansion of macro ‘FIELD_EX32’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2388:9: note: in expansion of macro ‘GET_FP_ENABLES’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:78:18: note: in expansion of macro ‘FIELD_DP32’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2391:9: note: in expansion of macro ‘UPDATE_FP_FLAGS’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvth_d_s’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvth_d_s’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2658:34: note: write of 8 bytes to beyond the end of ‘temp’
# 2656| for (i = 0; i < oprsz / 16; i++) {
# 2657| for (j = 0; j < ofs; j++) {
# 2658|-> temp.UD(j + ofs * i) = float32_cvt_float64(Vj->UW(j + ofs * (2 * i + 1)),
# 2659| &env->fp_status);
# 2660| }
Error: GCC_ANALYZER_WARNING (CWE-121): [#def1599]
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvt_s_d’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2704:44: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/exec/helper-head.h:11:22: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2690:6: note: in expansion of macro ‘HELPER’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvt_s_d’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:78:18: note: in expansion of macro ‘FIELD_DP32’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2391:9: note: in expansion of macro ‘UPDATE_FP_FLAGS’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvt_s_d’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvt_s_d’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2709:31: note: in expansion of macro ‘GETPC’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvt_s_d’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:64:32: note: in expansion of macro ‘FIELD_EX32’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2388:9: note: in expansion of macro ‘GET_FP_ENABLES’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:78:18: note: in expansion of macro ‘FIELD_DP32’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2391:9: note: in expansion of macro ‘UPDATE_FP_FLAGS’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvt_s_d’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvt_s_d’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2704:44: note: write of 4 bytes to beyond the end of ‘temp’
# 2702| for(i = 0; i < oprsz / 16; i++) {
# 2703| for (j = 0; j < ofs; j++) {
# 2704|-> temp.UW(j + ofs * (2 * i + 1)) = float64_cvt_float32(Vj->UD(j + ofs * i),
# 2705| &env->fp_status);
# 2706| temp.UW(j + ofs * 2 * i) = float64_cvt_float32(Vk->UD(j + ofs * i),
Error: GCC_ANALYZER_WARNING (CWE-121): [#def1600]
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2706:38: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/exec/helper-head.h:11:22: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2690:6: note: in expansion of macro ‘HELPER’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvt_s_d’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:78:18: note: in expansion of macro ‘FIELD_DP32’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2391:9: note: in expansion of macro ‘UPDATE_FP_FLAGS’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvt_s_d’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvt_s_d’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2709:31: note: in expansion of macro ‘GETPC’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvt_s_d’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:64:32: note: in expansion of macro ‘FIELD_EX32’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2388:9: note: in expansion of macro ‘GET_FP_ENABLES’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:78:18: note: in expansion of macro ‘FIELD_DP32’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2391:9: note: in expansion of macro ‘UPDATE_FP_FLAGS’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvt_s_d’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcvt_s_d’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2706:38: note: write of 4 bytes to beyond the end of ‘temp’
# 2704| temp.UW(j + ofs * (2 * i + 1)) = float64_cvt_float32(Vj->UD(j + ofs * i),
# 2705| &env->fp_status);
# 2706|-> temp.UW(j + ofs * 2 * i) = float64_cvt_float32(Vk->UD(j + ofs * i),
# 2707| &env->fp_status);
# 2708| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1601]
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vftintl_l_s’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2893:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘temp’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2896:1: note: in expansion of macro ‘FTINTL_L_S’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2896:1: note: in expansion of macro ‘FTINTL_L_S’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2896:1: note: in expansion of macro ‘FTINTL_L_S’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2896:1: note: in expansion of macro ‘FTINTL_L_S’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2896:1: note: in expansion of macro ‘FTINTL_L_S’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2896:1: note: in expansion of macro ‘FTINTL_L_S’
# 2891| } \
# 2892| } \
# 2893|-> *Vd = temp; \
# 2894| }
# 2895|
Error: GCC_ANALYZER_WARNING (CWE-121): [#def1602]
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vffintl_d_w’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2961:33: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/exec/helper-head.h:11:22: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2948:6: note: in expansion of macro ‘HELPER’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vffintl_d_w’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:78:18: note: in expansion of macro ‘FIELD_DP32’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2391:9: note: in expansion of macro ‘UPDATE_FP_FLAGS’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vffintl_d_w’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vffintl_d_w’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2964:31: note: in expansion of macro ‘GETPC’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vffintl_d_w’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:64:32: note: in expansion of macro ‘FIELD_EX32’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2388:9: note: in expansion of macro ‘GET_FP_ENABLES’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:78:18: note: in expansion of macro ‘FIELD_DP32’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2391:9: note: in expansion of macro ‘UPDATE_FP_FLAGS’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vffintl_d_w’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vffintl_d_w’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2961:33: note: write of 8 bytes to beyond the end of ‘temp’
# 2959| for (i = 0; i < oprsz / 16; i++) {
# 2960| for (j = 0; j < ofs; j++) {
# 2961|-> temp.D(j + ofs * i) = int32_to_float64(Vj->W(j + ofs * 2 * i),
# 2962| &env->fp_status);
# 2963| }
Error: GCC_ANALYZER_WARNING (CWE-121): [#def1603]
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vffinth_d_w’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2982:33: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
qemu-8.2.2-build/qemu-8.2.2/include/qemu/compiler.h:34:21: note: in definition of macro ‘xglue’
qemu-8.2.2-build/qemu-8.2.2/include/exec/helper-head.h:11:22: note: in expansion of macro ‘glue’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2969:6: note: in expansion of macro ‘HELPER’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vffinth_d_w’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:78:18: note: in expansion of macro ‘FIELD_DP32’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2391:9: note: in expansion of macro ‘UPDATE_FP_FLAGS’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vffinth_d_w’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vffinth_d_w’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2985:31: note: in expansion of macro ‘GETPC’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vffinth_d_w’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:64:32: note: in expansion of macro ‘FIELD_EX32’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2388:9: note: in expansion of macro ‘GET_FP_ENABLES’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/cpu.h:78:18: note: in expansion of macro ‘FIELD_DP32’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2391:9: note: in expansion of macro ‘UPDATE_FP_FLAGS’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vffinth_d_w’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vffinth_d_w’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:2982:33: note: write of 8 bytes to beyond the end of ‘temp’
# 2980| for (i = 0; i < oprsz /16; i++) {
# 2981| for (j = 0; j < ofs; j++) {
# 2982|-> temp.D(j + ofs * i) = int32_to_float64(Vj->W(j + ofs * (2 * i + 1)),
# 2983| &env->fp_status);
# 2984| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1604]
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c: scope_hint: In function ‘helper_vfcmp_c_s’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:3095:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘t’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:3098:1: note: in expansion of macro ‘VFCMP’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:3098:1: note: in expansion of macro ‘VFCMP’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:3098:1: note: in expansion of macro ‘VFCMP’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:3098:1: note: in expansion of macro ‘VFCMP’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:3098:1: note: in expansion of macro ‘VFCMP’
qemu-8.2.2-build/qemu-8.2.2/target/loongarch/vec_helper.c:3098:1: note: in expansion of macro ‘VFCMP’
# 3093| vec_update_fcsr0(env, GETPC()); \
# 3094| } \
# 3095|-> *Vd = t; \
# 3096| }
# 3097|
Error: CLANG_WARNING: [#def1605]
qemu-8.2.2-build/qemu-8.2.2/target/m68k/softfloat.c:276:5: warning[deadcode.DeadStores]: Value stored to 'compact' is never read
# 274| status->floatx80_rounding_precision = floatx80_precision_x;
# 275|
# 276|-> compact = floatx80_make_compact(aExp, aSig);
# 277|
# 278| fp0 = a; /* Z */
Error: CLANG_WARNING: [#def1606]
qemu-8.2.2-build/qemu-8.2.2/target/m68k/softfloat.c:756:5: warning[deadcode.DeadStores]: Value stored to 'adjflag' is never read
# 754| status->floatx80_rounding_precision = floatx80_precision_x;
# 755|
# 756|-> adjflag = 0;
# 757|
# 758| if (aExp >= 0x3FBE) { /* |X| >= 2^(-65) */
Error: CLANG_WARNING: [#def1607]
qemu-8.2.2-build/qemu-8.2.2/target/m68k/softfloat.c:1520:13: warning[deadcode.DeadStores]: Value stored to 'fp0' is never read
# 1518| } else {
# 1519| /* SINSM */
# 1520|-> fp0 = float32_to_floatx80(make_float32(0x3F800000),
# 1521| status); /* 1 */
# 1522|
Error: CLANG_WARNING: [#def1608]
qemu-8.2.2-build/qemu-8.2.2/target/m68k/translate.c:4351:5: warning[deadcode.DeadStores]: Value stored to 'ext' is never read
# 4349| return;
# 4350| }
# 4351|-> ext = read_im16(env, s);
# 4352| if (IS_USER(s) || (ext & SR_S) == 0) {
# 4353| gen_exception(s, addr, EXCP_PRIVILEGE);
Error: CLANG_WARNING: [#def1609]
qemu-8.2.2-build/qemu-8.2.2/target/m68k/translate.c:4630:18: warning[core.UndefinedBinaryOperatorResult]: The left operand of '!=' is a garbage value
# 4628| static void do_trapcc(DisasContext *s, DisasCompare *c)
# 4629| {
# 4630|-> if (c->tcond != TCG_COND_NEVER) {
# 4631| TCGLabel *over = NULL;
# 4632|
Error: CLANG_WARNING: [#def1610]
qemu-8.2.2-build/qemu-8.2.2/target/m68k/translate.c:4947:9: warning[deadcode.DeadStores]: Value stored to 'opsize' is never read
# 4945| } else {
# 4946| /* Source register. */
# 4947|-> opsize = OS_EXTENDED;
# 4948| cpu_src = gen_fp_ptr(REG(ext, 10));
# 4949| }
Error: CLANG_WARNING: [#def1611]
qemu-8.2.2-build/qemu-8.2.2/target/m68k/translate.c:5258:5: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 5256| gen_fcc_cond(&c, s, cond);
# 5257| update_cc_op(s);
# 5258|-> tcg_gen_brcond_i32(c.tcond, c.v1, c.v2, l1);
# 5259| }
# 5260|
Error: CLANG_WARNING: [#def1612]
qemu-8.2.2-build/qemu-8.2.2/target/m68k/translate.c:5293:5: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 5291|
# 5292| tmp = tcg_temp_new();
# 5293|-> tcg_gen_negsetcond_i32(c.tcond, tmp, c.v1, c.v2);
# 5294|
# 5295| DEST_EA(env, insn, OS_BYTE, tmp, NULL);
Error: CLANG_WARNING: [#def1613]
qemu-8.2.2-build/qemu-8.2.2/target/mips/gdbstub.c:22: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/target/mips/internal.h:273:15: warning[deadcode.DeadStores]: Value stored to 'other_cs' during its initialization is never read
# 271| static inline int mips_vp_active(CPUMIPSState *env)
# 272| {
# 273|-> CPUState *other_cs = first_cpu;
# 274|
# 275| /* Check if the VP disabled other VPs (which means the VP is enabled) */
Error: CLANG_WARNING: [#def1614]
qemu-8.2.2-build/qemu-8.2.2/target/mips/tcg/msa_translate.c:138:9: warning[deadcode.DeadStores]: Value stored to 'off' is never read
# 136| * scalar floating-point unit (FPU) registers.
# 137| */
# 138|-> off = offsetof(CPUMIPSState, active_fpu.fpr[i].wr.d[0]);
# 139| msa_wr_d[i * 2] = fpu_f64[i];
# 140|
Error: CLANG_WARNING: [#def1615]
qemu-8.2.2-build/qemu-8.2.2/target/mips/tcg/sysemu/cp0_helper.c:901:15: warning[core.BitwiseShift]: Right shift by '32' overflows the capacity of 'uint32_t'
# 899|
# 900| /* Ensure no more set bit after first zero */
# 901|-> if ((mask >> maskbits) != 0) {
# 902| goto invalid;
# 903| }
Error: CLANG_WARNING: [#def1616]
qemu-8.2.2-build/qemu-8.2.2/target/mips/tcg/sysemu/cp0_helper.c:1637:15: warning[deadcode.DeadStores]: Value stored to 'other_cs' during its initialization is never read
# 1635| target_ulong helper_dvpe(CPUMIPSState *env)
# 1636| {
# 1637|-> CPUState *other_cs = first_cpu;
# 1638| target_ulong prev = env->mvp->CP0_MVPControl;
# 1639|
Error: CLANG_WARNING: [#def1617]
qemu-8.2.2-build/qemu-8.2.2/target/mips/tcg/sysemu/cp0_helper.c:1653:15: warning[deadcode.DeadStores]: Value stored to 'other_cs' during its initialization is never read
# 1651| target_ulong helper_evpe(CPUMIPSState *env)
# 1652| {
# 1653|-> CPUState *other_cs = first_cpu;
# 1654| target_ulong prev = env->mvp->CP0_MVPControl;
# 1655|
Error: CLANG_WARNING: [#def1618]
qemu-8.2.2-build/qemu-8.2.2/target/mips/tcg/sysemu/cp0_helper.c:1673:15: warning[deadcode.DeadStores]: Value stored to 'other_cs' during its initialization is never read
# 1671| target_ulong helper_dvp(CPUMIPSState *env)
# 1672| {
# 1673|-> CPUState *other_cs = first_cpu;
# 1674| target_ulong prev = env->CP0_VPControl;
# 1675|
Error: CLANG_WARNING: [#def1619]
qemu-8.2.2-build/qemu-8.2.2/target/mips/tcg/sysemu/cp0_helper.c:1691:15: warning[deadcode.DeadStores]: Value stored to 'other_cs' during its initialization is never read
# 1689| target_ulong helper_evp(CPUMIPSState *env)
# 1690| {
# 1691|-> CPUState *other_cs = first_cpu;
# 1692| target_ulong prev = env->CP0_VPControl;
# 1693|
Error: CLANG_WARNING: [#def1620]
qemu-8.2.2-build/qemu-8.2.2/target/mips/tcg/sysemu/tlb_helper.c:346:15: warning[deadcode.DeadStores]: Value stored to 'other_cs' during its initialization is never read
# 344| uint8_t invMsgR = 0;
# 345| uint32_t invMsgMMid = env->CP0_MemoryMapID;
# 346|-> CPUState *other_cs = first_cpu;
# 347|
# 348| #ifdef TARGET_MIPS64
Error: CLANG_WARNING: [#def1621]
qemu-8.2.2-build/qemu-8.2.2/target/mips/tcg/translate.c:8771:17: warning[deadcode.DeadStores]: Value stored to 'opn' during its initialization is never read
# 8769| int rt, int rd)
# 8770| {
# 8771|-> const char *opn = "ldst";
# 8772|
# 8773| check_cp0_enabled(ctx);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1622]
qemu-8.2.2-build/qemu-8.2.2/include/hw/ppc/ppc.h:4: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/mac_oldworld.c:31: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/mac_oldworld.c: scope_hint: In function ‘ppc_heathrow_init’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu.h:284:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘env’
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/mac_oldworld.c:266:17: note: in expansion of macro ‘PPC_INPUT’
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/mac_oldworld.c:27: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:477:28: note: in definition of macro ‘ROUND_DOWN’
qemu-8.2.2-build/qemu-8.2.2/include/exec/cpu-all.h:172:33: note: in expansion of macro ‘ROUND_UP’
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/mac_oldworld.c:182:27: note: in expansion of macro ‘TARGET_PAGE_ALIGN’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:477:28: note: in definition of macro ‘ROUND_DOWN’
qemu-8.2.2-build/qemu-8.2.2/include/exec/cpu-all.h:172:33: note: in expansion of macro ‘ROUND_UP’
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/mac_oldworld.c:192:28: note: in expansion of macro ‘TARGET_PAGE_ALIGN’
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/mac_oldworld.c:266:17: note: in expansion of macro ‘PPC_INPUT’
qemu-8.2.2-build/qemu-8.2.2/hw/ppc/mac_oldworld.c:266:17: note: in expansion of macro ‘PPC_INPUT’
# 282| } powerpc_input_t;
# 283|
# 284|-> #define PPC_INPUT(env) ((env)->bus_model)
# 285|
# 286| /*****************************************************************************/
Error: CLANG_WARNING: [#def1623]
qemu-8.2.2-build/qemu-8.2.2/target/ppc/mmu_helper.c:22: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu.h:2748:13: warning[core.BitwiseShift]: Left shift by '32' overflows the capacity of 'target_ulong'
# 2746| ea >>= MAS2_EPN_SHIFT;
# 2747| ea &= (1 << (tlb_bits - ways_bits)) - 1;
# 2748|-> r = (ea << ways_bits) | way;
# 2749|
# 2750| if (r >= booke206_tlb_size(env, tlbn)) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1624]
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:45: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c: scope_hint: In function ‘register_BookE206_sprs’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:896:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tlbncfg’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:61:39: note: in definition of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:893:9: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:770:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:61:39: note: in definition of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:893:9: note: in expansion of macro ‘spr_register’
# 894| SPR_NOACCESS, SPR_NOACCESS,
# 895| &spr_read_generic, SPR_NOACCESS,
# 896|-> tlbncfg[3]);
# 897| /* Fallthru */
# 898| case 3:
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1625]
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:896:29: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:61:39: note: in definition of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:893:9: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:770:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:61:39: note: in definition of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:893:9: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:896:29: note: read of 4 bytes from after the end of ‘tlbncfg’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:61:39: note: in definition of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:893:9: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:896:29: note: valid subscripts for ‘tlbncfg’ are ‘[0]’ to ‘[1]’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:61:39: note: in definition of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:893:9: note: in expansion of macro ‘spr_register’
# └────────────────────────────┘
# ^
# 894| SPR_NOACCESS, SPR_NOACCESS,
# 895| &spr_read_generic, SPR_NOACCESS,
# 896|-> tlbncfg[3]);
# 897| /* Fallthru */
# 898| case 3:
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1626]
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:902:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tlbncfg’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:61:39: note: in definition of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:899:9: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:770:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:61:39: note: in definition of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:899:9: note: in expansion of macro ‘spr_register’
# 900| SPR_NOACCESS, SPR_NOACCESS,
# 901| &spr_read_generic, SPR_NOACCESS,
# 902|-> tlbncfg[2]);
# 903| /* Fallthru */
# 904| case 2:
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1627]
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:902:29: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:61:39: note: in definition of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:899:9: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:770:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:61:39: note: in definition of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:899:9: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:902:29: note: read of 4 bytes from after the end of ‘tlbncfg’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:61:39: note: in definition of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:899:9: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:902:29: note: valid subscripts for ‘tlbncfg’ are ‘[0]’ to ‘[1]’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:61:39: note: in definition of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:899:9: note: in expansion of macro ‘spr_register’
# └────────────────────────────┘
# ^
# 900| SPR_NOACCESS, SPR_NOACCESS,
# 901| &spr_read_generic, SPR_NOACCESS,
# 902|-> tlbncfg[2]);
# 903| /* Fallthru */
# 904| case 2:
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1628]
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:908:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tlbncfg’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:61:39: note: in definition of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:905:9: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:770:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:61:39: note: in definition of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:905:9: note: in expansion of macro ‘spr_register’
# 906| SPR_NOACCESS, SPR_NOACCESS,
# 907| &spr_read_generic, SPR_NOACCESS,
# 908|-> tlbncfg[1]);
# 909| /* Fallthru */
# 910| case 1:
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1629]
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:914:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tlbncfg’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:61:39: note: in definition of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:911:9: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:770:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:61:39: note: in definition of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:911:9: note: in expansion of macro ‘spr_register’
# 912| SPR_NOACCESS, SPR_NOACCESS,
# 913| &spr_read_generic, SPR_NOACCESS,
# 914|-> tlbncfg[0]);
# 915| /* Fallthru */
# 916| case 0:
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def1630]
qemu-8.2.2-build/qemu-8.2.2/target/ppc/misc_helper.c: scope_hint: In function ‘helper_hfscr_facility_check’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/misc_helper.c:124:38: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘1024’) >= precision of type (‘64’)
# 122| #ifdef TARGET_PPC64
# 123| if ((env->msr_mask & MSR_HVB) && !FIELD_EX64(env->msr, MSR, HV) &&
# 124|-> !(env->spr[SPR_HFSCR] & (1UL << bit))) {
# 125| raise_hv_fu_exception(env, bit, caller, cause, GETPC());
# 126| }
Error: CLANG_WARNING: [#def1631]
qemu-8.2.2-build/qemu-8.2.2/target/ppc/misc_helper.c:124:67: warning[core.BitwiseShift]: Left shift by '1024' overflows the capacity of 'unsigned long'
# 122| #ifdef TARGET_PPC64
# 123| if ((env->msr_mask & MSR_HVB) && !FIELD_EX64(env->msr, MSR, HV) &&
# 124|-> !(env->spr[SPR_HFSCR] & (1UL << bit))) {
# 125| raise_hv_fu_exception(env, bit, caller, cause, GETPC());
# 126| }
Error: CLANG_WARNING: [#def1632]
qemu-8.2.2-build/qemu-8.2.2/target/ppc/mmu_common.c:400:5: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 398| "pte segment: key=%d ds %d nx %d vsid " TARGET_FMT_lx "\n",
# 399| ctx->key, ds, ctx->nx, vsid);
# 400|-> ret = -1;
# 401| if (!ds) {
# 402| /* Check if instruction fetch is allowed, if needed */
Error: CLANG_WARNING: [#def1633]
qemu-8.2.2-build/qemu-8.2.2/target/ppc/mmu_common.c:596:6: warning[core.CallAndMessage]: 5th function call argument is an uninitialized value
# 594| }
# 595| }
# 596|-> qemu_log_mask(CPU_LOG_MMU, "%s: access refused " TARGET_FMT_lx
# 597| " => " HWADDR_FMT_plx
# 598| " %d %d\n", __func__, address, raddr, ctx->prot, ret);
Error: CLANG_WARNING: [#def1634]
qemu-8.2.2-build/qemu-8.2.2/target/ppc/mmu_common.c:686:10: warning[core.CallAndMessage]: 5th function call argument is an uninitialized value
# 684| address, ctx->raddr, ctx->prot, ret);
# 685| } else {
# 686|-> qemu_log_mask(CPU_LOG_MMU, "%s: access refused " TARGET_FMT_lx
# 687| " => " HWADDR_FMT_plx " %d %d\n", __func__,
# 688| address, raddr, ctx->prot, ret);
Error: CLANG_WARNING: [#def1635]
qemu-8.2.2-build/qemu-8.2.2/target/ppc/mmu_common.c:1231:13: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 1229| case POWERPC_MMU_REAL:
# 1230| if (real_mode) {
# 1231|-> ret = check_physical(env, ctx, eaddr, access_type);
# 1232| } else {
# 1233| cpu_abort(env_cpu(env),
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1636]
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:45: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c: scope_hint: In function ‘register_BookE206_sprs’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:57:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tlbncfg’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:893:9: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:770:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:893:9: note: in expansion of macro ‘spr_register’
# 55| oea_read, oea_write, hea_read, hea_write, \
# 56| one_reg_id, initial_value) \
# 57|-> _spr_register(env, num, name, \
# 58| USR_ARG(uea_read) USR_ARG(uea_write) \
# 59| SYS_ARG(oea_read) SYS_ARG(oea_write) \
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1637]
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:57:5: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:893:9: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:770:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:857:13: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:893:9: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:57:5: note: read of 4 bytes from after the end of ‘tlbncfg’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:893:9: note: in expansion of macro ‘spr_register’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:57:5: note: valid subscripts for ‘tlbncfg’ are ‘[0]’ to ‘[1]’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:66:5: note: in expansion of macro ‘spr_register_kvm_hv’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/spr_common.h:77:5: note: in expansion of macro ‘spr_register_kvm’
qemu-8.2.2-build/qemu-8.2.2/target/ppc/cpu_init.c:893:9: note: in expansion of macro ‘spr_register’
# └────────────────────────────┘
# ^
# 55| oea_read, oea_write, hea_read, hea_write, \
# 56| one_reg_id, initial_value) \
# 57|-> _spr_register(env, num, name, \
# 58| USR_ARG(uea_read) USR_ARG(uea_write) \
# 59| SYS_ARG(oea_read) SYS_ARG(oea_write) \
Error: CLANG_WARNING: [#def1638]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/cpu_helper.c:151:14: warning[deadcode.DeadStores]: Value stored to 'xl' during its initialization is never read
# 149| {
# 150| target_ulong mask = 0, base = 0;
# 151|-> RISCVMXL xl = env->xl;
# 152| /*
# 153| * TODO: Current RVJ spec does not specify
Error: CLANG_WARNING: [#def1639]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/cpu_helper.c:1140:44: warning[core.BitwiseShift]: Left shift by '36' overflows the capacity of 'target_ulong'
# 1138| napot_mask = (1 << napot_bits) - 1;
# 1139| *physical = (((ppn & ~napot_mask) | (vpn & napot_mask) |
# 1140|-> (vpn & (((target_ulong)1 << ptshift) - 1))
# 1141| ) << PGSHIFT) | (addr & ~TARGET_PAGE_MASK);
# 1142|
Error: CLANG_WARNING: [#def1640]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/csr.c:738:33: warning[core.BitwiseShift]: Left shift by '64' overflows the capacity of 'unsigned long long'
# 736| * to hold the largest element index, i.e. lg2(VLEN) bits.
# 737| */
# 738|-> env->vstart = val & ~(~0ULL << ctzl(riscv_cpu_cfg(env)->vlen));
# 739| return RISCV_EXCP_NONE;
# 740| }
Error: CLANG_WARNING: [#def1641]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/csr.c:2036:27: warning[deadcode.DeadStores]: Value stored to 'cfg' during its initialization is never read
# 2034| target_ulong val)
# 2035| {
# 2036|-> const RISCVCPUConfig *cfg = riscv_cpu_cfg(env);
# 2037| uint64_t mask = MENVCFG_FIOM | MENVCFG_CBIE | MENVCFG_CBCFE | MENVCFG_CBZE;
# 2038|
Error: CLANG_WARNING: [#def1642]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/csr.c:2556:18: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2554| ret = rmw_mvip64(env, csrno, &rval, new_val, wr_mask);
# 2555| if (ret_val) {
# 2556|-> *ret_val = rval;
# 2557| }
# 2558|
Error: CLANG_WARNING: [#def1643]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/csr.c:2572:25: warning[core.UndefinedBinaryOperatorResult]: The left operand of '>>' is a garbage value
# 2570| ((uint64_t)new_val) << 32, ((uint64_t)wr_mask) << 32);
# 2571| if (ret_val) {
# 2572|-> *ret_val = rval >> 32;
# 2573| }
# 2574|
Error: CLANG_WARNING: [#def1644]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/csr.c:2585:9: warning[deadcode.DeadStores]: Value stored to 'mask' is never read
# 2583| uint64_t sstatus = env->mstatus & mask;
# 2584| if (env->xl != MXL_RV32 || env->debugger) {
# 2585|-> mask |= SSTATUS64_UXL;
# 2586| }
# 2587|
Error: CLANG_WARNING: [#def1645]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/csr.c:2753:25: warning[core.UndefinedBinaryOperatorResult]: The left operand of '>>' is a garbage value
# 2751| ((uint64_t)new_val) << 32, ((uint64_t)wr_mask) << 32);
# 2752| if (ret_val) {
# 2753|-> *ret_val = rval >> 32;
# 2754| }
# 2755|
Error: CLANG_WARNING: [#def1646]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/csr.c:2963:18: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2961| ret = rmw_sip64(env, csrno, &rval, new_val, wr_mask);
# 2962| if (ret_val) {
# 2963|-> *ret_val = rval;
# 2964| }
# 2965|
Error: CLANG_WARNING: [#def1647]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/csr.c:2979:25: warning[core.UndefinedBinaryOperatorResult]: The left operand of '>>' is a garbage value
# 2977| ((uint64_t)new_val) << 32, ((uint64_t)wr_mask) << 32);
# 2978| if (ret_val) {
# 2979|-> *ret_val = rval >> 32;
# 2980| }
# 2981|
Error: CLANG_WARNING: [#def1648]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/translate.c:1102: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/target/riscv/insn_trans/trans_xthead.c.inc:916:10: warning[deadcode.DeadStores]: Value stored to 'addr1' during its initialization is never read
# 914| TCGv t1 = tcg_temp_new();
# 915| TCGv t2 = tcg_temp_new();
# 916|-> TCGv addr1 = tcg_temp_new();
# 917| TCGv addr2 = tcg_temp_new();
# 918| int imm = a->sh2 << shamt;
Error: CLANG_WARNING: [#def1649]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/insn_trans/trans_xthead.c.inc:917:10: warning[deadcode.DeadStores]: Value stored to 'addr2' during its initialization is never read
# 915| TCGv t2 = tcg_temp_new();
# 916| TCGv addr1 = tcg_temp_new();
# 917|-> TCGv addr2 = tcg_temp_new();
# 918| int imm = a->sh2 << shamt;
# 919|
Error: CLANG_WARNING: [#def1650]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/insn_trans/trans_xthead.c.inc:954:10: warning[deadcode.DeadStores]: Value stored to 'addr1' during its initialization is never read
# 952| TCGv data1 = get_gpr(ctx, a->rd1, EXT_NONE);
# 953| TCGv data2 = get_gpr(ctx, a->rd2, EXT_NONE);
# 954|-> TCGv addr1 = tcg_temp_new();
# 955| TCGv addr2 = tcg_temp_new();
# 956| int imm = a->sh2 << shamt;
Error: CLANG_WARNING: [#def1651]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/insn_trans/trans_xthead.c.inc:955:10: warning[deadcode.DeadStores]: Value stored to 'addr2' during its initialization is never read
# 953| TCGv data2 = get_gpr(ctx, a->rd2, EXT_NONE);
# 954| TCGv addr1 = tcg_temp_new();
# 955|-> TCGv addr2 = tcg_temp_new();
# 956| int imm = a->sh2 << shamt;
# 957|
Error: CLANG_WARNING: [#def1652]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/vcrypto_helper.c:519:5: warning[deadcode.DeadStores]: Value stored to 'h' is never read
# 517| T1 = h + sum1_64(e) + ch(e, f, g) + W1;
# 518| T2 = sum0_64(a) + maj(a, b, c);
# 519|-> h = g;
# 520| g = f;
# 521| f = e;
Error: CLANG_WARNING: [#def1653]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/vcrypto_helper.c:520:5: warning[deadcode.DeadStores]: Value stored to 'g' is never read
# 518| T2 = sum0_64(a) + maj(a, b, c);
# 519| h = g;
# 520|-> g = f;
# 521| f = e;
# 522| e = d + T1;
Error: CLANG_WARNING: [#def1654]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/vcrypto_helper.c:523:5: warning[deadcode.DeadStores]: Value stored to 'd' is never read
# 521| f = e;
# 522| e = d + T1;
# 523|-> d = c;
# 524| c = b;
# 525| b = a;
Error: CLANG_WARNING: [#def1655]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/vcrypto_helper.c:524:5: warning[deadcode.DeadStores]: Value stored to 'c' is never read
# 522| e = d + T1;
# 523| d = c;
# 524|-> c = b;
# 525| b = a;
# 526| a = T1 + T2;
Error: CLANG_WARNING: [#def1656]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/vcrypto_helper.c:553:5: warning[deadcode.DeadStores]: Value stored to 'h' is never read
# 551| T1 = h + sum1_32(e) + ch(e, f, g) + W1;
# 552| T2 = sum0_32(a) + maj(a, b, c);
# 553|-> h = g;
# 554| g = f;
# 555| f = e;
Error: CLANG_WARNING: [#def1657]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/vcrypto_helper.c:554:5: warning[deadcode.DeadStores]: Value stored to 'g' is never read
# 552| T2 = sum0_32(a) + maj(a, b, c);
# 553| h = g;
# 554|-> g = f;
# 555| f = e;
# 556| e = d + T1;
Error: CLANG_WARNING: [#def1658]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/vcrypto_helper.c:557:5: warning[deadcode.DeadStores]: Value stored to 'd' is never read
# 555| f = e;
# 556| e = d + T1;
# 557|-> d = c;
# 558| c = b;
# 559| b = a;
Error: CLANG_WARNING: [#def1659]
qemu-8.2.2-build/qemu-8.2.2/target/riscv/vcrypto_helper.c:558:5: warning[deadcode.DeadStores]: Value stored to 'c' is never read
# 556| e = d + T1;
# 557| d = c;
# 558|-> c = b;
# 559| b = a;
# 560| a = T1 + T2;
Error: CLANG_WARNING: [#def1660]
qemu-8.2.2-build/qemu-8.2.2/target/s390x/arch_dump.c:251:9: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 249| }
# 250|
# 251|-> memset(notep, 0, note_size);
# 252|
# 253| /* Setup note header data */
Error: CLANG_WARNING: [#def1661]
qemu-8.2.2-build/qemu-8.2.2/target/s390x/arch_dump.c:446:8: warning[unix.Malloc]: Potential leak of memory pointed to by 'buff'
# 444|
# 445| buff = g_malloc(kvm_s390_pv_dmp_get_size_completion_data());
# 446|-> rc = kvm_s390_dump_completion_data(buff);
# 447| if (!rc) {
# 448| pv_dump_initialized = false;
Error: CLANG_WARNING: [#def1662]
qemu-8.2.2-build/qemu-8.2.2/target/s390x/cpu_models_sysemu.c:357:9: warning[core.NullDereference]: Access to field 'gen' results in a dereference of an undefined pointer value (loaded from field 'def')
# 355|
# 356| /* detect the maximum model not regarding features */
# 357|-> if (modela.def->gen == modelb.def->gen) {
# 358| if (modela.def->type == modelb.def->type) {
# 359| cpu_type = modela.def->type;
Error: CLANG_WARNING: [#def1663]
qemu-8.2.2-build/qemu-8.2.2/target/s390x/cpu_models_sysemu.c:357:28: warning[core.NullDereference]: Access to field 'gen' results in a dereference of an undefined pointer value (loaded from field 'def')
# 355|
# 356| /* detect the maximum model not regarding features */
# 357|-> if (modela.def->gen == modelb.def->gen) {
# 358| if (modela.def->type == modelb.def->type) {
# 359| cpu_type = modela.def->type;
Error: CPPCHECK_WARNING: [#def1664]
qemu-8.2.2-build/qemu-8.2.2/target/s390x/gen-features.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1665]
qemu-8.2.2-build/qemu-8.2.2/target/s390x/mmu_helper.c:39:14: warning[deadcode.DeadStores]: Value stored to 'cpu' during its initialization is never read
# 37| uint64_t tec)
# 38| {
# 39|-> S390CPU *cpu = env_archcpu(env);
# 40|
# 41| if (kvm_enabled()) {
Error: GCC_ANALYZER_WARNING (CWE-835): [#def1666]
qemu-8.2.2-build/qemu-8.2.2/target/sh4/op_helper.c: scope_hint: In function ‘helper_ocbi’
qemu-8.2.2-build/qemu-8.2.2/target/sh4/op_helper.c:143:12: warning[-Wanalyzer-infinite-loop]: infinite loop
# 141| {
# 142| memory_content **current = &(env->movcal_backup);
# 143|-> while (*current)
# 144| {
# 145| uint32_t a = (*current)->address;
Error: CLANG_WARNING: [#def1667]
qemu-8.2.2-build/qemu-8.2.2/target/sh4/translate.c:1863:5: warning[deadcode.DeadStores]: Value stored to 'ld_adr' is never read
# 1861| }
# 1862|
# 1863|-> ld_adr = ld_dst = ld_mop = -1;
# 1864| mv_src = -1;
# 1865| op_dst = op_src = op_opc = -1;
Error: CLANG_WARNING: [#def1668]
qemu-8.2.2-build/qemu-8.2.2/target/sh4/translate.c:1863:14: warning[deadcode.DeadStores]: Although the value stored to 'ld_dst' is used in the enclosing expression, the value is never actually read from 'ld_dst'
# 1861| }
# 1862|
# 1863|-> ld_adr = ld_dst = ld_mop = -1;
# 1864| mv_src = -1;
# 1865| op_dst = op_src = op_opc = -1;
Error: CLANG_WARNING: [#def1669]
qemu-8.2.2-build/qemu-8.2.2/target/sh4/translate.c:1863:23: warning[deadcode.DeadStores]: Although the value stored to 'ld_mop' is used in the enclosing expression, the value is never actually read from 'ld_mop'
# 1861| }
# 1862|
# 1863|-> ld_adr = ld_dst = ld_mop = -1;
# 1864| mv_src = -1;
# 1865| op_dst = op_src = op_opc = -1;
Error: CLANG_WARNING: [#def1670]
qemu-8.2.2-build/qemu-8.2.2/target/sh4/translate.c:1865:5: warning[deadcode.DeadStores]: Value stored to 'op_dst' is never read
# 1863| ld_adr = ld_dst = ld_mop = -1;
# 1864| mv_src = -1;
# 1865|-> op_dst = op_src = op_opc = -1;
# 1866| mt_dst = -1;
# 1867| st_src = st_mop = -1;
Error: CLANG_WARNING: [#def1671]
qemu-8.2.2-build/qemu-8.2.2/target/sh4/translate.c:1867:5: warning[deadcode.DeadStores]: Value stored to 'st_src' is never read
# 1865| op_dst = op_src = op_opc = -1;
# 1866| mt_dst = -1;
# 1867|-> st_src = st_mop = -1;
# 1868| op_arg = NULL;
# 1869| i = 0;
Error: CLANG_WARNING: [#def1672]
qemu-8.2.2-build/qemu-8.2.2/target/sh4/translate.c:1867:14: warning[deadcode.DeadStores]: Although the value stored to 'st_mop' is used in the enclosing expression, the value is never actually read from 'st_mop'
# 1865| op_dst = op_src = op_opc = -1;
# 1866| mt_dst = -1;
# 1867|-> st_src = st_mop = -1;
# 1868| op_arg = NULL;
# 1869| i = 0;
Error: CLANG_WARNING: [#def1673]
qemu-8.2.2-build/qemu-8.2.2/target/sparc/mmu_helper.c:662:9: warning[deadcode.DeadStores]: Value stored to 'context' is never read
# 660| /* fallthru */
# 661| case MMU_KERNEL_IDX:
# 662|-> context = env->dmmu.mmu_primary_context & 0x1fff;
# 663| break;
# 664| default:
Error: CLANG_WARNING: [#def1674]
qemu-8.2.2-build/qemu-8.2.2/target/sparc/mmu_helper.c:665:9: warning[deadcode.DeadStores]: Value stored to 'context' is never read
# 663| break;
# 664| default:
# 665|-> context = 0;
# 666| break;
# 667| }
Error: CLANG_WARNING: [#def1675]
qemu-8.2.2-build/qemu-8.2.2/target/tricore/op_helper.c:1915:5: warning[deadcode.DeadStores]: Value stored to 'nOnes' is never read
# 1913|
# 1914| ret = 0;
# 1915|-> nOnes = 0;
# 1916| for (i = 0; i < 8; i++) {
# 1917| ret ^= (r1 & 1);
Error: CLANG_WARNING: [#def1676]
qemu-8.2.2-build/qemu-8.2.2/target/tricore/op_helper.c:2421:20: warning[core.BitwiseShift]: Right operand is negative in left shift
# 2419| /* check for overflow */
# 2420| int lo = clo32((*psw & MASK_PSW_CDC) << (32 - 7));
# 2421|-> int mask = (1u << (7 - lo)) - 1;
# 2422| int count = *psw & mask;
# 2423| if (count == 0) {
Error: CLANG_WARNING: [#def1677]
qemu-8.2.2-build/qemu-8.2.2/target/tricore/op_helper.c:2437:20: warning[core.BitwiseShift]: Right operand is negative in left shift
# 2435| /* check for underflow */
# 2436| int lo = clo32((*psw & MASK_PSW_CDC) << (32 - 7));
# 2437|-> int mask = (1u << (7 - lo)) - 1;
# 2438| int count = *psw & mask;
# 2439| if (count == 0) {
Error: CLANG_WARNING: [#def1678]
qemu-8.2.2-build/qemu-8.2.2/target/tricore/op_helper.c:2456:20: warning[core.BitwiseShift]: Right operand is negative in left shift
# 2454| /* find CDC.COUNT */
# 2455| int lo = clo32((*psw & MASK_PSW_CDC) << (32 - 7));
# 2456|-> int mask = (1u << (7 - lo)) - 1;
# 2457| int count = *psw & mask;
# 2458| return count == 0;
Error: CLANG_WARNING: [#def1679]
qemu-8.2.2-build/qemu-8.2.2/target/tricore/translate.c:2570:9: warning[deadcode.DeadStores]: Value stored to 'high' is never read
# 2568| } else {
# 2569| low = tcg_temp_new();
# 2570|-> high = tcg_temp_new();
# 2571|
# 2572| tcg_gen_ext16s_tl(low, r1);
Error: CLANG_WARNING: [#def1680]
qemu-8.2.2-build/qemu-8.2.2/target/xtensa/mmu_helper.c:1007:16: warning[core.uninitialized.ArraySubscript]: Array subscript is undefined
# 1005| env->config->n_mpu_bg_segments,
# 1006| v, &bg_segment);
# 1007|-> return env->config->mpu_bg[bg_segment].attr | segment;
# 1008| }
# 1009| }
Error: CLANG_WARNING: [#def1681]
qemu-8.2.2-build/qemu-8.2.2/target/xtensa/translate.c:562:5: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 560| TCGLabel *label = gen_new_label();
# 561|
# 562|-> tcg_gen_brcondi_i32(TCG_COND_NE, arg[2].in, 0, label);
# 563| gen_exception_cause(dc, INTEGER_DIVIDE_BY_ZERO_CAUSE);
# 564| gen_set_label(label);
Error: CLANG_WARNING: [#def1682]
qemu-8.2.2-build/qemu-8.2.2/target/xtensa/translate.c:953:28: warning[core.NullDereference]: Access to field 'par' results in a dereference of a null pointer (loaded from variable 'ops')
# 951| }
# 952| if (op_flags & XTENSA_OP_DEBUG_BREAK) {
# 953|-> debug_cause |= ops->par[0];
# 954| }
# 955| if (ops->test_overflow) {
Error: CLANG_WARNING: [#def1683]
qemu-8.2.2-build/qemu-8.2.2/target/xtensa/translate.c:955:13: warning[core.NullDereference]: Access to field 'test_overflow' results in a dereference of a null pointer (loaded from variable 'ops')
# 953| debug_cause |= ops->par[0];
# 954| }
# 955|-> if (ops->test_overflow) {
# 956| windowed_register |= ops->test_overflow(dc, arg, ops->par);
# 957| }
Error: CPPCHECK_WARNING: [#def1684]
qemu-8.2.2-build/qemu-8.2.2/target/xtensa/xtensa-isa.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1685]
qemu-8.2.2-build/qemu-8.2.2/target/xtensa/xtensa-isa.c: scope_hint: In function ‘xtensa_isa_num_pipe_stages’
qemu-8.2.2-build/qemu-8.2.2/target/xtensa/xtensa-isa.c:411:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/target/xtensa/xtensa-isa.c: scope_hint: In function ‘xtensa_isa_num_pipe_stages’
qemu-8.2.2-build/qemu-8.2.2/target/xtensa/xtensa-isa.c:799:5: note: in expansion of macro ‘CHECK_OPCODE’
qemu-8.2.2-build/qemu-8.2.2/target/xtensa/xtensa-isa.c:799:5: note: in expansion of macro ‘CHECK_OPCODE’
qemu-8.2.2-build/qemu-8.2.2/target/xtensa/xtensa-isa.c:809:5: note: in expansion of macro ‘CHECK_OPCODE’
# 409| for (i = 0; i < num_uses; i++) {
# 410| use = xtensa_opcode_funcUnit_use(isa, opcode, i);
# 411|-> stage = use->stage;
# 412| if (stage > max_stage) {
# 413| max_stage = stage;
Error: CLANG_WARNING: [#def1686]
qemu-8.2.2-build/qemu-8.2.2/target/xtensa/xtensa-semi.c:264:21: warning[deadcode.DeadStores]: Value stored to 'error' is never read
# 262| cpu_physical_memory_unmap(buf, sz, !is_write, io_done);
# 263| } else {
# 264|-> error = true;
# 265| regs[3] = TARGET_EINVAL;
# 266| break;
Error: CLANG_WARNING: [#def1687]
qemu-8.2.2-build/qemu-8.2.2/tcg/tcg.c:257:20: warning[core.NullDereference]: Dereference of null pointer
# 255| static __attribute__((unused)) inline void tcg_out8(TCGContext *s, uint8_t v)
# 256| {
# 257|-> *s->code_ptr++ = v;
# 258| }
# 259|
Error: CLANG_WARNING: [#def1688]
qemu-8.2.2-build/qemu-8.2.2/tcg/tcg.c:2581:13: warning[deadcode.DeadStores]: Value stored to 'nb_cargs' is never read
# 2579| nb_oargs = TCGOP_CALLO(op);
# 2580| nb_iargs = TCGOP_CALLI(op);
# 2581|-> nb_cargs = def->nb_cargs;
# 2582|
# 2583| col += ne_fprintf(f, " %s ", def->name);
Error: CLANG_WARNING: [#def1689]
qemu-8.2.2-build/qemu-8.2.2/tcg/tcg.c:5147:23: warning[deadcode.DeadStores]: Value stored to 'arg_life' during its initialization is never read
# 5145| static bool tcg_reg_alloc_dup2(TCGContext *s, const TCGOp *op)
# 5146| {
# 5147|-> const TCGLifeData arg_life = op->life;
# 5148| TCGTemp *ots, *itsl, *itsh;
# 5149| TCGType vtype = TCGOP_VECL(op) + TCG_TYPE_V64;
Error: CLANG_WARNING: [#def1690]
qemu-8.2.2-build/qemu-8.2.2/tcg/tcg.c:5149:13: warning[deadcode.DeadStores]: Value stored to 'vtype' during its initialization is never read
# 5147| const TCGLifeData arg_life = op->life;
# 5148| TCGTemp *ots, *itsl, *itsh;
# 5149|-> TCGType vtype = TCGOP_VECL(op) + TCG_TYPE_V64;
# 5150|
# 5151| /* This opcode is only valid for 32-bit hosts, for 64-bit elements. */
Error: CLANG_WARNING: [#def1691]
qemu-8.2.2-build/qemu-8.2.2/tcg/tcg.c:5886:9: warning[deadcode.DeadStores]: Value stored to 'ofs_slot0' is never read
# 5884| case TCG_TYPE_I128:
# 5885| tcg_debug_assert(TCG_TARGET_REG_BITS == 64);
# 5886|-> ofs_slot0 = TCG_TARGET_CALL_STACK_OFFSET;
# 5887| switch (TCG_TARGET_CALL_RET_I128) {
# 5888| case TCG_CALL_RET_NORMAL:
Error: CPPCHECK_WARNING: [#def1692]
qemu-8.2.2-build/qemu-8.2.2/tests/bench/benchmark-crypto-akcipher.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1693]
qemu-8.2.2-build/qemu-8.2.2/tests/bench/benchmark-crypto-cipher.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1694]
qemu-8.2.2-build/qemu-8.2.2/tests/bench/benchmark-crypto-hash.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1695]
qemu-8.2.2-build/qemu-8.2.2/tests/bench/benchmark-crypto-hmac.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1696]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ahci-test.c: scope_hint: In function ‘remove_iso’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ahci-test.c:1545:5: warning[-Wanalyzer-null-argument]: use of NULL ‘name’ where non-null expected
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ahci-test.c:25: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ahci-test.c:1528:5: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ahci-test.c:1529:5: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ahci-test.c:1529:5: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ahci-test.c:1530:5: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ahci-test.c:1530:5: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ahci-test.c:1536:5: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ahci-test.c:1538:13: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ahci-test.c:1538:13: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ahci-test.c: scope_hint: In function ‘remove_iso’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:122: included_from: Included from here.
/usr/include/unistd.h:858:12: note: argument 1 of ‘unlink’ must be non-null
# 1543| static void remove_iso(int fd, char *name)
# 1544| {
# 1545|-> unlink(name);
# 1546| g_free(name);
# 1547| close(fd);
Error: CPPCHECK_WARNING: [#def1697]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/bcm2835-dma-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def1698]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/boot-sector.c:173: warning[uninitvar]: Uninitialized variable: signature
# 171| }
# 172|
# 173|-> g_assert_cmphex(signature, ==, SIGNATURE);
# 174| }
# 175|
Error: CPPCHECK_WARNING: [#def1699]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/boot-serial-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1700]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/cdrom-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1701]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/cpu-plug-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1702]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/emc141x-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1703]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/fdc-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1704]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/hd-geo-test.c:355:5: warning[deadcode.DeadStores]: Value stored to 'argc' is never read
# 353| expected_chst.secs);
# 354| cur_ide[0] = &expected_chst;
# 355|-> argc = setup_ide(argc, argv, ARGV_SIZE, 0, opts, backend_small, mbr_chs);
# 356| g_free(opts);
# 357| args = g_strjoinv(" ", argv);
Error: CLANG_WARNING: [#def1705]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ide-test.c:850:24: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 848| for (i = 0; i < sizeof(Read10CDB)/2; i++) {
# 849| qpci_io_writew(dev, ide_bar, reg_data,
# 850|-> le16_to_cpu(((uint16_t *)&pkt)[i]));
# 851| }
# 852| }
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1706]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ide-test.c: scope_hint: In function ‘cdrom_pio_impl’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ide-test.c:925:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(tmp_path[0], "wb+")’ where non-null expected
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:114: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ide-test.c:25: included_from: Included from here.
/usr/include/stdio.h:735:15: note: argument 4 of ‘fwrite’ must be non-null
# 923| generate_pattern(pattern, patt_len, ATAPI_BLOCK_SIZE);
# 924| fh = fopen(tmp_path[0], "wb+");
# 925|-> ret = fwrite(pattern, ATAPI_BLOCK_SIZE, patt_blocks, fh);
# 926| g_assert_cmpint(ret, ==, patt_blocks);
# 927| fclose(fh);
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1707]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ide-test.c: scope_hint: In function ‘test_cdrom_dma’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ide-test.c:1026:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(tmp_path[0], "wb+")’ where non-null expected
/usr/include/stdio.h:735:15: note: argument 4 of ‘fwrite’ must be non-null
# 1024| generate_pattern(pattern, ATAPI_BLOCK_SIZE * 16, ATAPI_BLOCK_SIZE);
# 1025| fh = fopen(tmp_path[0], "wb+");
# 1026|-> ret = fwrite(pattern, ATAPI_BLOCK_SIZE, 16, fh);
# 1027| g_assert_cmpint(ret, ==, 16);
# 1028| fclose(fh);
Error: CPPCHECK_WARNING: [#def1708]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ipmi-bt-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1709]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/ivshmem-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1710]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqmp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1711]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqmp.c: scope_hint: In function ‘socket_send_fds’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqmp.c:119:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib.h:89: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqmp.c:17: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqmp.c:113:9: note: in expansion of macro ‘g_assert_cmpuint’
/usr/include/sys/socket.h:33: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/sysemu/os-posix.h:30: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:168: included_from: Included from here.
# 117|
# 118| cmsg = CMSG_FIRSTHDR(&msg);
# 119|-> cmsg->cmsg_len = CMSG_LEN(fdsize);
# 120| cmsg->cmsg_level = SOL_SOCKET;
# 121| cmsg->cmsg_type = SCM_RIGHTS;
Error: CPPCHECK_WARNING: [#def1712]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqos/libqos.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1713]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqos/qgraph.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1714]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqos/qgraph_internal.h:261:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘msg.payload.addr.used_user_addr’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-test.c:429:9: note: in expansion of macro ‘qos_printf’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-test.c:429:9: note: in expansion of macro ‘qos_printf’
# 259| * Prepends a '#' character in front for not breaking TAP output format.
# 260| */
# 261|-> #define qos_printf(...) printf("# " __VA_ARGS__)
# 262|
# 263| /*
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1715]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqos/qgraph_internal.h:261:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘msg.payload.state.num’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-test.c:425:9: note: in expansion of macro ‘qos_printf’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-test.c:425:9: note: in expansion of macro ‘qos_printf’
# 259| * Prepends a '#' character in front for not breaking TAP output format.
# 260| */
# 261|-> #define qos_printf(...) printf("# " __VA_ARGS__)
# 262|
# 263| /*
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1716]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-test.c:29: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-test.c: scope_hint: In function ‘chr_read’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqos/qgraph_internal.h:261:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘msg.payload.u64’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-test.c:417:9: note: in expansion of macro ‘qos_printf’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-test.c:417:9: note: in expansion of macro ‘qos_printf’
# 259| * Prepends a '#' character in front for not breaking TAP output format.
# 260| */
# 261|-> #define qos_printf(...) printf("# " __VA_ARGS__)
# 262|
# 263| /*
Error: CPPCHECK_WARNING: [#def1717]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqos/qos_external.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1718]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqos/qos_external.c:131:19: warning[core.NullDereference]: Access to field 'get_driver' results in a dereference of a null pointer (loaded from variable 'parent')
# 129| switch (qos_graph_edge_get_type(edge)) {
# 130| case QEDGE_PRODUCES:
# 131|-> obj = parent->get_driver(parent, path[current]);
# 132| break;
# 133|
Error: CLANG_WARNING: [#def1719]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqos/qos_external.c:141:19: warning[core.NullDereference]: Access to field 'get_device' results in a dereference of a null pointer (loaded from variable 'parent')
# 139|
# 140| case QEDGE_CONTAINS:
# 141|-> obj = parent->get_device(parent, path[current]);
# 142| break;
# 143| }
Error: CLANG_WARNING: [#def1720]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqos/virtio-9p-client.c:149:18: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 147| uint16_t v9fs_string_size(const char *string)
# 148| {
# 149|-> size_t len = strlen(string);
# 150|
# 151| g_assert_cmpint(len, <=, UINT16_MAX - 2);
Error: GCC_ANALYZER_WARNING: [#def1721]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqtest.c: scope_hint: In function ‘qtest_socket_server’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqtest.c:769:11: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘sock’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqtest.c: scope_hint: In function ‘qtest_socket_server’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqtest.c: scope_hint: In function ‘qtest_socket_server’
/usr/include/glib-2.0/glib.h:89: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqtest.c:17: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqtest.c:762:5: note: in expansion of macro ‘g_assert_cmpint’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqtest.c:762:5: note: in expansion of macro ‘g_assert_cmpint’
# 767| ret = RETRY_ON_EINTR(bind(sock, (struct sockaddr *)&addr, sizeof(addr)));
# 768| g_assert_cmpint(ret, !=, -1);
# 769|-> ret = listen(sock, 1);
# 770| g_assert_cmpint(ret, !=, -1);
# 771|
Error: CPPCHECK_WARNING: [#def1722]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/lsm303dlhc-mag-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def1723]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/m48t59-test.c:194: error[legacyUninitvar]: Uninitialized variable: datep
# 192| }
# 193|
# 194|-> if (!(tm_cmp(&start, datep) <= 0 && tm_cmp(datep, &end) <= 0)) {
# 195| long date_s, start_s;
# 196| unsigned long diff;
Error: CPPCHECK_WARNING: [#def1724]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/migration-helpers.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1725]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/migration-test.c:2499:5: warning[deadcode.DeadStores]: Value stored to 'percentage' is never read
# 2497|
# 2498| /* Wait for throttling begins */
# 2499|-> percentage = 0;
# 2500| do {
# 2501| percentage = read_migrate_property_int(from, "cpu-throttle-percentage");
Error: CPPCHECK_WARNING: [#def1726]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/netdev-socket.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1727]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/netdev-socket.c:131:12: warning[unix.Malloc]: Potential leak of memory pointed to by 'sock'
# 129| }
# 130|
# 131|-> return nb;
# 132| }
# 133|
Error: CPPCHECK_WARNING: [#def1728]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/npcm7xx_gpio-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1729]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/numa-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1730]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/pca9552-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1731]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/pflash-cfi02-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1732]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/qmp-cmd-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1733]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/qmp-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1734]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/qom-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1735]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/readconfig-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1736]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/tmp105-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1737]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/tpm-tis-i2c-test.c:381:9: warning[deadcode.DeadStores]: Value stored to 'access' is never read
# 379| l--;
# 380|
# 381|-> access = tpm_tis_i2c_readb(l, TPM_I2C_REG_ACCESS);
# 382| DPRINTF_ACCESS;
# 383|
Error: CLANG_WARNING: [#def1738]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/tpm-tis-i2c-test.c:597:5: warning[deadcode.DeadStores]: Value stored to 'access' is never read
# 595| tpm_tis_i2c_writeb(0,
# 596| TPM_I2C_REG_ACCESS, TPM_TIS_ACCESS_ACTIVE_LOCALITY);
# 597|-> access = tpm_tis_i2c_readb(0, TPM_I2C_REG_ACCESS);
# 598| }
# 599|
Error: CLANG_WARNING: [#def1739]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/tpm-tis-util.c:255:9: warning[deadcode.DeadStores]: Value stored to 'access' is never read
# 253| l--;
# 254|
# 255|-> access = readb(TIS_REG(l, TPM_TIS_REG_ACCESS));
# 256| DPRINTF_ACCESS;
# 257|
Error: CLANG_WARNING: [#def1740]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/tpm-tis-util.c:450:5: warning[deadcode.DeadStores]: Value stored to 'access' is never read
# 448| /* relinquish use of locality 0 */
# 449| writeb(TIS_REG(0, TPM_TIS_REG_ACCESS), TPM_TIS_ACCESS_ACTIVE_LOCALITY);
# 450|-> access = readb(TIS_REG(0, TPM_TIS_REG_ACCESS));
# 451| }
# 452|
Error: CLANG_WARNING: [#def1741]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-blk-test.c:50:23: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 48| if (qvirtio_is_big_endian(d) != host_is_big_endian) {
# 49| req->type = bswap32(req->type);
# 50|-> req->ioprio = bswap32(req->ioprio);
# 51| req->sector = bswap64(req->sector);
# 52| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1742]
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-test.c:11: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-test.c:443:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘msg.payload.state.index’
# 441| qemu_chr_fe_write_all(chr, p, VHOST_USER_HDR_SIZE + msg.size);
# 442|
# 443|-> assert(msg.payload.state.index < s->queues * 2);
# 444| s->rings &= ~(0x1ULL << msg.payload.state.index);
# 445| g_cond_broadcast(&s->data_cond);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1743]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-test.c:486:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘msg.payload.state.index’
# 484|
# 485| case VHOST_USER_SET_VRING_BASE:
# 486|-> assert(msg.payload.state.index < s->queues * 2);
# 487| s->rings |= 0x1ULL << msg.payload.state.index;
# 488| g_cond_broadcast(&s->data_cond);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1744]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/vhost-user-test.c:506:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘msg.payload.state.num’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqos/qgraph_internal.h:261:37: note: in definition of macro ‘qos_printf’
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/libqos/qgraph_internal.h:261:37: note: in definition of macro ‘qos_printf’
# 504| */
# 505| qos_printf("set_vring(%d)=%s\n", msg.payload.state.index,
# 506|-> msg.payload.state.num ? "enabled" : "disabled");
# 507| break;
# 508|
Error: CLANG_WARNING: [#def1745]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/virtio-net-test.c:212:5: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 210| len = ntohl(len);
# 211|
# 212|-> ret = recv(sv[0], buffer, len, 0);
# 213| g_assert_cmpint(*proto, ==, htons(ETH_P_RARP));
# 214|
Error: CPPCHECK_WARNING: [#def1746]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/virtio-scsi-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1747]
qemu-8.2.2-build/qemu-8.2.2/tests/qtest/xlnx-versal-trng-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1748]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/check-block-qdict.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1749]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/check-qdict.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1750]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/check-qjson.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1751]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/check-qnum.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1752]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/check-qobject.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1753]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/crypto-tls-x509-helpers.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-835): [#def1754]
qemu-8.2.2-build/qemu-8.2.2/include/qemu/thread.h:5: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/block/aio.h:23: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-aio-multithread.c:14: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-aio-multithread.c: scope_hint: In function ‘mcs_mutex_unlock’
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-aio-multithread.c:321:39: warning[-Wanalyzer-infinite-loop]: infinite loop
qemu-8.2.2-build/qemu-8.2.2/include/qemu/atomic.h:132:21: note: in definition of macro ‘qatomic_read__nocheck’
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-aio-multithread.c:321:16: note: in expansion of macro ‘qatomic_read’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/atomic.h:132:21: note: in definition of macro ‘qatomic_read__nocheck’
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-aio-multithread.c:321:16: note: in expansion of macro ‘qatomic_read’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/atomic.h:132:21: note: in definition of macro ‘qatomic_read__nocheck’
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-aio-multithread.c:321:16: note: in expansion of macro ‘qatomic_read’
# 319| return;
# 320| }
# 321|-> while (qatomic_read(&nodes[id].next) == -1) {
# 322| /* mcs_mutex_lock did the xchg, but has not updated
# 323| * nodes[prev].next yet.
Error: CLANG_WARNING: [#def1755]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-char.c:1319:5: warning[deadcode.DeadStores]: Value stored to 'chr' is never read
# 1317| g_assert_null(chr);
# 1318|
# 1319|-> chr = qemu_chr_new("label-null", "null", NULL);
# 1320| chr = qemu_chr_find("label-null");
# 1321| g_assert_nonnull(chr);
Error: CPPCHECK_WARNING: [#def1756]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-clone-visitor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1757]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-crypto-akcipher.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1758]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-crypto-cipher.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1759]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-crypto-der.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1760]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-crypto-hmac.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1761]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-crypto-ivgen.c:144:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'iv'
# 142| if (!qcrypto_cipher_supports(data->cipheralg,
# 143| QCRYPTO_CIPHER_MODE_ECB)) {
# 144|-> return;
# 145| }
# 146|
Error: CPPCHECK_WARNING: [#def1762]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-crypto-tlssession.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1763]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-cutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1764]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-iov.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1765]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-iov.c:470:5: warning[deadcode.DeadStores]: Value stored to 'old_base' is never read
# 468| iov_random(&iov, &iov_cnt);
# 469| iov_cnt_tmp = iov_cnt;
# 470|-> old_base = iov[iov_cnt - 1].iov_base;
# 471| size = iov[iov_cnt - 1].iov_len;
# 472| ret = iov_discard_back(iov, &iov_cnt_tmp, size);
Error: CLANG_WARNING: [#def1766]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-iov.c:558:12: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 556| iov_cnt_tmp = iov_cnt;
# 557| size = iov[iov_cnt - 1].iov_len +
# 558|-> g_test_rand_int_range(1, iov[iov_cnt - 2].iov_len);
# 559| iov_discard_back_undoable(iov, &iov_cnt_tmp, size, &undo);
# 560| iov_discard_undo(&undo);
Error: CLANG_WARNING: [#def1767]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-qapi-util.c:27:5: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 25| g_assert_cmpint(ret, ==, -1);
# 26|
# 27|-> ret = qapi_enum_parse(&QType_lookup, "junk", -1, &err);
# 28| error_free_or_abort(&err);
# 29|
Error: CPPCHECK_WARNING: [#def1768]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-qga.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1769]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-qgraph.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1770]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-qobject-input-visitor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1771]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-qobject-output-visitor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1772]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-qtree.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1773]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-visitor-serialization.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1774]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-vmstate.c:1312:16: warning[unix.Malloc]: Use of memory after it is freed
# 1310| first_item_c2 = QLIST_FIRST(&c2->list);
# 1311| assert(first_item_c2);
# 1312|-> assert(first_item_c1->id == first_item_c2->id);
# 1313| QLIST_REMOVE(first_item_c1, next);
# 1314| QLIST_REMOVE(first_item_c2, next);
Error: CPPCHECK_WARNING: [#def1775]
qemu-8.2.2-build/qemu-8.2.2/tests/unit/test-xs-node.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1776]
qemu-8.2.2-build/qemu-8.2.2/tests/vhost-user-bridge.c: scope_hint: In function ‘vubr_new’
qemu-8.2.2-build/qemu-8.2.2/tests/vhost-user-bridge.c:547:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dev’
# 545|
# 546| /* Get a UNIX socket. */
# 547|-> dev->sock = socket(AF_UNIX, SOCK_STREAM, 0);
# 548| if (dev->sock == -1) {
# 549| vubr_die("socket");
Error: CLANG_WARNING: [#def1777]
qemu-8.2.2-build/qemu-8.2.2/ui/curses.c:95:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'curses_line'
# 93| }
# 94|
# 95|-> pnoutrefresh(screenpad, py, px, sminy, sminx, smaxy - 1, smaxx - 1);
# 96| refresh();
# 97| }
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1778]
qemu-8.2.2-build/qemu-8.2.2/ui/curses.c: scope_hint: In function ‘font_setup’
qemu-8.2.2-build/qemu-8.2.2/ui/curses.c:573:29: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open(g_get_codeset(), "UCS-2")’
# 571| };
# 572|
# 573|-> ucs2_to_nativecharset = iconv_open(local_codeset, "UCS-2");
# 574| if (ucs2_to_nativecharset == (iconv_t) -1) {
# 575| fprintf(stderr, "Could not convert font glyphs from UCS-2: '%s'\n",
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1779]
qemu-8.2.2-build/qemu-8.2.2/ui/curses.c:574:8: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open(g_get_codeset(), "UCS-2")’
# 572|
# 573| ucs2_to_nativecharset = iconv_open(local_codeset, "UCS-2");
# 574|-> if (ucs2_to_nativecharset == (iconv_t) -1) {
# 575| fprintf(stderr, "Could not convert font glyphs from UCS-2: '%s'\n",
# 576| strerror(errno));
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1780]
qemu-8.2.2-build/qemu-8.2.2/ui/curses.c:580:29: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open("UCS-2", g_get_codeset())’
# 578| }
# 579|
# 580|-> nativecharset_to_ucs2 = iconv_open("UCS-2", local_codeset);
# 581| if (nativecharset_to_ucs2 == (iconv_t) -1) {
# 582| iconv_close(ucs2_to_nativecharset);
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1781]
qemu-8.2.2-build/qemu-8.2.2/ui/curses.c:580:29: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open(g_get_codeset(), "UCS-2")’
# 578| }
# 579|
# 580|-> nativecharset_to_ucs2 = iconv_open("UCS-2", local_codeset);
# 581| if (nativecharset_to_ucs2 == (iconv_t) -1) {
# 582| iconv_close(ucs2_to_nativecharset);
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1782]
qemu-8.2.2-build/qemu-8.2.2/ui/curses.c:581:8: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open("UCS-2", g_get_codeset())’
# 579|
# 580| nativecharset_to_ucs2 = iconv_open("UCS-2", local_codeset);
# 581|-> if (nativecharset_to_ucs2 == (iconv_t) -1) {
# 582| iconv_close(ucs2_to_nativecharset);
# 583| fprintf(stderr, "Could not convert font glyphs to UCS-2: '%s'\n",
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1783]
qemu-8.2.2-build/qemu-8.2.2/ui/curses.c:588:17: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open("UCS-2", g_get_codeset())’
# 586| }
# 587|
# 588|-> font_conv = iconv_open(local_codeset, font_charset);
# 589| if (font_conv == (iconv_t) -1) {
# 590| iconv_close(ucs2_to_nativecharset);
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1784]
qemu-8.2.2-build/qemu-8.2.2/ui/curses.c:588:17: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open(g_get_codeset(), "UCS-2")’
# 586| }
# 587|
# 588|-> font_conv = iconv_open(local_codeset, font_charset);
# 589| if (font_conv == (iconv_t) -1) {
# 590| iconv_close(ucs2_to_nativecharset);
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1785]
qemu-8.2.2-build/qemu-8.2.2/ui/curses.c:588:17: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open(g_get_codeset(), font_charset)’
# 586| }
# 587|
# 588|-> font_conv = iconv_open(local_codeset, font_charset);
# 589| if (font_conv == (iconv_t) -1) {
# 590| iconv_close(ucs2_to_nativecharset);
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1786]
qemu-8.2.2-build/qemu-8.2.2/ui/curses.c:589:8: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open(g_get_codeset(), font_charset)’
# 587|
# 588| font_conv = iconv_open(local_codeset, font_charset);
# 589|-> if (font_conv == (iconv_t) -1) {
# 590| iconv_close(ucs2_to_nativecharset);
# 591| iconv_close(nativecharset_to_ucs2);
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1787]
qemu-8.2.2-build/qemu-8.2.2/ui/curses.c:599:42: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open(g_get_codeset(), font_charset)’
# 597| /* Control characters */
# 598| for (i = 0; i <= 0x1F; i++) {
# 599|-> convert_ucs(i, control_characters[i], ucs2_to_nativecharset);
# 600| }
# 601|
Error: CPPCHECK_WARNING: [#def1788]
qemu-8.2.2-build/qemu-8.2.2/ui/cursor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1789]
qemu-8.2.2-build/qemu-8.2.2/ui/gtk.c: scope_hint: In function ‘gd_update_cursor’
qemu-8.2.2-build/qemu-8.2.2/ui/gtk.c:194:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vc’
# 192| static void gd_update_cursor(VirtualConsole *vc)
# 193| {
# 194|-> GtkDisplayState *s = vc->s;
# 195| GdkWindow *window;
# 196|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1790]
qemu-8.2.2-build/qemu-8.2.2/ui/gtk.c: scope_hint: In function ‘gd_update_windowsize’
qemu-8.2.2-build/qemu-8.2.2/ui/gtk.c:331:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vc’
# 329| void gd_update_windowsize(VirtualConsole *vc)
# 330| {
# 331|-> GtkDisplayState *s = vc->s;
# 332|
# 333| gd_update_geometry_hints(vc);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1791]
qemu-8.2.2-build/qemu-8.2.2/ui/gtk.c: scope_hint: In function ‘gtk_release_modifiers’
qemu-8.2.2-build/qemu-8.2.2/ui/gtk.c:360:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 358| VirtualConsole *vc = gd_vc_find_current(s);
# 359|
# 360|-> if (vc->type != GD_VC_GFX ||
# 361| !qemu_console_is_graphic(vc->gfx.dcl.con)) {
# 362| return;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1792]
qemu-8.2.2-build/qemu-8.2.2/ui/gtk.c: scope_hint: In function ‘gd_menu_untabify’
qemu-8.2.2-build/qemu-8.2.2/ui/gtk.c:1390:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1388| VirtualConsole *vc = gd_vc_find_current(s);
# 1389|
# 1390|-> if (vc->type == GD_VC_GFX &&
# 1391| qemu_console_is_graphic(vc->gfx.dcl.con)) {
# 1392| gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(s->grab_item),
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1793]
qemu-8.2.2-build/qemu-8.2.2/ui/gtk.c: scope_hint: In function ‘gd_menu_full_screen’
qemu-8.2.2-build/qemu-8.2.2/ui/gtk.c:1460:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdk.h:32: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:30: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/ui/gtk.h:7: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/ui/gtk.c:43: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
/usr/include/gtk-3.0/gtk/gtknotebook.h:40:45: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
qemu-8.2.2-build/qemu-8.2.2/ui/gtk.c:1458:36: note: in expansion of macro ‘GTK_NOTEBOOK’
# 1458| gtk_notebook_set_show_tabs(GTK_NOTEBOOK(s->notebook), FALSE);
# 1459| gtk_widget_hide(s->menu_bar);
# 1460|-> if (vc->type == GD_VC_GFX) {
# 1461| gtk_widget_set_size_request(vc->gfx.drawing_area, -1, -1);
# 1462| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1794]
qemu-8.2.2-build/qemu-8.2.2/ui/gtk.c:1473:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
/usr/include/gtk-3.0/gtk/gtkwindow.h:40:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
qemu-8.2.2-build/qemu-8.2.2/ui/gtk.c:1466:33: note: in expansion of macro ‘GTK_WINDOW’
# 1471| }
# 1472| s->full_screen = FALSE;
# 1473|-> if (vc->type == GD_VC_GFX) {
# 1474| vc->gfx.scale_x = 1.0;
# 1475| vc->gfx.scale_y = 1.0;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1795]
qemu-8.2.2-build/qemu-8.2.2/ui/gtk.c: scope_hint: In function ‘gd_grab_keyboard’
qemu-8.2.2-build/qemu-8.2.2/ui/gtk.c:1580:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vc’
# 1578| static void gd_grab_keyboard(VirtualConsole *vc, const char *reason)
# 1579| {
# 1580|-> if (vc->s->kbd_owner) {
# 1581| if (vc->s->kbd_owner == vc) {
# 1582| return;
Error: CPPCHECK_WARNING: [#def1796]
qemu-8.2.2-build/qemu-8.2.2/ui/input-legacy.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1797]
qemu-8.2.2-build/qemu-8.2.2/ui/input.c:279:17: warning[unix.Malloc]: Use of memory after it is freed
# 277| while (!QTAILQ_EMPTY(queue)) {
# 278| item = QTAILQ_FIRST(queue);
# 279|-> switch (item->type) {
# 280| case QEMU_INPUT_QUEUE_DELAY:
# 281| timer_mod(item->timer, qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL)
Error: CLANG_WARNING: [#def1798]
qemu-8.2.2-build/qemu-8.2.2/ui/spice-display.c:251:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'dirty_top'
# 249| }
# 250|
# 251|-> memset(&ssd->dirty, 0, sizeof(ssd->dirty));
# 252| }
# 253|
Error: CLANG_WARNING: [#def1799]
qemu-8.2.2-build/qemu-8.2.2/ui/spice-display.c:431:9: warning[unix.Malloc]: Use of memory after it is freed
# 429| ssd->ds = surface;
# 430| while ((update = QTAILQ_FIRST(&ssd->updates)) != NULL) {
# 431|-> QTAILQ_REMOVE(&ssd->updates, update, next);
# 432| qemu_spice_destroy_update(ssd, update);
# 433| }
Error: CLANG_WARNING: [#def1800]
qemu-8.2.2-build/qemu-8.2.2/ui/vdagent.c:347:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'msg'
# 345| msg->size += sizeof(uint32_t);
# 346| } else if (info->selection != QEMU_CLIPBOARD_SELECTION_CLIPBOARD) {
# 347|-> return;
# 348| }
# 349|
Error: CLANG_WARNING: [#def1801]
qemu-8.2.2-build/qemu-8.2.2/ui/vdagent.c:387:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'msg'
# 385| msg->size += sizeof(uint32_t);
# 386| } else if (info->selection != QEMU_CLIPBOARD_SELECTION_CLIPBOARD) {
# 387|-> return;
# 388| }
# 389|
Error: CLANG_WARNING: [#def1802]
qemu-8.2.2-build/qemu-8.2.2/ui/vdagent.c:410:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'msg'
# 408| msg->size += sizeof(uint32_t);
# 409| } else if (info->selection != QEMU_CLIPBOARD_SELECTION_CLIPBOARD) {
# 410|-> return;
# 411| }
# 412|
Error: CLANG_WARNING: [#def1803]
qemu-8.2.2-build/qemu-8.2.2/ui/vdagent.c:501:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'msg'
# 499|
# 500| if (type == VD_AGENT_CLIPBOARD_NONE) {
# 501|-> return;
# 502| }
# 503|
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1804]
qemu-8.2.2-build/qemu-8.2.2/ui/vnc-auth-sasl.c: scope_hint: In function ‘start_auth_sasl’
qemu-8.2.2-build/qemu-8.2.2/ui/vnc-auth-sasl.c:678:19: warning[-Wanalyzer-null-argument]: use of NULL ‘mechlist’ where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/ui/vnc-auth-sasl.c:25: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/ui/vnc-auth-sasl.c:677:25: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/ui/vnc-auth-sasl.c: scope_hint: In function ‘start_auth_sasl’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 676|
# 677| vs->sasl.mechlist = g_strdup(mechlist);
# 678|-> mechlistlen = strlen(mechlist);
# 679| vnc_write_u32(vs, mechlistlen);
# 680| vnc_write(vs, mechlist, mechlistlen);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1805]
qemu-8.2.2-build/qemu-8.2.2/ui/vnc-enc-tight.c: scope_hint: In function ‘tight_fill_palette16’
qemu-8.2.2-build/qemu-8.2.2/ui/vnc-enc-tight.c:400:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ci’
qemu-8.2.2-build/qemu-8.2.2/ui/vnc-enc-tight.c:417:1: note: in expansion of macro ‘DEFINE_FILL_PALETTE_FUNCTION’
qemu-8.2.2-build/qemu-8.2.2/ui/vnc-enc-tight.c:417:1: note: in expansion of macro ‘DEFINE_FILL_PALETTE_FUNCTION’
qemu-8.2.2-build/qemu-8.2.2/ui/vnc-enc-tight.c:417:1: note: in expansion of macro ‘DEFINE_FILL_PALETTE_FUNCTION’
qemu-8.2.2-build/qemu-8.2.2/ui/vnc-enc-tight.c:417:1: note: in expansion of macro ‘DEFINE_FILL_PALETTE_FUNCTION’
qemu-8.2.2-build/qemu-8.2.2/ui/vnc-enc-tight.c:417:1: note: in expansion of macro ‘DEFINE_FILL_PALETTE_FUNCTION’
qemu-8.2.2-build/qemu-8.2.2/ui/vnc-enc-tight.c:417:1: note: in expansion of macro ‘DEFINE_FILL_PALETTE_FUNCTION’
qemu-8.2.2-build/qemu-8.2.2/ui/vnc-enc-tight.c:417:1: note: in expansion of macro ‘DEFINE_FILL_PALETTE_FUNCTION’
# 398| palette_put(palette, c0); \
# 399| palette_put(palette, c1); \
# 400|-> palette_put(palette, ci); \
# 401| \
# 402| for (i++; i < count; i++) { \
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1806]
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/ui/vnc-jobs.c:29: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/ui/vnc-jobs.c: scope_hint: In function ‘vnc_worker_thread_loop’
qemu-8.2.2-build/qemu-8.2.2/ui/vnc-jobs.c:258:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 256| }
# 257|
# 258|-> assert(job->vs->magic == VNC_MAGIC);
# 259|
# 260| vnc_lock_output(job->vs);
Error: CLANG_WARNING: [#def1807]
qemu-8.2.2-build/qemu-8.2.2/ui/vnc.c:3869:21: warning[unix.Malloc]: Potential leak of memory pointed to by 'saddr_list'
# 3867| &saddr, errp);
# 3868| if (rv < 0) {
# 3869|-> return -1;
# 3870| }
# 3871| /* Historical compat - first listen address can be used
Error: CLANG_WARNING: [#def1808]
qemu-8.2.2-build/qemu-8.2.2/ui/vnc.c:3896:21: warning[unix.Malloc]: Potential leak of memory pointed to by 'wsaddr_list'
# 3894| ipv4, ipv6,
# 3895| &wsaddr, errp) < 0) {
# 3896|-> return -1;
# 3897| }
# 3898|
Error: CLANG_WARNING: [#def1809]
qemu-8.2.2-build/qemu-8.2.2/util/aio-posix.c:400:9: warning[core.NullDereference]: Dereference of null pointer (loaded from field 'le_prev')
# 398|
# 399| while ((node = QLIST_FIRST(ready_list))) {
# 400|-> QLIST_REMOVE(node, node_ready);
# 401| progress = aio_dispatch_handler(ctx, node) || progress;
# 402| }
Error: CPPCHECK_WARNING: [#def1810]
qemu-8.2.2-build/qemu-8.2.2/util/cpuinfo-i386.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1811]
qemu-8.2.2-build/qemu-8.2.2/util/cutils.c: scope_hint: In function ‘qemu_strtod_finite’
qemu-8.2.2-build/qemu-8.2.2/util/cutils.c:765:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tmp’
# 763| } else if (endptr) {
# 764| *endptr = tmp;
# 765|-> } else if (*tmp) {
# 766| ret = -EINVAL;
# 767| }
Error: CLANG_WARNING: [#def1812]
qemu-8.2.2-build/qemu-8.2.2/util/cutils.c:1155:17: warning[deadcode.DeadStores]: Value stored to 'bindir' during its initialization is never read
# 1153| {
# 1154| size_t prefix_len = strlen(CONFIG_PREFIX);
# 1155|-> const char *bindir = CONFIG_BINDIR;
# 1156| GString *result;
# 1157| int len_dir, len_bindir;
Error: CPPCHECK_WARNING: [#def1813]
qemu-8.2.2-build/qemu-8.2.2/util/drm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1814]
qemu-8.2.2-build/qemu-8.2.2/util/envlist.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1815]
qemu-8.2.2-build/qemu-8.2.2/util/envlist.c:46:9: warning[unix.Malloc]: Use of memory after it is freed
# 44| while (envlist->el_entries.lh_first != NULL) {
# 45| entry = envlist->el_entries.lh_first;
# 46|-> QLIST_REMOVE(entry, ev_link);
# 47|
# 48| g_free((char *)entry->ev_var);
Error: CLANG_WARNING: [#def1816]
qemu-8.2.2-build/qemu-8.2.2/util/envlist.c:162:5: warning[unix.Malloc]: Use of memory after it is freed
# 160| entry = g_malloc(sizeof(*entry));
# 161| entry->ev_var = g_strdup(env);
# 162|-> QLIST_INSERT_HEAD(&envlist->el_entries, entry, ev_link);
# 163|
# 164| return (0);
Error: CPPCHECK_WARNING: [#def1817]
qemu-8.2.2-build/qemu-8.2.2/util/hexdump.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1818]
qemu-8.2.2-build/qemu-8.2.2/util/iov.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1819]
qemu-8.2.2-build/qemu-8.2.2/util/keyval.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1820]
qemu-8.2.2-build/qemu-8.2.2/util/keyval.c: scope_hint: In function ‘keyval_parse_one’
qemu-8.2.2-build/qemu-8.2.2/util/keyval.c:270:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘val_end’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:130: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/util/keyval.c:92: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/util/keyval.c: scope_hint: In function ‘keyval_parse_one’
# 268| val = g_string_new_len(params, val_end - params);
# 269| s = val_end;
# 270|-> if (*s == ',') {
# 271| s++;
# 272| }
Error: CLANG_WARNING: [#def1821]
qemu-8.2.2-build/qemu-8.2.2/util/keyval.c:270:13: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 's')
# 268| val = g_string_new_len(params, val_end - params);
# 269| s = val_end;
# 270|-> if (*s == ',') {
# 271| s++;
# 272| }
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1822]
qemu-8.2.2-build/qemu-8.2.2/util/log.c: scope_hint: In function ‘qemu_log_trylock_with_err’
qemu-8.2.2-build/qemu-8.2.2/util/log.c:99:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf(global_filename, gettid()), "w")’
qemu-8.2.2-build/qemu-8.2.2/util/log.c: scope_hint: In function ‘qemu_log_trylock_with_err’
# 97| g_autofree char *filename
# 98| = g_strdup_printf(global_filename, log_thread_id());
# 99|-> logfile = fopen(filename, "w");
# 100| if (!logfile) {
# 101| error_setg_errno(errp, errno,
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1823]
qemu-8.2.2-build/qemu-8.2.2/util/log.c:99:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf(global_filename, gettid()), "w")’
qemu-8.2.2-build/qemu-8.2.2/util/log.c: scope_hint: In function ‘qemu_log_trylock_with_err’
# 97| g_autofree char *filename
# 98| = g_strdup_printf(global_filename, log_thread_id());
# 99|-> logfile = fopen(filename, "w");
# 100| if (!logfile) {
# 101| error_setg_errno(errp, errno,
Error: CLANG_WARNING: [#def1824]
qemu-8.2.2-build/qemu-8.2.2/util/log.c:279:5: warning[deadcode.DeadStores]: Value stored to 'need_to_open_file' is never read
# 277|
# 278| daemonized = is_daemonized();
# 279|-> need_to_open_file = false;
# 280| if (!daemonized) {
# 281| /*
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1825]
qemu-8.2.2-build/qemu-8.2.2/util/log.c: scope_hint: In function ‘qemu_set_log_internal’
qemu-8.2.2-build/qemu-8.2.2/util/log.c:320:27: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "w")’
# 318| qemu_log_unlock(logfile);
# 319| } else {
# 320|-> logfile = fopen(filename, "w");
# 321| if (!logfile) {
# 322| error_setg_errno(errp, errno, "Error opening logfile %s",
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1826]
qemu-8.2.2-build/qemu-8.2.2/util/log.c:320:27: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "w")’
# 318| qemu_log_unlock(logfile);
# 319| } else {
# 320|-> logfile = fopen(filename, "w");
# 321| if (!logfile) {
# 322| error_setg_errno(errp, errno, "Error opening logfile %s",
Error: CLANG_WARNING: [#def1827]
qemu-8.2.2-build/qemu-8.2.2/util/oslib-posix.c:449:36: warning[core.DivideZero]: Division by zero
# 447|
# 448| context.threads = g_new0(MemsetThread, context.num_threads);
# 449|-> numpages_per_thread = numpages / context.num_threads;
# 450| leftover = numpages % context.num_threads;
# 451| for (i = 0; i < context.num_threads; i++) {
Error: CLANG_WARNING: [#def1828]
qemu-8.2.2-build/qemu-8.2.2/util/qemu-config.c:98:12: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'cur')
# 96|
# 97| cur = head;
# 98|-> while (cur->next) {
# 99| pre_entry = head;
# 100| while (pre_entry != cur->next) {
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1829]
qemu-8.2.2-build/qemu-8.2.2/util/qemu-config.c: scope_hint: In function ‘qmp_query_command_line_options’
qemu-8.2.2-build/qemu-8.2.2/util/qemu-config.c:232:18: warning[-Wanalyzer-null-argument]: use of NULL ‘*vm_config_groups[i_13].name’ where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/glib-compat.h:32: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:161: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/util/qemu-config.c:1: included_from: Included from here.
qemu-8.2.2-build/qemu-8.2.2/util/qemu-config.c:231:28: note: in expansion of macro ‘g_strdup’
qemu-8.2.2-build/qemu-8.2.2/util/qemu-config.c: scope_hint: In function ‘qmp_query_command_line_options’
qemu-8.2.2-build/qemu-8.2.2/include/qemu/osdep.h:116: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null
# 230| info = g_malloc0(sizeof(*info));
# 231| info->option = g_strdup(vm_config_groups[i]->name);
# 232|-> if (!strcmp("drive", vm_config_groups[i]->name)) {
# 233| info->parameters = get_drive_infolist();
# 234| } else {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1830]
qemu-8.2.2-build/qemu-8.2.2/util/qemu-coroutine-lock.c: scope_hint: In function ‘qemu_co_mutex_lock_slowpath’
qemu-8.2.2-build/qemu-8.2.2/util/qemu-coroutine-lock.c:221:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
qemu-8.2.2-build/qemu-8.2.2/util/qemu-coroutine-lock.c:176:12: note: in expansion of macro ‘QSLIST_EMPTY’
qemu-8.2.2-build/qemu-8.2.2/util/qemu-coroutine-lock.c: scope_hint: In function ‘qemu_co_mutex_lock_slowpath’
# 219| */
# 220| CoWaitRecord *to_wake = pop_waiter(mutex);
# 221|-> Coroutine *co = to_wake->co;
# 222| if (co == self) {
# 223| /* We got the lock ourselves! */
Error: CPPCHECK_WARNING: [#def1831]
qemu-8.2.2-build/qemu-8.2.2/util/qemu-option.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def1832]
qemu-8.2.2-build/qemu-8.2.2/util/qemu-option.c:683:9: warning[unix.Malloc]: Use of memory after it is freed
# 681| if (opt == NULL)
# 682| break;
# 683|-> qemu_opt_del(opt);
# 684| }
# 685| QTAILQ_REMOVE(&opts->list->head, opts, next);
Error: GCC_ANALYZER_WARNING (CWE-465): [#def1833]
qemu-8.2.2-build/qemu-8.2.2/util/qemu-sockets.c: scope_hint: In function ‘unix_listen_saddr’
qemu-8.2.2-build/qemu-8.2.2/util/qemu-sockets.c:930:8: warning[-Wanalyzer-deref-before-check]: check of ‘pathbuf’ for NULL after already dereferencing it
# 928| }
# 929|
# 930|-> if (pathbuf != NULL) {
# 931| /*
# 932| * This dummy fd usage silences the mktemp() insecure warning.
Error: CLANG_WARNING: [#def1834]
qemu-8.2.2-build/qemu-8.2.2/util/qht.c:738:5: warning[core.NullDereference]: Array access (via field 'pointers') results in a null pointer dereference
# 736| qht_debug_assert(!(to == from && i == j));
# 737| qht_debug_assert(to->pointers[i]);
# 738|-> qht_debug_assert(from->pointers[j]);
# 739|
# 740| qatomic_set(&to->hashes[i], from->hashes[j]);
Error: CPPCHECK_WARNING: [#def1835]
qemu-8.2.2-build/qemu-8.2.2/util/readline.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1836]
qemu-8.2.2-build/qemu-8.2.2/util/selfmap.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1837]
qemu-8.2.2-build/qemu-8.2.2/util/unicode.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def1838]
qemu-8.2.2-build/qemu-8.2.2/util/uri.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-53.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | qemu-8.2.2-1.fc40 |
store-results-to | /tmp/tmpk1ym5gip/qemu-8.2.2-1.fc40.tar.xz |
time-created | 2024-07-03 17:37:39 |
time-finished | 2024-07-03 19:39:16 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpk1ym5gip/qemu-8.2.2-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpk1ym5gip/qemu-8.2.2-1.fc40.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |