QuickStart

Dependencies

In order to build you’ll need the following packages:

  • gcc (at least version 4.8)

  • binutils (at least version 2.26)

  • cmake (at least version 3.7)

  • perl

Tip

VClinic leverages DynamoRIO and DrCCTProf to analyze a program execution and obtain full calling contexts on the fly.

Build

Get source code from the github repository and build VClinic:

$ git clone --recurse xxx
$ ./build.sh

Usage

To run VClinic, one needs to use the following command:

  • x86_64

$ build/bin64/drrun -t <client tool> -- <application> [apllication args]
  • aarch64

$ build/bin64/drrun -unsafe_build_ldstex -t <client tool> -- <application> [apllication args]

VClinic Tools

VClinic provides different profiling tools. Currently the supported tools are:

  • vprofile_all_opnd

  • vprofile_mem_and_reg

  • vprofile_mem_and_reg_read

  • vprofile_memory

  • vprofile_memory_read

  • deadspy

  • redspy

  • loadspy

  • zerospy