Skip to content

Commit

Permalink
rename bin_search function
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-tz committed Oct 9, 2024
1 parent 6a12ab8 commit 22368fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capa/features/extractors/ida/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def find_byte_sequence(start: int, end: int, seq: bytes) -> Iterator[int]:
return

while True:
ea, _ = ida_bytes.bin_search3(start, end, patterns, ida_bytes.BIN_SEARCH_FORWARD)
ea, _ = ida_bytes.bin_search(start, end, patterns, ida_bytes.BIN_SEARCH_FORWARD)
if ea == idaapi.BADADDR:
break
start = ea + 1
Expand Down

1 comment on commit 22368fb

@maskelihileci
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I knew it was an error but I had to look up which file it was in. Thanks for saving me time, man.

Please sign in to comment.