Skip to content

Instantly share code, notes, and snippets.

@mtabz
Last active April 9, 2019 07:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtabz/d8d0bd2a4c430fdb49d5af5b6e5b016f to your computer and use it in GitHub Desktop.
Save mtabz/d8d0bd2a4c430fdb49d5af5b6e5b016f to your computer and use it in GitHub Desktop.
(module
(type (;0;) (func (param i32 i64)))
(type (;1;) (func (result i32)))
(type (;2;) (func (param i32 i32) (result i32)))
(type (;3;) (func (param i32 i32)))
(type (;4;) (func (param i32 i32 i32) (result i32)))
(type (;5;) (func (param i64)))
(type (;6;) (func (param i32)))
(type (;7;) (func))
(type (;8;) (func (param i64 i64 i64)))
(type (;9;) (func (param i64 i64 i32) (result i32)))
(type (;10;) (func (param i32) (result i32)))
(import "env" "action_data_size" (func (;0;) (type 1)))
(import "env" "read_action_data" (func (;1;) (type 2)))
(import "env" "eosio_assert" (func (;2;) (type 3)))
(import "env" "memcpy" (func (;3;) (type 4)))
(import "env" "require_auth" (func (;4;) (type 5)))
(import "env" "prints" (func (;5;) (type 6)))
(import "env" "printn" (func (;6;) (type 5)))
(import "env" "set_blockchain_parameters_packed" (func (;7;) (type 3)))
(import "env" "get_blockchain_parameters_packed" (func (;8;) (type 2)))
(import "env" "memset" (func (;9;) (type 4)))
(table (;0;) 2 2 anyfunc)
(memory (;0;) 1)
(global (;0;) (mut i32) (i32.const 8192))
(global (;1;) i32 (i32.const 16700))
(global (;2;) i32 (i32.const 16700))
(export "memory" (memory 0))
(export "__heap_base" (global 1))
(export "__data_end" (global 2))
(export "apply" (func 11))
(elem (i32.const 1) 12)
(data (i32.const 8192) "Hello, \00")
(data (i32.const 8202) "read\00malloc_from_freed was designed to only be called after _heap was completely allocated\00"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment