minivm icon indicating copy to clipboard operation
minivm copied to clipboard

Bytecode Validator

Open CPunch opened this issue 2 years ago • 1 comments

Any plans to add a validator for bytecode dumps? right now, if bytecode is loaded without a trailing NULL byte the vm will crash.

CPunch avatar Jan 11 '22 23:01 CPunch

MiniVM bytecode is not null terminated. MiniVM bytecode has an opcode 0 that kills the vm tho. Validation would be a good idea. It is going to be done eventually.

ShawSumma avatar Jan 12 '22 13:01 ShawSumma

Some Major Pivots since then have made MiniVM not accept the same bytecode format.

MiniVM is now just a Lua runtime, but a fast modular one, with the possibility of new frontends and backends.

I'll close this for now as it seems irrelevant to MiniVM these days.

ShawSumma avatar May 13 '24 11:05 ShawSumma