Commit Graph

228 Commits

Author SHA1 Message Date
Alexander Mai b5f0eec44a #6559 Regression/ false positive: Return value of allocation function OpenFile is not stored. Add required definitions to windows.cfg, include afx_msg. Add test file test/cfg/windows.cpp to check windows configuration. Fix for gnu.cfg. FileLister now features a non-recursive mode. 2015-03-05 06:48:44 +01:00
Alexander Mai 49099e78ff Add more string conversion functions to library files 2015-03-01 20:18:26 +01:00
Daniel Marjamäki a24891f335 std.cfg: Add <not-null/> to atoll 2015-02-26 20:14:20 +01:00
Daniel Marjamäki 18285eadc7 std.cfg: Add <not-null/> to atof/atoi/atol 2015-02-26 19:47:05 +01:00
Alexander Mai cea71f8625 Fix false positive ignoredReturnValue about strtol 2015-02-25 22:03:10 +01:00
Alexander Mai fd7d29447d std.cfg: snprintf(NULL,0,) is legal. Fix some testcases in test/cfg as well 2015-02-22 14:25:25 +01:00
Alexander Mai 6bfeb71dd2 Add more interfaces to gnu and posix libraries 2015-02-21 11:08:58 +01:00
Martin Ettl b12ebc1733 posix.cfg: utime() and utimes() second parameter is allowed to be NULL. 2015-02-20 22:43:48 +01:00
Alexander Mai 6d9eb6199d posix.cfg: add support for sched.h and 1 bugfix 2015-02-20 20:50:20 +01:00
Alexander Mai 6a7605271a Fix compiler warning. Add interfaces of POSIX passwd.h and pwd.h to posix.cfg 2015-02-18 20:56:44 +01:00
Daniel Marjamäki e5c098c7de TestUninitVar: move out posix.cfg testing 2015-02-17 18:08:19 +01:00
Alexander Mai 0a6babea74 #6181 Drop redundantGetAndSetUserId. Ensure (style-) warnings are issued if setuid()/getuid() and some related functions are ignored. Move strdupa()/strndupa() from posix.cfg to gnu.cfg 2015-02-16 22:19:51 +01:00
Daniel Marjamäki fe8ba51f03 TestMemLeak: moved posix.cfg tests 2015-02-15 18:11:09 +01:00
Thomas Jarosch 2da43035f4 Add openlog() / syslog() / vsyslog() to posix.cfg 2015-02-14 18:50:26 +01:00
Daniel Marjamäki 2d21eb07ba Cleaned up snprintf hardcoding in CheckBufferOverrun 2015-02-13 06:44:38 +01:00
Daniel Marjamäki 9aad4fa8ca CheckBufferOverrun: Remove hardcoding for sprintf and rely on cfg configuration instead 2015-02-12 17:29:36 +01:00
orbitcowboy aa77abe1c6 posix.cfg: Added comment, no functional change. [ci skip]. 2015-02-11 14:27:29 +01:00
Martin Ettl 977fbc8030 posix.cfg: Added support for more podtypes. 2015-02-06 18:25:54 +01:00
Martin Ettl c676e34887 posix.cfg: Added more podtypes. 2015-02-05 17:44:51 +01:00
orbitcowboy d2552dd93a posix.cfg: declared usleep() as <leak-ignore/>. Improved support for <unistd.h> functions. 2015-02-05 14:18:08 +01:00
orbitcowboy f5a336d576 posix.cfg: Improved support for <unistd.h> functions. 2015-02-05 11:40:25 +01:00
orbitcowboy 5e3aa17a56 posix.cfg: Improved support for <unistd.h> functions. 2015-02-05 02:27:20 +01:00
orbitcowboy e6e8decd49 posix.cfg: Improved support for <unistd.h> functions. 2015-02-06 10:47:49 +01:00
orbitcowboy 84e831c21c posix.cfg: Improved support for functions from <unistd.h>. 2015-02-02 17:23:43 +01:00
orbitcowboy 8249be5859 Running astyle [ci skip]. 2015-02-02 10:26:21 +01:00
Martin Ettl b47f189247 posix.cfg: Added support for more POSIX types. 2015-02-01 10:40:38 +01:00
Daniel Marjamäki 7e50d7a1d0 windows.cfg: Added INVALID_HANDLE_VALUE define 2015-01-31 11:03:49 +01:00
Daniel Marjamäki 5ee6e082e8 cppcheck-cfg.rng: more strict minsize type value 2015-01-31 10:48:11 +01:00
Daniel Marjamäki 9deffc088d cppcheck-cfg.rng: more strict about values 2015-01-31 08:08:39 +01:00
Daniel Marjamäki 0c89afcc48 cppcheck-cfg.rng: more strict about 'format' and 'valid' 2015-01-29 07:28:40 +01:00
Daniel Marjamäki 7d0f5ad7c1 cfg: added cppcheck-cfg.rng schema that cfg files can be validated against 2015-01-28 07:39:08 +01:00
Daniel Marjamäki 01601b58dd test: move cfg/test to test/cfg 2015-01-27 18:23:28 +01:00
Daniel Marjamäki 3285f85ebf Fixed #6460 (Library: better function/type matching) 2015-01-27 17:55:18 +01:00
orbitcowboy 3aa4f5de47 std.cfg: Fixed from spelled podtype win_t --> wint_t 2015-01-27 07:57:20 +01:00
Daniel Marjamäki f1e7d7894f std.cfg: arguments for rename/remove must be zero-terminated strings 2015-01-27 06:20:46 +01:00
orbitcowboy d2b9abc4d3 std.cfg: Added missing podtypes. Fixed a FP when in fgetpos(). The second parameter is allowed to be uninitialized. 2015-01-26 11:52:41 +01:00
orbitcowboy 07ae1d4278 posix.cfg: Added support for 'DIR' dataype. 2015-01-26 08:49:35 +01:00
orbitcowboy 180d7389a0 Fixed #6457: Added missing podtype defintions to posix.cfg. 2015-01-26 08:35:22 +01:00
Martin Ettl e5c7766293 posix.cfg and std.cfg: Added missing type definitions. 2015-01-23 18:15:03 +01:00
Martin Ettl 4e822d7ebc posix.cfg: blkcnt_t shall be a signed type. 2015-01-23 17:43:50 +01:00
Martin Ettl ac551807b6 posix.cfg: Added support for blkcnt_t datatype. 2015-01-23 17:29:18 +01:00
Sebastian b7972d5e1d Update microsoft_sal.cfg
Removed some redundant entries
2015-01-22 08:10:26 +01:00
Sebastian Matuschka 6a0a92b3a6 Add microsoft_sal.cfg file 2015-01-22 06:31:59 +01:00
PKEuS 60b2b655df Support new/delete in new uninitialized variable checking; realloc() requires an initialized first argument. 2015-01-21 23:46:52 +01:00
orbitcowboy 81aaa02c76 std.cfg: Added support for swprintf(). 2015-01-19 14:30:58 +01:00
orbitcowboy 91d58a51cb std.cfg: wcsrtombs() is allowed to have a NULL pointer as first argument. 2015-01-19 13:21:47 +01:00
orbitcowboy 7c737f0350 std.cfg: Added more functions and improved documentation. 2015-01-19 11:55:16 +01:00
Martin Ettl e7a95e68ac std.cfg: Improved documentation. No functional changes. [ci skip] 2015-01-18 16:11:20 +01:00
Martin Ettl 4294e7a2d9 std.cfg: Improved documentation and added support for more functions. 2015-01-18 15:31:16 +01:00
Martin Ettl 8dab677eac std.cfg: Improved documentation and added ilogb function support. 2015-01-18 15:05:06 +01:00