[all-commits] [llvm/llvm-project] e9e9ba: [clang][analyzer] Support strlen with offset to st...
Balázs Kéri via All-commits
all-commits at lists.llvm.org
Mon Oct 13 23:54:50 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e9e9ba4a694b778038bbda0120fca075e9b6bd1e
https://github.com/llvm/llvm-project/commit/e9e9ba4a694b778038bbda0120fca075e9b6bd1e
Author: Balázs Kéri <balazs.keri at ericsson.com>
Date: 2025-10-14 (Tue, 14 Oct 2025)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
M clang/test/Analysis/string.c
Log Message:
-----------
[clang][analyzer] Support strlen with offset to string literal in CStringChecker (#159795)
Handle cases like `strlen(string_constant + 3)` in `CStringChecker` by
returning the original string length minus offset.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list