Coverity Scan: rizinorg/rizin

Project Name rizinorg/rizin
Lines of code analyzed 2,470,981
On Coverity Scan since Apr 02, 2021
Last build analyzed 1 day ago
   
Language C/C++
Repository URL https://github.com/rizinorg/rizin.git
Homepage URL https://github.com/rizinorg/rizin
License LGPL (GNU Library or "Lesser" General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: trunk

May 08, 2025
Last Analyzed
2,470,981
Lines of Code Analyzed
2,436,509
Lines of Code in Selected Components
0.73
Defect Density

Defect changes since previous build dated May 06, 2025

0
Newly detected
0
Eliminated

Defects by status for current build

9,663
Total defects
1,787
Outstanding
1,989
Fixed
See how defect density for 'rizinorg/rizin' 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
Analysis .*/librz/analysis/.* No 0 N/A
Disassembly .*/librz/asm/.* No 0 N/A
Bin .*/librz/bin/.* No 79,511 1.71
Core .*/librz/core/.* No 122,289 1.82
Config .*/librz/config/.* No 644 1.55
Crypto .*/librz/crypto/.* No 5,602 0.00
Breakpoints .*/librz/bp/.* No 1,119 0.00
Console .*/librz/cons/.* No 9,199 0.98
Debugger .*/librz/debug/.* No 12,062 1.49
Flags .*/librz/flag/.* No 1,207 1.66
Hash .*/librz/hash/.* No 5,274 0.19
IO .*/librz/io/.* No 9,237 2.27
Parse .*/librz/parse/.* No 0 N/A
Search .*/librz/search/.* No 2,824 0.35
Registers .*/librz/reg/.* No 1,618 1.85
Sockets .*/librz/socket/.* No 3,183 3.46
Utils .*/librz/util/.* No 42,492 1.93
Syscalls .*/librz/syscall/.* No 354 2.82
Types .*/librz/type/.* No 8,530 0.35
Main .*/binrz/.* No 2,921 1.03
Tests .*/test/unit/.* Yes 34,472 N/A
GDB .*/subprojects/rzgdb/.* No 5,252 2.28
WinKD .*/subprojects/rzwinkd/.* No 2,615 4.59
Heap .*/subprojects/rzheap/.* No 9,225 0.00
Tests (Integration) .*/test/integration/.* Yes 0 N/A
RzIL .*/librz/il/.* No 0 N/A
SPP .*/subprojects/rzspp/.* No 1,160 7.76
QNX .*/subprojects/rzqnx/.* No 2,440 1.23
RzAR .*/subprojects/rzar/.* No 371 2.70
Diff .*/librz/diff/.* No 1,223 1.64
Signatures .*/librz/sign/.* No 2,285 0.00
Demangler .*/librz/demangler/.* No 144 0.00
Lang .*/librz/lang/.* No 848 1.18
Arch .*/librz/arch/.* No 293,323 0.41
Demangler (library) .*/subprojects/libdemangle/.* No 14,228 1.34
Capstone .*/subprojects/capstone.* No 1,324,735 0.01
Egg .*/librz/egg/.* No 3,172 1.58
Magic .*/librz/magic/.* No 4,835 1.45
MPC library .*/subprojects/mpc/.* No 3,278 41.49
Nettle library .*/subprojects/nettle/.* No 1,882 0.53
LibZIP library .*/subprojects/libzip.* No 10,624 0.28
PCRE2 library .*/subprojects/pcre2.* No 60,660 0.71
SoftFloat library .*/subprojects/softfloat/.* No 12,836 0.55
yxml library .*/subprojects/yxml/.* No 1,012 2.96
xxhash library .*/subprojects/xxhash/.* No 828 0.00
libmspack library .*/subprojects/libmspack/.* No 5,713 1.05
blake3 library .*/subprojects/blake3/.* No 1,209 0.83
zlib .*/subprojects/zlib.* No 17,451 0.23
XZ library .*/subprojects/xz.* No 15,220 0.66
Other .* No 331,918 0.22

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 4
131 Incorrect Calculation of Buffer Size 4
190 Integer Overflow or Wraparound 165
676 Use of Potentially Dangerous Function 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