[clang] [analyzer] Don't invalidate pointee of pointer-to-const on callback arguments (PR #225489)
DonĂ¡t Nagy via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 30 13:46:39 PDT 2026
NagyDonat wrote:
As we discussed, I started to work on reimplementing this PR step by step from a "fresh start". This made me appreciate the complexity and troublesome nature of the logic that (on current main) resides in `MallocChecker::mayFreeAnyEscapedMemoryOrIsModeledExplicitly`.
Based on this I'm closing this PR because I think it's practically impossible to "recover our balance" after the commits stacked in this PR which change the behavior of `MallocChecker` in subtle and complex ways.
I'll reimplement the goals of this PR in a separate PR series; using the knowledge that I gained in this review process.
https://github.com/llvm/llvm-project/pull/225489
More information about the cfe-commits
mailing list