binaryninja-api
binaryninja-api copied to clipboard
Search returns 0 results unless searching within the specific function for large binary
Version and Platform (required):
- Binary Ninja Version: 5.0.7486
- Edition: Commercial / Ultimate
- OS: Ubuntu Linux
- OS Version: 22.04
- CPU Architecture: x64 or M1
Bug Description:
Searching doesn't work, perhaps over large ranges. In the bndb linked below, I'm searching for __pcmpeqb_xmmdq_memdq in sub_2899e20 using Text with the Search range: All it fails with 0 results. If I do the exact same search but with the Search range: Current function it finds everything just fine. If I switch the search range to Custom range but keep the current function range, I get 0 results.
Steps To Reproduce:
- Download and decompress the bndb
- Go to function
sub_2899e20 - Observe
__pcmpeqb_xmmdq_memdqis in the function text - Search for
__pcmpeqb_xmmdq_memdq(or anything) globally.
Expected Behavior: Search results appear, slowly, because it has to scan over a gazillion files.
Screenshots/Video Recording: N/A
Binary: If applicable, please provide us with the binary to help us work with the issue faster. Here are a few options:
Original binary: gentle cloud runs easily (obsidian for linux)
BNDB: https://drive.google.com/file/d/16JJT4DBIn9g5jic5eevaqaVnQqxX6QCG/view?usp=sharing It's on google because every time I uploaded to y'all, the upload would fail and the site would return 502 for a while and then 503. 🤷
Additional Information: I don't seem to have this problem for smaller binaries.
If I use a custom range for just that function it does appear to be working for me, is that not what you're seeing?
This might be caused by https://github.com/Vector35/binaryninja-api/issues/6144, but I am not sure. @CalebFenton did you search in HLIL or disassembly, or other ILs?
I also cannot reproduce this