You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The translateOpcodes30 function of the sfs_generator/ir_block.py file aims to translate opcodes into list of instructions for further optimization
However, the instructions partially mismatch the opcodes
CODECOPY opcode produces calldatacopy instruction
This inconsistency might lead to incorrect optimizations or wrong code generation, however, I have not found such issues due to correct opcode saved in NOP virtual instruction is used in code generation instead of parsing the instruction
EXTCODEHASH, EXTCODESIZE, CALLDATALOAD opcodes produce instructions without or with invalid parameters
I haven't found specific issues which the inconsistent parameters cause
The
translateOpcodes30
function of thesfs_generator/ir_block.py
file aims to translate opcodes into list of instructions for further optimizationHowever, the instructions partially mismatch the opcodes
CODECOPY
opcode producescalldatacopy
instructionThis inconsistency might lead to incorrect optimizations or wrong code generation, however, I have not found such issues due to correct opcode saved in
NOP
virtual instruction is used in code generation instead of parsing the instructionEXTCODEHASH
,EXTCODESIZE
,CALLDATALOAD
opcodes produce instructions without or with invalid parametersI haven't found specific issues which the inconsistent parameters cause
To resolve this, I suggest to implement the following change
The text was updated successfully, but these errors were encountered: