]> granicus.if.org Git - file/commitdiff
more info about ctf.
authorChristos Zoulas <christos@zoulas.com>
Sat, 7 Sep 2013 08:59:37 +0000 (08:59 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sat, 7 Sep 2013 08:59:37 +0000 (08:59 +0000)
magic/Magdir/ctf

index 1848422ddde6f8af429764ce6f86c829f0a59f97..37fdd1b60d2396af809318e142608af547d46784 100644 (file)
@@ -9,10 +9,15 @@
 0      lelong  0xc1fc1fc1      Common Trace Format (CTF) trace data (LE)
 0      belong  0xc1fc1fc1      Common Trace Format (CTF) trace data (BE)
 
-# CTF metadata
-0      lelong  0x75d11d57      Common Trace Format (CTF) metadata (LE)
+# CTF metadata (packetized)
+0      lelong  0x75d11d57      Common Trace Format (CTF) packetized metadata (LE)
 >35    byte    x               \b, v%d
 >36    byte    x               \b.%d
-0      belong  0x75d11d57      Common Trace Format (CTF) metadata (BE)
+0      belong  0x75d11d57      Common Trace Format (CTF) packetized metadata (BE)
 >35    byte    x               \b, v%d
 >36    byte    x               \b.%d
+
+# CTF metadata (plain text)
+0      string  /*\x20CTF\x20   Common Trace Format (CTF) plain text metadata
+!:strength + 5                 # this is to make sure we beat C
+>&0    regex   [0-9]+\.[0-9]+  \b, v%s