Commit Graph

295 Commits

Author SHA1 Message Date
PKEuS 2d34acae71 Fixed configuration for fopen_s and similar functions (#7520) 2016-05-26 21:11:32 +02:00
PKEuS 9ea49d48d1 Added a bunch of functions to windows.cfg, fixed <dealloc> arg number for some functions 2016-05-22 18:57:09 +02:00
PKEuS 64d2fd2f57 Added new attribute "arg" to <alloc> and <dealloc> to specify the argument that is allocated/deallocated.
This fixes several issues with allocation functions in windows.cfg, such as HeapAlloc() and VirtualAllocEx() (#7503)
2016-05-22 17:19:14 +02:00
orbitcowboy d676022556 cfg: Added support for the Windows functions: DeleteFile() and _access(). 2016-05-20 15:19:41 +02:00
orbitcowboy 5095196530 cfg: Ignore return values of fopen_s functions. 2016-05-19 11:56:52 +02:00
orbitcowboy b1b0c920e3 Removed sprintf_s from windows.cfg. 2016-05-19 08:22:40 +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
orbitcowboy 41576ee8ec cfg: Added support for the Windows SetConsoleTextAttribute function. 2016-05-17 11:31:54 +02:00
orbitcowboy 2d1ab79d98 cfg: Added support for Windows functions PathIsDirectory,PathIsDirectoryA and PathIsDirectoryW. 2016-05-17 09:54:11 +02:00
orbitcowboy 53a37d6134 cfg: Added support for Windows function WideCharToMultiByte. 2016-05-17 09:35:30 +02:00
Pierre Schweitzer ade7138358 windows.cfg: Add CoTaskMemAlloc() and CoTaskMemFree() functions 2016-02-20 21:44:03 +01:00
orbitcowboy 82c663090e windows.cfg, posix.cfg: Added support for more functions. 2016-01-21 15:48:08 +01:00
orbitcowboy b6fd9e2509 posix.cfg and windows.cfg: Added support for more functions. 2016-01-12 17:00:33 +01:00
Martin Ettl 999da2877e windows.cfg: Added support for _stat() functions. 2016-01-11 20:25:44 +01:00
orbitcowboy 2b3a12866a windows.cfg and posix.cfg: Added support for more functions, found by selfchecking cppchecks code. 2016-01-11 14:54:01 +01:00
Martin Ettl d357229da5 windows.cfg: Improved support for strdup functions. 2016-01-08 11:30:39 +01:00
Martin Ettl 1cb01bae09 windows.cfg: Added support for _vsnprintf and _vsnwprintf functions. 2016-01-07 20:41:26 +01:00
PKEuS 37572dc109 Small refactorizations:
- Improved formatting of unhandled-char-constant message (Side-effect: fixes #7206)
- Replace nr="-1" by nr="any" in windows.cfg
2015-12-10 15:47:46 +01:00
orbitcowboy f84af529af Extended windows.cfg and posix.cfg about missing functions, found by using --check-library on some projects. 2015-11-25 11:02:32 +01:00
orbitcowboy 78bd49c2ba windows.cfg: Added strtok_s and wcstok_s 2015-11-25 09:53:10 +01:00
PKEuS 8d926d7328 Moved some simple WinAPI/MFC-specific simplifications to windows.cfg 2015-08-20 15:59:59 +02:00
Pierre Schweitzer f27c787c4f Handle HeapCreate()/HeapDestroy() API for Windows 2015-05-19 18:37:22 +02:00
orbitcowboy 524585f566 windows.cfg: Added support for more Comm functions. 2015-03-31 08:33:27 +02:00
orbitcowboy f7c724e3eb windows.cfg: Added support for more windows functions. 2015-03-30 16:25:36 +02:00
Alexander Mai 34a61e0883 Additions to windows.cfg. Fix compiler warning in test/cfg/posix.c 2015-03-08 15:21:50 +01:00
Alexander Mai b5f0eec44a #6559 Regression/ false positive: Return value of allocation function OpenFile is not stored. Add required definitions to windows.cfg, include afx_msg. Add test file test/cfg/windows.cpp to check windows configuration. Fix for gnu.cfg. FileLister now features a non-recursive mode. 2015-03-05 06:48:44 +01:00
Daniel Marjamäki 7e50d7a1d0 windows.cfg: Added INVALID_HANDLE_VALUE define 2015-01-31 11:03:49 +01:00
Robert Reif 42f709c09d Fixed #6229 (Move Windows builtin types __intXX to library) 2014-10-21 06:11:19 +02:00
Robert Reif e2f72b4cb1 Fixed #6215 (Move Windows platform types into library) 2014-10-19 07:34:40 +02:00
Daniel Marjamäki 44420bdbf1 cfg: formatted the cfg files with the runastyle script 2014-10-14 06:46:47 +02:00
PKEuS cbb8360b30 Added version attribute to .cfg files (#5928) 2014-09-29 16:26:17 +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 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 a9990bbe33 windows.cfg: add allocation functions that use free to dealloc. This reverts b13e3ac5. 2014-04-19 13:19:08 +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
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
Daniel Marjamäki b13e3ac549 Fixed #5542 (False positive: Mismatching allocation and deallocation) 2014-03-09 11:45:48 +01:00
Pierre Schweitzer 22104cc617 Fix & complete windows.cfg (likely not exhaustive) 2014-02-12 16:55:51 +01:00
Alexander Mai 59d43de5e9 Fixed #3535 (Leaking socket) 2014-01-26 09:42:46 +01:00
Robert Reif f82a2cc6af windows.cfg: improved cfg for _s functions 2014-01-17 21:30:58 +01:00
PKEuS b775714e3d Moved several hardcoded function names in format string checking into libraries (std.cfg and windows.cfg).
Added support for loading a library in test suite.
2014-01-12 03:44:24 -08:00
Daniel Marjamäki c56a432e2d Add windows.cfg library file 2013-12-29 19:23:34 +01:00