aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorDonatNagyE <donat.nagy@ericsson.com>2023-11-07 13:26:32 +0100
committerGitHub <noreply@github.com>2023-11-07 13:26:32 +0100
commit16ef4968dc9e93f9c7b361b9ad0645445bd1210e (patch)
treeb85857afb34f2935b14e5236e50eab956138f3a6 /llvm/lib/CodeGen/StackProtector.cpp
parentd0ef94bc83019f7cb92a33b545782294ffdcfd04 (diff)
downloadllvm-16ef4968dc9e93f9c7b361b9ad0645445bd1210e.zip
llvm-16ef4968dc9e93f9c7b361b9ad0645445bd1210e.tar.gz
llvm-16ef4968dc9e93f9c7b361b9ad0645445bd1210e.tar.bz2
[analyzer] Improve diagnostics from ArrayBoundCheckerV2 (#70056)
Previously alpha.security.ArrayBoundV2 produced very spartan bug reports; this commit ensures that the relevant (and known) details are reported to the user. The logic for detecting bugs is not changed, after this commit the checker will report the same set of issues, but with better messages. To test the details of the message generation this commit adds a new test file 'out-of-bounds-diagnostics.c'. Three of the testcases are added with FIXME notes because they reveal shortcomings of the existing modeling and bounds checking code. I will try to fix them in separate follow-up commits.
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions