Skip to content

Instantly share code, notes, and snippets.

@tlively
Last active April 14, 2019 06:40
Show Gist options
  • Save tlively/4bc2a727cb956bc474b85d97edd9a9b6 to your computer and use it in GitHub Desktop.
Save tlively/4bc2a727cb956bc474b85d97edd9a9b6 to your computer and use it in GitHub Desktop.
binaryen #2008 reduced
(module
(type $0 (func (param i32 i32 i32 i32) (result i32)))
(import "env" "memory" (memory $1 16384))
(import "env" "table" (table $timport$2 176438 176438 funcref))
(import "env" "tableBase" (global $gimport$0 i32))
(func $0 (; 0 ;) (type $0) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
(block $label$1
(block $label$2
(block $label$3
(br_table $label$2 $label$2 $label$2
(local.get $2)
)
)
(if
(i32.and
(i32.load16_s offset=193 align=1
(local.tee $0
(i32.load
(i32.const 3702092)
)
)
)
(i32.const 256)
)
(nop)
)
(local.set $0
(i32.const 0)
)
(unreachable)
)
(local.set $0
(i32.const 0)
)
)
(local.get $0)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment