81 Commits

Author SHA1 Message Date
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
Martin Ettl
ed54b93317 Fixed FP in posix.cfg and mkdir() for second parameter. 2014-04-18 21:46:32 +02:00
Pierre Schweitzer
cf12f2aaac updated posix.cfg 2014-04-18 15:20:16 +02:00
orbitcowboy
66329fe8b8 posix.cfg: Fixed FP for isatty() function and added unit cases. 2014-04-10 17:53:04 +02:00
orbitcowboy
baf8d09a0d Fixed FP for nullpointer dereference when using putchar. 2014-04-09 17:02:17 +02:00
Pierre Schweitzer
a9e53026bd Work on windows.cfg: - Add more resource/memory functions - Complete the information about some functions 2014-04-09 10:30:57 +02:00
orbitcowboy
dd61c5db47 Fixed FP, nullpointer for memchr. 2014-04-08 18:39:50 +02:00
unknown
9ae59290dd #5645 False positive Null pointer derefence about first argument to fputc() 2014-04-07 12:08:34 +02:00
orbitcowboy
1cda2f9fc8 Fixed #5636: extended std.cfg, abs() about <not-bool/>. 2014-04-02 02:03:10 +02:00
Pierre Schweitzer
26a2a9ea37 Complete a bit windows.cfg:
- Add two noreturn functions (BSOD ;-))
- Add debuggers routine for printing messages
- Fix two prototypes of CRT which were described as secure whereas they aren't
2014-03-30 18:37:08 +02:00
Martin Ettl
074136bbb1 posix.cfg: Added support for isatty(). 2014-03-29 00:57:56 +01:00
Daniel Marjamäki
e6b3af8c38 astyle 2014-03-25 18:40:50 +01:00
Daniel Marjamäki
05a7e7e008 astyle 2014-03-25 18:24:41 +01:00
orbitcowboy
533a62a4c7 posix.cfg: Added support for more functions. 2014-03-21 16:09:45 +01:00
Daniel Marjamäki
6a5617e552 runastyle 2014-03-23 20:01:24 +01:00
Martin Ettl
7e74ecca76 std.cfg: Added support for more C-functions. 2014-03-22 03:27:00 +01:00
Martin Ettl
3074b38dca std.cfg: Improved checking of memset. Added a constraint for the second parameter and do not all uninitialized usage. 2014-03-22 03:12:23 +01:00
Daniel Marjamäki
94476e387e astyle formatting 2014-03-22 18:43:57 +01:00
Martin Ettl
2ecfb388d3 std.cfg: Removed checking second parameter of memset and probably fixing Travis failing. 2014-03-21 23:26:33 +01:00
Martin Ettl
d160aef818 std.cfg: Fixed wrong second parameter of memset. It is allowed to be zero. 2014-03-21 23:04:29 +01:00
Martin Ettl
d98eaa599f std.cfg: removed duplicate entries. 2014-03-21 22:46:05 +01:00
Martin Ettl
6da678b4e8 Added more functions to std.cfg. 2014-03-21 22:39:57 +01:00
Martin Ettl
51ef7e118a Astyle running. 2014-03-21 21:37:09 +01:00
Martin Ettl
0f5d30c724 Extended std.cfg about more functions. 2014-03-21 21:31:12 +01:00
Martin Ettl
cae9ea1403 Added more functions to std.cfg 2014-03-21 17:58:19 +01:00
Martin Ettl
e00f50b850 Fixed #5597 and added abort() support to stdcfg. 2014-03-21 17:36:48 +01:00
orbitcowboy
1efcd670a1 Added support for exit() to std.cfg. 2014-03-20 06:49:44 +01:00
orbitcowboy
6507824a34 Added support for putchar() to std.cfg. 2014-03-20 05:49:38 +01:00
Daniel Marjamäki
430d6d398c Merge pull request #273 from matthiaskrgr/strip_whitespace
runastyle: add line which strips trailing whitspaces from cfg files (and run it on the files)
2014-03-21 11:24:59 +01:00
Matthias Krüger
e8dd3e83cf runastyle: add line which strips trailing whitspaces from cfg files (and run it on the files) 2014-03-21 01:28:40 +01:00
orbitcowboy
80e3b49cfc Added support for ftell() and puts() to std.cfg. 2014-03-20 04:10:41 +01:00
orbitcowboy
30006cf06f Added support for fputs() to std.cfg. 2014-03-20 02:13:41 +01:00
orbitcowboy
b37e9601c1 Added support for fgetc() to std.cfg. 2014-03-20 00:59:52 +01:00
XhmikosR
be0fcefe1d Tabs to spaces.
[ci skip]
2014-03-20 09:02:14 +02:00
Martin Ettl
fe1b46c174 Extended std.cfg 2014-03-19 21:08:48 +01:00
Martin Ettl
26af1a232a Extended std.cfg about <cstring> functions and added testcases. 2014-03-10 02:12:32 +01:00
Alexander Mai
2a2e634662 Fixed #3145 (False negative: no memory leak warning - return value of realloc(NULL,) ignored) 2014-03-16 10:15:14 +01:00
Daniel Marjamäki
ce1aa1e011 Library: I had misunderstood const/pure a little so I corrected cfg and code 2014-03-14 20:08:34 +01:00
Martin Ettl
b8a1ca29d1 Fixed #5564 (extend std.cfg about missing functions: isalpha, tolower and toupper functions) 2014-03-14 17:42:19 +01:00
Daniel Marjamäki
401b43c36a Merge pull request #263 from trulabs/master
Fix the detection of methods called from Qt's invokeMethod
2014-03-14 08:21:53 +01:00
Daniel Marjamäki
8d8913a168 Partial fix for #5555. Add const,pure attributes to library. 2014-03-14 06:38:45 +01:00
Sam Truscott
3d0524ecc6 Update the detection of the arguments in Qt's invokeMethod.
invokeMethod can invoke functions by name (string) rather than a
direct function call (i.e. reflection). The old code wasn't
correctly parsing out the argument which contained the name
of the function to call.

This resulted in that function being reported as unused when it is.
2014-03-13 16:43:25 +00:00
Sam Truscott
385478d89e Reflection no longer part of markup. Some tokeniser not done on markup. 2014-03-11 15:57:28 +01:00
Alexander Mai
3721165d86 Fixed #4611 (Resource leak not found (was: Reverse NULL check)) 2014-03-11 06:32:56 +01:00
Daniel Marjamäki
b13e3ac549 Fixed #5542 (False positive: Mismatching allocation and deallocation) 2014-03-09 11:45:48 +01:00