Skip to content

Instantly share code, notes, and snippets.

@azat
Created April 18, 2014 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azat/11045219 to your computer and use it in GitHub Desktop.
Save azat/11045219 to your computer and use it in GitHub Desktop.
ROOT=$(dirname $0)
DYNAMORIO=$ROOT/../../../dynamorio/exports
DRMEMORY=$ROOT/../../../drmemory/.cmake/exported
MSAN_OPTIONS='verbosity=1:sleep_before_dying=10' \
MSAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-3.4 \
LD_LIBRARY_PATH=$DYNAMORIO/ext/lib64/release/:$DYNAMORIO/lib64/release/:$DRMEMORY/drmf/lib64/release/:$ROOT \
LD_USE_LOAD_BIAS=1 \
$DYNAMORIO/bin64/drrun -v -64 -c $ROOT/libmsandr.so -- \
$*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment