Skip to content

Releases: Rupan/idapin

PIN 3.24/3.27 and IDA 8.3

01 Jul 02:14
v8.3-1
4960e09
Compare
Choose a tag to compare

Download PIN

https://www.intel.com/content/www/us/en/developer/articles/tool/pin-a-binary-instrumentation-tool-downloads.html
https://software.intel.com/sites/landingpage/pintool/downloads/pin-3.24-98612-g6bd5931f2-msvc-windows.zip
https://software.intel.com/sites/landingpage/pintool/downloads/pin-3.27-98718-gbeaa5d51e-gcc-linux.tar.gz

Windows prep

  • Unpack pin-3.24-98612-g6bd5931f2-msvc-windows.zip in C:\
  • Unpack ida83-pin-3.24-98612-g6bd5931f2-msvc-windows.zip in C:\pin-3.24-98612-g6bd5931f2-msvc-windows\source\tools

Example for remote Windows tracing of Notepad (manual launch via a batch file):

C:\pin-3.24-98612-g6bd5931f2-msvc-windows\pin.exe ^
  -t64 "C:\pin-3.24-98612-g6bd5931f2-msvc-windows\source\tools\idapin\idadbg64.dll" ^
  -t "C:\pin-3.24-98612-g6bd5931f2-msvc-windows\source\tools\idapin\idadbg.dll" ^
  -p 23946 -- "C:\Windows\notepad.exe"

Linux prep

  • Unpack pin-3.27-98718-gbeaa5d51e-gcc-linux.tar.gz in /opt
  • Unpack ida83-pin-3.27-98718-gbeaa5d51e-gcc-linux.tar.xz in /opt/pin-3.24-98612-g6bd5931f2-gcc-linux/source/tools

Example for remote Linux tracing of ls (manual launch via a shell script):

#!/bin/bash

/opt/pin-3.27-98718-gbeaa5d51e-gcc-linux/pin \
  -t64 /opt/pin-3.27-98718-gbeaa5d51e-gcc-linux/source/tools/idapin/idadbg64.so \
  -t /opt/pin-3.27-98718-gbeaa5d51e-gcc-linux/source/tools/idapin/idadbg.so \
  -p 23946 -- /usr/bin/ls

Build info

  • Windows → Visual Studio 2022 and pin-3.24-98612-g6bd5931f2-msvc-windows
  • Linux → Ubuntu 23.04 and pin-3.27-98718-gbeaa5d51e-gcc-linux

The Windows build was completed from the Visual Studio GUI, i.e. by:

  • Right-click on idadbg.sln → Open With → Visual Studio 2022
  • Build in Release mode for both Win32 and x64
  • Build config: Windows 11 SDK 10.0.22621.0 and Visual Studio 2022 17.6.4

PIN 3.24 and IDA 8.0

24 Sep 15:59
v8.0-1
Compare
Choose a tag to compare

Download PIN

https://www.intel.com/content/www/us/en/developer/articles/tool/pin-a-binary-instrumentation-tool-downloads.html
https://software.intel.com/sites/landingpage/pintool/downloads/pin-3.24-98612-g6bd5931f2-msvc-windows.zip
https://software.intel.com/sites/landingpage/pintool/downloads/pin-3.24-98612-g6bd5931f2-gcc-linux.tar.gz

Windows prep

  • Unpack pin-3.24-98612-g6bd5931f2-msvc-windows.zip in C:\
  • Unpack idapin-3.24-98612-g6bd5931f2-msvc-windows.zip in C:\pin-3.24-98612-g6bd5931f2-msvc-windows\source\tools

Example for remote Windows tracing of Notepad (manual launch via a batch file):

C:\pin-3.24-98612-g6bd5931f2-msvc-windows\pin.exe ^
  -t64 "C:\pin-3.24-98612-g6bd5931f2-msvc-windows\source\tools\idapin\idadbg64.dll" ^
  -t "C:\pin-3.24-98612-g6bd5931f2-msvc-windows\source\tools\idapin\idadbg.dll" ^
  -p 23946 -- "C:\Windows\notepad.exe"

Linux prep

  • Unpack pin-3.24-98612-g6bd5931f2-gcc-linux.tar.gz in /opt
  • Unpack idapin-3.24-98612-g6bd5931f2-gcc-linux.tar.xz in /opt/pin-3.24-98612-g6bd5931f2-gcc-linux/source/tools

Example for remote Linux tracing of ls (manual launch via a shell script):

#!/bin/bash

/opt/pin-3.24-98612-g6bd5931f2-gcc-linux/pin \
  -t64 /opt/pin-3.24-98612-g6bd5931f2-gcc-linux/source/tools/idapin/idadbg64.so \
  -t /opt/pin-3.24-98612-g6bd5931f2-gcc-linux/source/tools/idapin/idadbg.so \
  -p 23946 -- /usr/bin/ls

Build info

  • Windows → Visual Studio 2022 and pin-3.24-98612-g6bd5931f2-msvc-windows
  • Linux → Ubuntu 22.04.1 LTS and pin-3.24-98612-g6bd5931f2-gcc-linux

The Windows build was completed from the Visual Studio GUI, i.e. by:

  • Right-click on idadbg.sln → Open With → Visual Studio 2022
  • Build in Release mode for both Win32 and x64

PIN 3.21 and IDA 7.7

29 Dec 02:25
v7.7-1
e2b57f3
Compare
Choose a tag to compare

Windows prep

  • Unpack pin-3.21-98484-ge7cd811fd-msvc-windows.zip in C:\
  • Unpack idapin-3.21-98484-ge7cd811fd-msvc-windows.zip in C:\pin-3.21-98484-ge7cd811fd-msvc-windows\source\tools

Example for remote Windows tracing of Notepad (manual launch via a batch file):

C:\pin-3.21-98484-ge7cd811fd-msvc-windows\pin.exe ^
  -t64 "C:\pin-3.21-98484-ge7cd811fd-msvc-windows\source\tools\idapin\idadbg64.dll" ^
  -t "C:\pin-3.21-98484-ge7cd811fd-msvc-windows\source\tools\idapin\idadbg.dll" ^
  -p 23946 -- "C:\Windows\notepad.exe"

Linux prep

  • Unpack pin-3.21-98484-ge7cd811fd-gcc-linux.tar.gz in /opt
  • Unpack idapin-3.21-98484-ge7cd811fd-gcc-linux.tar.xz in /opt/pin-3.21-98484-ge7cd811fd-gcc-linux/source/tools

Example for remote Linux tracing of ls (manual launch via a shell script):

#!/bin/bash

/opt/pin-3.21-98484-ge7cd811fd-gcc-linux/pin \
  -t64 /opt/pin-3.21-98484-ge7cd811fd-gcc-linux/source/tools/idapin/idadbg64.so \
  -t /opt/pin-3.21-98484-ge7cd811fd-gcc-linux/source/tools/idapin/idadbg.so \
  -p 23946 -- /usr/bin/ls

Build info

  • Windows → Visual Studio 2022 and pin-3.21-98484-ge7cd811fd-msvc-windows
  • Linux → Ubuntu 20.04.3 LTS and pin-3.21-98484-ge7cd811fd-gcc-linux

The Windows build was completed from the Visual Studio GUI, i.e. by:

  • Right-click on idadbg.sln → Open With → Visual Studio 2022
  • Build in Release mode for both Win32 and x64

PIN 3.18 and IDA 7.6

30 Mar 09:06
3e4be0a
Compare
Choose a tag to compare

Windows: Visual Studio 2019 and pin-3.18-98332-gaebd7b1e6-msvc-windows
Linux: Ubuntu 20.04.2 LTS and pin-3.18-98332-gaebd7b1e6-gcc-linux

Example for remote Windows tracing of Notepad (manual launch):

C:\pin-3.18-98332-gaebd7b1e6-msvc-windows\pin.exe ^
  -t64 "C:\pin-3.18-98332-gaebd7b1e6-msvc-windows\source\tools\idapin\idadbg64.dll" ^
  -t "C:\pin-3.18-98332-gaebd7b1e6-msvc-windows\source\tools\idapin\idadbg.dll" ^
  -p 23946 -- "C:\Windows\notepad.exe"

The Windows build was completed by launching VS2019 native consoles (for amd64 and x86) first, then starting Cygwin. Next,

cd /cygdrive/c/pin-3.18-98332-gaebd7b1e6-msvc-windows/source/tools/idapin
make TARGET=ia32
make TARGET=intel64

PIN 3.13 and IDA 7.4

05 Apr 00:16
e4c1445
Compare
Choose a tag to compare

Windows: Visual Studio 2017 and pin-3.13-98189-g60a6ef199-msvc-windows
Linux: Ubuntu 19.10 and pin-3.13-98189-g60a6ef199-gcc-linux

Example for remote Windows tracing of Notepad (manual launch):

C:\pin-3.13-98189-g60a6ef199-msvc-windows\pin.exe ^
  -t64 "C:\pin-3.13-98189-g60a6ef199-msvc-windows\source\tools\idapin\idadbg64.dll" ^
  -t "C:\pin-3.13-98189-g60a6ef199-msvc-windows\source\tools\idapin\idadbg.dll" ^
  -p 23946 -- "C:\Windows\notepad.exe"