Legacy search commands refactoring
Tracking issue for the search commands still using legacy search code.
- [ ]
/aanalysis search. Waiting for RzArch and new analysis loop. - [ ]
/ccCollision search. Needs rewrite. Multithreaded/GPU support? - [ ]
/pPatterns search. Needs to be defined properly, then a rewrite. https://github.com/rizinorg/rizin/issues/5245 - [ ]
/dSearch delta key. What is this? - [ ]
/f/Forward search. Should be removed. - [ ]
/dNo description. Should be removed. - [ ]
/+Construct the string with chunks. Splits string into chunks and searches it. If no match, split and search again.
Didn't find any test or documentation for /d - remove, same with /f/.
As for chunks, it splits the string into multiple chunks, so it could be reused e.g. in the ROP chain, if the whole string is not avaiable in the binary. Sometimes it might be helpful. But kinda rare. Or it can detect if the code forms the string on the fly. It splits the string into chunks of N length, if not found - further to chunks with N-1 length, and so on recursively.
As for chunks, it splits the string into multiple chunks, so it could be reused e.g. in the ROP chain, if the whole string is not avaiable in the binary. Sometimes it might be helpful. But kinda rare. Or it can detect if the code forms the string on the fly. It splits the string into chunks of N length, if not found - further to chunks with N-1 length, and so on recursively.
Updated the description. Seems like a special case of /z. Think we can add it there.