Svenskithesource/PyArmor-Unpacker

Leaving extended arguments behind with absolute jumps

Svenskithesource opened this issue · 0 comments

When we edited all the indexes for absolute jumps because of the header that was removed we handled extended arguments. One issue is that we leave the previous extended arguments behind, which causes there to be 2x the amount of extended arguments that we need. If the program is not big enough it will jump to an index higher than the length of the bytecode thus causing an error.