Coverity Scan: elftoolchain

Project Name elftoolchain
Lines of code analyzed 192,286
On Coverity Scan since Mar 19, 2014
Last build analyzed 24 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: r4361

Mar 09, 2026
Last Analyzed
192,286
Lines of Code Analyzed
158,656
Lines of Code in Selected Components
0.77
Defect Density

Defect changes since previous build dated Mar 07, 2026

0
Newly detected
2
Eliminated

Defects by status for current build

335
Total defects
122
Outstanding
157
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,553 0.00
readelf /readelf/.* No 7,061 1.42
libdwarf /libdwarf/.* No 14,712 0.75
libelftc /libelftc/.* No 8,600 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,415 0.68
strings /strings/.* No 361 0.00
size /size/.* No 796 0.00
addr2line /addr2line/.* No 578 1.73
brandelf /brandelf/.* No 240 0.00
cxxfilt /cxxfilt/.* No 156 6.41
findtextrel /findtextrel/.* No 341 0.00
ld /ld/.* No 18,371 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,630 N/A
libelf-testsuite /tests/tet/libelf/.* No 53,878 0.84
libelftc-testsuite /tests/tet/libelftc/.* No 5,531 0.36
libdwarf-testsuite /tests/tet/libdwarf/.* No 3,419 2.05
libtest /tests/libtest/.* No 863 0.00
common /common/.* No 4,480 0.00
Other .* No 15,033 0.00

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