X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/16c024b587f5ddc115928d5cca7095508aa208d9..35b9a1d988c06908076e3a6eeae55b1147879607:/src/flags.def diff --git a/src/flags.def b/src/flags.def index afc3cff..6c0d636 100644 --- a/src/flags.def +++ b/src/flags.def @@ -1885,6 +1885,30 @@ static flaglist flags = "memory bounds checking (sets boundsread and boundswrite)", "Memory read or write may be out of bounds of allocated storage.", 0, 0 }, + { + FK_BOUNDS, FK_MEMORY, specialFlag, + "likelybounds", + FLG_LIKELYBOUNDS, + "memory bounds checking (sets likelyboundsread and likelyboundswrite)", + "Memory read or write may be out of bounds of allocated storage.", 0, 0 + }, + { + FK_BOUNDS, FK_MEMORY, plainFlag, + "likely-boundsread", + FLG_LIKELYBOUNDSREAD, + "likely out of bounds read", + "A memory read references memory beyond the allocated storage.", + 0, 0 + }, + { + FK_BOUNDS, FK_MEMORY, plainFlag, + "likely-boundswrite", + FLG_LIKELYBOUNDSWRITE, + "likely buffer overflow from an out of bounds write", + "A memory write may write to an address beyond the allocated buffer.", + 0, 0 + }, + { FK_BOUNDS, FK_MEMORY, plainFlag, "boundsread",