Coverity Scan: QEMU

Project Name QEMU
Lines of code analyzed 1,626,946
On Coverity Scan since Apr 17, 2013
Last build analyzed 7 days ago
   
Language C/C++
Repository URL git://git.qemu.org/qemu.git
Homepage URL http://www.qemu.org/
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: v3.0.0-rc4

Aug 12, 2018
Last Analyzed
1,626,946
Lines of Code Analyzed
0.01
Defect Density

Defect changes since previous build dated Jul 29, 2018

3
Newly detected
1
Eliminated

Defects by status for current build

1,449
Total defects
23
Outstanding
963
Fixed
See how defect density for 'QEMU' compares with defect density for other open source projects.  Learn more

Note: Defect density is measured by the number of defects per 1,000 lines of code.


Analysis Metrics per Components

Component Name Pattern Ignore Line of Code Defect density
alpha (/include)?/hw/alpha/.*|/target/alpha/.* No 5,447 0.00
arm (/include)?/hw/arm/.*|(/include)?/hw/.*/(arm|allwinner-a10|bcm28|digic|exynos|imx|omap|stellaris|pxa2xx|versatile|zynq|cadence).*|/hw/net/xgmac.c|/hw/ssi/xilinx_spips.c|/target/arm/.* No 129,009 0.00
cris (/include)?/hw/cris/.*|/target/cris/.* No 6,267 0.00
hppa /target/hppa/.* No 5,936 0.00
i386 (/include)?/hw/i386/.*|/target/i386/.*|/hw/intc/[^/]*apic[^/]*\.c No 51,375 0.00
lm32 (/include)?/hw/lm32/.*|/target/lm32/.*|/hw/.*/(milkymist|lm32).* No 6,373 0.00
m68k (/include)?/hw/m68k/.*|/target/m68k/.*|(/include)?/hw(/.*)?/mcf.* No 13,819 0.00
microblaze (/include)?/hw/microblaze/.*|/target/microblaze/.* No 3,623 0.00
mips (/include)?/hw/mips/.*|/target/mips/.* No 37,323 0.00
nios2 (/include)?/hw/nios2/.*|/target/nios2/.* No 1,892 0.00
ppc (/include)?/hw/ppc/.*|/target/ppc/.*|/hw/pci-host/(uninorth.*|dec.*|prep.*|ppc.*)|/hw/misc/macio/.*|(/include)?/hw/.*/(xics|openpic|spapr).* No 77,000 0.03
riscv (/include)?/hw/riscv/.*|/target/riscv/.* No 7,117 0.42
s390 (/include)?/hw/s390x/.*|/target/s390x/.*|/hw/.*/s390_.* No 29,152 0.00
sh4 (/include)?/hw/sh4/.*|/target/sh4/.* No 6,150 0.00
sparc (/include)?/hw/sparc(64)?.*|/target/sparc/.*|/hw/.*/grlib.*|/hw/display/cg3.c No 17,913 0.00
tilegx /target/tilegx/.* No 4,122 0.00
tricore (/include)?/hw/tricore/.*|/target/tricore/.* No 12,434 0.00
unicore32 (/include)?/hw/unicore32/.*|/target/unicore32/.* No 3,131 0.00
9pfs /hw/9pfs/.*|/fsdev/.* No 12,303 0.00
audio (/include)?/(audio|hw/audio)/.* No 19,304 0.00
block /block.*|(/include?)(/hw)?/block/.*|(/include)?/hw/ide/.*|/qemu-(img|io).*|/(aio|async|thread-pool).* No 84,825 0.02
bt /bt.*|/hw/bt/.* No 4,681 0.00
char /qemu-char\.c|/include/sysemu/char\.h|(/include)?/hw/char/.* No 8,410 0.00
capstone /capstone/.* No 0 N/A
crypto (/include)?/crypto/.*|/hw/.*/crypto.* No 8,341 0.00
disas (/include)?/disas.* No 51,808 0.00
fpu (/include)?(/fpu|/libdecnumber)/.* No 14,906 0.00
io (/include)?/io/.* No 6,085 0.00
ipmi (/include)?/hw/ipmi/.* No 3,218 0.00
libvixl /disas/libvixl/.* No 0 N/A
migration (/include)?/migration/.* No 24,576 0.04
monitor /qapi.*|/qobject/.*|/monitor\..*|/[hq]mp\..* No 68,415 0.00
nbd /nbd/.*|/include/block/nbd.*|/qemu-nbd\.c No 6,019 0.00
net (/include)?(/hw)?/(net|rdma)/.* No 58,096 0.00
pci /hw/pci.*|/include/hw/pci.* No 12,818 0.00
qemu-ga /qga/.* No 8,433 0.00
scsi /hw/scsi/.*|/include/hw/scsi/.* No 23,829 0.00
slirp /.*slirp.* No 9,085 0.33
tcg /accel/tcg/.*|/replay/.*|/(.*/)?softmmu.* No 7,160 0.14
trace /.*trace.*\.[ch] No 47,807 0.00
ui (/include)?(/ui|/hw/display|/hw/input)/.* No 54,657 0.02
usb /hw/usb/.*|/include/hw/usb/.* No 29,133 0.00
user /linux-user/.*|/bsd-user/.*|/user-exec\.c|/thunk\.c|/include/exec/user/.* No 49,016 0.18
util /util/.*|/include/qemu/.* No 21,008 0.00
xen .*/xen.* No 14,911 0.07
(headers) /include/.* No 24,840 0.00
Other .* No 535,278 0.00

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 1
190 Integer Overflow or Wraparound 15
Loading...

Loading...

Loading...

Loading...

Loading...

About Coverity Scan Static Analysis

Find and fix defects in your C/C++, Java, JavaScript or C# open source project for free.

Coverity Scan tests every line of code and potential execution path. The root cause of each defect is clearly explained, making it easy to fix bugs.

Would you like to view the project defects, or help improve its quality by fixing defects?

 Add me to project