Commit Graph

186 Commits

Author SHA1 Message Date
orbitcowboy 32cd7d727d Fixed #6325: false negative: uninitialized variable usage (write, posix). 2014-12-15 10:05:44 +01:00
Thomas Jarosch 6b78ae7c46 Add mmap() / mmap64() / munmap() to posix.cfg. Enables basic leak tracking
Includes function prototype in posix.cfg as comment
for easier overview of the function arguments.
2014-12-14 13:30:24 +01:00
orbitcowboy ac4f7879db posix.cfg: Added support for rewinddir(). 2014-12-10 16:10:03 +01:00
Thomas Jarosch 269a4419f0 Fixed false positives about strdupa() / strndupa() memleak
strdupa() / strndupa() allocates memory on the stack using alloca().
This memory is freed automatically once the current function is left.
2014-12-10 22:23:52 +01:00
orbitcowboy def3491829 posix.cfg: Added support for readdir(). 2014-12-10 17:44:21 +01:00
Daniel Marjamäki 44420bdbf1 cfg: formatted the cfg files with the runastyle script 2014-10-14 06:46:47 +02:00
Daniel Marjamäki a19545eb3a Reverted 5e08784b5c. There are unwanted changes, for instance for closedir. The use-retval should only be used when it's pointless to call the function without taking the return value. 2014-10-14 06:20:07 +02:00
orbitcowboy 5e08784b5c Fixed #6196: Posix support for ignoreReturnValue and improved indentation of posix.cfg 2014-10-08 07:57:14 +02:00
PKEuS cbb8360b30 Added version attribute to .cfg files (#5928) 2014-09-29 16:26:17 +02:00
Daniel Marjamäki d414aa0ae5 astyle formatting 2014-08-15 16:01:48 +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
orbitcowboy ff9a39d1f6 avr.cfg and posix.cfg: Added support for more functions. 2014-06-26 16:22:49 +02:00
orbitcowboy d19b6f181d Extended std.cfg, posix.cfg and avr.cfg 2014-06-25 15:09:03 +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
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
Daniel Marjamäki 42c3b3c89d Library: Change range operator in validation pattern to ':' 2014-06-08 18:12:11 +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
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
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
Alexander Mai 3721165d86 Fixed #4611 (Resource leak not found (was: Reverse NULL check)) 2014-03-11 06:32:56 +01:00
Pavel Roschin df69f4e4be Library: add mk[sd]temp to Posix 2014-02-11 17:02:33 +04:00
Daniel Marjamäki 16afbbac8e posix.cfg: tweaked closedir() configuration, aligned the items 2014-01-28 06:18:46 +01:00
Daniel Marjamäki 2b8cf462c9 CheckMemoryLeak: Move posix-opendir/closedir to library 2014-01-26 17:02:36 +01:00
Alexander Mai 7e43498bcc Fixed #2776 (false negative: usage of unitialized pointer (closedir)) 2014-01-26 09:53:31 +01:00
Alexander Mai 59d43de5e9 Fixed #3535 (Leaking socket) 2014-01-26 09:42:46 +01:00
Erik Lax d33d27133f Fixed #5330 (Add _exit() to Tokenizer::IsScopeNoReturn) 2014-01-09 15:43:27 +01:00
Daniel Marjamäki 76b907fe65 Fixed #5252 (Improve check: use Library to validate function arguments in invalidFunctionUsage) 2013-12-23 10:06:45 +01:00