1 typealias integer { size = 8; align = 8; signed = false; base = hex; } := uint8_t;
2 typealias integer { size = 32; align = 8; signed = false; base = hex; } := uint32_t;
8 uuid = "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa";
9 packet.header := struct {
19 enum select : uint8_t { small = 0, big = 1 };
22 event.header := struct {
31 * TODO: Only an identifier is expected in the variant/sequence
32 * tag. It should be a dotted expression (a path).
35 variant var <stream.event.header.a> b;
39 * The path lookup only allows lookup for a full path starting
40 * from the root or for a field within the current scope. The
41 * CTF spec allows defining a relative sub-scope for a preceding
47 variant var2 <str2.sel2> b;
50 * TODO: Deal with path name lookup conflict, e.g. if a field is
51 * named "stream", it conflicts with the stream dynamic scope.
52 * Local fields hide dynamic scopes.
57 variant var3 <stream.sel3> c;
58 /* But now the following lookup should fail: */
59 /* variant var4 <stream.event.header.a> d; */
62 * TODO: support conflict-free local-scoped tags, starting with
65 variant var5 <.stream.sel3> e;