Skip to content

Commit

Permalink
[FEATURE] Make the source directory the default installation directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
hasherezade committed Jun 20, 2019
1 parent f6df533 commit 79adc92
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion install32_64/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- TinyTracer64.dll (64-bit build)
1. Edit the run_me.bat:
- Replace PIN_DIR (default: C:\pin) with your own path to the Pin directory.
- Replace PIN_TOOLS_DIR (default: C:\pin_tools) with the path to the folder containing this bundle (scripts, tools + other utils).
- Replace PIN_TOOLS_DIR (default: C:\pin\source\tools\tiny_tracer\install32_64\) with the path to the folder containing this bundle (scripts, tools + other utils).
2. Edit add_menu.reg and replace the path to the run_me.bat with its actual path (in your PIN_TOOLS_DIR).
3. Run add_menu.reg to add the Pin tool to the context menu
4. Now you can trace any EXE by clicking "Run with PIN" from the context menu.
Expand Down
2 changes: 1 addition & 1 deletion install32_64/add_menu.reg
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Windows Registry Editor Version 5.00
@="Run with PIN"

[HKEY_CLASSES_ROOT\*\shell\PIN_run\command]
@="\"C:\\Pin_Tools\\run_me.bat\" \"%1\""
@="\"C:\\pin\\source\\tools\\tiny_tracer\\install32_64\\run_me.bat\" \"%1\""
2 changes: 1 addition & 1 deletion install32_64/run_me.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ rem PIN_DIR is your root directory of Intel Pin
set PIN_DIR=C:\pin\

rem PIN_TOOLS_DIR is your directory with this script and the Pin Tools
set PIN_TOOLS_DIR=C:\pin_tools\
set PIN_TOOLS_DIR=C:\pin\source\tools\tiny_tracer\install32_64\

set PINTOOL32=%PIN_TOOLS_DIR%\TinyTracer32.dll
set PINTOOL64=%PIN_TOOLS_DIR%\TinyTracer64.dll
Expand Down
4 changes: 4 additions & 0 deletions move_dlls.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
rem First, compile the 32 and 64 bit version of TinyTracer. Then, you can use this script to copy them into the directory with the run_me.bat (default: install32_64).
move Release\TinyTracer.dll install32_64\TinyTracer32.dll
move x64\Release\TinyTracer.dll install32_64\TinyTracer64.dll
pause

0 comments on commit 79adc92

Please sign in to comment.