Coverity Scan: QEMU

Project Name QEMU
Lines of code analyzed 1,684,449
On Coverity Scan since Apr 17, 2013
Last build analyzed 3 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-1185-gff56877e91

Oct 16, 2018
Last Analyzed
1,684,449
Lines of Code Analyzed
0.01
Defect Density

Defect changes since previous build dated Oct 09, 2018

1
Newly detected
3
Eliminated

Defects by status for current build

1,452
Total defects
24
Outstanding
977
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,448 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 133,114 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,214 0.00
lm32 (/include)?/hw/lm32/.*|/target/lm32/.*|/hw/.*/(milkymist|lm32).* No 6,373 0.16
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 42,097 0.02
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,178 0.03
riscv (/include)?/hw/riscv/.*|/target/riscv/.* No 7,111 0.42
s390 (/include)?/hw/s390x/.*|/target/s390x/.*|/hw/.*/s390_.* No 29,361 0.00
sh4 (/include)?/hw/sh4/.*|/target/sh4/.* No 6,151 0.00
sparc (/include)?/hw/sparc(64)?.*|/target/sparc/.*|/hw/.*/grlib.*|/hw/display/cg3.c No 17,966 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,143 0.05
block /block.*|(/include?)(/hw)?/block/.*|(/include)?/hw/ide/.*|/qemu-(img|io).*|/(aio|async|thread-pool).* No 84,874 0.01
bt /bt.*|/hw/bt/.* No 4,681 0.00
char /qemu-char\.c|/include/sysemu/char\.h|(/include)?/hw/char/.* No 8,427 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 15,167 0.00
io (/include)?/io/.* No 6,085 0.00
ipmi (/include)?/hw/ipmi/.* No 3,249 0.00
libvixl /disas/libvixl/.* No 0 N/A
migration (/include)?/migration/.* No 25,034 0.04
monitor /qapi.*|/qobject/.*|/monitor\..*|/[hq]mp\..* No 68,328 0.00
nbd /nbd/.*|/include/block/nbd.*|/qemu-nbd\.c No 6,017 0.00
net (/include)?(/hw)?/(net|rdma)/.* No 57,831 0.00
pci /hw/pci.*|/include/hw/pci.* No 12,788 0.00
qemu-ga /qga/.* No 8,399 0.00
scsi /hw/scsi/.*|/include/hw/scsi/.* No 25,760 0.00
slirp /.*slirp.* No 9,109 0.33
tcg /accel/tcg/.*|/replay/.*|/(.*/)?softmmu.* No 7,119 0.14
trace /.*trace.*\.[ch] No 48,881 0.00
ui (/include)?(/ui|/hw/display|/hw/input)/.* No 54,891 0.00
usb /hw/usb/.*|/include/hw/usb/.* No 29,200 0.00
user /linux-user/.*|/bsd-user/.*|/user-exec\.c|/thunk\.c|/include/exec/user/.* No 48,945 0.12
util /util/.*|/include/qemu/.* No 22,336 0.00
xen .*/xen.* No 14,911 0.07
(headers) /include/.* No 25,115 0.00
Other .* No 578,467 0.01

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 17
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