primstar-cool

Results 10 comments of primstar-cool

the bug of run in Android, I'v got the error "Can't populate more pages for size class 224", seems allocate mem error for too many string

i think the reason is allocating too mush times. a wasm of a unity demo game, will new 14,767,201 times. here is my solution: extends BinaryReaderIR, replace [std::make_unique] refer [AppendExpr],...

with using mem pool(release big buffer at end, and each opCode save some bytes and time for avoiding manage free memory), but it cost more than 1.6g mem, it still...

i'v make a pr, solve the error of ReadBinaryIr when options.skip_function_bodies=true and make a virtual op code, can output original byte code when skip_function_bodies=true. https://github.com/WebAssembly/wabt/pull/2535

A typical wasm size of an Unity game, is about 50-70M with 15,000,000+ Func exprs. in my case, i will load wasm and modify it in phone(android / ios). parse...

load local wasm , and mod or inject sth in byte code. when we inject a new import function, each func-call index will be changed, so make a diff-file is...

does it means that, i impl a new BinaryReaderDelegate? but if i save the decoded Expr, it will cost same mem as BinaryReaderIr (57M wasm file cost 1.6G mem). the...

i think the read option skip_function_bodies is designed for quick analysis other blocks, but i think it should retain the ability to output again. I just enhanced the compatibility of...

in my case, modify wasm in stream is a bit hard for I must add all import function before i scaned the function section, and i need to save lots...

I didn't know what this option was for at first, so i wrapped the feature in a macro, although a simple memcpy will cost only little time in DelegateNop. it...