cxxopts/test
ololuki e84ab5f67c
Fix overflow error in integer_parser. (#417)
Fixes #290.
Checking for overflow should be done before integer overflows.
There are two checks:
(result > limit / base) is used for limits greater than rounded up to base,
e.g. for 65535 it will activate for 65540 and higher.
(result * base > limit - digit) is used for limit+1 to limit+n below
next base rounded number, e.g. 65536 up to 65539.
2024-02-01 16:51:32 +11:00
..
add-subdirectory-test Cmake overhaul (#53) 2017-06-23 18:38:42 +10:00
find-package-test Cmake overhaul (#53) 2017-06-23 18:38:42 +10:00
.gitignore ignore built files 2016-08-26 08:26:42 +10:00
.tipiignore Added instructions to use cxxopts with tipi to INSTALL (#325) 2022-03-22 22:01:25 +11:00
catch.hpp Update catch2 to latest 2.x 2024-01-15 21:04:41 +11:00
CMakeLists.txt feat(fuzzer): Adds fuzz tests (#386) 2023-02-06 07:30:51 +11:00
fuzz.cpp feat(fuzzer): Adds fuzz tests (#386) 2023-02-06 07:30:51 +11:00
link_a.cpp Cleanup uses of inline 2017-10-18 08:07:10 +11:00
link_b.cpp Cleanup uses of inline 2017-10-18 08:07:10 +11:00
main.cpp missing file 2017-05-31 17:57:27 +10:00
options.cpp Fix overflow error in integer_parser. (#417) 2024-02-01 16:51:32 +11:00