Ted Kremenek
|
35d353b47b
Rename 'ConsumedSoFarArg' -> 'nArg' and 'OutIntPtrArg' to 'nArg' (scanf and printf checking).
|
15 vuotta sitten |
Ted Kremenek
|
66932056da
Rename 'VoidPtrArg' to 'pArg' in printf/scanf checking.
|
15 vuotta sitten |
Ted Kremenek
|
99196b1031
Rename 'CStrArg' to 'sArg' for printf checking to match with the analagous enum for scanf checking.
|
15 vuotta sitten |
Ted Kremenek
|
92a6febe13
Rename analyze_printf::ConversionSpecifier::IntAsCharArg to 'cArg' to match
|
15 vuotta sitten |
Ted Kremenek
|
826a3457f7
Add most of the boilerplate support for scanf format string checking. This includes
|
15 vuotta sitten |
Douglas Gregor
|
0c293ea13d
Type Type::isRealFloatingType() that vectors are not floating-point
|
15 vuotta sitten |
Tom Care
|
4c60219950
Printf format strings: Added some more tests and fixed some minor bugs.
|
15 vuotta sitten |
Tom Care
|
f521d6e151
Bug 7394 - Fixed toString representation of Precisions in format strings.
|
15 vuotta sitten |
Tom Care
|
e4ee966316
Bug 7377: Fixed several bad printf format string bugs.
|
15 vuotta sitten |
Ted Kremenek
|
13927a431d
Extend format string type-checking to include '%p'. Fixes remaining cases PR 4468.
|
15 vuotta sitten |
Tom Care
|
876e994957
Small fixes regarding printf fix suggestions.
|
15 vuotta sitten |
Douglas Gregor
|
c8c4b4088c
Fix a typo that breaks the GCC build. Turns out that Clang isn't
|
15 vuotta sitten |
Tom Care
|
3bfc5f49e0
Added FixIt support to printf format string checking.
|
15 vuotta sitten |
Ted Kremenek
|
fdb703ab3a
Fix '+=' accumulation error when parsing numeric amounts in a format string.
|
15 vuotta sitten |
Ted Kremenek
|
d49d87719b
Allow a '0' precision in format strings (as the man page says it is okay).
|
15 vuotta sitten |
Ted Kremenek
|
efaff195ba
For printf format string checking, add support for positional format strings.
|
15 vuotta sitten |
Ted Kremenek
|
7f70dc85d5
For printf format string checking, move the tracking of the data argument index out of
|
15 vuotta sitten |
Ted Kremenek
|
87260c7eab
Add support for '%C' and '%S' printf conversion specifiers.
|
15 vuotta sitten |
Ted Kremenek
|
4e4b30ec62
Refactor the logic for printf argument type-checking into analyze_printf::ArgTypeResult.
|
15 vuotta sitten |
Ted Kremenek
|
df17f9d95b
Convert tabs to spaces.
|
15 vuotta sitten |
Ted Kremenek
|
74d56a1689
Move ParseFormatString() and FormatStringHandler back into the analyze_printf namespace.
|
15 vuotta sitten |
Ted Kremenek
|
f911eba72e
Add format string type checking support for 'long double'.
|
15 vuotta sitten |
Daniel Dunbar
|
01aefc6d20
Recognize 'q' as a format length modifier (from BSD).
|
15 vuotta sitten |
Ted Kremenek
|
c9a89fec60
Add format string checking of 'double' arguments. Fixes <rdar://problem/6931734>.
|
15 vuotta sitten |
Ted Kremenek
|
40888ada60
Fix spacing.
|
15 vuotta sitten |
Ted Kremenek
|
33567d2feb
Per a suggestion from Cristian Draghici, add a method to FormatSpecifier that returns the expected type of the matching data argument. It isn't complete, but should handle several of the important cases.
|
15 vuotta sitten |
Ted Kremenek
|
4dcb18ff9d
Enhancements to the alternate (WIP) format string checking:
|
15 vuotta sitten |
Ted Kremenek
|
808015a18b
Alternate format string checking: issue warnings for incomplete format specifiers.
|
15 vuotta sitten |
Ted Kremenek
|
26ac2e07b4
Alternate format string checking: issue a warning for invalid conversion specifiers.
|
15 vuotta sitten |
Ted Kremenek
|
4b220fae2f
Yet another attempt to make the Linux buildbots happy. Apparently there are differences on how nested namespaces are handled...
|
15 vuotta sitten |