You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2025/07/01 18:00:01 UTC
[I] [Variant] Add testing for invalid variants (fuzz testing??) [arrow-rs]
alamb opened a new issue, #7842:
URL: https://github.com/apache/arrow-rs/issues/7842
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
- @scovich added some great changes in https://github.com/apache/arrow-rs/pull/7807 to improve the validation APIs in variant.
However, we don't really have much coverage of the validation code (specifically validation on input errors).
**Describe the solution you'd like**
I would like additional coverage of the variant error cases
**Describe alternatives you've considered**
I do think trying to cook up examples of all possible malformed variants is probably not a great use of time, but writing a fuzz tester might be
> Maybe we could create a fuzz tester that created a random variant using the builder, and then randomly changed a few bytes around. -- Then if validation succeeded we would walk over the entire variant and verify that the infallable APIs didn't panic
I think fuzzing would help a lot, especially with AFL
_Originally posted by @friendlymatthew in https://github.com/apache/arrow-rs/issues/7807#issuecomment-3023810475_
**Additional context**
<!--
Add any other context or screenshots about the feature request here.
-->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Variant] Add testing for invalid variants (fuzz testing??) [arrow-rs]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #7842: [Variant] Add testing for invalid variants (fuzz testing??)
URL: https://github.com/apache/arrow-rs/issues/7842
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Variant] Add testing for invalid variants (fuzz testing??) [arrow-rs]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #7842:
URL: https://github.com/apache/arrow-rs/issues/7842#issuecomment-3130012060
`label_issue.py` automatically added labels {'parquet'} from #7807
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org