Skip to content

A repo used to get familiar with Clang's taint analysis checker.

Notifications You must be signed in to change notification settings

mbovero/Taint-Analysis-Testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Preliminary Research

Introductions to the concepts of static analysis and taint analysis:

Introductions to the tool(s)

Setup:

CodeChecker is a tool for static code analysis that integrates with the LLVM/Clang ecosystem. It provides an easy-to-use interface for analyzing code, visualizing results, and tracking issues over time.

I used CodeChecker to interface with Clang’s GenericTaintChecker, which allowed me to easily run and visualize static taint analysis of C programs. I closely followed CodeChecker’s Quick Howto for initial setup, which began with a quick detour to the Linux installation instructions. Pay special attention to the warning regarding newer Python versions - the tool might not work without running the provided code. After installation of CodeChecker, the Howto guide gives a comprehensive rundown of how to use the tool.

Note: I added export PATH=~/codechecker/build/CodeChecker/bin:$PATH to ~/.bashrc so that the CodeChecker command could be easily executed in any terminal window.

Further Exploration

The examples folder contains a few example programs and instructions on how to perform & visualize taint analysis on each one.

About

A repo used to get familiar with Clang's taint analysis checker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published