Commit Graph

585 Commits

Author SHA1 Message Date
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