versat
c6cf61e704
windows.cfg: Add direction attributes for remaining functions.
2019-03-25 12:44:10 +01:00
orbitcowboy
9bfe7d74c0
windows.cfg: Fixed FP for invalidFunctionArg in second argument of _getcwd(). Reference: https://docs.microsoft.com/en-us/previous-versions/sf98bd4y(v%3Dvs.140)
2019-03-25 09:07:02 +01:00
Sebastian
8efa106d2a
windows.cfg: Add direction attributes; fix and enhance configurations. ( #1750 )
2019-03-22 19:50:27 +01:00
versat
e8d5838424
windows.cfg: Remove buffer-size for HeapAlloc(); travis problems.
...
There is an internal error somewhere in the tests for the Heap*
functions. Removing the attribute maybe makes travis happy again for
now. The problem should get fixed though.
2019-03-22 16:19:51 +01:00
versat
0d14bdac22
windows.cfg: Add "buffer-size" attributes, fix allocation configuration.
...
Memory allocated with `_aligned_*malloc*()` must be freed with
`_aligned_free*()`. Using `free()` is illegal.
See
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/aligned-malloc
for details.
Also add tests for some of the changed functions.
2019-03-22 13:11:03 +01:00
orbitcowboy
5426a984b3
windows.cfg: Removed TEXT()-macro support since it is already handled internally by Cppcheck. A corresponding comment was added into the configuration file.
2019-03-10 14:09:48 +01:00
orbitcowboy
f0f2d1833d
windows.cfg: Added support for TEXT()-macro. Ref.: https://docs.microsoft.com/en-us/windows/desktop/api/winnt/nf-winnt-text
2019-03-09 12:07:12 +01:00
orbitcowboy
6aef4a16e6
windows.cfg: Fixed wrong arg number in recv().
2019-03-08 13:04:39 +01:00
versat
df73f7f355
std.cfg, windows.cfg: Move strcpy_s from windows.cfg to std.cfg.
...
strcpy_s belongs to the standard so it must be in std.cfg instead of
windows.cfg.
Configuration for strcpy_s has been improved and tests were added.
Found by daca@home
2019-03-05 15:33:16 +01:00
orbitcowboy
360823203f
windows.cfg: Ensure the return value is taken into account for memory (re)-allocation functions.
2019-03-01 08:58:53 +01:00
Sebastian
6a3e1eeef7
Library configuration validation: Enhance relaxng file, fix *.cfg files. ( #1685 )
...
This fixes https://trac.cppcheck.net/ticket/8985 at least for the
function configuration.
Errors in configuration files found by the new relaxng file are fixed.
2019-02-22 15:31:52 +01:00
orbitcowboy
7b5c010c31
windows.cfg: Added support for more interfaces.
2019-02-13 08:10:50 +01:00
orbitcowboy
f5edc221f8
windows.cfg: Added support for MAKEINTRESOURCE-macros.
2019-02-12 13:05:41 +01:00
orbitcowboy
2727a959b2
windows.cfg: Added missing <use-retval/>-tags for strcmp-functions.
2019-02-04 11:54:24 +01:00
amai2012
8e85aef4ea
Add more interfaces
2019-02-03 22:13:30 +01:00
orbitcowboy
acebfac176
Added missing <use-retval/>-tag to strdup()-like functions. In case the return value is not taken in account, a logical error is revealed.
2019-02-03 20:38:33 +01:00
amai2012
2515b015ea
Improve configuration for bind()
2019-01-25 10:47:36 +01:00
orbitcowboy
cdae767bd8
windows.cfg: Added support for some constants from WinBase.h
2019-01-16 15:54:18 +01:00
orbitcowboy
705fa1820c
windows.cfg: Added support for some constants from winnt.h and WinBase.h
2019-01-16 15:51:14 +01:00
orbitcowboy
270bceb1b6
windows.cfg: Added support for some return flags from GetHandleInformation(), ref.: https://msdn.microsoft.com/en-us/library/ms724329%28v=vs.85%29.aspx
2019-01-16 14:53:02 +01:00
amai2012
97bf5de133
Add more Windows (Microsoft) macros and a few lines of related test code
2019-01-08 21:15:04 +01:00
amai2012
58b8cef822
Add a few more macros to windows.cfg
2019-01-08 13:40:58 +01:00
Daniel Marjamäki
2ba5302e90
Fixed #8909 (false positive: (style) Variable 'li.LowPart' is assigned a value that is never used.)
2019-01-06 11:09:59 +01:00
Sebastian
79d9c5b283
windows.cfg: Enhance support for IO/IOCTL functionality ( #1532 )
2018-12-20 14:43:48 +01:00
Sebastian
f8b8597a9b
windows.cfg: Add support for CreateFileA and CreateFileW ( #1529 )
...
References:
https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-createfilea
https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-createfilew
2018-12-19 20:20:05 +01:00
orbitcowboy
7bf5cc1ce7
windows.cfg: Added support for _finite() and _finitef().
2018-12-06 08:54:21 +01:00
orbitcowboy
ef77452444
windows.cfg: Added support for _putenv() and _wputenv().
2018-11-27 13:36:39 +01:00
orbitcowboy
18c234e277
windows.cfg: Add support for _getche() and _getwche().
2018-11-26 14:34:40 +01:00
orbitcowboy
e18c846ed9
windows.cfg: Added support for _gettch() and _getch().
2018-11-26 13:53:13 +01:00
Sebastian
c74ec34da8
windows.cfg: Add _TCHAR platform type. ( #1291 )
...
_TCHAR is simply the same as TCHAR. Defined in tchar.h.
More information about it:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/0073fa7b-5cf5-469c-978f-2961f9d4ecb2/tchar-vs-tchar?forum=vcgeneral
2018-06-20 10:25:39 +02:00
orbitcowboy
5ad1b2bdd1
windows.cfg: Added some error codes from WinInet.h: Error codes Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/aa385465(v=vs.85).aspx .
2018-06-13 15:33:26 +02:00
orbitcowboy
77d4601fee
windows.cfg: Added System Error Codes (0-15999) Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/ms681384(v=vs.85).aspx
2018-06-13 15:20:39 +02:00
orbitcowboy
e029fe016a
windows.cfg: Added constants from Winerror.h: COM Error Codes (VOLMGR, BCD, VHD, SDIAG) Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/dd542650(v=vs.85).aspx
2018-06-13 10:16:05 +02:00
orbitcowboy
efe652f034
windows.cfg: Added constants from Winerror.h: COM Error Codes (FWP, WS, NDIS, HyperV) Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/dd542649(v=vs.85).aspx
2018-06-13 10:11:13 +02:00
orbitcowboy
3383fc6938
windows.cfg: Added Winerror.h: COM Error Codes (Security and Setup) Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/dd542646(v=vs.85).aspx
2018-06-13 09:55:11 +02:00
orbitcowboy
284da2f72e
windows.cfg: Added more constants from Winerror.h: COM Error Codes (STG, RPC) Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/dd542645(v=vs.85).aspx
2018-06-13 09:40:08 +02:00
orbitcowboy
c1668ff294
windows.cfg: Added more COM error constants.
2018-06-13 08:44:29 +02:00
orbitcowboy
4d99300339
windows.cfg: Added COM Error Codes (WPN, MBN, P2P, Bluetooth) from https://msdn.microsoft.com/en-us/library/windows/desktop/hh404142(v=vs.85).aspx
2018-06-12 15:39:08 +02:00
orbitcowboy
8354a75f66
windows.cfg: Added COM Error Codes (UI, Audio, DirectX, Codec) from Winerror.h. Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/hh404141(v=vs.85).aspx
2018-06-12 15:27:05 +02:00
orbitcowboy
4a81f6be9a
windows.cfg: Added support for some constants from PortableDevice.h. Ref.: https://msdn.microsoft.com/en-us/library/windows/desktop/dd319335(v=vs.85).aspx
2018-06-12 11:29:51 +02:00
orbitcowboy
d9f9bdda73
windows.cfg: CreatePen() removed not required <leak-ignore/>-tag.
2018-06-08 17:04:09 +02:00
orbitcowboy
64ce5dfece
windows.cfg: Added support for CreatePen().
2018-06-08 15:57:11 +02:00
orbitcowboy
d10788164a
windows.cfg: Added support for _locale_t
2018-06-08 14:41:56 +02:00
orbitcowboy
7bb806c22b
windows.cfg: Added support for CLSTX constants which are defined at https://msdn.microsoft.com/en-us/library/windows/desktop/ms693716(v=vs.85).aspx .
2018-06-08 14:33:13 +02:00
orbitcowboy
cb2880e7c1
windows.cfg: Added support for _mbsncpy_s_l() and _mbsncpy_s().
2018-06-07 15:35:00 +02:00
orbitcowboy
c31503557d
windows.cfg: Added support for _wcsncpy_s_l().
2018-06-07 15:24:26 +02:00
orbitcowboy
cc0f3f6cec
Formatted code, there are no functional changes [ci skip].
2018-06-06 11:15:47 +02:00
amai2012
3619aece02
Add support for umask functions
2018-06-06 10:59:34 +02:00
orbitcowboy
74b18d7fd9
windows.cfg: Added support for _strncpy_s_l().
2018-06-04 16:58:09 +02:00
orbitcowboy
39feb150c0
std.cfg and windows.cfg: Added support for wcscat_s() and _tcscat_s().
2018-05-30 16:25:09 +02:00