oob float
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 17 Nov 2013 18:30:33 +0000 (13:30 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 17 Nov 2013 18:30:33 +0000 (13:30 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/1.8/regression/stream/fail/out-of-bound-float/dummystream [new file with mode: 0644]
tests/1.8/regression/stream/fail/out-of-bound-float/metadata [new file with mode: 0644]

diff --git a/tests/1.8/regression/stream/fail/out-of-bound-float/dummystream b/tests/1.8/regression/stream/fail/out-of-bound-float/dummystream
new file mode 100644 (file)
index 0000000..5ea947a
--- /dev/null
@@ -0,0 +1 @@
\1füÁ*d"Ðlî\11à\8c\bË\a׳¥dB
\ No newline at end of file
diff --git a/tests/1.8/regression/stream/fail/out-of-bound-float/metadata b/tests/1.8/regression/stream/fail/out-of-bound-float/metadata
new file mode 100644 (file)
index 0000000..4af47a3
--- /dev/null
@@ -0,0 +1,20 @@
+/* CTF 1.8 */
+typealias integer { size = 8; align = 8; signed = false; base = 10; } := uint8_t;
+typealias integer { size = 32; align = 32; signed = false; base = hex; } := uint32_t;
+typealias floating_point { exp_dig = 8; mant_dig = 24; align = 32; } := float;
+
+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 = evname;
+       fields := struct { float blah; };
+};
This page took 0.024355 seconds and 4 git commands to generate.