diff --git a/capa/features/extractors/ida/helpers.py b/capa/features/extractors/ida/helpers.py index 1abc45a58..93cfd5a83 100644 --- a/capa/features/extractors/ida/helpers.py +++ b/capa/features/extractors/ida/helpers.py @@ -34,7 +34,7 @@ def find_byte_sequence(start: int, end: int, seq: bytes) -> Iterator[int]: err = ida_bytes.parse_binpat_str(patterns, 0, seqstr, 16, encoding) if not err: - while True: + while True: ea = ida_bytes.bin_search(start, end, patterns, ida_bytes.BIN_SEARCH_FORWARD) if ea == idaapi.BADADDR: break