[clang] [LifetimeSafety] Detect use-after-scope through fields in member calls (PR #191731)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 12 12:10:54 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 53545 tests passed
* 1087 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang-Unit
<details>
<summary>Clang-Unit._/AllClangUnitTests_exe/LifetimeAnalysisTest/TrivialClassDestructorsUAF</summary>
```
Script:
--
C:\_work\llvm-project\llvm-project\build\tools\clang\unittests\.\AllClangUnitTests.exe --gtest_filter=LifetimeAnalysisTest.TrivialClassDestructorsUAF
--
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\LifetimeSafetyTest.cpp:1411
Value of: Origins({"ptr"})
Expected: must be live at (Annotation: "p1")
Actual: 32-byte object <80-71 86-B1 9C-02 00-00 A0-71 86-B1 9C-02 00-00 A0-71 86-B1 9C-02 00-00 F0-B4 78-B0 9C-02 00-00>, Expected: {5, } Actual: {0, 1, 5, }
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/191731
More information about the cfe-commits
mailing list