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 |
PKEuS
|
5c92c231b8
|
windows.cfg: SendMessage must not be <leak-ignore/>
|
2016-07-26 11:57:46 +02:00 |
PKEuS
|
ded8d80b23
|
Library: Support arguments with default value. Fixed default value handling for <container> tags broken in last commit.
|
2016-07-09 12:44:17 +02:00 |
PKEuS
|
3916cd628e
|
windows.cfg: Fixed configuration of _tfopen_s/_wfopen_s (
|
2016-06-02 09:41:01 +02:00 |
PKEuS
|
2d34acae71
|
Fixed configuration for fopen_s and similar functions (#7520)
|
2016-05-26 21:11:32 +02:00 |
orbitcowboy
|
e76518d800
|
posix.cfg: Added support for fnmatch.
|
2016-05-24 16:17:09 +02:00 |
Daniel Marjamäki
|
ea617ee011
|
Fixed #7052 (Qt foreach())
|
2016-05-23 11:13:25 +02:00 |
PKEuS
|
9ea49d48d1
|
Added a bunch of functions to windows.cfg, fixed <dealloc> arg number for some functions
|
2016-05-22 18:57:09 +02:00 |
PKEuS
|
64d2fd2f57
|
Added new attribute "arg" to <alloc> and <dealloc> to specify the argument that is allocated/deallocated.
This fixes several issues with allocation functions in windows.cfg, such as HeapAlloc() and VirtualAllocEx() (#7503)
|
2016-05-22 17:19:14 +02:00 |
orbitcowboy
|
d676022556
|
cfg: Added support for the Windows functions: DeleteFile() and _access().
|
2016-05-20 15:19:41 +02:00 |
orbitcowboy
|
fd8fb9e4f4
|
cfg: Fixed FP recently introduced for fopen_s() and glob().
|
2016-05-19 13:21:05 +02:00 |
orbitcowboy
|
5095196530
|
cfg: Ignore return values of fopen_s functions.
|
2016-05-19 11:56:52 +02:00 |
orbitcowboy
|
0514e14cad
|
posix.cfg: Added support for glob() and globfree().
|
2016-05-19 11:51:49 +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 |
orbitcowboy
|
41576ee8ec
|
cfg: Added support for the Windows SetConsoleTextAttribute function.
|
2016-05-17 11:31:54 +02:00 |
orbitcowboy
|
2d1ab79d98
|
cfg: Added support for Windows functions PathIsDirectory,PathIsDirectoryA and PathIsDirectoryW.
|
2016-05-17 09:54:11 +02:00 |
orbitcowboy
|
53a37d6134
|
cfg: Added support for Windows function WideCharToMultiByte.
|
2016-05-17 09:35:30 +02:00 |
Pierre Schweitzer
|
ade7138358
|
windows.cfg: Add CoTaskMemAlloc() and CoTaskMemFree() functions
|
2016-02-20 21:44:03 +01:00 |
Alexander Mai
|
e87ac14dd0
|
Correct FP due to configuration for mblen
|
2016-01-31 15:16:59 +01:00 |
Alexander Mai
|
b82bdb222a
|
Correct library info for shmctl to avoid false positives
|
2016-01-30 18:14:08 +01:00 |
orbitcowboy
|
8ce813f241
|
posix.cfg: Added missing <leak-ignore>-tags.
|
2016-01-22 11:03:37 +01:00 |
orbitcowboy
|
8ea36fb6ec
|
gnu.cfg,posix.cfg: Added support for more functions.
|
2016-01-22 10:40:04 +01:00 |
orbitcowboy
|
b65873711a
|
posix.cfg,gnu.cfg: Moved a few functions from posix to gnu. Improved the documentation.
|
2016-01-21 16:32:00 +01:00 |
orbitcowboy
|
1464990dad
|
posix.cfg: Added more functions and comments.
|
2016-01-21 16:14:59 +01:00 |
orbitcowboy
|
82c663090e
|
windows.cfg, posix.cfg: Added support for more functions.
|
2016-01-21 15:48:08 +01:00 |
Alexander Mai
|
161412dc31
|
Correct posix.cfg to avoid false positives. Fix runtests.sh
|
2016-01-15 00:11:48 +01:00 |
Boris Egorov
|
3c85791b6a
|
posix.cfg: Only pointers can be null
|
2016-01-14 17:30:23 +06:00 |
orbitcowboy
|
023424f836
|
posix.cfg and gnu.cfg: Added support for more functions.
|
2016-01-13 11:57:21 +01:00 |
Alexander Mai
|
7802517a69
|
#7285 wrong var name: memset() called to fill 0 bytes of '&' memset with pointer: remove var name from message. Correct some entries in posix.cfg.
|
2016-01-12 23:20:48 +01:00 |
orbitcowboy
|
b6fd9e2509
|
posix.cfg and windows.cfg: Added support for more functions.
|
2016-01-12 17:00:33 +01:00 |
Martin Ettl
|
9193e14b8f
|
posix.cfg: Added support for the fileno() function.
|
2016-01-11 20:35:56 +01:00 |
Martin Ettl
|
999da2877e
|
windows.cfg: Added support for _stat() functions.
|
2016-01-11 20:25:44 +01:00 |
orbitcowboy
|
e03e9fbbcf
|
posix.cfg: Added support for remove().
|
2016-01-11 16:34:47 +01:00 |
orbitcowboy
|
8cfd1fc8d5
|
gnu.cfg: Fixed canonicalize_file_name() definition. This function has only one parameter.
|
2016-01-11 15:22:40 +01:00 |
orbitcowboy
|
5f1092825b
|
gnu.cfg: Added support for canonicalize_file_name() function.
|
2016-01-11 15:00:36 +01:00 |
orbitcowboy
|
2b3a12866a
|
windows.cfg and posix.cfg: Added support for more functions, found by selfchecking cppchecks code.
|
2016-01-11 14:54:01 +01:00 |
Martin Ettl
|
d357229da5
|
windows.cfg: Improved support for strdup functions.
|
2016-01-08 11:30:39 +01:00 |
Martin Ettl
|
8082e8130e
|
gnu.cfg: Added support fro functions from arpa/inet.h.
|
2016-01-08 10:59:00 +01:00 |
Martin Ettl
|
1cb01bae09
|
windows.cfg: Added support for _vsnprintf and _vsnwprintf functions.
|
2016-01-07 20:41:26 +01:00 |
PKEuS
|
c15c61db00
|
Warn about usage of posix function mktemp (#3918).
|
2015-12-18 18:29:53 +01:00 |
PKEuS
|
8f641aaa76
|
Added gets_s() to std.cfg (C11), added <use-retval/> to min/max().
|
2015-12-18 18:09:07 +01:00 |
orbitcowboy
|
4c60c2eaa5
|
std.cfg: Added min, max functions to std.cfg.
|
2015-12-18 16:09:26 +01:00 |
PKEuS
|
37572dc109
|
Small refactorizations:
- Improved formatting of unhandled-char-constant message (Side-effect: fixes #7206)
- Replace nr="-1" by nr="any" in windows.cfg
|
2015-12-10 15:47:46 +01:00 |
orbitcowboy
|
f84af529af
|
Extended windows.cfg and posix.cfg about missing functions, found by using --check-library on some projects.
|
2015-11-25 11:02:32 +01:00 |
orbitcowboy
|
78bd49c2ba
|
windows.cfg: Added strtok_s and wcstok_s
|
2015-11-25 09:53:10 +01:00 |
Daniel Marjamäki
|
9864f340f5
|
posix.cfg: reformatting using library editor
|
2015-11-22 13:34:40 +01:00 |