flatbuffers/tests/swift
carrerasdarren-cell 5761d6e67a
[Swift] Verify size-prefixed roots from reader position (#9196)
* [Swift] Verify size-prefixed roots from reader position

Validate the size prefix before advancing ByteBuffer.reader, then use the active reader position consistently for root, file identifier, and returned-object verification. Cover malformed decoy roots, oversized prefixes, short identifiers, and valid prefixed identifiers.

* Use wrapping arithmetic in Swift verifier

---------

Co-authored-by: Darren Carreras <283775510+carrerasdarren-cell@users.noreply.github.com>
2026-08-11 21:49:44 +02:00
..
fuzzer
Tests [Swift] Verify size-prefixed roots from reader position (#9196) 2026-08-11 21:49:44 +02:00
Wasm.tests [Swift] Migrate to use Swift Testing (#9076) 2026-05-07 21:49:41 -04:00