xref: /freebsd/contrib/file/magic/Magdir/webassembly (revision a2dfb7224ec9933ee804cae54d51848dce938b6b)
140427ccaSGordon Tetlow#------------------------------------------------------------------------------
2*a2dfb722SXin LI# $File: webassembly,v 1.4 2022/08/16 11:16:39 christos Exp $
340427ccaSGordon Tetlow# webassembly:  file(1) magic for WebAssembly modules
440427ccaSGordon Tetlow#
540427ccaSGordon Tetlow# WebAssembly is a virtual architecture developed by a W3C Community
648c779cdSXin LI# Group at https://webassembly.org/. The file extension is .wasm, and
740427ccaSGordon Tetlow# the MIME type is application/wasm.
840427ccaSGordon Tetlow#
948c779cdSXin LI# https://webassembly.org/docs/binary-encoding/ is the main
1040427ccaSGordon Tetlow# document describing the binary format.
1140427ccaSGordon Tetlow# From: Pip Cet <pipcet@gmail.com> and Joel Martin
1240427ccaSGordon Tetlow
1340427ccaSGordon Tetlow0	string	\0asm	WebAssembly (wasm) binary module
1440427ccaSGordon Tetlow>4	lelong	=1	version %#x (MVP)
15*a2dfb722SXin LI!:mime  application/wasm
16*a2dfb722SXin LI!:ext   wasm
1740427ccaSGordon Tetlow>4	lelong	>1	version %#x
18