This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] Add taint to the BoolAssignmentChecker
ClosedPublic

Authored by gamesh411 on May 11 2022, 1:54 AM.

Details

Summary

BoolAssignment checker is now taint-aware and warns if a tainted value is
assigned.

Original author: steakhal

Diff Detail

Event Timeline

gamesh411 created this revision.May 11 2022, 1:54 AM
Herald added a project: Restricted Project. · View Herald Transcript
gamesh411 requested review of this revision.May 11 2022, 1:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 11 2022, 1:54 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

It turns out this only makes sense for Obj-C code :D
Anyway, it looks good.

martong accepted this revision.May 12 2022, 1:04 AM

LGTM

This revision is now accepted and ready to land.May 12 2022, 1:04 AM
This revision was automatically updated to reflect the committed changes.