This clients will record the code flow by basic block address.
mkdir build
cd build
cmake -G "Visual Studio 12" -DDynamoRIO_DIR=d:\LIB\dynamorio\build\cmake ..
cmake --build . --config RelWithDebInfo
drrun.exe -c test_bbtrace.dll -- test_app.exe > ..\tests\test_bbtrace.expect 2>&1
cmake --build . --config Debug --target bbtrace_flow