how to decompile bytecode into human readable format
Re: how to decompile bytecode into human readable format
Are you using pybricks? If so, the source code appears to be here: https://github.com/pybricks/pybricks-micropython
Re: how to decompile bytecode into human readable format
Can you provide these compiled mpy to me? jon <at> cunninglogic <dot> com, or explain to me what a lego spike hub is and where I can buy one?MasterOfGizmo wrote: ↑Sun Nov 29, 2020 8:44 pmAny news on this?
The Lego Spike hub runs micropython and the source code doesn't seem to be public. Its default UI comes in form of a mpy and can easily be downloaded from the device. It would be nice to be able to decompile and modify this.
I've got a semi working disassembler done. Hoping to make it stable, then work on a decompiler.
Re: how to decompile bytecode into human readable format
Check this repo.. this is regularly updated and there is some work going on here related to decompiler.
https://github.com/gpdaniels/spike-prime
The following folder contains the file sytem files (mpy) from various versions of the Lego Spike and Lego Mindstorms inventor firmwares..
https://github.com/gpdaniels/spike-prim ... filesystem
The current version of decompiler is here..
https://github.com/gpdaniels/spike-prim ... decompiler
Some conversations on it is here:
https://github.com/gpdaniels/spike-prime/pull/10
Re: how to decompile bytecode into human readable format
Thanks, my decompiler is somewhat reliable now, but im off on another project for the time being, work has me slammedmohankrr wrote: ↑Mon Dec 28, 2020 11:26 pmCheck this repo.. this is regularly updated and there is some work going on here related to decompiler.
https://github.com/gpdaniels/spike-prime
The following folder contains the file sytem files (mpy) from various versions of the Lego Spike and Lego Mindstorms inventor firmwares..
https://github.com/gpdaniels/spike-prim ... filesystem
The current version of decompiler is here..
https://github.com/gpdaniels/spike-prim ... decompiler
Some conversations on it is here:
https://github.com/gpdaniels/spike-prime/pull/10