clang - scan-build results

User:stefan@v220110690675601.yourvserver.net
Working Directory:/home/stefan/src/qemu/qemu.org/qemu/bin/debug/clang
Command Line:make
Date:Mon Jul 2 07:06:18 2012

Bug Summary

Bug TypeQuantityDisplay?
All Bugs282
API
Argument with 'nonnull' attribute passed null3
Dead store
Dead assignment51
Dead increment14
Dead initialization86
Dead nested assignment9
Logic error
Assigned value is garbage or undefined3
Dereference of null pointer65
Division by zero27
Garbage return value2
Pass-by-value argument in function call is undefined20
Result of operation is garbage or undefined2

Reports

Bug Group Bug Type ▾ File Line Path Length
APIArgument with 'nonnull' attribute passed nullaudio /audio.c4484View Report
APIArgument with 'nonnull' attribute passed nullqemu-ga.c4397View Report
APIArgument with 'nonnull' attribute passed nullblock /vvfat.c165816View Report
Logic errorAssigned value is garbage or undefinedslirp /tcp_subr.c4353View Report
Logic errorAssigned value is garbage or undefinedhw /apic.c5303View Report
Logic errorAssigned value is garbage or undefinedhw /apic.c5224View Report
Dead storeDead assignmentgdbstub.c21131View Report
Dead storeDead assignmentgdbstub.c21021View Report
Dead storeDead assignmenthw /usb /hcd-ehci.c21741View Report
Dead storeDead assignmenthw /9pfs /virtio-9p.c28461View Report
Dead storeDead assignmenthw /mips_mipssim.c811View Report
Dead storeDead assignmentqemu-sockets.c2841View Report
Dead storeDead assignmentgdbstub.c21131View Report
Dead storeDead assignmenthw /usb /dev-storage.c3081View Report
Dead storeDead assignmenthw /jazz_led.c1651View Report
Dead storeDead assignmenthw /exynos4210_fimd.c12881View Report
Dead storeDead assignmenthw /mips_mipssim.c811View Report
Dead storeDead assignmentgdbstub.c21021View Report
Dead storeDead assignmenthw /9pfs /virtio-9p.c28511View Report
Dead storeDead assignmentui /vnc-auth-sasl.c5211View Report
Dead storeDead assignmenthw /usb /dev-network.c10541View Report
Dead storeDead assignmenthw /jazz_led.c1661View Report
Dead storeDead assignmenthw /usb /hcd-ehci.c21741View Report
Dead storeDead assignmentgdbstub.c21131View Report
Dead storeDead assignmentgdbstub.c21021View Report
Dead storeDead assignmentgdbstub.c21021View Report
Dead storeDead assignmenthw /pxa2xx_lcd.c5991View Report
Dead storeDead assignmentmonitor.c11301View Report
Dead storeDead assignmentgdbstub.c21021View Report
Dead storeDead assignmentgdbstub.c21131View Report
Dead storeDead assignmentgdbstub.c21131View Report
Dead storeDead assignmenthw /exynos4210_mct.c12981View Report
Dead storeDead assignmenthw /mips_mipssim.c821View Report
Dead storeDead assignmentgdbstub.c21021View Report
Dead storeDead assignmenttarget-i386 /translate.c41441View Report
Dead storeDead assignmentgdbstub.c21131View Report
Dead storeDead assignmentgdbstub.c21021View Report
Dead storeDead assignmentui /vnc-enc-zrle.c1651View Report
Dead storeDead assignmentgdbstub.c21131View Report
Dead storeDead assignmentgdbstub.c21131View Report
Dead storeDead assignmenthw /exynos4210_combiner.c2221View Report
Dead storeDead assignmentgdbstub.c21131View Report
Dead storeDead assignmentgdbstub.c21131View Report
Dead storeDead assignmentgdbstub.c21021View Report
Dead storeDead assignmenthw /mips_mipssim.c821View Report
Dead storeDead assignmenthw /exynos4210_mct.c13261View Report
Dead storeDead assignmentgdbstub.c21131View Report
Dead storeDead assignmenthw /exynos4210_mct.c13691View Report
Dead storeDead assignmenthw /tosa.c2201View Report
Dead storeDead assignmenthw /mips_mipssim.c811View Report
Dead storeDead assignmentgdbstub.c21021View Report
Dead storeDead assignmentgdbstub.c21021View Report
Dead storeDead assignmentgdbstub.c21131View Report
Dead storeDead assignmentmonitor.c11301View Report
Dead storeDead assignmentgdbstub.c21021View Report
Dead storeDead assignmenthw /mips_mipssim.c821View Report
Dead storeDead assignmentgdbstub.c21021View Report
Dead storeDead incrementhw /jazz_led.c2191View Report
Dead storeDead incrementnet /tap.c4691View Report
Dead storeDead incrementhw /mips_malta.c8791View Report
Dead storeDead incrementhw /mips_malta.c7381View Report
Dead storeDead incrementnet /tap.c4821View Report
Dead storeDead incrementhw /exynos4210_uart.c3331View Report
Dead storeDead incrementhw /mips_malta.c8791View Report
Dead storeDead incrementhw /mips_malta.c7381View Report
Dead storeDead incrementhw /usb /desc.c4441View Report
Dead storeDead incrementhw /mips_malta.c7381View Report
Dead storeDead incrementhw /mips_malta.c8791View Report
Dead storeDead incrementhw /usb /hcd-xhci.c10571View Report
Dead storeDead incrementhw /usb /bus.c5211View Report
Dead storeDead incrementhw /exynos4210_fimd.c8871View Report
Dead storeDead initializationmonitor.c9991View Report
Dead storeDead initializationmonitor.c10011View Report
Dead storeDead initializationmonitor.c9651View Report
Dead storeDead initializationmonitor.c10001View Report
Dead storeDead initializationmonitor.c10021View Report
Dead storeDead initializationmonitor.c10011View Report
Dead storeDead initializationmonitor.c10001View Report
Dead storeDead initializationmonitor.c10001View Report
Dead storeDead initializationmonitor.c9641View Report
Dead storeDead initializationmonitor.c9651View Report
Dead storeDead initializationmonitor.c9631View Report
Dead storeDead initializationmonitor.c9641View Report
Dead storeDead initializationmonitor.c9641View Report
Dead storeDead initializationmonitor.c9991View Report
Dead storeDead initializationmonitor.c10011View Report
Dead storeDead initializationmonitor.c9641View Report
Dead storeDead initializationmonitor.c10011View Report
Dead storeDead initializationmonitor.c10001View Report
Dead storeDead initializationhw /usb /hcd-xhci.c12561View Report
Dead storeDead initializationmonitor.c10021View Report
Dead storeDead initializationmonitor.c9991View Report
Dead storeDead initializationmonitor.c9641View Report
Dead storeDead initializationmonitor.c10021View Report
Dead storeDead initializationmonitor.c10001View Report
Dead storeDead initializationmonitor.c10021View Report
Dead storeDead initializationmonitor.c9641View Report
Dead storeDead initializationmonitor.c9991View Report
Dead storeDead initializationmonitor.c10021View Report
Dead storeDead initializationmonitor.c9641View Report
Dead storeDead initializationmonitor.c9631View Report
Dead storeDead initializationmonitor.c10021View Report
Dead storeDead initializationhw /usb /hcd-xhci.c12451View Report
Dead storeDead initializationmonitor.c9991View Report
Dead storeDead initializationmonitor.c10001View Report
Dead storeDead initializationmonitor.c9991View Report
Dead storeDead initializationmonitor.c9631View Report
Dead storeDead initializationmonitor.c9651View Report
Dead storeDead initializationmonitor.c9631View Report
Dead storeDead initializationmonitor.c9631View Report
Dead storeDead initializationmonitor.c9641View Report
Dead storeDead initializationmonitor.c10021View Report
Dead storeDead initializationmonitor.c9651View Report
Dead storeDead initializationmonitor.c10021View Report
Dead storeDead initializationmonitor.c10011View Report
Dead storeDead initializationmonitor.c10001View Report
Dead storeDead initializationmonitor.c9631View Report
Dead storeDead initializationmonitor.c9641View Report
Dead storeDead initializationmonitor.c9641View Report
Dead storeDead initializationmonitor.c9651View Report
Dead storeDead initializationmonitor.c9651View Report
Dead storeDead initializationmonitor.c9991View Report
Dead storeDead initializationmonitor.c9991View Report
Dead storeDead initializationmonitor.c10021View Report
Dead storeDead initializationmonitor.c9991View Report
Dead storeDead initializationmonitor.c9651View Report
Dead storeDead initializationmonitor.c9631View Report
Dead storeDead initializationmonitor.c10011View Report
Dead storeDead initializationmonitor.c9991View Report
Dead storeDead initializationmonitor.c10001View Report
Dead storeDead initializationmonitor.c10021View Report
Dead storeDead initializationmonitor.c10011View Report
Dead storeDead initializationmonitor.c10001View Report
Dead storeDead initializationmonitor.c10011View Report
Dead storeDead initializationmonitor.c10001View Report
Dead storeDead initializationmonitor.c9651View Report
Dead storeDead initializationmonitor.c10011View Report
Dead storeDead initializationmonitor.c10021View Report
Dead storeDead initializationmonitor.c10011View Report
Dead storeDead initializationmonitor.c9651View Report
Dead storeDead initializationmonitor.c10011View Report
Dead storeDead initializationmonitor.c9631View Report
Dead storeDead initializationmonitor.c10011View Report
Dead storeDead initializationmonitor.c9651View Report
Dead storeDead initializationmonitor.c9651View Report
Dead storeDead initializationmonitor.c10001View Report
Dead storeDead initializationmonitor.c9631View Report
Dead storeDead initializationmonitor.c9631View Report
Dead storeDead initializationmonitor.c9641View Report
Dead storeDead initializationmonitor.c9991View Report
Dead storeDead initializationmonitor.c9651View Report
Dead storeDead initializationmonitor.c9641View Report
Dead storeDead initializationmonitor.c9631View Report
Dead storeDead initializationmonitor.c10021View Report
Dead storeDead initializationmonitor.c9991View Report
Dead storeDead initializationmonitor.c9631View Report
Dead storeDead initializationmonitor.c10001View Report
Dead storeDead nested assignmenthw /9pfs /virtio-9p.c32571View Report
Dead storeDead nested assignmentui /vnc-tls.c1401View Report
Dead storeDead nested assignmentui /vnc-tls.c1581View Report
Dead storeDead nested assignmentui /vnc-tls.c1361View Report
Dead storeDead nested assignmentui /vnc.c831View Report
Dead storeDead nested assignmentui /vnc-tls.c1481View Report
Dead storeDead nested assignmentui /vnc-tls.c1821View Report
Dead storeDead nested assignmentui /vnc-tls.c1071View Report
Dead storeDead nested assignmentui /vnc.c1321View Report
Logic errorDereference of null pointercpus.c8233View Report
Logic errorDereference of null pointermemory.c14833View Report
Logic errorDereference of null pointerhw /omap_intc.c5364View Report
Logic errorDereference of null pointermemory.c7077View Report
Logic errorDereference of null pointerslirp /tcp_subr.c1274View Report
Logic errorDereference of null pointerbin /debug /clang /qapi-visit.c6428View Report
Logic errorDereference of null pointermemory.c14833View Report
Logic errorDereference of null pointermemory.c14833View Report
Logic errorDereference of null pointerbin /debug /clang /qapi-visit.c285View Report
Logic errorDereference of null pointerhw /omap_intc.c5524View Report
Logic errorDereference of null pointercpus.c8233View Report
Logic errorDereference of null pointerhw /pci.c19573View Report
Logic errorDereference of null pointerhw /omap_intc.c5484View Report
Logic errorDereference of null pointercpus.c8233View Report
Logic errorDereference of null pointerbin /debug /clang /qapi-visit.c5985View Report
Logic errorDereference of null pointerhw /pci.c19573View Report
Logic errorDereference of null pointermemory.c7077View Report
Logic errorDereference of null pointerbin /debug /clang /qapi-visit.c11537View Report
Logic errorDereference of null pointerbin /debug /clang /qapi-visit.c7816View Report
Logic errorDereference of null pointeraudio /audio.c4504View Report
Logic errorDereference of null pointerhw /omap_intc.c4454View Report
Logic errorDereference of null pointerhw /omap_intc.c4554View Report
Logic errorDereference of null pointermemory.c14833View Report
Logic errorDereference of null pointermemory.c14833View Report
Logic errorDereference of null pointerblock /qcow2-refcount.c122712View Report
Logic errorDereference of null pointermemory.c14833View Report
Logic errorDereference of null pointerblock /vdi.c70311View Report
Logic errorDereference of null pointermemory.c7077View Report
Logic errorDereference of null pointermemory.c7077View Report
Logic errorDereference of null pointercpus.c8233View Report
Logic errorDereference of null pointerbin /debug /clang /qapi-visit.c10268View Report
Logic errorDereference of null pointerbin /debug /clang /qapi-generated /qga-qapi-visit.c2336View Report
Logic errorDereference of null pointermemory.c7077View Report
Logic errorDereference of null pointercpus.c8233View Report
Logic errorDereference of null pointerhw /omap_intc.c4484View Report
Logic errorDereference of null pointermemory.c14833View Report
Logic errorDereference of null pointermemory.c7077View Report
Logic errorDereference of null pointermemory.c7077View Report
Logic errorDereference of null pointermemory.c7077View Report
Logic errorDereference of null pointerui /vnc-jobs.c2324View Report
Logic errorDereference of null pointerblock /qcow2-refcount.c10594View Report
Logic errorDereference of null pointerbin /debug /clang /qapi-visit.c98711View Report
Logic errorDereference of null pointerbin /debug /clang /qapi-visit.c5149View Report
Logic errorDereference of null pointermemory.c14833View Report
Logic errorDereference of null pointerhw /omap_intc.c4614View Report
Logic errorDereference of null pointerbin /debug /clang /qapi-visit.c4638View Report
Logic errorDereference of null pointerbin /debug /clang /qapi-visit.c3275View Report
Logic errorDereference of null pointerbin /debug /clang /qapi-visit.c11994View Report
Logic errorDereference of null pointercpus.c8233View Report
Logic errorDereference of null pointerblock /qcow2-refcount.c4727View Report
Logic errorDereference of null pointerbin /debug /clang /qapi-visit.c8436View Report
Logic errorDereference of null pointerbin /debug /clang /qapi-visit.c6836View Report
Logic errorDereference of null pointerhw /omap_intc.c4644View Report
Logic errorDereference of null pointerblock /qcow2-refcount.c7608View Report
Logic errorDereference of null pointercpus.c8233View Report
Logic errorDereference of null pointerblock /vdi.c70115View Report
Logic errorDereference of null pointerblock /qcow2-refcount.c122512View Report
Logic errorDereference of null pointerhw /omap_intc.c5584View Report
Logic errorDereference of null pointerblock /vvfat.c19573View Report
Logic errorDereference of null pointerbin /debug /clang /qapi-visit.c9399View Report
Logic errorDereference of null pointermemory.c14833View Report
Logic errorDereference of null pointerbin /debug /clang /qapi-visit.c4098View Report
Logic errorDereference of null pointercpus.c8233View Report
Logic errorDereference of null pointerhw /omap_intc.c5424View Report
Logic errorDereference of null pointermemory.c7077View Report
Logic errorDivision by zeromonitor.c32956View Report
Logic errorDivision by zeromonitor.c32976View Report
Logic errorDivision by zeromonitor.c32956View Report
Logic errorDivision by zeromonitor.c32956View Report
Logic errorDivision by zeromonitor.c32976View Report
Logic errorDivision by zeroui /vnc-enc-tight.c1852View Report
Logic errorDivision by zeromonitor.c32956View Report
Logic errorDivision by zeromonitor.c32956View Report
Logic errorDivision by zeromonitor.c32976View Report
Logic errorDivision by zeromonitor.c32956View Report
Logic errorDivision by zeromonitor.c32976View Report
Logic errorDivision by zeromonitor.c32976View Report
Logic errorDivision by zeromonitor.c32956View Report
Logic errorDivision by zeromonitor.c32976View Report
Logic errorDivision by zeromonitor.c32976View Report
Logic errorDivision by zeromonitor.c32976View Report
Logic errorDivision by zeromonitor.c32956View Report
Logic errorDivision by zeromonitor.c32956View Report
Logic errorDivision by zeromonitor.c32956View Report
Logic errorDivision by zeromonitor.c32956View Report
Logic errorDivision by zeromonitor.c32976View Report
Logic errorDivision by zeromonitor.c32976View Report
Logic errorDivision by zeromonitor.c32956View Report
Logic errorDivision by zeromonitor.c32976View Report
Logic errorDivision by zeromonitor.c32976View Report
Logic errorDivision by zeroqemu-img.c98419View Report
Logic errorDivision by zeroqemu-img.c91228View Report
Logic errorGarbage return valuehw /microblaze_boot.c954View Report
Logic errorGarbage return valuehw /microblaze_boot.c954View Report
Logic errorPass-by-value argument in function call is undefinedhw /realview.c16811View Report
Logic errorPass-by-value argument in function call is undefinedbin /debug /clang /qmp-marshal.c9524View Report
Logic errorPass-by-value argument in function call is undefinedhw /pc_piix.c1939View Report
Logic errorPass-by-value argument in function call is undefinedtarget-i386 /kvm.c2685View Report
Logic errorPass-by-value argument in function call is undefinedvl.c10696View Report
Logic errorPass-by-value argument in function call is undefinedbin /debug /clang /qmp-marshal.c19775View Report
Logic errorPass-by-value argument in function call is undefinedbin /debug /clang /qapi-generated /qga-qmp-marshal.c6014View Report
Logic errorPass-by-value argument in function call is undefinedbin /debug /clang /qmp-marshal.c12945View Report
Logic errorPass-by-value argument in function call is undefinedslirp /tcp_subr.c5987View Report
Logic errorPass-by-value argument in function call is undefinedbin /debug /clang /qmp-marshal.c21775View Report
Logic errorPass-by-value argument in function call is undefinedbin /debug /clang /qmp-marshal.c13644View Report
Logic errorPass-by-value argument in function call is undefinedbin /debug /clang /qmp-marshal.c20446View Report
Logic errorPass-by-value argument in function call is undefinedbin /debug /clang /qmp-marshal.c18325View Report
Logic errorPass-by-value argument in function call is undefinedtarget-i386 /kvm.c2685View Report
Logic errorPass-by-value argument in function call is undefinedbin /debug /clang /qapi-generated /qga-qmp-marshal.c3234View Report
Logic errorPass-by-value argument in function call is undefinednet /socket.c2952View Report
Logic errorPass-by-value argument in function call is undefinedbin /debug /clang /qmp-marshal.c16444View Report
Logic errorPass-by-value argument in function call is undefinedbin /debug /clang /qapi-generated /qga-qmp-marshal.c3834View Report
Logic errorPass-by-value argument in function call is undefinedslirp /misc.c3184View Report
Logic errorPass-by-value argument in function call is undefinedtarget-m68k /translate.c6604View Report
Logic errorResult of operation is garbage or undefinednet /socket.c2673View Report
Logic errorResult of operation is garbage or undefinedslirp /slirp.c7773View Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Crashtarget-mips/translate.cclang_crash_lmQ9c9.iclang_crash_lmQ9c9.i.stderr.txt
Crashtarget-mips/translate.cclang_crash_nwhmcO.iclang_crash_nwhmcO.i.stderr.txt

Please consider submitting preprocessed files as bug reports.