作者: Bryan Buck , Jeffrey K. Hollingsworth
DOI: 10.1177/109434200001400404
关键词:
摘要: The authors present a postcompiler program manipulation tool called Dyninst, which provides C++ class library for instrumentation. Using this library, it is possible to instrument and modify application programs during execution. A unique feature of that permits machine-independent binary instrumentation be written. describe the interface sees when using library. They also discuss three simple tools built interface: utility count number times function called, capture output an already running file, implementation conditional breakpoints. For breakpoint example, show by their compared with gdb, they are able execute breakpoints up 900 faster.