[PATCH] D150430: Implement BufferOverlap check for sprint/snprintf
Arnaud Bienner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 16 12:23:42 PDT 2023
ArnaudBienner added a comment.
Thanks for the review :)
I implemented the suggested changes.
Just one question: `PointeeTy.isNull()`: is this guaranteed to always work even though `getType()->isAnyPointerType() == false`?
I'm assuming yes since the tests still pass, but wanted to confirm this is the best way to do this check for `char*` arguments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150430/new/
https://reviews.llvm.org/D150430
More information about the cfe-commits
mailing list