renamed drcontext to ctx
remember which registers were used for instrumentation