Coverity Scan: elftoolchain

Project Name elftoolchain
Lines of code analyzed 190,895
On Coverity Scan since Mar 19, 2014
Last build analyzed 3 days ago
   
Language C/C++
Repository URL https://sourceforge.net/p/elftoolchain/code/HEAD/tree/trunk/
Homepage URL http://elftoolchain.sourceforge.net
License BSD2Clause (BSD 2-Clause "Simplified" or "FreeBSD" License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: r4247-1

Oct 16, 2025
Last Analyzed
190,895
Lines of Code Analyzed
157,385
Lines of Code in Selected Components
1.09
Defect Density

Defect changes since previous build dated Oct 15, 2025

39
Newly detected
4
Eliminated

Defects by status for current build

356
Total defects
172
Outstanding
179
Fixed
See how defect density for 'elftoolchain' 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
libelf /libelf/.* No 7,548 0.13
readelf /readelf/.* No 7,063 1.42
libdwarf /libdwarf/.* No 14,712 0.75
libelftc /libelftc/.* No 8,003 0.00
nm /nm/.* No 1,688 2.96
elfcopy /elfcopy/.* No 5,727 3.49
elfdump /elfdump/.* No 2,310 2.16
ar /ar/.* No 4,416 0.68
strings /strings/.* No 361 0.00
size /size/.* No 796 0.00
addr2line /addr2line/.* No 577 1.73
brandelf /brandelf/.* No 240 0.00
cxxfilt /cxxfilt/.* No 155 6.45
findtextrel /findtextrel/.* No 341 0.00
ld /ld/.* No 18,372 0.98
tools /tools/.* No 0 N/A
isa /isa/.* No 0 N/A
as /as/.* No 0 N/A
libpe /libpe/.* No 2,510 1.59
tet /tests/tet/tet/.* Yes 33,510 N/A
libelf-testsuite /tests/tet/libelf/.* No 54,937 0.71
libelftc-testsuite /tests/tet/libelftc/.* No 4,302 0.46
libdwarf-testsuite /tests/tet/libdwarf/.* No 3,540 1.98
libtest /tests/libtest/.* No 863 0.00
common /common/.* No 3,898 0.00
Other .* No 15,030 0.07

CWE Top 25 defects

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