Hello,
I understand that if I want to change my BB instrumentation, I would have to flush the code cache so the new instrumentation would apply on previously seen BBs.
Does the same requirement hold if I just start my BB instrumentation late? In other words, does DR also run uninstrumented code from the code cache?
My second question, how can I flush the code cache for EVERYTHING in my program at once? Looking at the exmaple uses of dr_Region_flush(_ex) my understanding (which of course may be wrong) is that it can applied to a specific BB, but what if I wanted to do it for everything? The traget app, all modules called from it, etc?