IOBYTE
|
03603c85cf
|
Fixed #8331 (stack overflow: daca: firefox-58.0b14) (#1027)
|
2018-01-12 08:19:21 +01:00 |
PKEuS
|
b684e1f202
|
Updated AStyle to version 3.0.1
|
2018-01-08 20:20:33 +01:00 |
Dmitry-Me
|
4ac56a55be
|
Fix FN for signed short passed as %hx into printf
|
2017-11-21 22:17:02 +03:00 |
Dmitry-Me
|
c6bf881ee6
|
Fix FN for signed char passed as %hhx into printf
|
2017-11-21 22:14:48 +03:00 |
Dmitry-Me
|
5869f6d989
|
Fix FN for std::intmax_t passed as %ld, %lld into scanf
|
2017-11-20 23:07:37 +03:00 |
Dmitry-Me
|
7cf21f329a
|
Fix FN for size_t, uintmax_t passed as %lx and %llx into printf
|
2017-11-20 22:56:33 +03:00 |
Dmitry-Me
|
f0a7365f35
|
Fix FN for ptrdiff_t passed as %Ix into printf
|
2017-11-20 22:51:10 +03:00 |
Dmitry-Me
|
20eaf3fcca
|
Tests for intmax_t passed as %ld and %lld into scanf
|
2017-11-20 22:34:31 +03:00 |
Dmitry-Me
|
eb4bb893b3
|
Fix FP for std::intmax_t passed as %jd into scanf
|
2017-11-20 22:31:13 +03:00 |
Dmitry-Me
|
125daec71b
|
Tests for std::intmax_t passed as %ju and %jx into scanf
|
2017-11-20 22:14:00 +03:00 |
Dmitry-Me
|
c4b6db7e23
|
Fix FP for std::uintmax_t passed as %ju and %jx into scanf
|
2017-11-20 22:13:20 +03:00 |
Dmitry-Me
|
cf05b722a9
|
Fix FN for intmax_t passed as %jx into printf
|
2017-11-18 00:00:02 +03:00 |
Dmitry-Me
|
73414ee56c
|
Fix FN for std::uintmax_t passed as %Lu and %Lx into scanf
|
2017-11-17 23:58:09 +03:00 |
Dmitry-Me
|
167258a6bf
|
Fix FNs when various types are passed as %tu into printf
|
2017-11-15 22:40:16 +03:00 |
Dmitry-Me
|
7f48283b98
|
Improve test coverage for %I64x used with scanf
|
2017-11-13 21:47:56 +03:00 |
Dmitry-Me
|
ee4831ca2b
|
Tests for %u, %x with various length specifiers used with printf
|
2017-11-13 21:46:26 +03:00 |
Dmitry-Me
|
24aa6a858a
|
Tests for %u, %x with various length specifiers used with printf
|
2017-11-10 23:53:53 +03:00 |
Dmitry-Me
|
432ea03f59
|
Expect warning for wrong argument sign
|
2017-11-09 19:07:41 +03:00 |
Daniel Marjamäki
|
ced3f4cde8
|
astyle formatting
[ci skip]
|
2017-11-09 15:57:03 +01:00 |
Dmitry-Me
|
94dd63f196
|
Fix FN for std::uintmax_t passed as %lx, %lu scanf read targets
|
2017-11-09 15:38:48 +03:00 |
Dmitry-Me
|
b301b44897
|
Fix FN for unsigned ptrdiff_t passed as %lu into scanf
|
2017-11-09 14:43:09 +03:00 |
Dmitry-Me
|
054444167d
|
Improve test coverage for %lx used with scanf
|
2017-11-09 14:15:02 +03:00 |
Dmitry-Me
|
78be821431
|
Fix FN for std::uintmax_t passed as %llx, %llu scanf read targets
|
2017-11-09 11:28:07 +03:00 |
Dmitry-Me
|
74c778c5f0
|
Fix FN when unsigned ptrdiff_t is passed as %llu into scanf
|
2017-11-09 00:26:07 +03:00 |
Dmitry-Me
|
703d86992d
|
Fix FN when size_t, uintmax_t are passed as %Lx into scanf
|
2017-11-08 23:52:49 +03:00 |
Dmitry-Me
|
c563917a5d
|
Improve test coverage for intmax_t, uintmax_t, intptr_t, uintptr_t used as scanf read targets
|
2017-11-08 18:13:45 +03:00 |
Dmitry-Me
|
89b83b2d16
|
Fix FN for unsigned ptrdiff_t passed as %Ix into scanf
|
2017-11-08 15:06:51 +03:00 |
Dmitry-Me
|
970aee9ce1
|
Fix FN for ptrdiff_t passed as %zd into scanf
|
2017-11-08 14:22:03 +03:00 |
Dmitry-Me
|
3d2f86cef7
|
Improve test coverage for %zd used with scanf
|
2017-11-08 13:43:10 +03:00 |
Dmitry-Me
|
4fcef2f0c7
|
Improve test coverage for %llu, %llx, %Lu, %lx used with scanf
|
2017-11-08 12:18:35 +03:00 |
Dmitry-Me
|
9d53b70a56
|
Improve test coverage for Iu, Ix used with scanf
|
2017-11-08 08:06:05 +03:00 |
Dmitry-Me
|
1985d75442
|
Improve test coverage for %llx, %Lx, %I64x used with scanf
|
2017-11-08 00:05:21 +03:00 |
Dmitry-Me
|
d31107451b
|
Improve test coverage for void* passed as scanf read target
|
2017-11-07 23:43:30 +03:00 |
Dmitry-Me
|
d4a1c0d8bd
|
Improve test coverage for %lu and %llu used with printf
|
2017-11-07 21:44:46 +03:00 |
Dmitry-Me
|
043a565f5d
|
Improve test coverage for %jx, %tx, %zx used with scanf
|
2017-11-07 00:27:47 +03:00 |
Dmitry-Me
|
95b37f665d
|
Improve test coverage for %lx, %hx, %hhx used with scanf
|
2017-11-06 23:13:48 +03:00 |
Dmitry-Me
|
4681c7e4cf
|
Improve test coverage for unsigned ptrdiff_t used as scanf read target
|
2017-11-06 22:04:59 +03:00 |
Dmitry-Me
|
41cffe40cf
|
Improve test coverage for ptrdiff_t used as scanf read target with %Id
|
2017-11-06 21:01:34 +03:00 |
Dmitry-Me
|
3089352edb
|
Improve test coverage for %lld used with printf
|
2017-10-27 22:25:34 +03:00 |
Dmitry-Me
|
f653b36b87
|
Fix actual type reported for unsigned ptrdiff_t passed into scanf
|
2017-10-26 23:47:11 +03:00 |
Dmitry-Me
|
02e00a970b
|
Restore test coverage for "x" conversion used with scanf
|
2017-10-26 23:36:55 +03:00 |
Dmitry-Me
|
a38854451f
|
Warn for signed values passed as scanf targets with "x" conversion
|
2017-10-25 21:22:17 +03:00 |
Dmitry-Me
|
2b717c6c31
|
Improve test coverage for %zd used with scanf
|
2017-10-24 23:47:04 +03:00 |
Dmitry-Me
|
eaa12db761
|
scanf with %zd expects ssize_t, not ptrdiff_t
|
2017-10-24 22:01:23 +03:00 |
Dmitry-Me
|
709ee6e278
|
Revert "Initial test coverage for %zd used with scanf"
This reverts commit a260b5157a .
|
2017-10-24 00:20:04 +03:00 |
Dmitry-Me
|
a748ced9da
|
Improve test coverage for %zx, %zu used with printf
|
2017-10-23 23:44:22 +03:00 |
Dmitry-Me
|
a260b5157a
|
Initial test coverage for %zd used with scanf
|
2017-10-23 23:42:29 +03:00 |
Dmitry-Me
|
481ab0f930
|
Tests for passing non-pointers as scanf read targets
|
2017-10-23 23:35:32 +03:00 |
Dmitry-Me
|
5bf29fae49
|
Tests for unrecognized conversion specifiers
|
2017-10-20 21:46:24 +03:00 |
Dmitry-Me
|
4e881e98cc
|
Improve test coverage for %I used with printf
|
2017-10-20 21:13:14 +03:00 |
Dmitry-Me
|
7e2cef4952
|
Improve test coverage for %z used with printf
|
2017-10-19 19:05:16 +03:00 |
Dmitry-Me
|
f070fa1977
|
Improve test coverage for passing pointers into printf
|
2017-10-19 19:03:12 +03:00 |
Dmitry-Me
|
975132bc62
|
Improve test coverage for %td used with printf
|
2017-10-18 19:00:40 +03:00 |
Dmitry-Me
|
b278436069
|
Improve test coverage for %j used with printf
|
2017-10-18 18:22:51 +03:00 |
Dmitry-Me
|
a7d58a2468
|
Fix macro parameters list
|
2017-10-17 23:53:14 +03:00 |
Dmitry-Me
|
35a4822b77
|
Initial test coverage for %td used with scanf
|
2017-10-17 18:09:10 +03:00 |
Dmitry-Me
|
5beea50d3f
|
Improve test coverage for %ld, %lld, %I64x used with scanf
|
2017-10-17 18:07:42 +03:00 |
Dmitry-Me
|
f27e98f910
|
Fix macro parameters list
|
2017-10-16 18:49:53 +03:00 |
Dmitry-Me
|
2c61f40c35
|
Initial test coverage for %hd, %hhd, %jd, %I64d, %I32d used with scanf
|
2017-10-16 18:07:08 +03:00 |
Dmitry-Me
|
0ed8126b15
|
Tests for missing width specifier for scanf
|
2017-10-16 17:53:46 +03:00 |
Dmitry-Me
|
d6cac72784
|
Test for %I without width specifier used with printf
|
2017-10-16 17:51:38 +03:00 |
Dmitry-Me
|
b678f3c4c4
|
Improve test coverage for %c used with scanf_s
|
2017-10-13 19:08:14 +03:00 |
Dmitry-Me
|
d32a8884bf
|
Initial test coverage for %lx, %ld, %llx, %lld, %hx, %hhx, %Lx, %jx, %zx and %tx used with scanf
|
2017-10-13 18:36:12 +03:00 |
Dmitry-Me
|
7a7f34fb11
|
Improve test coverage for %zx, %zu used with printf
|
2017-10-13 18:17:33 +03:00 |
Dmitry-Me
|
d4a435a520
|
Tests for %Id, %Ld, %I32x used with scanf
|
2017-10-12 18:18:38 +03:00 |
Dmitry-Me
|
bef6d6f446
|
Improve test coverage for %I used with scanf
|
2017-10-10 17:27:33 +03:00 |
Dmitry-Me
|
fcba5b88c2
|
Improve test coverage for string literals passed as read target into scanf
|
2017-10-09 18:50:24 +03:00 |
Dmitry-Me
|
9c0e6986da
|
Passing string literals into printf as %p is fine
|
2017-10-08 11:14:10 +03:00 |
Dmitry-Me
|
d170b496ba
|
Improve test coverage for wide string literals passed into printf
|
2017-10-05 17:45:06 +03:00 |
orbitcowboy
|
00bff02e13
|
Formatted the code. There are no functional changes [ci skip].
|
2017-10-05 09:02:55 +02:00 |
Dmitry-Me
|
da0185387f
|
Improve coverage for %j used with printf
|
2017-10-04 17:51:35 +03:00 |
Alexey Eryomenko
|
22483baf72
|
missed simplification in parsing of std function declaration resulted in (#967)
wrong type detection
|
2017-10-03 22:10:13 +02:00 |
Dmitry-Me
|
9564442167
|
Improve test coverage for detecting wrong file mode
|
2017-10-03 18:25:15 +03:00 |
Dmitry-Me
|
2b7ef7156a
|
Improve test coverage for accessing closed files
|
2017-09-29 17:12:50 +03:00 |
Ayaz Salikhov
|
28aa939d69
|
iwyu - include what you use
|
2017-05-27 04:33:47 +02:00 |
Daniel Marjamäki
|
2980654671
|
Remove wrong newlines in TestIO
|
2017-05-18 17:23:26 +02:00 |
PKEuS
|
0073a633b0
|
Refactorized test suite
|
2017-03-08 15:16:19 +01:00 |
PKEuS
|
a447d2c6a8
|
Refactorized testio.cpp
|
2017-03-08 14:24:14 +01:00 |
Daniel Marjamäki
|
9dc219f1ba
|
CheckIO: Use ValueType more
|
2017-03-01 22:33:31 +01:00 |
Daniel Marjamäki
|
26fc7abfac
|
Fixed #7837 (Field dereference triggers format string type warning)
|
2017-02-25 18:22:14 +01:00 |
Frank Zingsheim
|
0162f76c63
|
TestIO: Refactoring. Use functions instead of macros.
|
2016-10-24 21:43:58 +02:00 |
Daniel Marjamäki
|
6b55acd7af
|
CheckIO: Changed severity for '.. aka' warnings to portability. If type is compatible then it's just a possible portability issue.
|
2016-09-11 17:05:01 +02:00 |
Robert Reif
|
6043a27065
|
Fixed #7710 (%h and %hh printf type size specifiers not supported)
|
2016-08-24 12:47:11 +02:00 |
Robert Reif
|
28e14f0b94
|
Fixed #7711 (QString::asprintf format string checking.)
|
2016-08-24 12:44:57 +02:00 |
Robert Reif
|
4d157af61f
|
Fixed #7704 (QString::sprintf format string checking)
|
2016-08-20 08:47:52 +02:00 |
Daniel Marjamäki
|
789aef7fde
|
Fixed #4920 (Microsoft ATL/MFC CString::Format argument checking)
|
2016-08-19 17:36:27 +02:00 |
Daniel Marjamäki
|
f2e49b4db4
|
Fixed #7178 (Defect: False positive due to mistake in return type of function pointer.)
|
2016-08-14 17:19:14 +02:00 |
Robert Reif
|
768c26805c
|
Fixed false positive: %Ld in format string (no. 1) requires 'long long' but the argument type is 'long long' (#7601).
|
2016-07-16 10:33:46 +02:00 |
Simon Martin
|
12a298b9cd
|
Ticket #7445: Properly represent integer types smaller than int in CheckIO::ArgumentInfo.
|
2016-05-28 15:36:13 +02:00 |
PKEuS
|
373ac52480
|
Mention exact function name in invalidscanf message (#5649)
|
2016-05-26 21:11:33 +02:00 |
PKEuS
|
851c6e0ed5
|
Improved buffer overflow checking for scanf: %c with a width (#3494)
|
2016-05-22 14:00:26 +02:00 |
orbitcowboy
|
b1b0c920e3
|
Removed sprintf_s from windows.cfg.
|
2016-05-19 08:22:40 +02:00 |
orbitcowboy
|
46adf180d7
|
cfg: Added support for fopen_s and sprintf_s functions. Fixed a wrong tests.
|
2016-05-18 09:31:26 +02:00 |
Robert Reif
|
0fc59d0228
|
#7069 False positive invalidPrintfArgType_uint - %lu with 0ul
|
2016-02-19 10:12:47 +01:00 |
PKEuS
|
cae19cadd3
|
ValueType: Added support for static member variables and simplified code
|
2016-02-04 20:49:13 +01:00 |
Daniel Marjamäki
|
988918c9bc
|
ValueType: Use signed as default sign for short/int/long/longlong
|
2016-01-31 14:34:26 +01:00 |
Daniel Marjamäki
|
e660c55d39
|
TestIO: Refactoring macros
|
2016-01-31 13:49:17 +01:00 |
PKEuS
|
6d0c2f7253
|
Fixed false positive useClosedFile when noreturn function is called (#7359)
|
2016-01-31 10:39:35 +01:00 |
Robert Reif
|
966d078dcc
|
CheckIO: Fix FN when using '%x' as format specifier for a 'signed int' variable
|
2016-01-15 09:29:29 +01:00 |
Daniel Marjamäki
|
5214406771
|
Try to readd refactorings in testio.
|
2016-01-14 09:00:03 +01:00 |