/* CTF 1.8 */ typealias integer { size = 8; align = 8; signed = false; base = 10; } := uint8_t; typealias integer { size = 32; align = 8; signed = false; base = hex; } := uint32_t; trace { major = 0; minor = 1; uuid = "2a6422d0-6cee-11e0-8c08-cb07d7b3a564"; byte_order = le; packet.header := struct { uint32_t magic; uint8_t uuid[16]; }; }; event { name = test; fields := struct { enum : uint8_t { sel1 = 0, sel2 = 1, sel3 = 2, } selector; variant { /* missing sel1 */ uint32_t sel2; uint32_t sel3; } v; }; };