Commit Graph

394 Commits

Author SHA1 Message Date
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
PKEuS 57d1196386 Replaced CheckNonReentrantFunctions and CheckObsoleteFunctions by generic CheckFunctions which is based on Library (#6529) 2015-11-22 09:18:07 +01:00
Daniel Marjamäki c62b23c4fc posix.cfg: saved with the Library Editor 2015-11-21 16:10:46 +01:00
Daniel Marjamäki 094b4c8b6f astyle formatting
[ci skip]
2015-11-20 18:58:04 +01:00
PKEuS 6590d46013 Added missing functionality to <container> elements in Librarie, completed STL container definitions in std.cfg 2015-11-20 18:22:55 +01:00
PKEuS 53b2eca983 Reimplemented CheckStl::stlBoundaries() based on Libraries; Added support for iterators to libraries 2015-11-20 15:53:14 +01:00
PKEuS c5b21d12cf Removed lots of redundant tests from testmemleak.cpp, added some missing types to gtk.cfg 2015-11-19 18:51:32 +01:00
Daniel Marjamäki ca8b15cd6b Fixed #7124 (int32_t etc are recognised as fundamental types, but std::int32_t etc are not) 2015-11-15 17:51:27 +01:00
PKEuS 25749ab19f Fixed another crash in clang test suite and let two times two functions in std.cfg share same configuration 2015-11-15 14:55:30 +01:00
PKEuS da6b17d176 Refactorizations in CheckStl:
- Improved detection of "auto" iterators in CheckStl::iterators()
- Improved performance of CheckStl::pushback()
- Added more containers to std.cfg
2015-11-15 14:04:39 +01:00
Daniel Marjamäki cf9f12130a Revert "std.cfg: Added std-namespace identifiers for <cstdint> types."
This reverts commit 00a47546f8.
2015-11-12 14:04:35 +01:00
orbitcowboy 00a47546f8 std.cfg: Added std-namespace identifiers for <cstdint> types. 2015-11-11 13:33:41 +01:00
amai2012 d69cc450ce Merge pull request #701 from JIghtuse/gtk_fix
gtk.cfg: Fix some g_variant deallocators
2015-10-29 06:47:55 +01:00
Boris Egorov bf2baef27b gtk.cfg: Fix some g_variant deallocators
"This call makes a shallow copy; the return result should be released
with g_free(), but the individual strings must not be modified."

https://developer.gnome.org/glib/stable/glib-GVariant.html
2015-10-28 17:27:15 +06:00
Boris Egorov 0049c40689 gnu.cfg: Few improvements in backtrace* functions support
* first argument of backtrace() can be uninitialized
    * treat second argument as size
2015-10-23 13:48:53 +06:00
Daniel Marjamäki 61cdd01ce3 std.cfg: fixed configuration for snprintf. destination string can be NULL. 2015-10-03 19:00:04 +02:00
Daniel Marjamäki 2420c8fc00 std.cfg: removed arg nr=any for formatstr functions. See #7012. 2015-10-03 18:54:57 +02:00
Daniel Marjamäki 28e3c266b3 Fixed #7012 (False positive uninitvar - first argument to snprintf) 2015-10-03 18:35:16 +02:00
Martin Ettl 12b4bf75e0 std.cfg: Fixed false negatives regarding uninitialized variable usage and added test cases. 2015-09-30 13:10:31 +02:00
Martin Ettl 0b782853fe Imroved std.cfg and added more test cases. 2015-09-30 12:45:40 +02:00
Martin Ettl 4fcd324ccd Improved testing of std.cfg regarding <arg nr=any> configured functions and added more test cases. 2015-09-30 12:18:56 +02:00
Martin Ettl c64f9cf9b1 #7012: Fixed FP in std.cfg by explicitly definining the first parameter of snprintf. 2015-09-29 21:33:39 +02:00