pyevmasm
pyevmasm copied to clipboard
Add an option to make disassembly more forgiving
trafficstars
For consideration...
Added "silent" to disassemble_one, disassemble_all, disassemble so it returns an INVALID when undefined opcode or a zero completed operand when no more data in bytecode.
(Also it adds a copy.copy there. May be a bug not to do it because several disassemblies? will be using the same Instruction instance? )