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.
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.