This paper describes dynamic instrumentation – method to instrument binaries by adding small code snippets to existing code fragments. Two main techniques of dynamic instrumentation are described: traditional single-step method and method of displaced execution. To prove effectiveness and safety of displaced execution technique it was implemented as additional module for Dtrace facility to support MIPS32 architecture.
instrumentation, binary code, displaced execution
"Metodы dynamycheskoho ynstrumentyrovanyia koda" ,
Information Processing Systems,