Skip to content
All things pertaining to building Pintools in Visual Studio without using Pin's MyPinTool Project
Branch: master
Clone or download
Latest commit 3a90a3d Jan 21, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README.md Jan 21, 2020
pintool.props Updated to fix an issue where the DLL didn't work with Pin Jan 18, 2020

README.md

intelpinvsbuild

All things pertaining to building Pintools in Visual Studio without using Pin's MyPinTool Project

Property Sheets

Version: pin-3.7-97619 Compiler: Visual Studio 2017

Property sheets are used to set Visual Studio properties. In this case, the property sheet was made for VS2017 using pin3.7.97619. This should be easily convertable to other versions.

To use this sheet:

  1. Edit the property sheet "</PINDIR" to add the path to the Intel Pin directory.
  2. Create a new empty Visual Studio project
  3. Go to the project properties
  4. Set the "Configuration" drop down to "All Configurations"
  5. Set the "Platform" drop down to "All Platforms"
  6. On the same Window: Configuration Properties->General set the Configuration Type to Dynamic Library (.dll)
  7. On the same Window: Configuration Properties->General set the extension to ".dll"
  8. Click "Apply" and "Ok"
  9. Go to the Property Manager tab (or view->Other Window->Property Manager
  10. Expand the Project in the property manager window
  11. Right click the appropriate build folder (i.e. Debug|Win32)
  12. Click Add Existing Property Sheet
  13. Go back to the main solution explorer
  14. Either create or add the source file that contains your pintool code

The "pintool.prop" file is for x86 builds. Eventually, I'll add an x64 property sheet, but the x86 sheet can easily be modifed to work with x64.

You can’t perform that action at this time.