View Issue Details

IDProjectCategoryView StatusLast Update
0000667fileGeneralpublic2025-06-08 15:37
Reportermh4ckt3mh4ckt1c4s Assigned Tochristos  
PrioritylowSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Fixed in VersionHEAD 
Summary0000667: Add support for WebAssembly components
DescriptionWebAssembly components are using the Wasm magic with version 0x1000d. Add info for Wasm components (patch and test files attached)
TagsNo tags attached.

Activities

mh4ckt3mh4ckt1c4s

2025-06-07 14:42

reporter  

wasm-component.patch (550 bytes)   
diff --git a/magic/Magdir/webassembly b/magic/Magdir/webassembly
index 469b45e2..6c0845ee 100644
--- a/magic/Magdir/webassembly
+++ b/magic/Magdir/webassembly
@@ -10,8 +10,9 @@
 # document describing the binary format.
 # From: Pip Cet <pipcet@gmail.com> and Joel Martin
 
-0	string	\0asm	WebAssembly (wasm) binary module
->4	lelong	=1	version %#x (MVP)
+0	string	\0asm	WebAssembly (wasm) binary
+>4	lelong	>0	version %#x
+>4	lelong	=1	(MVP module)
+>4  lelong  =0x1000d  (component)
 !:mime  application/wasm
 !:ext   wasm
->4	lelong	>1	version %#x
wasm-component.patch (550 bytes)   
mvp.wasm (98,515 bytes)
component.wasm (260,972 bytes)

christos

2025-06-08 15:37

manager   ~0004261

Added, thanks

Issue History

Date Modified Username Field Change
2025-06-07 14:42 mh4ckt3mh4ckt1c4s New Issue
2025-06-07 14:42 mh4ckt3mh4ckt1c4s File Added: wasm-component.patch
2025-06-07 14:42 mh4ckt3mh4ckt1c4s File Added: mvp.wasm
2025-06-07 14:42 mh4ckt3mh4ckt1c4s File Added: component.wasm
2025-06-08 15:37 christos Assigned To => christos
2025-06-08 15:37 christos Status new => assigned
2025-06-08 15:37 christos Status assigned => resolved
2025-06-08 15:37 christos Resolution open => fixed
2025-06-08 15:37 christos Fixed in Version => HEAD
2025-06-08 15:37 christos Note Added: 0004261