Sebastian
de7aa8f513
Fix #7504 : posix: open() was twice in configuration file ( #1032 )
...
* Fix #7504 : posix: open() was twice in configuration file
This fixes ticket #7504 : Problems with the open function were not always
detected because the open function was twice in posix.cfg and only the
second configuration was used by cppcheck. Like suggested now only
one configuration is used and the third parameter has a default value
and is thereby optional.
use-retval has been removed to avoid duplicate warnings because the
alloc/dealloc configuration already warns about unused retval.
According tests to verify that open is configured
correctly now have been added to test/cfg/posix.c.
* posix.cfg: open(): Add TODO for use-retval configuration
2018-01-18 13:56:36 +01:00
Sebastian
d08709d10f
windows.cfg: Add Semaphore function configuration ( #1038 )
2018-01-18 03:39:15 +01:00
Sebastian
b5b84d1737
gnu.cfg Remove redundant function and resource configurations ( #1036 )
...
The epoll_* function and resource configurations somehow where added
twice.
This removes all duplicates (they have the same
attributes/configuration).
2018-01-16 17:13:15 +01:00
Sebastian
5e74012e81
windows.cfg: Fix redundant function configurations ( #1035 )
...
Detected some errors when checking for redundant function
configurations:
The functions that receive an additional argument "locale" have the
suffix "_l".
Sadly the MSDN shows wrong declarations that are missing the "_l", i
guess this caused the wrong names (I have reported it to Microsoft, but
do not expect that this is fixed soon).
The function configuration for GetModuleHandle* existed twice, i have
merged them, and it looks sane for me now.
2018-01-16 15:43:36 +01:00
Sebastian
2e2f8a00d6
posix.cfg: Fix getprotobynumber configuration ( #1034 )
...
It seems to be a copy & paste error.
The comment, the return value, the warn entry and the rest of the
configuration suggest that this must be the getprotobynumber function
configuration and not the getservbyport configuration which would be
redundant as it is configured a bit later.
2018-01-16 10:46:30 +01:00
Sebastian
6bd524baaf
std.cfg: Fix copy&paste error or typo ( #1033 )
...
* Fixed copy&paste error or typo
It should be std::sinf here. std::sinl is described directly in the next function description and does not make sense here because of the return type.
* std.cfg: Fix another copy&paste error or typo
It should be std::tanf here.
2018-01-16 08:36:04 +01:00
Sebastian
d0bbd0535f
windows.cfg: Add lstrcat configuration ( #1028 )
...
On the MSDN there is a prominent warning to not use this function, so i
decided to add a warn entry. See
https://msdn.microsoft.com/de-de/library/windows/desktop/ms647487(v=vs.85).aspx
for details.
2018-01-12 21:41:23 +01:00
Sebastian
dc1c60f97f
windows.cfg: Add CRITICAL_SECTION handling functions. ( #1023 )
...
* windows.cfg: Add CRITICAL_SECTION handling functions.
* windows.cfg: Add missing function InitializeCriticalSectionEx
* windows.cfg: Fix missing not-uninit entry for DeleteCriticalSection.
2018-01-11 14:31:38 +01:00
Sebastian
dc0bcce3c2
windows.cfg: Add *Event functions configuration ( #1025 )
2018-01-10 15:38:02 +01:00
versat
70fcf5af87
Fix windows.cfg: GetProcAddress needs use-retval
...
While it was good to remove use-retval from the LoadLibrary* functions,
it is still needed for GetProcAddress. A call of GetProcAddress without
using the return value does not make sense.
2018-01-05 17:22:33 +01:00
versat
a1cc44eb21
windows.cfg: Add Load/FreeLibrary() functions
2018-01-05 11:22:36 +01:00
orbitcowboy
a01c6c95eb
std.cfg: Added missing non-namespace configuration for stoi()-like functions.
2017-12-15 21:42:39 +01:00
orbitcowboy
c799206c73
windows.cfg: Fixed FN for some strncpy functions.
2017-12-14 15:43:15 +01:00
orbitcowboy
d63897ff21
posix.cfg: Added support for stpncpy().
2017-12-08 21:36:54 +01:00
orbitcowboy
cdeb7fb25f
posix.cfg: Added support for wcpncpy.
2017-12-08 21:28:48 +01:00
orbitcowboy
b14146b853
std.cfg: Improved configuration of wcsncpy.
2017-12-08 21:21:26 +01:00
orbitcowboy
928727534a
posix.cfg: Improved configuration for bcopy(): Warn for potential buffer access out of bounds issues.
2017-12-08 14:53:14 +01:00
orbitcowboy
77c43f2d24
#8293 : Applied fix from versat.
2017-12-08 09:33:54 +01:00
Sebastian
27151f5014
MS SAL config: add more defines for annotations ( #1006 )
...
Add annotations which are not so well documented, but could be/are used
in custom code.
2017-11-29 08:25:43 +01:00
Sebastian
e9815bd523
windows.cfg: Add Sleep and SleepEx ( #1007 )
...
Add configuration for Sleep and SleepEx on Windows.
Not sure how to implement that the functions do not return when the first parameter is INFINITE.
2017-11-29 08:22:13 +01:00
Marcel Raad
8b6c14aa48
windows.cfg: fix GetPrivateProfileString nullPointer FP
...
The first three arguments can be NULL.
Reference: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724353.aspx
2017-11-23 11:05:49 +01:00
Daniel Marjamäki
1e870762a3
std.cfg: open/save with GUI
2017-11-12 15:17:58 +01:00
Daniel Marjamäki
1699775c3c
std.cfg: Save from GUI
2017-11-12 15:11:37 +01:00
Daniel Marjamäki
511d14a051
astyle
...
[ci skip]
2017-11-05 17:56:24 +01:00
Daniel Marjamäki
4d8f069907
Renamed pro c sql to embedded sql
2017-11-03 21:04:12 +01:00
Daniel Marjamäki
4f6f1e20dd
Hide Pro*C SQL simplification. Use pro_c_sql.cfg library file if this is wanted.
2017-11-03 13:02:29 +01:00
pmisik
9c8b0c2c90
Workaround for syntax error on Microsoft specific __pragma keyword ( #982 )
...
__pragma is Microsoft specific keyword equivalent to C99 _Pragma operator
https://msdn.microsoft.com/en-us/library/d9x1s805.aspx
https://gcc.gnu.org/onlinedocs/cpp/Pragmas.html
http://clang.llvm.org/docs/UsersManual.html#controlling-diagnostics-via-pragmas
It seems cppcheck does not support _Pragma at the moment.
This change will fix syntax error on code that looks like this:
#define MY_DEPRECATED_ENUM(X) X __pragma(deprecated(X))
enum myEnum
{
myEnum_1 = 1,
MY_DEPRECATED_ENUM(myEnum_2) = 2,
myEnum_3,
myEnum_4,
};
int main()
{
myEnum a = myEnum_3;
printf("%d", a);
return 0;
}
This change was fiscussed here: https://sourceforge.net/p/cppcheck/discussion/general/thread/1808a46b/
2017-10-25 14:40:00 +02:00
orbitcowboy
b73d4ce62e
wxwidgets.cfg: There is no need to use the return value from wxMenu::Append().
2017-10-20 11:01:37 +02:00
orbitcowboy
589ce19822
Added support for std::ios::clear.
2017-10-18 14:16:36 +02:00
orbitcowboy
f1e5f64690
wxwidgets.cfg: Added support for wxMenu:Append().
2017-10-17 10:59:23 +02:00
orbitcowboy
51eb4ffe9b
std.cfg: Added support for std::string::reserve().
2017-10-15 11:22:42 +02:00
orbitcowboy
a886f4f649
std.cfg: Added support for std::string::erase().
2017-10-15 11:17:17 +02:00
orbitcowboy
db787369b9
#8243 : Changed order of includes. Moved mathlib include at first place.
2017-10-14 16:30:10 +02:00
Daniel Marjamäki
81beb47e5c
std.cfg: Added std::...::insert configurations
2017-10-13 15:39:08 +02:00
orbitcowboy
3c96924c56
std.cfg: Improved support for std::string::resize().
2017-10-13 10:22:59 +02:00
orbitcowboy
43de937a4e
Removed not needed <use-retval/> from std::string::resize().
2017-10-13 10:15:53 +02:00
orbitcowboy
8160cc2fc6
std.cfg: Improved support for find, std::string functions.
2017-10-13 09:58:23 +02:00
orbitcowboy
3eb84fa980
std.cfg: Warn when parameters of std::swap() are not initialized.
2017-10-11 15:54:49 +02:00
orbitcowboy
dc2aff42a8
std.cfg: Added support for std::string::rfind().
2017-10-11 15:50:59 +02:00
orbitcowboy
5bc61e35a0
std.cfg: Added support for std::swap.
2017-10-11 13:12:00 +02:00
Daniel Marjamäki
29a0dfc152
std.cfg: add configuration for std::string::find_first_of and std::string::find_last_of
2017-10-11 08:33:12 +02:00
Daniel Marjamäki
247810a186
qt.cfg: split configuration for QSettings::setValue and QSettings::value
2017-10-11 08:30:10 +02:00
Daniel Marjamäki
7f9571c4e6
std: added std find methods
2017-10-10 22:15:56 +02:00
Daniel Marjamäki
4009f11475
qt: Add configurations for QSettings::setValue, QSettings::value
2017-10-10 22:05:00 +02:00
Daniel Marjamäki
917317ad3d
cppcheck-lib.cfg: fix invalid XML
2017-10-10 11:27:54 +02:00
Daniel Marjamäki
4afa8ef9d7
cppcheck-lib.cfg: Added cfg file for internal use
2017-10-10 11:25:30 +02:00
orbitcowboy
ee6e4c3ccd
std.cfg: Fixed FP in std::string:swap().
2017-10-07 00:49:09 +02:00
orbitcowboy
c978e66936
std.cfg: Added support for std::string:swap().
2017-10-07 00:46:34 +02:00
orbitcowboy
702a213175
std.cfg: Added support for std::vector::at().
2017-10-06 17:02:25 +02:00
orbitcowboy
4b4796a35f
std.cfg: Added support for std::string::push_back().
2017-10-06 16:51:10 +02:00
orbitcowboy
91202c47e6
windows.cfg: Added more returnValue-types.
2017-10-05 11:55:27 +02:00
orbitcowboy
cbc95c5662
gnu.cfg: Added more returnValue-types.
2017-10-05 11:45:46 +02:00
orbitcowboy
1a4c25243c
posix.cfg: Added more returnValue-types.
2017-10-05 11:38:11 +02:00
orbitcowboy
beb9223b6f
std.cfg: Added more returnValue-types.
2017-10-05 10:23:48 +02:00
orbitcowboy
f3d5e526d0
std.cfg: Added more returnValue-types.
2017-10-05 09:58:12 +02:00
orbitcowboy
0d888ba82d
std.cfg: Added more return value types.
2017-10-03 09:39:43 +02:00
orbitcowboy
c133e1d6f3
std.cfg: Added more returnValue-types.
2017-10-02 19:15:38 +02:00
orbitcowboy
e9b4cbbd87
std.cfg: Added more returnValue-types.
2017-10-02 17:01:10 +02:00
Alexander Mai
8d4c2d3145
Fix typo
2017-09-26 20:59:23 +02:00
orbitcowboy
9647793af9
wxwidgets.cfg: Added support for some wxStaticBoxSizer functions.
2017-09-21 14:47:24 +02:00
orbitcowboy
7e6aeb6394
wxwidgets.cfg: Added support for some wxBoxSizer functions.
2017-09-21 14:37:42 +02:00
orbitcowboy
fbb5c3b942
wxwidgets.cfg: Added support for some wxSpinCtrlDouble functions.
2017-09-21 11:29:59 +02:00
orbitcowboy
c0f92b2409
posix.cfg: Added support for tcsendbreak.
2017-09-19 21:25:19 +02:00
orbitcowboy
7a56cfbb66
windows.cfg: Added support for more functions.
2017-09-19 21:17:15 +02:00
orbitcowboy
c4e2ca2996
posix.cfg: Added support of ioctl.
2017-09-19 21:12:03 +02:00
orbitcowboy
6d69845737
posix.cfg: Added support for some <termios.h>-functions.
2017-09-19 15:10:37 +02:00
Daniel Marjamäki
b9b47809f9
Fixed #8197 (iscast: '(b)&1' is not a cast)
2017-09-08 22:52:16 +02:00
orbitcowboy
7e92535b59
std.cfg: Improved support for std::ios std::ios_base std::ofstream and std::ostream functions.
2017-09-08 16:43:40 +02:00
orbitcowboy
27be75b224
std.cfg: Improved support for returnValue types for some math functions.
2017-09-05 16:27:02 +02:00
orbitcowboy
94c1809f26
std.cfg: Improved support for returnValue types for some math functions.
2017-09-05 16:01:33 +02:00
orbitcowboy
095e435031
wxwidgets.cfg: Added support for some wxTextFile functions.
2017-09-04 14:52:10 +02:00
orbitcowboy
4734301bef
wxwidgets.cfg: Added more #defines from wx/defs.h
2017-08-29 19:51:15 +02:00
orbitcowboy
35b94a1810
wxwidgets.cfg: Improved support for some wxWidgets #defines.
2017-08-29 01:13:54 +02:00
Alexander Mai
dcc962ec37
Add configuration file for BSD os family
2017-08-28 22:48:39 +02:00
Daniel Marjamäki
0496e29910
astyle formatting
...
[ci skip]
2017-08-15 11:27:49 +02:00
orbitcowboy
06c798a81a
Cleanup comments. There are no functional changes.
2017-08-11 16:58:21 +02:00
orbitcowboy
b28b7712c1
wxwidgets.cfg: Added support for some wxColour functions.
2017-08-11 16:42:43 +02:00
orbitcowboy
cf32e565c2
wxwidgets.cfg: Added support for some wxButton-functions.
2017-08-08 17:00:29 +02:00
orbitcowboy
fb925069a5
wxwidgets.cfg: Added <use-retval/>-flag for getter-functions.
2017-08-07 16:58:19 +02:00
orbitcowboy
8f262c2c90
wxwidgets.cfg: Added support for some wxRadioBox-functions.
2017-08-07 16:45:07 +02:00
orbitcowboy
d409934bd3
wxwidgets: Added support for wxTimer functions.
2017-08-03 13:56:31 +02:00
orbitcowboy
3c7f6cf9c8
wxwidgets.cfg: Added support for some wxSlider functions.
2017-08-03 10:34:16 +02:00
orbitcowboy
bf9980b7e0
windows.cfg: Added more returnValue-types.
2017-08-03 09:57:12 +02:00
orbitcowboy
72f5c11143
wxwidgets.cfg: Added more returnValue-types.
2017-08-02 14:48:27 +02:00
orbitcowboy
cc210679a5
gnu.cfg: Added returnValue-types.
2017-08-02 14:34:06 +02:00
orbitcowboy
40985ada14
posix.cfg: Added more returnValue-types.
2017-08-02 14:11:50 +02:00
orbitcowboy
4024420a4d
posix.cfg: Added more returnValue-types and increased function support.
2017-08-02 09:26:16 +02:00
orbitcowboy
d2698733c3
posix.cfg: Added returnValue-types for some functions.
2017-08-01 20:35:30 +02:00
orbitcowboy
7ab8d758c5
std.cfg: Added more returnValue-types.
2017-08-01 14:33:12 +02:00
Daniel Marjamäki
d1dfe21121
astyle formatting
...
[ci skip]
2017-07-29 18:53:38 +02:00
orbitcowboy
49805d386b
wxwidgets.cfg: Improved cfg for some wxWidgets functions.
2017-07-29 13:16:51 +02:00
Daniel Marjamäki
62b84e31ab
ValidateCFG: Fix 'valid' pattern
2017-07-28 19:46:55 +02:00
orbitcowboy
22abfb811a
wxwidgets.cfg: Removed not needed formatstr-tag.
2017-07-28 18:05:24 +02:00
orbitcowboy
26f65689a4
wxwidgets.cfg: Added support for wxSpinCtrl::SetBase().
2017-07-28 16:56:58 +02:00
orbitcowboy
ad14d43aaf
std.cfg: Added return-type for some functions.
2017-07-28 16:47:17 +02:00
orbitcowboy
b2fcdf8a8a
std.cfg: Added return-type for some functions.
2017-07-28 16:26:19 +02:00
orbitcowboy
adab48a0e1
wxwidgets.cfg: Improved support for wxSpinCtrl getters.
2017-07-26 12:05:52 +02:00
Daniel Marjamäki
7875054f36
Fixed #8078 (cppcheck-cfg.rng outdated)
2017-07-23 12:09:41 +02:00
orbitcowboy
39ca654519
posix.cfg: Fixed wrong index. The memory is allocated at the 4'th parameter.
2017-07-17 15:21:42 +02:00
orbitcowboy
c62e46dc6e
posix.cfg: Report memory leak when memory is allocated with getaddrinfo() and it is not freeded with freeaddrinfo().
2017-07-17 15:17:20 +02:00
Rick van der Sluijs
2c3e274f0a
- Added more string constant encapsulation macros
...
- Added more format string functions (including log functions)
- Added assert macros
- Added type limits and definitions
2017-07-14 22:18:02 +02:00
Daniel Marjamäki
101303a179
Fixed #6513 (Resource leak: hSocket - false positive / enhancement needed)
2017-07-02 08:39:48 +02:00
Daniel Marjamäki
5fb59a8063
windows.cfg: reordering of podtypes and defines
2017-07-02 08:38:07 +02:00
amai2012
947ace6194
Fix false positive
2017-06-22 09:23:15 +02:00
Alexander Mai
7a0f05aaa5
Correct some wrong attributes causing false positives. Add more interfaces
2017-06-08 22:33:41 +02:00
Alexander Mai
d818b4ace1
Add more interfaces
2017-06-06 23:21:05 +02:00
Alexander Mai
a350e6c7e8
Add more interfaces
2017-06-02 22:58:39 +02:00
Alexander Mai
dc83f6783e
Fix attributes, add some interfaces
2017-06-02 00:59:13 +02:00
Alexander Mai
5755ac9eeb
Add initial configuration file for Motif
2017-06-02 00:38:29 +02:00
Alexander Mai
389b4cdf99
Remove atrribute to cure FP. Run astyle
2017-05-29 20:04:34 +02:00
alexander
49a28d00f9
Add some interfaces + small changes to existing ones
2017-05-29 00:47:24 +02:00
Daniel Marjamäki
26ec339120
wxwidgets.cfg: Define macros which don't necessarily require semicolons at the end
2017-05-28 22:16:44 +02:00
Alexander Mai
1225b4b25a
Fix false positive
2017-05-03 16:34:20 +02:00
Alexander Mai
40a5f78154
Change attributes for 2nd arg of GetTempPath
2017-05-01 20:43:03 +02:00
Alexander Mai
765a9c8660
Remove attribute from _wfopen_s,_tfopen_s to avoid false positives
2017-05-01 19:28:24 +02:00
orbitcowboy
19ce65217e
#8033 : Fixed FP and removed not-uninit-configuration from std.cfg.
2017-05-01 16:53:44 +02:00
Alexander Mai
df19d2ba5b
Remove attribute from GetTempPath,GetTempPathW,GetTempPathA
2017-04-30 20:38:28 +02:00
Alexander Mai
14be611a7e
Correct configuration to allow NULL as 2nd argument to read/write. Whether it's a legal value depends on the 3rd argument
2017-04-29 17:57:16 +02:00
orbitcowboy
0b6c726439
posix.cfg: Do not allow the second parameter of read and write to be a NULL pointer.
2017-04-26 14:25:14 +02:00
Daniel Marjamäki
6b685f5a80
qt.cfg: Add configuration for QStringList
2017-04-23 22:12:50 +02:00
Daniel Marjamäki
5eca129865
qt.cfg: Added QList configuration
2017-04-23 20:41:34 +02:00
Daniel Marjamäki
07726c1037
std.cfg: update some c++ configs
2017-04-23 19:40:45 +02:00
Daniel Marjamäki
429061b59d
qt.cfg: updated cfg for connect/disconnect/tr/SIGNAL/SLOT
2017-04-22 20:29:37 +02:00
Daniel Marjamäki
53b77aafef
qt.cfg: added some often used QString methods
2017-04-22 19:41:28 +02:00
Daniel Marjamäki
5c7b1c7ff2
astyle formatting
...
[ci skip]
2017-04-21 21:03:01 +02:00
PKEuS
5027810a79
Added sfml.cfg
...
std.cfg: Removed redundant <function> definition
2017-04-21 11:51:40 +02:00
Daniel Marjamäki
1422487769
astyle formatting
...
[ci skip]
2017-04-20 17:43:28 +02:00
orbitcowboy
c44b055fc1
windows.cfg: Added support for CreateDirectory and RemoveDirectory functions.
2017-04-19 09:42:32 +02:00
orbitcowboy
dd0158ee63
std.cfg and windows.cfg: Improved support for localtime functions.
2017-04-19 09:27:24 +02:00
Daniel Marjamäki
296f250caa
qt.cfg: configure some QString methods
2017-04-18 19:21:34 +02:00
Daniel Marjamäki
c229754a70
qt.cfg: Add configuration for QString
2017-04-18 18:04:27 +02:00
PKEuS
094b7a706f
std.cfg: Added std::streamoff and imaxdiv_t
2017-04-18 10:46:27 +02:00
orbitcowboy
16f9e1646c
windows.cfg: Improved support for string compar functions.
2017-03-31 08:40:41 +02:00
orbitcowboy
f31e2e6696
windows.cfg: Improved support for string-copy functions.
2017-03-31 08:25:56 +02:00
orbitcowboy
93816a63a8
windows.cfg: Improved support for stat() and fstat() functions.
2017-03-29 13:30:12 +02:00
Daniel Marjamäki
d6b6f31fbd
Fixed #7956 (Add Q_ENUM define in qt.cfg)
2017-03-22 07:32:31 +01:00
orbitcowboy
9f66908971
Fixed #7955 : False positive about invalid fseek argument.
2017-03-21 14:23:31 +01:00
orbitcowboy
6111b38ebb
std.cfg and windows.cfg: Improved support for freopen-functions.
2017-03-19 18:23:31 +01:00
orbitcowboy
468fadff86
std.cfg: Cleanup wrong configuration.
2017-03-15 09:39:11 +01:00
orbitcowboy
9f124b295e
std.cfg: Improved support container functions.
2017-03-15 08:49:08 +01:00
PKEuS
1a7265cd7e
std.cfg: Added lots of container functions, string functions and three operands overload of std::hypot
2017-03-14 17:52:35 +01:00
orbitcowboy
e569d96169
windows.cfg: Added support for _tcsftime().
2017-03-08 08:53:05 +01:00
orbitcowboy
0bd46ec831
windows.cfg: Added support for _strftime_l() and _wcsftime_l().
2017-03-08 08:49:13 +01:00
orbitcowboy
c87e83575a
std.cfg: Added support for std::copy().
2017-03-07 10:54:44 +01:00
orbitcowboy
428c376b61
wxwidgets.cfg: Added support for more wxString functions.
2017-03-06 16:52:55 +01:00
orbitcowboy
e3d879e43d
std.cfg: Improved support for some std::wstring functions.
2017-03-06 16:40:49 +01:00
orbitcowboy
bf68638771
std.cfg: Improved support for string to (int|double|...)-functions.
2017-03-06 16:36:14 +01:00
Daniel Marjamäki
603171201a
added some more configuration for standard containers
2017-03-05 22:03:12 +01:00
Daniel Marjamäki
34dd4935d9
updated STL configuration
2017-03-05 19:47:47 +01:00
Daniel Marjamäki
ddc73008a6
std.cfg: update configuration for STL containers
2017-03-05 18:31:03 +01:00
Daniel Marjamäki
e560ad1616
update std::string config
2017-03-05 18:19:49 +01:00
Daniel Marjamäki
339f861804
std.cfg: Configure return type for std::string::empty()
2017-03-05 11:07:14 +01:00
Daniel Marjamäki
2f2ac46243
Replaced hardcoding for char16_t and char32_t with configuration
2017-03-04 16:30:42 +01:00
VULCAIN\\Teddy
930aa3c5b2
Fixed #837 (configure istream::getline in std.cfg) Adds some rules for getline, get and readsome methods of std::istream class
2017-03-04 08:54:34 +01:00
orbitcowboy
fef52f2ea1
windows.cfg: Added support for _mbsrchr().
2017-02-23 13:43:30 +01:00
orbitcowboy
b4733a76bd
windows.cfg: Added missing _tcsclen_l() function name.
2017-02-23 13:25:50 +01:00
orbitcowboy
6ea520a561
windows.cfg: Added support for strlen()-functions.
2017-02-23 13:23:53 +01:00
orbitcowboy
245da75a2f
windows.cfg: Added support for more strdup and malloc functions.
2017-02-23 08:56:13 +01:00
orbitcowboy
6db99d105f
windows.cfg: Added support for FindFirstFileEx.
2017-02-22 15:52:39 +01:00
orbitcowboy
26f0ee6703
windows.cfg and gnu.cfg: Improved support for strtok-functions.
2017-02-22 10:27:05 +01:00
PKEuS
7de055361c
windows.cfg: Added several functions
2017-02-07 19:08:24 +01:00
amai2012
1d0b647072
#7915 false positive: "Memory leak" error after mmap return MAP_FAILED. define MAP_FAILED in posix.cfg.
2017-02-07 12:14:55 +01:00
orbitcowboy
beb72c2583
Revert changes from 9cb0941df2
.
2017-02-02 15:53:52 +01:00
orbitcowboy
9cb0941df2
std.cfg: Take the return value from fread() into account.
2017-02-02 13:33:06 +01:00
PKEuS
ae444d7e78
windows.cfg: Added PostMessage()
2017-02-02 13:23:37 +01:00
alexander
d846217641
#7906 false positive: (error) Null pointer dereference (tempnam)
2017-01-29 17:09:48 +01:00
amai2012
982991fabe
#7878 FP : Buffer is accessed out of bounds when using strncmp() with short string literal. Correct std.cfg
2017-01-11 17:45:24 +01:00
Daniel Marjamäki
c2a1c4056f
astyle formatting
...
[ci skip]
2017-01-06 12:04:36 +01:00
alexander
8eeb09ba88
Add typeid to library
2017-01-05 20:38:56 +01:00
orbitcowboy
00fd38967f
windows.cfg: SetEnvironmentVariable() the second parameter is allowed to be NULL.
2016-12-22 13:46:12 +01:00
orbitcowboy
df5c815b1b
windows.cfg: Added support for _strnicmp() functions.
2016-12-22 11:19:01 +01:00
Daniel Marjamäki
b9c65f0540
std.cfg: null pointer is allowed as first argument to wctomb
2016-12-20 16:08:28 +01:00
orbitcowboy
f8cfa72159
std.cfg: Added support for C11 memcpy_s() and memcpy_s() functions.
2016-12-16 17:23:42 +01:00
orbitcowboy
daacc0959e
windows.cfg: Updated comments. There are no functional changes.
2016-12-16 17:22:37 +01:00
orbitcowboy
227049a6b1
windows.cfg: Added support for _swap().
2016-12-16 16:58:42 +01:00
orbitcowboy
a694ebc602
std.cfg: Added a valid-tag for read streamsize.
2016-12-13 13:10:40 +01:00
orbitcowboy
f89c606031
std.cfg: Added missing argument numbers to va_arg, va_copy, va_end and va_start.
2016-12-13 11:39:10 +01:00
orbitcowboy
3598f7f2ca
std.cfg: Added more <valid>-tags.
2016-12-12 13:45:16 +01:00
orbitcowboy
1ee68a9d2a
std.cfg: Added more <valid>-tags.
2016-12-12 13:35:41 +01:00
orbitcowboy
c985723869
std.cfg: Added support for C11 function memset_s().
2016-12-12 13:31:10 +01:00
orbitcowboy
d6aef86d70
std.cfg: Added minsize configuration to strncmp() and wcsncmp().
2016-12-12 11:12:30 +01:00
orbitcowboy
af1398900c
windows.cfg: Improved support for _open() and _close() functions.
2016-12-06 13:50:45 +01:00
orbitcowboy
6829a8da14
posix.cfg and windows.cfg: Added support for memccpy().
2016-12-05 16:46:49 +01:00
orbitcowboy
942b5cdc20
windows.cfg: Improved configuration by using <valid>-tags.
2016-12-05 10:43:07 +01:00
orbitcowboy
e8aede649a
gnu.cfg: Improved configuration by using <valid>-tags.
2016-12-05 10:37:13 +01:00
orbitcowboy
7522b1b108
posix.cfg: Improved configuration by using <valid>-tags.
2016-12-05 10:30:11 +01:00
orbitcowboy
9b611f5351
std.cfg: Improved configuration by using <valid>-tags.
2016-12-05 09:48:20 +01:00
orbitcowboy
29a6a39fb5
gnu.cfg: Improved configuration of memmem().
2016-12-04 20:30:33 +01:00
Daniel Marjamäki
a5e214ab3f
astyle formatting
...
[ci skip]
2016-12-04 19:15:32 +01:00
amai2012
abf59af87d
Add a couple of interfaces
2016-12-04 12:24:26 +01:00
orbitcowboy
afb962575b
windows.cfg: Added support for _mbsstr(),_tcsstr() and _mbsstr_l().
2016-12-02 09:06:02 +01:00
orbitcowboy
df0f5e3f39
windows.cfg: Removed not needed <use-retval/> configurations.
2016-11-29 10:07:35 +01:00
PKEuS
4a7b81218b
std.cfg: Combined definitions of fget(w)c and get(w)c, removing wrong <use-retval/> from get(w)c
2016-11-29 09:37:00 +01:00
orbitcowboy
b964513611
windows.cfg: Added support for more functions like SetupDiGetClassDevs().
2016-11-29 09:18:08 +01:00
orbitcowboy
7b1ed9f415
windows.cfg and posix.cfg: Added more <use-retval/> configurations.
2016-11-28 16:58:33 +01:00
orbitcowboy
fa379b50b1
std.cfg: Cleanup fget[w]c() configuration.
2016-11-28 11:19:36 +01:00
orbitcowboy
55ae961ac2
std.cfg and windows.cfg: Improved support for <use-retval/> for functions like ftell(), [f]get[w]c().
2016-11-26 21:31:15 +01:00
orbitcowboy
b0d09926fb
std.cfg: Take return value into accoutn for ftell().
2016-11-26 18:36:05 +01:00
orbitcowboy
97b8b1ffc2
std.cfg: Take return value into accoutn for freopen().
2016-11-26 18:33:42 +01:00
orbitcowboy
83d0b42c66
windows.cfg: Ensure the return value of _wfopen_s() and _tfopen_s() is taken into account as well.
2016-11-26 16:25:19 +01:00