[all-commits] [llvm/llvm-project] 141cb8: [analyzer] Model iterator random incrementation sy...

Endre Fülöp via All-commits all-commits at lists.llvm.org
Tue Aug 4 02:04:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 141cb8a1eecc0c843cdd4e788a28d2b6715e4dc5
      https://github.com/llvm/llvm-project/commit/141cb8a1eecc0c843cdd4e788a28d2b6715e4dc5
  Author: Endre Fülöp <endre.fulop at sigmatechnology.se>
  Date:   2020-08-04 (Tue, 04 Aug 2020)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/IteratorModeling.cpp
    M clang/test/Analysis/iterator-modeling.cpp

  Log Message:
  -----------
  [analyzer] Model iterator random incrementation symmetrically

Summary:
In case a pointer iterator is incremented in a binary plus expression
(operator+), where the iterator is on the RHS, IteratorModeling should
now detect, and track the resulting value.

Reviewers: Szelethus, baloghadamsoftware

Reviewed By: baloghadamsoftware

Subscribers: rnkovacs, whisperity, xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, Charusso, steakhal, martong, ASDenysPetrov, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list