Opened 7 months ago

Last modified 7 months ago

#30225 new defect

Run clang's scan-build in Tor's CI

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-ci, correctness, coverity, clang, scan-build
Cc: Actual Points:
Parent ID: Points: 2
Reviewer: Sponsor: Sponsor31-can


There can be a few days between merging and a coverity build.

So we could also use clang's scan-build in CI, to get immediate feedback.

Code that passes scan-build should have less coverity defects.

Child Tickets

#18897newNarrow scan-build checkers to those that have an acceptably low false positive rate.Core Tor/Tor
#21494newFix scan-build warnings about assigning to char**Core Tor/Tor
#21497newFix scan-build warnings: memory accessesCore Tor/Tor

Change History (1)

comment:1 Changed 7 months ago by teor

Keywords: clang scan-build added
Note: See TracTickets for help on using tickets.