inform user about pintool

This commit is contained in:
Ned Williamson 2015-11-01 23:50:02 -05:00
parent 33b5d08bc3
commit b41354c2c8

View File

@ -168,6 +168,9 @@ class Program:
self.pintool = pin_dir + "obj-ia32/qirapin.dylib"
else:
raise Exception("osx binary not supported")
if not os.path.isfile(self.pintool):
print "Running an OS X binary requires PIN support. See tracers/pin_build.sh"
exit()
self.runnable = True
else:
raise Exception("unknown binary type")