Open psifertex opened 4 years ago
Suppose we can predict branches. What do you have in mind that we do with this information?
It would sure look cool to highlight the edge and next node in the graph view.
Existing debuggers annotate this info in the text to the side of the disassembly quite frequently. I like the idea of highlighting edges better and potentially describing in the annotation"branch taken"
Related: should have the ability to change whether it will be taken or not (could implement by inverting the branch long which we already support or changing the flag register bit
I will love this feature!
This is not trivial to implement, but it is very useful so I added it to the 3.3 milestone
Might first display the info in the UI widget conceived in https://github.com/Vector35/debugger/issues/406.
To actually highlight the branch, some changes from the BN are needed as well
This is partially addressed in https://github.com/Vector35/debugger/issues/406 since the info widget now prints the predication of the taken branch.
see subject