35 Commits

Author SHA1 Message Date
Dmitry Arkhipov
3c04cc603a make fuzz_direct_parse build with C++11 2024-10-23 15:43:59 +03:00
Mikhail Khachayants
3f88a33518 direct parsing fuzzing test 2024-10-13 16:22:11 +03:00
Mikhail Khachayants
824cc59b9f extend fuzzing with different parse options 2024-09-01 23:34:59 +03:00
Rene Rivera
18fe2b4f3b make the library modular usable. 2024-08-24 11:40:15 +10:00
Dmitry Arkhipov
bacc644f93 deprecate type aliases 2024-02-09 13:19:49 +03:00
Dmitry Arkhipov
0273148f69 replaced references to cppalliance/json with references to boostorg/json where appropriate 2023-07-17 17:53:33 +03:00
Dmitry Arkhipov
d20a814685 Remove standalone 2022-02-06 17:35:09 +03:00
Dmitry Arkhipov
d8dd4fea68 Run fuzzers from b2 2021-12-27 15:07:11 +03:00
Dmitry Arkhipov
a63c6ff301 b2 feature for standlaone mode 2021-10-04 17:29:28 +03:00
Dmitry Arkhipov
a30b76c51b Remove unnecessary build script code 2021-10-04 17:29:28 +03:00
Dmitry Arkhipov
5b45854bb0 Fix signed integer overflow in exponent parsing 2021-08-20 11:54:38 +03:00
Paul Dreik
3f48a27458 Fix signed integer overflow
Also add fuzzing testcase found by oss-fuzz
2021-08-17 22:16:49 +03:00
Dmitry Arkhipov
445efad9a9 Remove trailing whitespace 2021-06-26 16:17:57 +03:00
Dmitry Arkhipov
dd7c77ded6 GCC 4.8 is supported
close #497
2021-02-09 10:12:06 -08:00
Krystian Stasiowski
0366d4ce64 Add missing include for g++11 2020-10-30 10:50:15 -07:00
Vinnie Falco
6f895a79cc Refactor basic_parser includes
fix #424
2020-10-04 18:30:22 -07:00
Vinnie Falco
9b86962fbc Add metadata and update repo links 2020-10-04 11:06:25 -07:00
Vinnie Falco
d026d5daed Rename to stream_parser 2020-09-26 17:57:00 -07:00
Vinnie Falco
7cb4ad1884 Rename to basic_parser::write_some (API Change)
fix #394

basic_parser::write is now called write_some
2020-09-24 10:39:25 -07:00
Vinnie Falco
a2917e736a null_resource is a singleton 2020-09-16 17:13:21 -07:00
Paul Dreik
e358f6e636 fuzz different memory strategies and reduce buffer size
fix #333, close #347
2020-09-16 09:17:11 -07:00
Krystian Stasiowski
f3d0710e37 Handler specifies structure and string limits 2020-09-09 12:12:50 -07:00
Vinnie Falco
24e8e45690 parser release has a precondition 2020-09-08 17:47:04 -07:00
Vinnie Falco
591e2dc5a5 serializer refactor (API Change):
fix #275

* serialize() replaces to_string()
* serialize.hpp replaces to_string.hpp
* serializer works on all types
* serialize, operator<< work on all types
* reset() takes pointer arguments
* resetting constructor removed
2020-09-07 10:36:26 -07:00
Vinnie Falco
9d441cecec fix fuzzer linking 2020-09-06 16:39:38 -07:00
Krystian Stasiowski
3fae437722 Pass total string size to handlers
fix #266
2020-09-05 16:42:52 -07:00
Paul Dreik
76965e59cc protect against broken tar file from bintray
close #276
2020-09-05 07:28:19 -07:00
Paul Dreik
f3de375ee4 update fuzzer doc, add crashing input 2020-09-04 16:34:43 -07:00
Paul Dreik
fae3b02925 to_string is fuzzed
close #268
2020-09-04 10:22:45 -07:00
Paul Dreik
b2534ab2f5 parse_options is fuzzed 2020-09-04 10:22:41 -07:00
Paul Dreik
559b6a02f9 Add crash data for #221
close #241
2020-09-01 11:38:22 -07:00
Krystian Stasiowski
b94d3c14bd Structure size is passed to handlers 2020-08-27 18:44:44 -07:00
Vinnie Falco
832d1fb517 Refactor parsing interfaces (API change) 2020-08-27 13:48:26 -07:00
Krystian Stasiowski
7e7155de59 parser members don't throw, and tidy:
* parser members do not throw
* parse free functions are in parse.hpp

fix #199. close #201
2020-08-24 16:30:48 -07:00
Paul Dreik
101299c528 add fuzzing in a github action 2020-08-22 06:37:07 -07:00