diff --git a/ropgadget/gadgets.py b/ropgadget/gadgets.py index 5ba21f9..a1346bb 100644 --- a/ropgadget/gadgets.py +++ b/ropgadget/gadgets.py @@ -31,7 +31,7 @@ def __init__(self, binary, options, offset): self.__filterRE = re.compile("({})$".format(re_str)) if re_str else None def __passCleanX86(self, decodes): - br = ["ret", "retf", "int", "sysenter", "jmp", "call", "syscall"] + br = ["ret", "repz ret", "retf", "int", "sysenter", "jmp", "notrack jmp", "call", "notrack call", "syscall"] if decodes[-1][2] not in br: return True diff --git a/test-suite-binaries/ref_output.bz2 b/test-suite-binaries/ref_output.bz2 index 33055a7..568c892 100644 Binary files a/test-suite-binaries/ref_output.bz2 and b/test-suite-binaries/ref_output.bz2 differ