"Fossies" - the Fresh Open Source Software Archive

Member "file-5.35/magic/Magdir/webassembly" (8 May 2017, 631 Bytes) of package /linux/misc/file-5.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #------------------------------------------------------------------------------
    2 # $File: webassembly,v 1.2 2017/05/02 14:05:29 christos Exp $
    3 # webassembly:  file(1) magic for WebAssembly modules
    4 #
    5 # WebAssembly is a virtual architecture developed by a W3C Community
    6 # Group at http://webassembly.org/. The file extension is .wasm, and
    7 # the MIME type is application/wasm.
    8 #
    9 # http://webassembly.org/docs/binary-encoding/ is the main
   10 # document describing the binary format.
   11 # From: Pip Cet <pipcet@gmail.com> and Joel Martin
   12 
   13 0	string	\0asm	WebAssembly (wasm) binary module
   14 >4	lelong	=1	version %#x (MVP)
   15 >4	lelong	>1	version %#x