[all-commits] [llvm/llvm-project] 829b29: [MemoryLocation] strcat/strncat/strcpy read/write ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Dec 3 00:48:49 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 829b29b619f3dbbf767833867d027bba23dabb26
      https://github.com/llvm/llvm-project/commit/829b29b619f3dbbf767833867d027bba23dabb26
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-12-03 (Fri, 03 Dec 2021)

  Changed paths:
    M llvm/lib/Analysis/MemoryLocation.cpp
    M llvm/test/Analysis/BasicAA/libfuncs.ll
    M llvm/test/Transforms/DeadStoreElimination/libcalls.ll

  Log Message:
  -----------
  [MemoryLocation] strcat/strncat/strcpy read/write after their args.

strcpy/strcat/strncat access memory starting from the passed in
pointers. Construct memory locations for their args using getAfter.

Discussed in D114872.

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D114969




More information about the All-commits mailing list