Commit Graph

529 Commits

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