This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] Update static analyzer to be support sarif-html
ClosedPublic

Authored by isthismyaccount on Feb 9 2021, 5:37 PM.

Details

Summary

Updates static analyzer to be able to generate both sarif and html output in a single run similar to plist-html.

Diff Detail

Event Timeline

isthismyaccount created this revision.Feb 9 2021, 5:37 PM
isthismyaccount requested review of this revision.Feb 9 2021, 5:37 PM
vsavchenko added inline comments.Feb 9 2021, 10:28 PM
clang/include/clang/StaticAnalyzer/Core/Analyses.def
58

I think we should put a better explanation here :-)

Whoops, haha...

clang/include/clang/StaticAnalyzer/Core/Analyses.def
58

Whoops. Thanks!

vsavchenko added inline comments.Feb 10 2021, 9:56 AM
clang/include/clang/StaticAnalyzer/Core/Analyses.def
59

Sorry for complaining about it again, it'd be more consistent with other descriptions to replace it with "using".

Szelethus added inline comments.Feb 10 2021, 10:05 AM
clang/include/clang/StaticAnalyzer/Core/Analyses.def
59

[...] SARIF and HTML output files.

Update help message.

isthismyaccount marked 2 inline comments as done.Feb 10 2021, 10:57 AM
This revision is now accepted and ready to land.Feb 10 2021, 10:58 AM
Szelethus accepted this revision.Feb 10 2021, 4:30 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 10 2021, 6:35 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript