Skip to content

Instantly share code, notes, and snippets.

@CryZe
Created December 8, 2024 21:02
Show Gist options
  • Select an option

  • Save CryZe/951bc9fa0dc265adbac3d883484e43a0 to your computer and use it in GitHub Desktop.

Select an option

Save CryZe/951bc9fa0dc265adbac3d883484e43a0 to your computer and use it in GitHub Desktop.
Wasmtime GC Heap Out Of Memory Reproduction
(module
(type $u128 (struct (field $high (mut i64)) (field $low (mut i64))))
(type $7 (func))
(memory $0 1)
(export "update" (func $update))
(export "memory" (memory $0))
(func $update
(drop
(struct.new $u128
(i64.const 0)
(i64.const 1)
)
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment