]> granicus.if.org Git - file/commitdiff
Add webassembly
authorChristos Zoulas <christos@zoulas.com>
Sun, 12 Mar 2017 22:57:44 +0000 (22:57 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sun, 12 Mar 2017 22:57:44 +0000 (22:57 +0000)
magic/Magdir/webassembly [new file with mode: 0644]
magic/Makefile.am

diff --git a/magic/Magdir/webassembly b/magic/Magdir/webassembly
new file mode 100644 (file)
index 0000000..4284efb
--- /dev/null
@@ -0,0 +1,14 @@
+#------------------------------------------------------------------------------
+# $File: webassembly,v 1.1 2017/03/12 22:57:44 christos Exp $
+# webassembly:  file(1) magic for WebAssembly modules
+#
+# WebAssembly is a virtual architecture developed by a W3C Community
+# Group at http://webassembly.org/. The file extension is .wasm, and
+# the MIME type is application/wasm.
+#
+# http://webassembly.org/docs/binary-encoding/ is the main
+# document describing the binary format.
+# From: Pip Cet <pipcet@gmail.com>
+
+0     lelong     0x6d736100  WebAssembly module
+>4    lelong     x           \b, version %d
index a756d459bb0aeae61627a7e8da771ed334169743..e39ebeaa910b113dc57bbe694d8fe3c772eea6ca 100644 (file)
@@ -1,5 +1,5 @@
 #
-# $File: Makefile.am,v 1.121 2016/10/30 00:38:01 christos Exp $
+# $File: Makefile.am,v 1.123 2017/03/12 22:57:44 christos Exp $
 #
 MAGIC_FRAGMENT_BASE = Magdir
 MAGIC_DIR = $(top_srcdir)/magic
@@ -276,6 +276,7 @@ $(MAGIC_FRAGMENT_DIR)/vorbis \
 $(MAGIC_FRAGMENT_DIR)/vxl \
 $(MAGIC_FRAGMENT_DIR)/warc \
 $(MAGIC_FRAGMENT_DIR)/weak \
+$(MAGIC_FRAGMENT_DIR)/webassembly \
 $(MAGIC_FRAGMENT_DIR)/windows \
 $(MAGIC_FRAGMENT_DIR)/wireless \
 $(MAGIC_FRAGMENT_DIR)/wordprocessors \