You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maksim Shudrak edited this page Mar 14, 2020
·
14 revisions
Introduction
Drltrace was originally created and distributed as an additional module for DrMemory. You can build & use older (but still working) version of drltrace distributed as a part of DrMemory using the following guide.
Windows Build Requirements
Basically, drltrace has the same requirements as DynamoRIO. To build drltrace you will need:
Visual Studio 2013. Other versions are not officially supported as our automated tests use VS 2013.
CMake. 3.2+ is required. When prompted, we recommend adding it to your PATH.
Git. Any flavor should do, including Git on Windows or Cygwin git.
Perl. We recommend either Strawberry Perl or Cygwin perl.
Windows Build Workflow
Step 1. Preparing Environment
From the command line, set up the path and environment variables for Visual Studio by running vcvars batch file (it is usually located in C:\Program Files (x86)\Microsoft Visual Studio XX.0\VC\bin, either manually in a cmd shell or by running the Developer Command Prompt for VS2013 which has a Start Menu entry under Visual Studio Tools.
Step 2. Downloading sources
git clone --recursive https://github.com/mxmssh/drltrace.git
mkdir build
cd build
Step 3. Building
Debug Version (32-bit)
cmake -G"Visual Studio 12" -DCMAKE_BUILD_TYPE=Debug ..\drltrace\drltrace_src\
cmake --build .