Oliver Stöneberg
8c527bf132
std.cfg: added support for more container methods ( #4780 )
...
* std.cfg: added support for `std::unordered_map::count()`
* std.cfg: added support for `std::multimap::count()`
* std.cfg: added support for `std::unordered_map::insert()`
* std.cfg: added support for `std::unordered_set::insert()`
* std.cfg: added support for `std::unordered_set::emplace()`
2023-02-11 10:48:17 +01:00
chrchr-github
0dddba3bd6
Fix cfg for std::xstream::write() ( #4778 )
2023-02-08 08:59:13 +01:00
chrchr-github
d8323c367e
std.cfg: use-retval for container member functions ( #4766 )
2023-02-06 22:03:23 +01:00
Mateusz
7ae7ad60d8
Added cfg information about std::span ( #4762 )
...
* Added cfg information about std::span
* Add tests for span handling
* Add details about functions and tests fo std::span
* Add tests in dangingLifetimeContainerView for span
* Reduce c++ version from 20 to 2a
* Add checking if span is supported in std lib cfg checks
2023-02-05 18:10:08 +01:00
Oliver Stöneberg
fd15811215
de-coupled `--check-library` from `information` severity and other dependencies ( #3861 )
2023-01-26 22:28:04 +01:00
chrchr-github
7945b835e1
Add support for std::string_view::substr() ( #4729 )
2023-01-20 15:46:06 +01:00
chrchr-github
f8f66aeea9
Improve std.cfg: std::addressof(), std::stringstream::str() ( #4710 )
...
* Improve std.cfg: std::addressof(), std::stringstream::str()
* Format
* Add <leak-ignore/>
2023-01-16 22:08:31 +01:00
chrchr-github
48999cf1d1
Add support for std::ofstream::precision() ( #4485 )
...
* Add support for std::copy_n/merge/stable_sort
* Format
* Add support for std::unordered_set::count(), std::push_heap
* Missing include
* Add support for std::iota
* Missing include
* Add support for std::ofstream::precision()
* Typo
* Typo
2022-09-20 17:23:18 +02:00
chrchr-github
2ce25abd81
Add support for std::iota ( #4481 )
...
* Add support for std::copy_n/merge/stable_sort
* Format
* Add support for std::unordered_set::count(), std::push_heap
* Missing include
* Add support for std::iota
* Missing include
2022-09-20 07:30:24 +02:00
chrchr-github
d6aab96734
Add support for std::unordered_set::count(), std::push_heap ( #4469 )
...
* Add support for std::copy_n/merge/stable_sort
* Format
* Add support for std::unordered_set::count(), std::push_heap
* Missing include
2022-09-16 07:12:36 +02:00
chrchr-github
7111270d5f
Add support for std::copy_n/merge/stable_sort ( #4467 )
...
* Add support for std::copy_n/merge/stable_sort
* Format
2022-09-15 19:56:45 +02:00
orbitcowboy
c117f62926
Fixed zerodiv/moduloofone FNs for more math functions
2022-07-09 22:36:17 +02:00
orbitcowboy
8215521843
Fixed zerodiv/moduloofone FNs for more math functions
2022-07-09 19:59:16 +02:00
orbitcowboy
ef47d34e75
Fixed zerodiv/moduloofone FNs for more math functions
2022-07-09 19:21:58 +02:00
orbitcowboy
0282c3a86e
Fixed zerodiv/moduloofone FN for '1/std::expm1(0)'
2022-07-09 17:52:58 +02:00
orbitcowboy
07eeee1620
Fixed zerodiv FN for '1/std::exp2(0)'
2022-07-09 17:47:21 +02:00
orbitcowboy
048d31ec56
Fixed zerodiv FN for '1/std::erfc(42)'
2022-07-09 17:43:17 +02:00
orbitcowboy
87c1e6587a
Fixed zerodiv FN for '1/std::erf(0)'
2022-07-09 17:38:28 +02:00
orbitcowboy
c777cd5060
Fixed zerodiv FN for '1/std::ceil(0)'
2022-07-09 17:32:32 +02:00
orbitcowboy
41b6452604
Fixed zerodiv FN for '1/std::cbrt(0)' and added more test cases for other math functions
2022-07-09 17:28:15 +02:00
orbitcowboy
a8816a2d2f
std.cfg: Improved configuration of some math functions and added more regression tests
2022-07-09 16:32:21 +02:00
orbitcowboy
c2e132b1a3
std.cfg: Improved configuration of asinh().
2022-07-09 16:14:58 +02:00
orbitcowboy
2f41a8dbdd
std.cfg: Improved zerodiv test of math functions and demonstrate that constants from <cmath> can be applied as well.
2022-07-09 10:09:43 +02:00
Paul Fultz II
6b72274c67
Evaluate math library functions in valueflow ( #4255 )
...
* Evaluate math library functions in valueflow
* Format
2022-07-09 07:40:32 +02:00
Paul Fultz II
edebe746bc
Fix 10361: false negative: uninitvar (std::next(iterator)) ( #4256 )
2022-07-09 07:39:04 +02:00
orbitcowboy
67795cdfcf
Fixed FPs from Ticket 11119 - invalidFunctionArgStr with null-terminated strings ( #4164 )
...
* Fixed first FP from #11119 - invalidFunctionArgStr with null-terminated strings
* Fixed second test case from #11119 .
* Fixed another FP, found on daca@home ftp://ftp.de.debian.org/debian/pool/main/g/glhack/glhack_1.2.orig.tar.gz.
* Format
2022-06-02 19:30:29 +02:00
orbitcowboy
63a8eac4d3
std.cfg: Added missing '<strz/>'-flags
2022-06-02 09:23:22 +02:00
orbitcowboy
886b5d1039
Improved invalidFunctionArgStr checking and detect more cases where a NON-null-terminated string is used to call functions, configured with <strz/>.
2022-06-02 01:09:09 +02:00
orbitcowboy
4f410ffb79
library: Improved argument <valid>-interface to defined values that are explicitly excluded. ( #4111 )
...
* library: Improved <valid>-interface to defined values that are explicitly excluded.
* std.cfg: Improved configuration of remainder[fl]().
* Fixed failing self check
* Fixed failing self check
* std.cfg: Added support for std::remquo().
2022-05-14 16:05:18 +02:00
orbitcowboy
e9641e6de5
std.cfg: Attempt to fix failing CI
2022-05-10 23:09:10 +02:00
orbitcowboy
f23111d610
std.cfg: Improved configuration of some <thread.h> (since C11) functions.
2022-05-10 19:21:41 +02:00
orbitcowboy
57e35513b9
std.cfg: Improved testing of std::system()
2022-05-10 13:53:16 +02:00
orbitcowboy
6152e5712a
std.cfg: Improved configuration of std::filebuf::open().
2022-05-10 10:17:27 +02:00
orbitcowboy
1382cd837e
std.cfg: Improved configuration of std::*stream::open().
2022-05-10 10:07:55 +02:00
orbitcowboy
6a3520164a
std.cfg: Improved configuration of std::ifstream::open() and std::ios_base::open().
2022-05-10 09:50:02 +02:00
orbitcowboy
440e8f9c22
std.cfg: Improved configuration of std::ofstream::write(), std::ostringstream::write(), std::ostream::write() and std::fstream().
2022-05-10 09:30:13 +02:00
orbitcowboy
b847882994
std.cfg: Improved configuration of vfwprintf().
2022-05-08 18:15:22 +02:00
orbitcowboy
0db793fc51
std.cfg: Improved configuration of vfprintf()
2022-05-08 18:06:30 +02:00
orbitcowboy
1942bd5679
std.cfg: Improved configuration of fprintf() and added TODO tests for wcsftime() when array count value exceeds bounds.
2022-05-08 18:02:10 +02:00
orbitcowboy
f3ae729f89
std.cfg: Improved configuration of fesetexceptflag() and fetestexcept().
2022-05-05 15:07:06 +02:00
orbitcowboy
0ec2d5f40d
std.cfg: Improved configuration of qsort().
2022-05-02 11:58:31 +02:00
orbitcowboy
6f6ddb99b2
std.cfg: Improved tests for memchr().
2022-05-01 18:09:54 +02:00
orbitcowboy
5db6fc1f54
std.cfg: Improved configuration of localtime_s()
2022-05-01 12:47:13 +02:00
orbitcowboy
53ebb55e1f
std.cfg: Improved configuration of setvbuf().
2022-04-27 10:09:23 +02:00
orbitcowboy
17189e1d6e
std.cfg: Improved configuration of strftime().
2022-04-26 18:03:39 +02:00
orbitcowboy
d1b6954dd8
std.cfg: Improved configuration for wcsrtombs().
2022-04-25 18:25:52 +02:00
orbitcowboy
a75ecbca0e
std.cfg: Improved tests for wcsftime().
2022-04-22 08:29:20 +02:00
orbitcowboy
0560a946a8
std.cfg: Added more tests
2022-04-22 08:00:45 +02:00
orbitcowboy
b315e8a115
std.cfg: Added more tests for wmemmove() and wmemset().
2022-04-22 07:25:27 +02:00
orbitcowboy
1bf7b3b7dd
std.cfg: Added more tests for memcmp(), memcpy() and memmove().
2022-04-21 21:01:38 +02:00