aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
diff options
context:
space:
mode:
authorZiqing Luo <ziqing@udel.edu>2023-04-11 15:01:59 -0700
committerZiqing Luo <ziqing@udel.edu>2023-04-11 15:09:51 -0700
commit88f7f018e23b24d3c31dd2b4f3cd68481d1739c1 (patch)
tree625226eea4c85e9959fdb0cdb837229b63698527 /lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
parentb67b7bb2f73568efac077de189f86e86d9e010d6 (diff)
downloadllvm-88f7f018e23b24d3c31dd2b4f3cd68481d1739c1.zip
llvm-88f7f018e23b24d3c31dd2b4f3cd68481d1739c1.tar.gz
llvm-88f7f018e23b24d3c31dd2b4f3cd68481d1739c1.tar.bz2
[-Wunsafe-buffer-usage] Match unsafe pointers being casted to bool or participating in pointer subtractions
Add two new unique cases to the Unspecified Pointer Context (UPC), under which we match unsafe operation patterns: - A pointer being casted to a boolean value is in a UPC; - A pointer participating in pointer subtraction is in a UPC. Reviewed by: NoQ (Artem Dergachev), malavikasamak (Malavika Samak) Differential revision: https://reviews.llvm.org/D144064
Diffstat (limited to 'lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp')
0 files changed, 0 insertions, 0 deletions