Vector35 / binaryninja-api

Public API, examples, documentation and issues for Binary Ninja
https://binary.ninja/
MIT License
942 stars 213 forks source link

Search in current function can include results from outside of the funciton if the function ranges are disjoint #6103

Closed xusheng6 closed 2 weeks ago

xusheng6 commented 2 weeks ago

Currently, when the user asks to search in the current function, we actually does the search on the range [lowest_address, highest_address]. This works fine if the function occupies a continuous buffer. However, if the function is scattered, and its range is several disjoint ranges, searching in this way will include results from many areas not belonging to the function.