iamahuman a54dbe914b Support r2core.js for Emscripten >=v1.37.24 (#12502)
* Support r2core.js for Emscripten >=v1.37.24

cwrap needs to be exported explicitly via EXTRA_EXPORTED_RUNTIME_METHODS
+ allocate larger memory, allow for growth and no aborting malloc

* wasm_asm was wrongly also included in anal.wasm

This causes link errors where duplicate symbols aren't allowed.

* supply wasm plugin to suppress meta arch warning

r2 core initializes itself for the current architecture until one is
explicitly specified (e.g. loading a binary).  Since asm.wasm and
arch.wasm isn't supplied by default, r2 when built for WebAssembly
emits some ugly warnings when loading.  Besides, those modules
(incl. bin.wasm) aren't that large.

* r2core: Make it possible to know when init is done
2018-12-17 11:55:44 +01:00
..
2018-10-26 13:21:12 +02:00
2017-01-13 12:49:42 +01:00
2018-12-05 12:26:00 +01:00
2018-12-12 12:22:36 +01:00
2018-11-14 13:12:34 +01:00
2018-07-09 16:58:38 +02:00
2017-03-13 14:24:53 +01:00
2018-10-22 19:57:45 +02:00