Skip to content

[Rust] Allow verification of buffers from specified table #8575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 22 commits into
base: master
Choose a base branch
from

Conversation

Muon
Copy link

@Muon Muon commented Apr 9, 2025

This PR adds an extra field to VerifierOptions, allowing the caller to specify the name of the table to use as the root for verification.

Muon added 19 commits March 4, 2025 13:36
This PR fixes several bugs and adds support for missing features to the flatbuffers and flatbuffers_reflection crates.

* fixes google#8550
* fixes google#8548
* adds reflection support for vectors of values of unknown type
* adds verification support for vectors of unions
* makes the unsafe get_field_* functions infallible as their success is implied by the unsafe precondition
* adds the unsafe function Vector::cast() for casting between vector types
* exposes get_type_size()
* adds Struct::bytes() to get a slice to a byte buffer which starts with the struct value
@github-actions github-actions bot added the rust label Apr 9, 2025
@Muon Muon force-pushed the verify-custom-table branch from fd8c962 to 47aca46 Compare April 10, 2025 01:54
[Rust] Allow verification of buffers from specified table
@Muon Muon force-pushed the verify-custom-table branch 4 times, most recently from 2d91dc1 to 60d6e9e Compare April 16, 2025 06:25
@Muon Muon force-pushed the verify-custom-table branch from 60d6e9e to d6feb3f Compare April 16, 2025 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants