[fuzzer] Adds code generation target. (#8795)

* adds code generation fuzzer target.

* add buffer verification

* add table verification in codegen fuzzer

---------

Co-authored-by: Björn Harrtell <bjornharrtell@users.noreply.github.com>
This commit is contained in:
coder7695
2025-11-27 16:52:28 +01:00
committed by GitHub
parent 84f4b83d3e
commit 2b107e20c5
13 changed files with 495 additions and 10 deletions

View File

@@ -0,0 +1,24 @@
namespace Example;
enum Status:byte { Active, Inactive, Pending }
struct Point {
x:int;
y:int;
}
table User {
id:uint;
name:string;
points:[Point];
status:Status = Active;
metadata:[string];
}
table Group {
name:string;
users:[User];
leader:User;
}
root_type Group;