Without rebuilding the DynamoRIO core, is there a way for a client to tell DR about instructions that should be treated as branches?
The situation is that the block instrumentation callback gets a block which has some instruction, classified as say OP_xx, OP_sys, OP_nop or similar, and the client wants to tell DR this is a branch, and how to calculate the target.
Ideally, there would be some way of adding a pre-decoding step so that DR would know on first encountering the block, that this instruction terminates it, and not even attempt to decode any more following instructions before calling the instrumentation callback.