Commit Graph

258 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 9b611f5351 std.cfg: Improved configuration by using <valid>-tags. 2016-12-05 09:48:20 +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 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 d5fb6da9a4 std.cfg: Ensure the return value of fopen_s() is taken into account. 2016-11-26 16:22:09 +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
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
Daniel Marjamäki c8f831b70d Library: Allow that type of function return is specified. Fixes #7668. 2016-10-23 23:04:15 +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
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
orbitcowboy 8253a18646 windows.cfg and std.cfg: Improved support for vs[n]printf functions. 2016-08-11 11:45:59 +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
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 2d34acae71 Fixed configuration for fopen_s and similar functions (#7520) 2016-05-26 21:11:32 +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 46adf180d7 cfg: Added support for fopen_s and sprintf_s functions. Fixed a wrong tests. 2016-05-18 09:31:26 +02:00
Alexander Mai e87ac14dd0 Correct FP due to configuration for mblen 2016-01-31 15:16:59 +01:00
orbitcowboy 1464990dad posix.cfg: Added more functions and comments. 2016-01-21 16:14:59 +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 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 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