rizsotto / scan-build

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

Bugs occurring at the same location can falsely appear as duplicates #110

Closed cfsteefel closed 5 years ago

cfsteefel commented 5 years ago

If a second bug happens to have the same line number and path length as another bug, one will be hidden. For example, if a bug is flagged at the same location as a dead store, only the dead store will appear in index.html, despite the bug report's html being generated. It seems to me that the bug type should be included in the hash generation function in report.py.

rizsotto commented 5 years ago

Thanks for the report, will look at it soon.

rizsotto commented 5 years ago

Added the "bug type" to the hash function. Thanks for your hint.