Rick van der Sluijs
|
2c3e274f0a
|
- Added more string constant encapsulation macros
- Added more format string functions (including log functions)
- Added assert macros
- Added type limits and definitions
|
2017-07-14 22:18:02 +02:00 |
Daniel Marjamäki
|
101303a179
|
Fixed #6513 (Resource leak: hSocket - false positive / enhancement needed)
|
2017-07-02 08:39:48 +02:00 |
Daniel Marjamäki
|
5fb59a8063
|
windows.cfg: reordering of podtypes and defines
|
2017-07-02 08:38:07 +02:00 |
amai2012
|
947ace6194
|
Fix false positive
|
2017-06-22 09:23:15 +02:00 |
Alexander Mai
|
7a0f05aaa5
|
Correct some wrong attributes causing false positives. Add more interfaces
|
2017-06-08 22:33:41 +02:00 |
Alexander Mai
|
d818b4ace1
|
Add more interfaces
|
2017-06-06 23:21:05 +02:00 |
Alexander Mai
|
a350e6c7e8
|
Add more interfaces
|
2017-06-02 22:58:39 +02:00 |
Alexander Mai
|
dc83f6783e
|
Fix attributes, add some interfaces
|
2017-06-02 00:59:13 +02:00 |
Alexander Mai
|
5755ac9eeb
|
Add initial configuration file for Motif
|
2017-06-02 00:38:29 +02:00 |
Alexander Mai
|
389b4cdf99
|
Remove atrribute to cure FP. Run astyle
|
2017-05-29 20:04:34 +02:00 |
alexander
|
49a28d00f9
|
Add some interfaces + small changes to existing ones
|
2017-05-29 00:47:24 +02:00 |
Daniel Marjamäki
|
26ec339120
|
wxwidgets.cfg: Define macros which don't necessarily require semicolons at the end
|
2017-05-28 22:16:44 +02:00 |
Alexander Mai
|
1225b4b25a
|
Fix false positive
|
2017-05-03 16:34:20 +02:00 |
Alexander Mai
|
40a5f78154
|
Change attributes for 2nd arg of GetTempPath
|
2017-05-01 20:43:03 +02:00 |
Alexander Mai
|
765a9c8660
|
Remove attribute from _wfopen_s,_tfopen_s to avoid false positives
|
2017-05-01 19:28:24 +02:00 |
orbitcowboy
|
19ce65217e
|
#8033: Fixed FP and removed not-uninit-configuration from std.cfg.
|
2017-05-01 16:53:44 +02:00 |
Alexander Mai
|
df19d2ba5b
|
Remove attribute from GetTempPath,GetTempPathW,GetTempPathA
|
2017-04-30 20:38:28 +02:00 |
Alexander Mai
|
14be611a7e
|
Correct configuration to allow NULL as 2nd argument to read/write. Whether it's a legal value depends on the 3rd argument
|
2017-04-29 17:57:16 +02:00 |
orbitcowboy
|
0b6c726439
|
posix.cfg: Do not allow the second parameter of read and write to be a NULL pointer.
|
2017-04-26 14:25:14 +02:00 |
Daniel Marjamäki
|
6b685f5a80
|
qt.cfg: Add configuration for QStringList
|
2017-04-23 22:12:50 +02:00 |
Daniel Marjamäki
|
5eca129865
|
qt.cfg: Added QList configuration
|
2017-04-23 20:41:34 +02:00 |
Daniel Marjamäki
|
07726c1037
|
std.cfg: update some c++ configs
|
2017-04-23 19:40:45 +02:00 |
Daniel Marjamäki
|
429061b59d
|
qt.cfg: updated cfg for connect/disconnect/tr/SIGNAL/SLOT
|
2017-04-22 20:29:37 +02:00 |
Daniel Marjamäki
|
53b77aafef
|
qt.cfg: added some often used QString methods
|
2017-04-22 19:41:28 +02:00 |
Daniel Marjamäki
|
5c7b1c7ff2
|
astyle formatting
[ci skip]
|
2017-04-21 21:03:01 +02:00 |
PKEuS
|
5027810a79
|
Added sfml.cfg
std.cfg: Removed redundant <function> definition
|
2017-04-21 11:51:40 +02:00 |
Daniel Marjamäki
|
1422487769
|
astyle formatting
[ci skip]
|
2017-04-20 17:43:28 +02:00 |
orbitcowboy
|
c44b055fc1
|
windows.cfg: Added support for CreateDirectory and RemoveDirectory functions.
|
2017-04-19 09:42:32 +02:00 |
orbitcowboy
|
dd0158ee63
|
std.cfg and windows.cfg: Improved support for localtime functions.
|
2017-04-19 09:27:24 +02:00 |
Daniel Marjamäki
|
296f250caa
|
qt.cfg: configure some QString methods
|
2017-04-18 19:21:34 +02:00 |
Daniel Marjamäki
|
c229754a70
|
qt.cfg: Add configuration for QString
|
2017-04-18 18:04:27 +02:00 |
PKEuS
|
094b7a706f
|
std.cfg: Added std::streamoff and imaxdiv_t
|
2017-04-18 10:46:27 +02:00 |
orbitcowboy
|
16f9e1646c
|
windows.cfg: Improved support for string compar functions.
|
2017-03-31 08:40:41 +02:00 |
orbitcowboy
|
f31e2e6696
|
windows.cfg: Improved support for string-copy functions.
|
2017-03-31 08:25:56 +02:00 |
orbitcowboy
|
93816a63a8
|
windows.cfg: Improved support for stat() and fstat() functions.
|
2017-03-29 13:30:12 +02:00 |
Daniel Marjamäki
|
d6b6f31fbd
|
Fixed #7956 (Add Q_ENUM define in qt.cfg)
|
2017-03-22 07:32:31 +01:00 |
orbitcowboy
|
9f66908971
|
Fixed #7955: False positive about invalid fseek argument.
|
2017-03-21 14:23:31 +01:00 |
orbitcowboy
|
6111b38ebb
|
std.cfg and windows.cfg: Improved support for freopen-functions.
|
2017-03-19 18:23:31 +01:00 |
orbitcowboy
|
468fadff86
|
std.cfg: Cleanup wrong configuration.
|
2017-03-15 09:39:11 +01:00 |
orbitcowboy
|
9f124b295e
|
std.cfg: Improved support container functions.
|
2017-03-15 08:49:08 +01:00 |
PKEuS
|
1a7265cd7e
|
std.cfg: Added lots of container functions, string functions and three operands overload of std::hypot
|
2017-03-14 17:52:35 +01:00 |
orbitcowboy
|
e569d96169
|
windows.cfg: Added support for _tcsftime().
|
2017-03-08 08:53:05 +01:00 |
orbitcowboy
|
0bd46ec831
|
windows.cfg: Added support for _strftime_l() and _wcsftime_l().
|
2017-03-08 08:49:13 +01:00 |
orbitcowboy
|
c87e83575a
|
std.cfg: Added support for std::copy().
|
2017-03-07 10:54:44 +01:00 |
orbitcowboy
|
428c376b61
|
wxwidgets.cfg: Added support for more wxString functions.
|
2017-03-06 16:52:55 +01:00 |
orbitcowboy
|
e3d879e43d
|
std.cfg: Improved support for some std::wstring functions.
|
2017-03-06 16:40:49 +01:00 |
orbitcowboy
|
bf68638771
|
std.cfg: Improved support for string to (int|double|...)-functions.
|
2017-03-06 16:36:14 +01:00 |
Daniel Marjamäki
|
603171201a
|
added some more configuration for standard containers
|
2017-03-05 22:03:12 +01:00 |
Daniel Marjamäki
|
34dd4935d9
|
updated STL configuration
|
2017-03-05 19:47:47 +01:00 |
Daniel Marjamäki
|
ddc73008a6
|
std.cfg: update configuration for STL containers
|
2017-03-05 18:31:03 +01:00 |
Daniel Marjamäki
|
e560ad1616
|
update std::string config
|
2017-03-05 18:19:49 +01:00 |
Daniel Marjamäki
|
339f861804
|
std.cfg: Configure return type for std::string::empty()
|
2017-03-05 11:07:14 +01:00 |
Daniel Marjamäki
|
2f2ac46243
|
Replaced hardcoding for char16_t and char32_t with configuration
|
2017-03-04 16:30:42 +01:00 |
VULCAIN\\Teddy
|
930aa3c5b2
|
Fixed #837 (configure istream::getline in std.cfg) Adds some rules for getline, get and readsome methods of std::istream class
|
2017-03-04 08:54:34 +01:00 |
orbitcowboy
|
fef52f2ea1
|
windows.cfg: Added support for _mbsrchr().
|
2017-02-23 13:43:30 +01:00 |
orbitcowboy
|
b4733a76bd
|
windows.cfg: Added missing _tcsclen_l() function name.
|
2017-02-23 13:25:50 +01:00 |
orbitcowboy
|
6ea520a561
|
windows.cfg: Added support for strlen()-functions.
|
2017-02-23 13:23:53 +01:00 |
orbitcowboy
|
245da75a2f
|
windows.cfg: Added support for more strdup and malloc functions.
|
2017-02-23 08:56:13 +01:00 |
orbitcowboy
|
6db99d105f
|
windows.cfg: Added support for FindFirstFileEx.
|
2017-02-22 15:52:39 +01:00 |
orbitcowboy
|
26f0ee6703
|
windows.cfg and gnu.cfg: Improved support for strtok-functions.
|
2017-02-22 10:27:05 +01:00 |
PKEuS
|
7de055361c
|
windows.cfg: Added several functions
|
2017-02-07 19:08:24 +01:00 |
amai2012
|
1d0b647072
|
#7915 false positive: "Memory leak" error after mmap return MAP_FAILED. define MAP_FAILED in posix.cfg.
|
2017-02-07 12:14:55 +01:00 |
orbitcowboy
|
beb72c2583
|
Revert changes from 9cb0941df2 .
|
2017-02-02 15:53:52 +01:00 |
orbitcowboy
|
9cb0941df2
|
std.cfg: Take the return value from fread() into account.
|
2017-02-02 13:33:06 +01:00 |
PKEuS
|
ae444d7e78
|
windows.cfg: Added PostMessage()
|
2017-02-02 13:23:37 +01:00 |
alexander
|
d846217641
|
#7906 false positive: (error) Null pointer dereference (tempnam)
|
2017-01-29 17:09:48 +01:00 |
amai2012
|
982991fabe
|
#7878 FP : Buffer is accessed out of bounds when using strncmp() with short string literal. Correct std.cfg
|
2017-01-11 17:45:24 +01:00 |
Daniel Marjamäki
|
c2a1c4056f
|
astyle formatting
[ci skip]
|
2017-01-06 12:04:36 +01:00 |
alexander
|
8eeb09ba88
|
Add typeid to library
|
2017-01-05 20:38:56 +01:00 |
orbitcowboy
|
00fd38967f
|
windows.cfg: SetEnvironmentVariable() the second parameter is allowed to be NULL.
|
2016-12-22 13:46:12 +01:00 |
orbitcowboy
|
df5c815b1b
|
windows.cfg: Added support for _strnicmp() functions.
|
2016-12-22 11:19:01 +01:00 |
Daniel Marjamäki
|
b9c65f0540
|
std.cfg: null pointer is allowed as first argument to wctomb
|
2016-12-20 16:08:28 +01:00 |
orbitcowboy
|
f8cfa72159
|
std.cfg: Added support for C11 memcpy_s() and memcpy_s() functions.
|
2016-12-16 17:23:42 +01:00 |
orbitcowboy
|
daacc0959e
|
windows.cfg: Updated comments. There are no functional changes.
|
2016-12-16 17:22:37 +01:00 |
orbitcowboy
|
227049a6b1
|
windows.cfg: Added support for _swap().
|
2016-12-16 16:58:42 +01:00 |
orbitcowboy
|
a694ebc602
|
std.cfg: Added a valid-tag for read streamsize.
|
2016-12-13 13:10:40 +01:00 |
orbitcowboy
|
f89c606031
|
std.cfg: Added missing argument numbers to va_arg, va_copy, va_end and va_start.
|
2016-12-13 11:39:10 +01:00 |
orbitcowboy
|
3598f7f2ca
|
std.cfg: Added more <valid>-tags.
|
2016-12-12 13:45:16 +01:00 |
orbitcowboy
|
1ee68a9d2a
|
std.cfg: Added more <valid>-tags.
|
2016-12-12 13:35:41 +01:00 |
orbitcowboy
|
c985723869
|
std.cfg: Added support for C11 function memset_s().
|
2016-12-12 13:31:10 +01:00 |
orbitcowboy
|
d6aef86d70
|
std.cfg: Added minsize configuration to strncmp() and wcsncmp().
|
2016-12-12 11:12:30 +01:00 |
orbitcowboy
|
af1398900c
|
windows.cfg: Improved support for _open() and _close() functions.
|
2016-12-06 13:50:45 +01:00 |
orbitcowboy
|
6829a8da14
|
posix.cfg and windows.cfg: Added support for memccpy().
|
2016-12-05 16:46:49 +01:00 |
orbitcowboy
|
942b5cdc20
|
windows.cfg: Improved configuration by using <valid>-tags.
|
2016-12-05 10:43:07 +01:00 |
orbitcowboy
|
e8aede649a
|
gnu.cfg: Improved configuration by using <valid>-tags.
|
2016-12-05 10:37:13 +01:00 |
orbitcowboy
|
7522b1b108
|
posix.cfg: Improved configuration by using <valid>-tags.
|
2016-12-05 10:30:11 +01:00 |
orbitcowboy
|
9b611f5351
|
std.cfg: Improved configuration by using <valid>-tags.
|
2016-12-05 09:48:20 +01:00 |
orbitcowboy
|
29a6a39fb5
|
gnu.cfg: Improved configuration of memmem().
|
2016-12-04 20:30:33 +01:00 |
Daniel Marjamäki
|
a5e214ab3f
|
astyle formatting
[ci skip]
|
2016-12-04 19:15:32 +01:00 |
amai2012
|
abf59af87d
|
Add a couple of interfaces
|
2016-12-04 12:24:26 +01:00 |
orbitcowboy
|
afb962575b
|
windows.cfg: Added support for _mbsstr(),_tcsstr() and _mbsstr_l().
|
2016-12-02 09:06:02 +01:00 |
orbitcowboy
|
df0f5e3f39
|
windows.cfg: Removed not needed <use-retval/> configurations.
|
2016-11-29 10:07:35 +01:00 |
PKEuS
|
4a7b81218b
|
std.cfg: Combined definitions of fget(w)c and get(w)c, removing wrong <use-retval/> from get(w)c
|
2016-11-29 09:37:00 +01:00 |
orbitcowboy
|
b964513611
|
windows.cfg: Added support for more functions like SetupDiGetClassDevs().
|
2016-11-29 09:18:08 +01:00 |
orbitcowboy
|
7b1ed9f415
|
windows.cfg and posix.cfg: Added more <use-retval/> configurations.
|
2016-11-28 16:58:33 +01:00 |
orbitcowboy
|
fa379b50b1
|
std.cfg: Cleanup fget[w]c() configuration.
|
2016-11-28 11:19:36 +01:00 |
orbitcowboy
|
55ae961ac2
|
std.cfg and windows.cfg: Improved support for <use-retval/> for functions like ftell(), [f]get[w]c().
|
2016-11-26 21:31:15 +01:00 |
orbitcowboy
|
b0d09926fb
|
std.cfg: Take return value into accoutn for ftell().
|
2016-11-26 18:36:05 +01:00 |
orbitcowboy
|
97b8b1ffc2
|
std.cfg: Take return value into accoutn for freopen().
|
2016-11-26 18:33:42 +01:00 |
orbitcowboy
|
83d0b42c66
|
windows.cfg: Ensure the return value of _wfopen_s() and _tfopen_s() is taken into account as well.
|
2016-11-26 16:25:19 +01:00 |
orbitcowboy
|
d5fb6da9a4
|
std.cfg: Ensure the return value of fopen_s() is taken into account.
|
2016-11-26 16:22:09 +01:00 |
orbitcowboy
|
5b1f112195
|
windows.cfg: Added support for GetTempPath().
|
2016-11-22 08:32:11 +01:00 |
orbitcowboy
|
e94407fbce
|
windows.cfg: Added support for more functions.
|
2016-11-18 11:28:34 +01:00 |
orbitcowboy
|
a4acfaa230
|
std.cfg: Added more <valid>-tags.
|
2016-11-08 09:36:24 +01:00 |
orbitcowboy
|
07aaf9999b
|
std.cfg: Merged identical configurations. There are no functional changes.
|
2016-11-08 09:08:04 +01:00 |
orbitcowboy
|
e3a9899983
|
std.cfg: Added <returnValue> support for wcslen().
|
2016-11-08 09:05:17 +01:00 |
orbitcowboy
|
d361ca7b61
|
std.cfg: Improved support for <returnValue> for functions like isalpha() etc.
|
2016-11-07 11:01:19 +01:00 |
orbitcowboy
|
0b643a2429
|
std.cfg: Use XML-CDATA sections to avoid usage of escape characters in <returnValue>-tags.
|
2016-11-07 09:43:42 +01:00 |
orbitcowboy
|
ed453d24da
|
std.cfg: Added returnValue support for iswdigit().
|
2016-11-04 14:20:59 +01:00 |
orbitcowboy
|
75124317e9
|
std.cfg: Added returnValue support for iswblank().
|
2016-11-04 14:03:48 +01:00 |
Daniel Marjamäki
|
bd37504383
|
Updated std.cfg
|
2016-11-01 15:33:17 +01:00 |
Daniel Marjamäki
|
dbb999fc13
|
Fix std.cfg
|
2016-11-01 15:19:24 +01:00 |
Daniel Marjamäki
|
0e9810b7f6
|
CheckStl: validation of iterators returned from functions
|
2016-11-01 14:08:42 +01:00 |
Daniel Marjamäki
|
7f71ad8360
|
Test std::find()
|
2016-11-01 12:25:23 +01:00 |
Boris Egorov
|
651148519e
|
Fixes #7787 (Mistyped container number in std.cfg for std::equal etc.)
|
2016-10-31 17:38:40 +07:00 |
Daniel Marjamäki
|
9c1a08ca84
|
move std function information from checkstl to std.cfg
|
2016-10-27 19:24:24 +02:00 |
Daniel Marjamäki
|
77295a429e
|
std.cfg: updated <returnValue>
|
2016-10-27 17:12:10 +02:00 |
Daniel Marjamäki
|
fd3750820d
|
std.cfg: configure some <algorithm> functions
|
2016-10-27 16:51:44 +02:00 |
Daniel Marjamäki
|
f6a5f6bb61
|
CheckStl::mismatchingContainers: Refactoring, use Library instead of hardcoding
|
2016-10-27 10:25:45 +02:00 |
orbitcowboy
|
d95a4d83bc
|
windows.cfg: Added support for FindClose() and FindFirstFile().
|
2016-10-27 09:36:33 +02:00 |
Daniel Marjamäki
|
08a618c476
|
Library: Add <iterator> element in <function> <arg>. Not used by any checks yet.
|
2016-10-25 23:07:18 +02:00 |
orbitcowboy
|
6b168aba14
|
windows.cfg: Added support for swprintf_s().
|
2016-10-25 17:03:30 +02:00 |
Daniel Marjamäki
|
c8f831b70d
|
Library: Allow that type of function return is specified. Fixes #7668.
|
2016-10-23 23:04:15 +02:00 |
orbitcowboy
|
4130207edc
|
posix.cfg and windows.cfg: Added support for more functions like _popen().
|
2016-10-21 11:43:01 +02:00 |
orbitcowboy
|
a7e8bcab62
|
posix.cfg: Improved support for getpwuid_r().
|
2016-10-21 09:59:38 +02:00 |
orbitcowboy
|
340af57028
|
windows.cfg: Added missing argument.
|
2016-10-21 09:52:45 +02:00 |
orbitcowboy
|
73facf927b
|
windows.cfg: Added support for CreateWaitableTimer(), SetWaitableTimer() and WaitForSingleObject().
|
2016-10-21 09:38:14 +02:00 |
orbitcowboy
|
56317fe884
|
windows.cfg: No real changes. Cleanup a comment.
|
2016-10-21 08:53:44 +02:00 |
orbitcowboy
|
1ab8628f1c
|
Fixed #7766 by ignoring WINAPI in windows.cfg.
|
2016-10-20 13:23:15 +02:00 |
orbitcowboy
|
466068f55d
|
posix.cfg: added/updated getpwnam_r(), getgrent_r() and getpwuid_r().
|
2016-10-18 17:01:05 +02:00 |
orbitcowboy
|
d5a145f288
|
std.cfg: Added <returnValue> information to isblank().
|
2016-10-18 11:00:12 +02:00 |
orbitcowboy
|
56e75e5776
|
std.cfg: Added support <returnValue> support for imaxabs(). windows.cfg: Added support for _abs64().
|
2016-10-17 14:31:44 +02:00 |
orbitcowboy
|
8a216ad87e
|
std.cfg: Added <returnValue> support for labs() and llabs().
|
2016-10-17 14:26:17 +02:00 |
Daniel Marjamäki
|
fae4a4dacf
|
Fixed #7668 (ValueFlow: return value from abs)
|
2016-10-17 13:05:19 +02:00 |
orbitcowboy
|
0422d05a34
|
library: Added wxwidgets.cfg file.
|
2016-08-29 15:29:18 +02:00 |
orbitcowboy
|
90a8dd7cf3
|
windows.cfg: Added support for _mkdir and _wmkdir.
|
2016-08-29 13:45:38 +02:00 |
orbitcowboy
|
61d642cb06
|
windows.cfg: Added support for _rmdir, _wrmdir.
|
2016-08-29 11:59:59 +02:00 |
Daniel Marjamäki
|
bc08aee9ca
|
astyle
|
2016-08-27 15:09:45 +02:00 |
orbitcowboy
|
36ad0a0514
|
Fixed #7669 Extend support for C99 fixed width macro constants.
|
2016-08-27 10:11:46 +02:00 |
orbitcowboy
|
87409ea6b3
|
Running astyle; Improved testing of std::find; std.cfg: Added support for istream::read and ifstream::read.
|
2016-08-25 19:17:07 +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 |
orbitcowboy
|
8253a18646
|
windows.cfg and std.cfg: Improved support for vs[n]printf functions.
|
2016-08-11 11:45:59 +02:00 |
orbitcowboy
|
16271ffe45
|
windows.cfg: Added support for SetStdHandle and GetStdHandle.
|
2016-08-09 11:16:09 +02:00 |
orbitcowboy
|
db5e40b870
|
std.cfg: Added support for temnam_s; posix.cfg: Added support for fchmod.
|
2016-08-09 11:07:14 +02:00 |
orbitcowboy
|
b0a502227c
|
std.cfg: Added support for some fixed width integer sizes.
|
2016-08-08 15:18:05 +02:00 |
PKEuS
|
766e81cd97
|
std.cfg: vfwscanf takes three arguments
|
2016-08-06 13:38:51 +02:00 |
PKEuS
|
1a765213ad
|
std.cfg: Removed <formatstr/> from v*scanf/printf functions. Added two C++17 functions to std::map container declaration.
|
2016-08-06 12:57:40 +02:00 |
Boris Egorov
|
a0624344ce
|
posix.cfg: Add more functions and comments
|
2016-08-04 21:07:26 +02:00 |