Skip to content

Add a fuzzer test that serialises and deserialises arbitrary typed serde data + fix &[u8] de#462

Merged
juntyr merged 2 commits into
ron-rs:masterfrom
juntyr:arbitrary-fuzz
Jul 6, 2023
Merged

Add a fuzzer test that serialises and deserialises arbitrary typed serde data + fix &[u8] de#462
juntyr merged 2 commits into
ron-rs:masterfrom
juntyr:arbitrary-fuzz

Conversation

@juntyr

@juntyr juntyr commented Jul 2, 2023

Copy link
Copy Markdown
Member

* [ ] I've included my change in CHANGELOG.md

@juntyr

juntyr commented Jul 2, 2023

Copy link
Copy Markdown
Member Author

@manunio I'm trying to integrate a new fuzzer for ron. Does the PR look correct and do I need to anything to get oss-fuzz to run the additional fuzzer target, too?

@juntyr juntyr merged commit 1e9113e into ron-rs:master Jul 6, 2023
@juntyr juntyr deleted the arbitrary-fuzz branch July 6, 2023 16:07
jonathanmetzman pushed a commit to google/oss-fuzz that referenced this pull request Jul 6, 2023
- This pr adds support for additional fuzz targets
- ~Pins rust version for ron-rs/ron#462 (Build
was failing locally with `unknown feature proc_macro_span_shrink`
error)~

cc @juntyr
juntyr added a commit to juntyr/ron that referenced this pull request Aug 15, 2023
…rde data + fix `&[u8]` de (ron-rs#462)

* Add a fuzzer test that serialises and deserialises arbitrary typed serde data + fix &[u8] de

* Fix the byte slice serialising test
juntyr added a commit to juntyr/ron that referenced this pull request Aug 18, 2023
juntyr added a commit to juntyr/ron that referenced this pull request Aug 20, 2023
juntyr added a commit to juntyr/ron that referenced this pull request Aug 20, 2023
juntyr added a commit to juntyr/ron that referenced this pull request Aug 21, 2023
juntyr added a commit to juntyr/ron that referenced this pull request Aug 22, 2023
juntyr added a commit to juntyr/ron that referenced this pull request Aug 23, 2023
juntyr added a commit to juntyr/ron that referenced this pull request Aug 24, 2023
juntyr added a commit to juntyr/ron that referenced this pull request Sep 1, 2023
juntyr added a commit that referenced this pull request Sep 1, 2023
* Switch from base64 to rusty byte strings, deprecate base64 support

* Add the Value::Bytes variant

* Extend Value tests for Value::String and Value::Bytes

* Include byte strings in the RON grammar

* Fix ASCII escape decoding for strings and byte strings

* Fix byte string error display for #462 test

* Fix byte string error test

* Add a CHANGELOG entry

* Added a deprecation error test for v0.10

* Add tests for v0.9 optional base64 byte string support

Co-authored-by: Sebastian Dröge <sebastian@centricular.com>

* Add an example for using base64-encoded bytes with ron

* Fix formatting in README

* Remove outdated extension docs

* Add tests for unescaped and raw byte strings

* Fix fuzzer-found issue with serialising invalid UTF-8 byte strings

* Fix fuzzer found issue with `br#` being parsed as the identifier `br`

* Fix parsing of byte escapes in UTF-8 strings to produce proper Unicode characters

* Fix fuzzer-found interaction with unwrap_variant_newtypes

* Add support for strongly typed byte literals

* Add missing Value serialising tests

* Add test to show that #436 is solved with strongly typed base64 user-side types

* Add more coverage tests

---------

Co-authored-by: Sebastian Dröge <sebastian@centricular.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant