[PATCH] D114870: [MemoryLocation] Support memset_chk in getForArgument.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 2 05:51:37 PST 2021


fhahn marked an inline comment as done.
fhahn added inline comments.


================
Comment at: llvm/lib/Analysis/MemoryLocation.cpp:220
+      if (const auto *Len = dyn_cast<ConstantInt>(Call->getArgOperand(2))) {
+        // memset_chk writes at most Len bytes. It may write less, if it exceed
+        // the specified max size and aborts.
----------------
nikic wrote:
> exceed -> exceeded/exceeds?
Thanks, updated to `exceeds` in the committed version!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114870/new/

https://reviews.llvm.org/D114870



More information about the llvm-commits mailing list