Digitala Vetenskapliga Arkivet

Planned maintenance
A system upgrade is planned for 17/11-2026, at 12:00-13:00. During this time DiVA will be unavailable.
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
False Positives, Real Problems: Evaluating Static Analysis Tools
Linköping University, Department of Computer and Information Science.
Linköping University, Department of Computer and Information Science.
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Falska larm, riktiga problem : En utvärdering av statiska kodanalysverktyg (Swedish)
Abstract [en]

Static analysis tools are widely used to detect vulnerabilities in C/C++ code, yet their effectiveness across realistic and synthetic datasets remains underexplored. This thesis systematically evaluates five prominent static analysis tools: Cppcheck, Flawfinder, Semgrep, Clang-Tidy, and Snyk Code. The evaluation was done using two contrasting datasets: the Juliet Test Suite, offering synthetic examples with clearly labeled vulnerabilities, and PrimeVul, providing real-world vulnerable functions paired with their corresponding patches. An evaluation system was implemented, including automated build support across diverse open-source projects, tool output normalization, and metric-based classification of results. Performance was assessed using many metrics, such as Precision, Recall, F1, pair-wise comparative measures, and the Matthews Correlation Coefficient. 

The results reveal that all tools perform relatively poorly on the synthetic dataset and really poorly on the realistic dataset. This highlights the need for tool improvement and dataset improvements, as well as the importance of dataset diversity in benchmarking static analysis tools. 

Place, publisher, year, edition, pages
2025. , p. 46
Keywords [en]
Static Analysis, Static Analysis tools, Juliet Test Suite, PrimeVul, Cybersecurity
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:liu:diva-214710ISRN: LIU-IDA/LITH-EX-A--25/064--SEOAI: oai:DiVA.org:liu-214710DiVA, id: diva2:1968169
External cooperation
Sectra Communications
Subject / course
Computer Engineering
Presentation
2025-06-10, Alan Turing, Campus Valla, Linköping, 13:15 (English)
Supervisors
Examiners
Available from: 2025-06-16 Created: 2025-06-12 Last updated: 2025-06-16Bibliographically approved

Open Access in DiVA

fulltext(480 kB)706 downloads
File information
File name FULLTEXT01.pdfFile size 480 kBChecksum SHA-512
4fb49e571643a0a189415a74a9debb2f7b1b71cae87a2f7f8789d060a977c14319c156742127ed01964e47ad1582b6eb173d25e7ac2fe98aa445d8c26fd2de0e
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Dyremark, EdvinElfstrand, Tobias
By organisation
Department of Computer and Information Science
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 709 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 2212 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf