Commit Graph

70 Commits

Author SHA1 Message Date
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
Alexander Mai 29d401ff38 Fixed #3098 (false negative: unitialized variable being passed to strcoll()) 2014-03-06 16:31:31 +01:00
Alexander Mai 1d4839b8a6 Fixed #1374 (false negative: using uninitialized variable in printf) 2014-03-06 06:16:14 +01:00
Pierre Schweitzer 22104cc617 Fix & complete windows.cfg (likely not exhaustive) 2014-02-12 16:55:51 +01:00
Pavel Roschin df69f4e4be Library: add mk[sd]temp to Posix 2014-02-11 17:02:33 +04:00
Pavel Roschin 19a8cfd960 Library: add new "define" tag
This tag will allow to add some preprocessor defs into library.
It would be useful to provide more information about libraries
implementation details. As example GLib's library include tag
was added that helps to detect more memory leaks.
2014-02-07 10:13:36 +04:00
Pavel Roschin 4f38d7ae31 Library: add full GLib/GTK support 2014-02-05 19:52:24 +04:00
Pavel Roschin 0dd227419d CheckMemoryLeak: use library while checking whitelist functions 2014-02-05 12:16:50 +04:00
Daniel Marjamäki ed4fa9f154 Merge pull request #231 from scriptum/rpg-add-glib-tests
Add GLib library, add GLib tests (some new bugs found)
2014-02-02 10:49:33 -08:00
Pavel Roschin 651ebcf17b Add GLib library, add GLib tests (some new bugs found) 2014-02-02 22:45:57 +04:00
Andrei Karas 7d0e16443b add basic support for SDL lib. 2014-02-02 13:34:13 +03:00
Daniel Marjamäki 16afbbac8e posix.cfg: tweaked closedir() configuration, aligned the items 2014-01-28 06:18:46 +01:00