3

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?

3
  • 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/… Commented Apr 6, 2013 at 23:46
  • Your question can be easily answered by 5 seconds of googling, no?
    – newgre
    Commented Apr 7, 2013 at 8:53
  • @newgre I was hoping for experiences with it, as joxeankoret points out a good one to know.
    – omghai2u
    Commented Apr 7, 2013 at 16:53

2 Answers 2

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

1
  • pintool does not seem to be available anymore on OSX.
    – ikaerom
    Commented Dec 26, 2016 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 and acknowledge you have read our privacy policy.

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