Oliver Stöneberg
fdca61add9
aligned build options of Visual Studio project configurations and added them to CMake ( #4020 )
2022-04-21 21:28:29 +02:00
orbitcowboy
1bf7b3b7dd
std.cfg: Added more tests for memcmp(), memcpy() and memmove().
2022-04-21 21:01:38 +02:00
Paul Fultz II
3feecc51d6
Fix 10988: FP: Regression, uninitvar ( #4037 )
2022-04-21 19:29:38 +02:00
orbitcowboy
ce35a6c975
std.cfg: Added more tests for strcat() and strcpy().
2022-04-21 16:59:25 +02:00
orbitcowboy
e683f3ce28
std.cfg: Added more test for strncpy().
2022-04-21 16:47:19 +02:00
orbitcowboy
7f48127c0b
std.cfg: Added more test for strncat().
2022-04-21 16:43:52 +02:00
orbitcowboy
a6f87e6b8a
std.cfg: Added more test for strcmp().
2022-04-21 16:13:48 +02:00
orbitcowboy
e06169cf8d
std.cfg: Added more test for strncmp() and wmemcmp().
2022-04-21 16:09:36 +02:00
Oliver Stöneberg
f53ad2391a
CMakeLists.txt: removed left-over Z3 code ( #4035 )
2022-04-21 12:54:16 +02:00
Oliver Stöneberg
3feb496197
cppcheck.vcxproj: fixed yet another invalid standard setting in `Debug-PCRE` configuration for `cppcheck` causing build failures with SmallVector ( #4031 )
2022-04-21 09:21:59 +02:00
orbitcowboy
7c766a9696
gnu.cfg: Ensure a nullPointer warning is shown for invalid input to mempcpy() and wmempcpy().
2022-04-21 09:19:32 +02:00
Oliver Stöneberg
ce369c5122
added/adjusted --xml-version documentation ( #4032 )
2022-04-21 09:11:59 +02:00
orbitcowboy
c7ab35613e
posix.cfg: Cleanup test case.
2022-04-21 09:10:13 +02:00
orbitcowboy
49057543a1
std.cfg: Ensure a warning is issued for null pointer input for strlen().
2022-04-21 09:09:46 +02:00
orbitcowboy
3bd65d42cd
posix.cfg: Fixed bufferAccessOutOfBounds falsen negative for strnlen() and added a TODO for wcsnlen()
2022-04-21 09:02:02 +02:00
orbitcowboy
dad1a68e51
posix.cfg: Fixed FP bufferOverlap-warning of bcopy() and added more tests.
2022-04-21 08:31:22 +02:00
orbitcowboy
1fb1b22bae
posix.cfg: Improved configuration for bzero() and added tests.
2022-04-20 20:57:58 +02:00
Oliver Stöneberg
7c9b9a65b1
cppcheck.vcxproj: fixed invalid standard setting in `Debug-PCRE` configuration for `cppcheck` causing build failures with SmallVector ( #4030 )
2022-04-20 20:29:43 +02:00
orbitcowboy
fe1c1ddcc1
test/posix.c: Formatted code [ci skip].
2022-04-20 18:21:24 +02:00
orbitcowboy
d075cba535
posix.cfg: Ensure null pointer input is correctly handled for bcmp().
2022-04-20 18:18:38 +02:00
orbitcowboy
7cbdea9b81
posix.cfg: Ensure null pointer input is correctly handled for strcasecmp().
2022-04-20 18:15:54 +02:00
orbitcowboy
a8a821a9c7
posix.cfg: Ensure null pointer input is correctly handled for strncasecmp().
2022-04-20 18:13:49 +02:00
orbitcowboy
f3fc5892e1
posix.cfg: Ensure null pointer input is correctly handled for strsep().
2022-04-20 17:58:50 +02:00
orbitcowboy
c17d3a1022
posix.cfg: Ensure null pointer input is correctly handled for stpcpy().
2022-04-20 17:52:38 +02:00
orbitcowboy
1055b118a4
posix.cfg: Ensure null pointer input is correctly handled for gethostname().
2022-04-20 17:40:03 +02:00
orbitcowboy
d0ff2a022a
posix.cfg: Added support for wcwidth().
2022-04-20 17:32:26 +02:00
Oliver Stöneberg
4ddd7e562d
runtests.sh: refactoring and cleanups ( #4029 )
...
* runtests.sh: avoid redundant `pkg-config` checks and simplified the check
* runtests.sh: write a message when something is completely missing
* runtests.sh: derive paths from script location
* runtests.sh: improved readability by using individual functions for each file
* runtests.sh: added helper function `get_pkg_config_cflags()` to clean up cflag lookup from `pkg-config`
* runtests.sh: simplified `xmlstarlet` calls
2022-04-20 17:27:12 +02:00
orbitcowboy
8b90b2d0fd
posix.cfg: Added more tests.
2022-04-20 15:27:14 +02:00
orbitcowboy
1067cb6e5d
posix.cfg: Added support for wcswidth().
2022-04-20 15:23:46 +02:00
orbitcowboy
5be16c3113
std.cfg: Ensure null pointer input is correctly handled for fgets() and fgetws().
2022-04-20 08:50:45 +02:00
orbitcowboy
df84bed889
posix.cfg: Added support for more interfaces.
2022-04-20 07:45:38 +02:00
orbitcowboy
5a3d84d84d
posix.cfg: Added support for aio_read()
2022-04-20 07:27:28 +02:00
orbitcowboy
e0942c1bb4
std.cfg: Ensure warnings are issued for passing null pointer to bsearch().
2022-04-19 21:21:35 +02:00
orbitcowboy
b7bffaa1a7
Formatted code
2022-04-19 21:13:22 +02:00
orbitcowboy
f3907e4c9e
posix.cfg: Added support for aio_suspend().
2022-04-19 21:13:09 +02:00
Oliver Stöneberg
e374176f17
options.cmake: do not prefer Qt6 by default (for now) ( #4028 )
2022-04-19 10:12:31 +02:00
orbitcowboy
24303bfdd3
wxwidgets.cfg: Fixed FPs due to wrong direction attribute set for wxString::ToDouble and wxString::ToCDouble().
2022-04-19 06:53:34 +02:00
orbitcowboy
6746da5e53
wxwidgets.cfg: Fixed some FPs for wxTextCtrl::GetSelection(), where the argument direction was wrongly set as input.
2022-04-18 15:41:50 +02:00
Oliver Stöneberg
36ef4dc5b8
added support for Qt6 ( #3930 )
2022-04-15 18:49:24 +02:00
Oliver Stöneberg
8f728cb4b6
added (partial) support for specifying C++23 and support more "-std" options ( #3212 )
2022-04-15 16:17:36 +02:00
chrchr-github
6e69b751eb
Fix Match pattern ( #4025 )
2022-04-15 08:48:49 +02:00
Paul Fultz II
28cf14f110
Fix 10975: false negative: dangling reference in class ( #4024 )
...
* Fix 10975: false negative: dangling reference in class
* Format
2022-04-14 18:59:12 +02:00
chrchr-github
6450d5701c
Fix #10979 FP arrayIndexOutOfBoundsCond with sizeof ( #4021 )
...
* Fix #10466 FP constVariable with pointer typedef
* Fix flag check
* Use isStatic()
* Fix #10979 FP arrayIndexOutOfBoundsCond with sizeof and extra parentheses
2022-04-14 18:13:29 +02:00
Oliver Stöneberg
a44cbb75ec
bump simplecpp ( #4022 )
2022-04-14 18:13:13 +02:00
Paul Fultz II
6deb8068fa
Fix 10981: ValueFlow: multiplication with 0 should have known value 0 ( #4023 )
2022-04-14 18:13:04 +02:00
Daniel Marjamäki
5825ab75db
GUI: allow that misra addon is executed without rule texts file
2022-04-14 09:09:58 +02:00
Paul Fultz II
09597bc7e8
Fix 10956: ValueFlow: Incorrect value when assigned to two variables ( #4019 )
...
* Fix 10956: ValueFlow: Incorrect value when assigned to two variables
* Format
2022-04-14 07:35:07 +02:00
chrchr-github
7721cd14b6
Fix #10466 FP constVariable with pointer typedef ( #4018 )
...
* Fix #10466 FP constVariable with pointer typedef
* Fix flag check
* Use isStatic()
2022-04-13 21:56:45 +02:00
Oliver Stöneberg
0e1a0b97ed
added make targets `checkCWEEntries`, `validateXML` and `validateRules` to CMake ( #4010 )
2022-04-13 20:56:07 +02:00
Oliver Stöneberg
16e90ed3e2
smallvector.h: reverted bogus noExplicitConstructor fix and suppress the warning ( #4016 )
2022-04-13 20:50:04 +02:00