This is an archive of the discontinued LLVM Phabricator instance.

[analyzer][docs] NFC: Extend documentation for MallocOverflow checker
ClosedPublic

Authored by steakhal on Nov 22 2019, 5:02 AM.

Details

Summary

Adds and example for MallocOverflow checker how to suppress the warning via checking the upper bound of the allocation size.

Diff Detail

Event Timeline

steakhal created this revision.Nov 22 2019, 5:02 AM
NoQ accepted this revision.Nov 22 2019, 2:41 PM

Fair enough!

This revision is now accepted and ready to land.Nov 22 2019, 2:41 PM
This revision was automatically updated to reflect the committed changes.