My pickle arsenal
crafter.py
: hand assemblerunpickler.py
: custom unpickler to trace information such as- opcode
- stack
- new elements in the memo
Tested in Python 3.11.8
python -m pip install git+https://github.com/Xornet-Euphoria/pickaxe
See examples
- add tests (especially custom unpickler)
- examples
- solution of CTF challenges
- size optimization (Run Length Encoding (ja))
crafter.Crafter
is just an assembler. If you want to compile a source code of Python to Pickle, you can use Pickola (by splitline).