diff --git a/capa/features/extractors/ida/helpers.py b/capa/features/extractors/ida/helpers.py index 97b52f9e4..a833aa933 100644 --- a/capa/features/extractors/ida/helpers.py +++ b/capa/features/extractors/ida/helpers.py @@ -21,6 +21,7 @@ IDA_BYTES_PATTERNS = ida_bytes.compiled_binpat_vec_t() IDA_NALT_ENCODING = ida_nalt.get_default_encoding_idx(ida_nalt.BPU_1B) # use one byte-per-character encoding + def find_byte_sequence(start: int, end: int, seq: bytes) -> Iterator[int]: """yield all ea of a given byte sequence