llvm/llvm-project
GitHub で見る[clang-analyzer-security.insecureAPI.strcpy] extend list of unsafe functions
Open
#103,038 opened on 2024年8月13日
clang:static analyzergood first issue
Repository metrics
- Stars
- (26,378 stars)
- PR merge metrics
- (平均マージ 1d 2h) (30d で 1,000 merged PRs)
説明
Hi,
it would be nice, if the list of functions, that are marked as unsafe would be extensible or include i.e. the following (under windows and atl/mfc microsoft propietary stuff)
- _strcpy
- _strdup
- _strcat
- _tcscpy
- _tcscat
- _tcsdup
- lstrcpy
- lstrcat
- strncpy
- strncat
Check: https://clang.llvm.org/docs/analyzer/checkers.html#security-insecureapi-strcpy-c Label : clang-tidy Type: Enhancement