Skip to contentSkip to conversation

Status of static analysis

DISCUSSION Brad Hubbard 5 participants 7 messages Dec 19, 2016 – Jan 4, 2017

lore
Share & tools
lore
#0 lore raw

As you would have noticed in recent weeks we have returned to running a Coverity test over the source tree on a weekly basis. In addition, I have been running Clang Static Analyzer and Cppcheck scans. Until we can find a better home for these and include at least one of them in our CI processes I will be hosting them at http://people.redhat.com/bhubbard/

Signature · 2 lines
Cheers,
Brad
#1 lore raw

Very cool!
-Sam

Quoted 15 lines · Brad Hubbard

As you would have noticed in recent weeks we have returned to running a Coverity test over the source tree on a weekly basis. In addition, I have been running Clang Static Analyzer and Cppcheck scans. Until we can find a better home for these and include at least one of them in our CI processes I will be hosting them at http://people.redhat.com/bhubbard/

--
Cheers,
Brad
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

Very cool! It's useful.

Quoted 24 lines · Samuel Just <[email protected]>于2016年12月20日周二 上午1:31写道:

Very cool!
-Sam

Quoted 6 lines · Brad Hubbard

As you would have noticed in recent weeks we have returned to running a Coverity test over the source tree on a weekly basis. In addition, I have been running Clang Static Analyzer and Cppcheck scans. Until we can find a better home for these and include at least one of them in our CI processes I will be hosting them at http://people.redhat.com/bhubbard/

Quoted 9 lines

--
Cheers,
Brad
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to Brad Hubbard
Quoted 5 lines · Brad Hubbard

As you would have noticed in recent weeks we have returned to running a Coverity test over the source tree on a weekly basis. In addition, I have been running Clang Static Analyzer and Cppcheck scans. Until we can find a better home for these and include at least one of them in our CI processes I will be hosting them at http://people.redhat.com/bhubbard/

So...is there some way for people to feed back into that as we evaluate stuff? For instance I looked at one of the use-after-free reports[1] and it's incorrect and I think there's a way to tell Coverity so, but I've no idea how.
-Greg

[1]: http://people.redhat.com/bhubbard/scan-build.16-12-30/report-46bfed.html#EndPath

Quoted 8 lines

--
Cheers,
Brad
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 7 lines · Gregory Farnum
Quoted 5 lines · Brad Hubbard

As you would have noticed in recent weeks we have returned to running a Coverity test over the source tree on a weekly basis. In addition, I have been running Clang Static Analyzer and Cppcheck scans. Until we can find a better home for these and include at least one of them in our CI processes I will be hosting them at http://people.redhat.com/bhubbard/

Quoted 7 lines

So...is there some way for people to feed back into that as we evaluate stuff? For instance I looked at one of the use-after-free reports[1] and it's incorrect and I think there's a way to tell Coverity so, but I've no idea how.
-Greg

[1]: http://people.redhat.com/bhubbard/scan-build.16-12-30/report-46bfed.html#EndPath

Hi Greg,

That report is from Clang Static Analyzer (not Coverity) and I am happy to coordinate feedback as best I can for now.

There is a FAQ here, http://clang-analyzer.llvm.org/faq.html

Quoted 8 lines
Quoted 8 lines

--
Cheers,
Brad
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Cheers,
Brad
#5 lore raw
Quoted 16 lines · Brad Hubbard
Quoted 13 lines · Gregory Farnum
Quoted 5 lines · Brad Hubbard

As you would have noticed in recent weeks we have returned to running a Coverity test over the source tree on a weekly basis. In addition, I have been running Clang Static Analyzer and Cppcheck scans. Until we can find a better home for these and include at least one of them in our CI processes I will be hosting them at http://people.redhat.com/bhubbard/

So...is there some way for people to feed back into that as we evaluate stuff? For instance I looked at one of the use-after-free reports[1] and it's incorrect and I think there's a way to tell Coverity so, but I've no idea how.
-Greg

Quoted 6 lines
Quoted 1 line

[1]: http://people.redhat.com/bhubbard/scan-build.16-12-30/report-46bfed.html#EndPath

Hi Greg,

That report is from Clang Static Analyzer (not Coverity) and I am happy to coordinate feedback as best I can for now.

D'oh, I was just substituting that everywhere in my head for some reason. :o Sorry and thanks.

Quoted 17 lines

There is a FAQ here, http://clang-analyzer.llvm.org/faq.html

Quoted 8 lines
Quoted 8 lines

--
Cheers,
Brad
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Cheers,
Brad

#6 lore raw
Quoted 19 lines · Gregory Farnum
Quoted 18 lines · Brad Hubbard
Quoted 14 lines · Gregory Farnum
Quoted 5 lines · Brad Hubbard

As you would have noticed in recent weeks we have returned to running a Coverity test over the source tree on a weekly basis. In addition, I have been running Clang Static Analyzer and Cppcheck scans. Until we can find a better home for these and include at least one of them in our CI processes I will be hosting them at http://people.redhat.com/bhubbard/

So...is there some way for people to feed back into that as we evaluate stuff? For instance I looked at one of the use-after-free reports[1] and it's incorrect and I think there's a way to tell Coverity so, but I've no idea how.
-Greg

[1]: http://people.redhat.com/bhubbard/scan-build.16-12-30/report-46bfed.html#EndPath

Quoted 7 lines
Quoted 4 lines

Hi Greg,

That report is from Clang Static Analyzer (not Coverity) and I am happy to coordinate feedback as best I can for now.

D'oh, I was just substituting that everywhere in my head for some reason. :o Sorry and thanks.

There is also a coverity UI can you can request access to

https://scan.coverity.com/projects/ceph?tab=overview

but it is probably better to figure out the code annotations so we don't rely on state in the tool's database.

sage