Skip to content

Tracing an EXE with commandline arguments

hasherezade edited this page Oct 23, 2021 · 7 revisions

Sometimes you may want to trace an executable that needs some specific commandline arguments.

Currently, you can set them in the Tiny Tracer by modifying the run_me.bat. Find the following line:

rem The arguments that you want to pass to the run executable
set EXE_ARGS=""

...and modify the variable EXE_ARGS.

For example, setting:

rem The arguments that you want to pass to the run executable
set EXE_ARGS="Test123"

...will run every traced executable with the commandline argument Test123.

After this modification, you can run your executable as usual, with the help of Tiny Tracer's context menu - specific arguments will be added automatically:

PIN in the context menu

NOTE: don't forget to undo the changes in the run_me.bat after finishing the tracing.