KKimj / PerformanceFuzzer

PerformanceFuzzer
https://pypi.org/project/PerformanceFuzzer/
GNU General Public License v3.0
2 stars 0 forks source link

error: expected instruction opcode } #4

Closed KKimj closed 3 years ago

KKimj commented 3 years ago

image

KKimj commented 3 years ago

image

ret 이후에 코드가 존재해서 발생하는 문제이다.

KKimj commented 3 years ago

아래 코드를 추가하였다.

            if insert_flag and line.strip().startswith("ret"):
                insert_flag = False

            if insert_flag and line.strip().startswith("br"):
                insert_flag = False

image