Lauri Nurmi
|
70a67eaf85
|
Change some more 0 literals into nullptr.
|
2014-02-16 13:38:50 +02:00 |
Daniel Marjamäki
|
fd3a8a2a18
|
Update copyright
|
2014-02-15 07:45:39 +01:00 |
Simon Martin
|
8ff9696374
|
OSX's compiler supports C++11 but one needs to use GNU's STL to build cppcheck, that does not have cbegin/end.
|
2014-02-01 07:40:08 +01:00 |
Lucas Manuel Rodriguez
|
ad0269eeeb
|
Refactor checks using Variable::isStlType()
|
2014-01-30 01:26:48 -03:00 |
Robert Reif
|
d679a4c1f7
|
Fixed #5248 (False positive: Invalid argument in scanf for %zd)
|
2014-01-14 06:09:13 +01:00 |
PKEuS
|
b775714e3d
|
Moved several hardcoded function names in format string checking into libraries (std.cfg and windows.cfg).
Added support for loading a library in test suite.
|
2014-01-12 03:44:24 -08:00 |
Robert Reif
|
cbe3862599
|
Fixed #5264 (Size specifier in printf functions is wrong for some types)
|
2014-01-03 15:58:45 +01:00 |
Robert Reif
|
0afdbc73da
|
Fixed #5195 (Crash below CheckIO::checkWrongPrintfScanfArguments())
|
2013-11-23 08:40:35 +01:00 |
Martin Ettl
|
babbee4e73
|
Fixed typos in comments, no functional changes.
|
2013-11-09 16:07:28 +01:00 |
Robert Reif
|
a6ef3a224a
|
Fixed #5151 (false negative: improper formatstring - vector::at())
|
2013-11-08 12:44:05 +01:00 |
Martin Ettl
|
083af88801
|
Checkio: removed redundant NULL-pointer check, introduced by me.
|
2013-11-01 00:18:13 +01:00 |
Robert Reif
|
ac3b1c0611
|
Fixed #5134 (Memory leak below CheckIO::checkWrongPrintfScanfArguments())
|
2013-11-01 05:42:37 +01:00 |
Martin Ettl
|
897533ab93
|
Checkio: fixed potential NULL-pointer dereference (Coverity-ScanId: CID 1113428).
|
2013-10-31 20:03:05 +01:00 |
Robert Reif
|
94187c41c2
|
Fixed #5104 (False positive: Invalid argument in printf and scanf for vector template)
|
2013-10-27 10:48:49 +01:00 |
Robert Reif
|
41b3ed788d
|
CheckIO: fix crash
|
2013-10-08 05:33:37 +02:00 |
Robert Reif
|
7098fc6039
|
CheckIO: fixed handling of unknown types. Ticket #5051
|
2013-10-05 16:47:06 +02:00 |
Robert Reif
|
5dbc02250f
|
This patch adds pointer to format string support to printf. Ticket: #5051
|
2013-10-05 07:47:52 +02:00 |
Robert Reif
|
6c06cdd24d
|
CheckIO fixes. Ticket: #5051
|
2013-10-04 17:30:55 +02:00 |
Robert Reif
|
59de30823e
|
CheckIO: This patch adds support for fprintf_s, fscanf_s and %I. Ticket: #5051
|
2013-10-03 06:37:40 +02:00 |
Robert Reif
|
5aba841499
|
CheckIO: Handling of casts (#4964)
|
2013-10-02 04:12:46 +02:00 |
Robert Reif
|
cc6745fef6
|
CheckIO: Fixed false positives when using _snprintf_s and _snwprintf_s. Ticket: #5057
|
2013-10-01 05:49:44 +02:00 |
Robert Reif
|
c37c6617d3
|
Fixed #5057 (Microsoft secure printf/scanf support.)
|
2013-09-30 19:55:21 +02:00 |
Robert Reif
|
d3798958f4
|
CheckIO: Fixed false positive when using wchar_t (#5051)
|
2013-09-29 15:25:18 +02:00 |
Robert Reif
|
c5723ab46a
|
CheckIO: Clarify format check warnings
|
2013-09-29 10:42:47 +02:00 |
Robert Reif
|
44d86e97c0
|
Fixed #4920 (Microsoft ATL/MFC CString::Format argument checking)
|
2013-09-26 16:20:01 +02:00 |
Robert Reif
|
2de3ebcb1e
|
CheckIO: fixed some more false negatives. Ticket: #4964
|
2013-09-24 06:43:03 +02:00 |
Robert Reif
|
5c4c397372
|
CheckIO: add scanf argument type checking. Floating point and integer checking is complete but string checking is incomplete and character checking is missing. Ticket #4099
|
2013-09-22 06:56:31 +02:00 |
Robert Reif
|
19745bbb7d
|
Fixed #5021 (Confusing message about %lf format in printf())
|
2013-09-15 16:38:45 +02:00 |
Robert Reif
|
4d82e37078
|
Fixed #5021 (Confusing message about %lf format in printf())
|
2013-09-12 05:54:05 +02:00 |
Robert Reif
|
9be2f6b5d4
|
Fixed #4964 (printf format argument check only supports simple variables)
|
2013-09-08 20:21:00 +02:00 |
Daniel Marjamäki
|
40c5924292
|
CheckIO: Handle classes derived from STL
|
2013-09-07 07:20:06 +02:00 |
Robert Reif
|
2fe91e290c
|
CheckIo: Improved %d handling
|
2013-09-05 06:04:41 +02:00 |
Robert Reif
|
921a1aaa4f
|
CheckIO: Improved handling of %u
|
2013-09-05 01:46:58 +02:00 |
Robert Reif
|
0dddd424a4
|
CheckIO: Improved handling of function return type
|
2013-09-03 05:50:19 +02:00 |
Robert Reif
|
8790f6d73f
|
Fixed #4999 (Crash with simple code snipped in rev ab30fa3 )
|
2013-08-31 18:58:55 +02:00 |
Robert Reif
|
05f2f0e419
|
CheckIO: improved type info - keep track of original typename.
|
2013-08-31 06:26:39 +02:00 |
Robert Reif
|
fc435ae9aa
|
CheckIO: fix false negative for a function in a base class not being found, fix false positives and negatives for std::vector operator []
|
2013-08-30 05:41:59 +02:00 |
Robert Reif
|
2950eb08cb
|
CheckIO: fix some %I64 related false positives. Ticket: #4964
|
2013-08-29 05:49:16 +02:00 |
Robert Reif
|
5c3315db7a
|
CheckIO: improved handling of functions returning pointers. Ticket: #4964
|
2013-08-28 05:57:40 +02:00 |
Robert Reif
|
228f6b1a87
|
Fixed #4984 (False positive: (warning) %f in format string (no. 1) requires a floating point number given in the argument list.)
|
2013-08-27 05:46:09 +02:00 |
Robert Reif
|
a1b9bb0688
|
CheckIO: Fix false positives for functions returning unknown types and false negatives for functions returning record types
|
2013-08-26 06:03:26 +02:00 |
Robert Reif
|
3d9383aabb
|
Fixed #4975 (False positive: (warning) %s in format string (no. 3) requires a char* given in the argument list. (git/column.c))
|
2013-08-25 08:32:10 +02:00 |
Robert Reif
|
26de3646e9
|
CheckIo: Revised patch that fixes bug in class function return type. Ticket: #4964
|
2013-08-24 22:34:52 +02:00 |
Robert Reif
|
01fd156852
|
CheckIO: Start to add checking of function return types. Ticket: #4964
|
2013-08-24 07:25:50 +02:00 |
Robert Reif
|
5ce1933687
|
CheckIo: handle more complex variables
|
2013-08-23 05:35:57 +02:00 |
Robert Reif
|
707dfb4eea
|
Fixed #4964 (printf format argument check only supports simple variables)
|
2013-08-20 06:16:31 +02:00 |
Robert Reif
|
56d8073d0f
|
Fixed #4902 (printf and scanf format checks don't support microsoft %I, %I32 and %I64 extensions)
|
2013-08-10 12:37:31 +02:00 |
Robert Reif
|
5aa79198e6
|
Fixed #4948 (check printf %l and %ll arguments for long and long long)
|
2013-08-10 12:33:55 +02:00 |
PKEuS
|
a9a5dc0354
|
Updated to AStyle 2.03, require this version
|
2013-08-07 16:27:37 +02:00 |
PKEuS
|
1538b46970
|
Refactorization in checkio.cpp
|
2013-08-06 10:24:35 -07:00 |