It is easy to derive new tools using the examples as a template. Pin includes the source code for a large number of example instrumentation tools like basic block profilers, cache simulators, instruction trace generators, etc. Limited access to symbol and debug information is available as well. Pin automatically saves and restores the registers that are overwritten by the injected code so the application continues to work. Pin provides a rich API that abstracts away the underlying instruction set idiosyncracies and allows context information such as register contents to be passed to the injected code as parameters. This also makes it possible to attach Pin to an already running process. The code is added dynamically while the executable is running. Pin allows a tool to insert arbitrary code (written in C or C++) in arbitrary places in the executable. It supports the Linux*, macOS* and Windows* operating systems and executables for the IA-32, Intel(R) 64 and Intel(R) Many Integrated Core architectures. Pin is a tool for the instrumentation of programs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |