pyevmasm
pyevmasm copied to clipboard
Ethereum Virtual Machine (EVM) disassembler and assembler
### pyvmasm version 0.2.3 ### Python version 3.7 ### Summary of the problem In the source code of pyevmasm installed by pip, the pop number of CREATE2 is 3 which...
Currently, [metadata](https://docs.soliditylang.org/en/latest/metadata.html#encoding-of-the-metadata-hash-in-the-bytecode) appended to the EVM binary by the compiler is treated as part of the program. This creates confusion because the bytes of the metadata should not be interpreted...
I would like to use this little tool to do some easy assembling in my project but found that this does not support label syntax, such as: ``` ... some_label:...
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...
…mbling with offsets
Tiny chnage to have `reads_from_memory` return `True` for SHA3 instructions. (SHA3's operands from the stack are memory addresses)
### pyvmasm version 0.2.0 ### Python version 3.7.4 ### Summary of the problem I have bytecode for which I have access to the original source code. My goal is to...
It would be helpful to have an escape sequence for comments (e.g. `\\`, `#` or `%`) that are simply ignored during assembly.
This exceptions seem to be unused (from a quick look) https://github.com/trailofbits/pyevmasm/blob/dac28d8ec1d2fb9fb02381ab67b67cc134ecdb95/pyevmasm/evmasm.py#L35-L48