On 26 August 2017 at 01:02, Emilio G. Cota <c...@braap.org> wrote: > An additional "nice to have" would be: > > * Allow inlining of TCG code by the instrumenter. Example use case: > the instrumenter wants to increment a counter every time a > basic block is executed. Instead of calling a callback function on every > block's > execution, we could just have a translation-time callback to emit at the > beginning > of the translated block the counter increment. This would be much faster, > and > is something that all other tools (e.g. DynamoRIO/Pin) implement.
This is a feature I would strongly prefer us not to implement. It exposes too much of QEMU's internals (ie TCG) to the instrumentation, and it would be pretty complicated to use. thanks -- PMM