I'm working on an RE project and had an idea for a tool that would help me greatly and wanted to see if it already exists.
I'd like to find a specific part of code in the binary. Searching for strings, etc is not helping much. So, I had the thought, what if I could run the program twice, once I would have the program do the thing that corresponds to the code I'm looking for, and the second time I would not perform that action.
If I had a trace of say basic blocks executed during both runs, I might be able to do a "diff" and use that to narrow down where the functionality lies in the binary.
Does such a tool already exist, or is there a better way to narrow down the part of code executing.