[clang] [analyzer] Implemented the DanglingPtrDeref checker to detect use-after-scope lifetime errors (PR #206460)
Balázs Benics via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 10 06:45:58 PDT 2026
steakhal wrote:
I triaged some bugs today and wanted to see if CSA would find those. Turns out, that it could with some improvements to this patch. So I've made this patch: [0001-analyzer-ReportDanglingPtrDeref-subobject-pointers-c.patch](https://github.com/user-attachments/files/29892084/0001-analyzer-ReportDanglingPtrDeref-subobject-pointers-c.patch)
Apply it via `git am < 0001-*` - although, I think we should split it because it has basically 3 semantic changes.
https://github.com/llvm/llvm-project/pull/206460
More information about the cfe-commits
mailing list