A dynamic binary instrumentation framework for ARM