This is an archive of the discontinued LLVM Phabricator instance.

[analyzer][draft] Increase the accuracy of bug reports
Changes PlannedPublic

Authored by isuckatcs on Sep 2 2022, 8:25 AM.

Details

Reviewers
NoQ

Diff Detail

Event Timeline

isuckatcs created this revision.Sep 2 2022, 8:25 AM
Herald added a project: Restricted Project. · View Herald Transcript
isuckatcs requested review of this revision.Sep 2 2022, 8:25 AM
isuckatcs updated this revision to Diff 457608.Sep 2 2022, 8:43 AM

Updated the test files

NoQ accepted this revision.Sep 12 2022, 11:27 AM

LGTM!

I think this can be made more precise, but generally this is valuable as is.

clang/test/Analysis/diagnostics/no-store-func-path-notes.c
163

I think we should leave a TODO that ideally this should say

'localB.y' initialized here

(and ideally it's the region of field y that needs to be tracked further)

This revision is now accepted and ready to land.Sep 12 2022, 11:27 AM
isuckatcs planned changes to this revision.Sep 12 2022, 3:40 PM

I would wait with commiting this until everything is addressed. The purpose of this patch was to quickly find a way to
get access to more information so that we might figure out whether the results from D132752 are true or false positives.