Skip to content

amcn/scan-build-path-bug-example-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scan-build path computation bug

This repo contains a project which demonstrates a bug in scan-build's path computation. In order to reproduce the bug using this example, you will need the scan-build, meson, and ninja installed. Once they are installed, execute the following in this repository's root:

meson setup build
ninja -C build scan-build

This should generate a report which can be viewed with scan-view. In this report the paths to the files containing the detected bugs will not be correct:

Incorrect paths

This is what the paths should look like:

Correct paths

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published