This is an example of Pin tool to pass through Incremental Linking Table (ILT). ILT is added to an executable file if /INCREMENTAL option is used for Microsoft Incremental Linker. In this case Intel Pin cannot replace the function in the application by another function out of the box. This sample shows how it can be implemented using Pin API. The sample was developed as an illustration for the article "Analysis of machine code using Intel Pin".
-
Download Intel Pin kit and extract it
-
Set the path to the Intel Pin kit, for example
set PinRoot=<path-to-pin-kit>\pin-3.22-98547-g7a303a835-msvc-windows
-
Clone the repository
git clone https://github.com/esuldin/pintool_itl_sample.git
-
Open the solution
cd pintool_itl_sample start pin_ilt_sample.sln
-
Build the solution (press Ctrl+Shift+B)