Commit Graph

125 Commits

Author SHA1 Message Date
PKEuS fd2346e4ec Added strtok and assert to std.cfg 2014-09-11 20:27:04 +02:00
PKEuS a0d8fc1df4 Fixed 32 wrongly configured functions (#6120) and added support for second argument of strchr() to std.cfg. 2014-09-02 17:55:59 +02:00
PKEuS f717f4c6b8 Set <pure/> attribute for various functions in std.cfg 2014-09-02 13:39:34 +02:00
PKEuS d118a56b42 Added support for several Qt integer types (#5094) 2014-09-02 09:18:39 +02:00
Alexander Mai f94e208862 #6116 False positive uninitvar - first argument to wcstombs(). Correct stf.cfg 2014-09-01 19:53:24 +02:00
PKEuS 40e5dab9dc Refactorization in checkmemoryleak.cpp:
- Use Library to detect noreturn/notnoreturn functions
- Removed realloc from std.cfg as long as there is no proper way to configure such functions
2014-09-01 13:54:33 +02:00
Alexander Mai 3aeecb8a05 #6100 False positive nullPointer - calling mbstowcs(NULL,). wcstombs has also been fixed 2014-08-27 19:32:53 +02:00
Daniel Marjamäki d414aa0ae5 astyle formatting 2014-08-15 16:01:48 +02:00
Daniel Marjamäki 62cde673ee qt.cfg: Define Q_DECL_EXPORT and Q_DECL_IMPORT 2014-07-29 16:56:15 +02:00
amai2012 77095e2b05 Add some more functions to posix.cfg which allow to enable TestBufferOverrun::buffer_overrun_1_posix_functions
Fix some compiler warnings on MSVC
2014-07-05 22:47:10 +02:00
Daniel Marjamäki a3acc3241e Library: Added <minsize> element used for buffer overrun checking 2014-07-05 20:31:43 +02:00
PKEuS 220f7503ce Fixed wrong configuration of itoa in std.cfg 2014-07-01 19:25:26 +02:00
orbitcowboy ff9a39d1f6 avr.cfg and posix.cfg: Added support for more functions. 2014-06-26 16:22:49 +02:00
orbitcowboy 0b39fedd45 avr.cfg: Added support for more functions. 2014-06-26 11:35:28 +02:00
orbitcowboy d19b6f181d Extended std.cfg, posix.cfg and avr.cfg 2014-06-25 15:09:03 +02:00
orbitcowboy c7310c0ab0 std.cfg: Added support for more functions. 2014-06-25 14:27:01 +02:00
orbitcowboy 95c49ec5dc Extended std.cfg about more missing functions. Moved POSIX functions to posix.cfg. Extended posix.cfg about more memory allocating functions. 2014-06-25 12:00:24 +02:00
PKEuS ac4e727da7 Removed redundant code (replaced by libaries, should fix #5934). 2014-06-24 21:57:19 +02:00
orbitcowboy 731180b7dd std.cfg: Added support for qsort and improved stro* functions. 2014-06-24 14:16:54 +02:00
orbitcowboy 0a17473962 std.cfg: Added support for bsearch. 2014-06-23 14:43:56 +02:00
orbitcowboy f90445e947 Extended std.cfg and avr.cfg about more functions. 2014-06-23 14:15:47 +02:00
orbitcowboy f57e875351 Astyle run; Extended std.cfg and avr.cfg about a few more functions. 2014-06-23 11:59:14 +02:00
Martin Ettl be51637c1c avr.cfg: Added support for some stdio.h macros. 2014-06-20 09:49:06 +02:00
Daniel Marjamäki dec251ac44 ValueFlow: Refactoring. Use utility function isVariableChanged. 2014-06-19 05:41:19 +02:00
Martin Ettl e8f0da845b avr.cfg: Removed NAN definition. 2014-06-18 05:38:05 +02:00
Martin Ettl 2ee0723ad4 avr.cfg: Added macros of stdint.h. 2014-06-18 05:34:31 +02:00
Martin Ettl 156300b2bf avr.cfg: Added accidently commented out define. 2014-06-18 05:20:33 +02:00
Martin Ettl f0099905e9 avr.cfg: Added more defines. 2014-06-18 05:18:48 +02:00
orbitcowboy 0804997c9b avr.cfg: Cleanup. 2014-06-18 11:58:32 +02:00
orbitcowboy 5d579dc21b avr.cfg: Added more defines. 2014-06-18 08:31:32 +02:00
Daniel Marjamäki b983a8795f runastyle
[ci skip]
2014-06-18 05:43:44 +02:00
orbitcowboy 2255ece5c5 Extended std.cfg about alloca function and avr.cfg about a few definitions. 2014-06-17 17:00:27 +02:00
orbitcowboy 11cf4d3215 avr.cfg: Added more podtypes. 2014-06-17 13:04:48 +02:00
orbitcowboy 5a4cf3be53 Cleanup avr.cfg file. 2014-06-17 09:02:04 +02:00
orbitcowboy fc84e9dcff Running astyle, no functional changes. [ci skip]. 2014-06-17 08:55:22 +02:00
orbitcowboy b501708b6f Added cfg for AVR microcontrollers. This config file contains podtype definitions so far. 2014-06-16 15:14:33 +02:00
orbitcowboy be49185471 Fixed #5925: The first include in path.cpp is not path.h and astyle run. 2014-06-16 15:11:44 +02:00
orbitcowboy c8e4ac1b03 Astyle run [ci skip] 2014-06-16 14:01:56 +02:00
orbitcowboy 50e15f3f02 posix.cfg: Add more podtype definition for POSIX systems. 2014-06-16 14:01:25 +02:00
orbitcowboy 072dc4881c posix.cfg: Started to add podtype definition for POSIX systems. 2014-06-16 13:45:32 +02:00
Pierre Schweitzer cd69b000c4 Add a few more types for Windows 2014-06-14 17:11:28 +02:00
Pierre Schweitzer 2a027039c7 Add Windows type sizes when possible 2014-06-13 23:17:01 +02:00
Pierre Schweitzer d055d9e3dc Add sign information for a few Windows types 2014-06-13 18:17:06 +02:00
Daniel Marjamäki 977af89fa9 std.cfg: configure standard types 2014-06-12 06:43:19 +02:00
Daniel Marjamäki 42c3b3c89d Library: Change range operator in validation pattern to ':' 2014-06-08 18:12:11 +02:00
PKEuS 35f644542e Added HeapReAlloc to windows.cfg (as suggested in #3155) 2014-05-22 11:07:44 +02:00
Daniel Marjamäki 8e13c74695 Fixed #5778 (False positive: Deallocating a deallocated pointer when exit function is called) 2014-05-10 21:26:27 +02:00
Martin Ettl b363d0641a posix.cfg: Fixed FP for getcwd().First and second parameter is allowed to be zero. 2014-05-02 04:56:12 +02:00
Daniel Marjamäki 44a66e6a5a Fixed #1416 (false negative resource leak when calling fdopen) 2014-04-20 10:50:32 +02:00
Daniel Marjamäki a9990bbe33 windows.cfg: add allocation functions that use free to dealloc. This reverts b13e3ac5. 2014-04-19 13:19:08 +02:00