rizsotto / scan-build

Clang's scan-build re-implementation in python
Other
362 stars 34 forks source link

differences captured by SATestBuild #41

Closed rizsotto closed 9 years ago

rizsotto commented 9 years ago

one of the differences was the file names in the .plist files. the reason was that the new implementation was using absolute path for source files, while the old implementation were using relative.

rizsotto commented 9 years ago

now calculating the relative path from the current working directory. it fixes some reports, but still are differences based on this. eg.: when the build system uses ./source.c and our calculated relative path is source.c then it's still a difference. or when the build system uses absolute path, the new one uses relative. (have not seen this one yet, but i guess can happen easily.)

commit 3ba06d78bff9544a91e77d8753e278fa8c93ff8d fix this.