After looking at the plugins.cfg from idademo 6.4 \plugins\plugins.cfg
I notice that
PIN_debugger pin_user 0 0 DEBUG
is in the plugins.cfg 6.4 but not in ida 6.1
any i wanted to build it.
Spent whole day building the ida pin debugger
Its build but give an error both in Ida demo 6.4 and ida 6.1
Building the PIN tool from hexrays site
After alot off error i manage to build it with vc2010 and pin download
IA32 and intel64 (x86 32 bit and 64 bit) revision 58423 Apr 11, 2013 VC10
http://software.intel.com/sites/landingpage/pintool/downloads/pin-2.12-58423-msvc10-windows.zip
I made an folder c:\pin2 then extracted the DL to pin2
then i downloaded the pin from ida https://www.hex-rays.com/products/ida/support/freefiles/idapin.zip and extracted it to C:\pin2\source\
Then in vc2010
FILE>>open Project/Solution>>C:\pin2\source\all_pin_related.sln
I set the build to release.
header an resource files are fixed with project properties
C++ >>General >>(AdditionalIncludeDirectories) C:\pin2\extras\components\include;C:\pin2\extras\components\include\util;C:\pin2\extras\xed2-ia32\include;C:\pin2\source\include\pin\gen;C:\pin2\source\include\pin;%
Lib errrors are fixed with
Linker>>>input(AdditionalDependicies)pin.lib;libxed.lib;libcpmt.lib;libcmt.lib;pinvm.lib;kernel32.lib;ntdll-32.lib;ws2_32.lib
I changhed the cofiiggoration>>>General >>>targetExtension to .plw
plw is like dll but ida use extension plw.
Build log
I now copy the Idadbg.plw to ida\plugin folder both ida pro 6.1 and demo 6.4
I get this error when loading Ida PRo
LoadLibrary(C:\Users\zadow\Downloads\ida\ida\plugins\idadbg.plw) error: modul not found.
C:\Users\zadow\Downloads\ida\ida\plugins\idadbg.plw: can't load file
Any ideas ???
Code:
; Debugger plugins
Windbg_debugger windbg_user 0 0 DEBUG
Local_Windows_debugger win32_user 0 0 DEBUG
Remote_Windows_debugger win32_stub 0 0 DEBUG
Local_Bochs_debugger bochs_user 0 0 DEBUG
Local_Linux_debugger linux_user 0 0 DEBUG
Remote_Linux_debugger linux_stub 0 0 DEBUG
Remote_ARMLinux/Android_debugger armlinux_stub 0 0 DEBUG ; only remote
Remote_WinCE_debugger wince_stub 0 0 DEBUG ; only remote
Local_Mac_OS_X_debugger mac_user 0 0 DEBUG
Remote_Mac_OS_X_debugger mac_stub 0 0 DEBUG
Remote_Symbian_debugger epoc_user 0 0 DEBUG ; only remote
Remote_iPhone_v1.x_debugger iphone_stub 0 0 DEBUG ; only remote
Remote_GDB_debugger gdb_user 0 0 DEBUG ; only remote
[COLOR=#ff0000]PIN_debugger pin_user 0 0 DEBUG[/COLOR]
; Other plugins
PIN_debugger pin_user 0 0 DEBUG
is in the plugins.cfg 6.4 but not in ida 6.1
any i wanted to build it.
Spent whole day building the ida pin debugger
Its build but give an error both in Ida demo 6.4 and ida 6.1
Building the PIN tool from hexrays site
Before using the PIN tracer the PIN tool module (distributed only in source code form) must be
built as the Intel PIN license disallows redistributing PIN tools in binary form.
First, you will need to download the IDA SDK for the version of IDA you are using. The SDK can
be found there: http://www.hex-rays.com/products/ida/support/download.shtml
The building process of the PIN tool is different for Windows and Linux. To build it in Windows:
1. Download PIN from http://www.pintool.org , and unpack it on your hard drive.
WARNING: the PIN tools are a little sensitive to spaces in paths. Therefore, we
recommend unpacking in a no-space path. E.g., “C:\pin”, but not “C:\Program Files
(x86)\”.
2. Install Visual Studio. It is possible to build the PIN tool with the Express version of Visual
Studio for C++.
3. Download pintool source and unpack it into /path/to/pin/source/tools/. IDA pintool can be
found here: https://www.hex-rays.com/products/ida/support/freefiles/idapin.zip
4. Open IDADBG.sln in Visual Studio, select the correct build configuration (either Win32 or
x64) and build the solution.
After alot off error i manage to build it with vc2010 and pin download
IA32 and intel64 (x86 32 bit and 64 bit) revision 58423 Apr 11, 2013 VC10
http://software.intel.com/sites/landingpage/pintool/downloads/pin-2.12-58423-msvc10-windows.zip
I made an folder c:\pin2 then extracted the DL to pin2
then i downloaded the pin from ida https://www.hex-rays.com/products/ida/support/freefiles/idapin.zip and extracted it to C:\pin2\source\
Then in vc2010
FILE>>open Project/Solution>>C:\pin2\source\all_pin_related.sln
I set the build to release.
header an resource files are fixed with project properties
C++ >>General >>(AdditionalIncludeDirectories) C:\pin2\extras\components\include;C:\pin2\extras\components\include\util;C:\pin2\extras\xed2-ia32\include;C:\pin2\source\include\pin\gen;C:\pin2\source\include\pin;%
Lib errrors are fixed with
Linker>>>input(AdditionalDependicies)pin.lib;libxed.lib;libcpmt.lib;libcmt.lib;pinvm.lib;kernel32.lib;ntdll-32.lib;ws2_32.lib
I changhed the cofiiggoration>>>General >>>targetExtension to .plw
plw is like dll but ida use extension plw.
Build log
Code:
1>------ Build started: Project: idadbg, Configuration: Release Win32 ------
1>Build started 26.01.2014 20:57:11.
1>InitializeBuildStatus:
1> Creating "Release\idadbg.unsuccessfulbuild" because "AlwaysCreate" was specified.
1> idadbg.cpp
1>Link:
1> Creating library C:\pin2\source\Release\idadbg.lib and object C:\pin2\source\Release\idadbg.exp
1> IDADBG.vcxproj -> C:\pin2\source\Release\idadbg.plw
1>FinalizeBuildStatus:
1> Deleting file "Release\idadbg.unsuccessfulbuild".
1> Touching "Release\idadbg.lastbuildstate".
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:02.11
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
I now copy the Idadbg.plw to ida\plugin folder both ida pro 6.1 and demo 6.4
I get this error when loading Ida PRo
LoadLibrary(C:\Users\zadow\Downloads\ida\ida\plugins\idadbg.plw) error: modul not found.
C:\Users\zadow\Downloads\ida\ida\plugins\idadbg.plw: can't load file
Any ideas ???