2

I see that PinTool works for Windows and Linux. Does it also happen to work for OSX? Or is there a similar tool that I can use to easily record code coverage for a closed-source app?

  • 1
    dtrace is a really nice tool that OS X has. It's a bit inefficient to instrument at the "every instruction" level, but it lets you instrument all kinds of system calls and such. developer.apple.com/library/mac/#documentation/Darwin/Reference/… – EfForEffort Apr 6 '13 at 23:46
  • Your question can be easily answered by 5 seconds of googling, no? – newgre Apr 7 '13 at 8:53
  • @newgre I was hoping for experiences with it, as joxeankoret points out a good one to know. – omghai2u Apr 7 '13 at 16:53
5

Yes, pintool works on os x as well (Snow Leopard or newer for the current tech preview ver).

http://software.intel.com/en-us/articles/pintool-downloads

  • pintool does not seem to be available anymore on OSX. – Moreaki Dec 26 '16 at 23:14
4

Yes, they work as @broadway already pointed out. However, PIN under OSX have many-many restrictions, some of them documented and others not. The most noticeable feature it lacks is support for creating threads in a PIN tool.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.