webassembly 671 B

1234567891011121314151617
  1. #------------------------------------------------------------------------------
  2. # $File: webassembly,v 1.4 2022/08/16 11:16:39 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 https://webassembly.org/. The file extension is .wasm, and
  7. # the MIME type is application/wasm.
  8. #
  9. # https://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. 0 string \0asm WebAssembly (wasm) binary module
  13. >4 lelong =1 version %#x (MVP)
  14. !:mime application/wasm
  15. !:ext wasm
  16. >4 lelong >1 version %#x