Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
Original file line number Diff line number Diff line change
Expand Up @@ -915,9 +915,18 @@ def decodeValueOfObjCType : Checker<"decodeValueOfObjCType">,

let ParentPackage = Security in {

def ArrayBoundChecker : Checker<"ArrayBound">,
HelpText<"Warn about out of bounds access to memory">,
Documentation<HasDocumentation>;
def ArrayBoundChecker
: Checker<"ArrayBound">,
HelpText<"Warn about out of bounds access to memory">,
CheckerOptions<[
CmdLineOption<Boolean,
"EnableFakeFlexibleArrayWarn",
"Do not silence out-of-bound accesses to arrays of size 1 or 0 that are "
"the last member of a record, or member of an union",
"false",
Released>,
]>,
Documentation<HasDocumentation>;

def FloatLoopCounter
: Checker<"FloatLoopCounter">,
Expand Down
Loading