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?
-
1dtrace 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/…– EfForEffortCommented Apr 6, 2013 at 23:46
-
Your question can be easily answered by 5 seconds of googling, no?– newgreCommented Apr 7, 2013 at 8:53
-
@newgre I was hoping for experiences with it, as joxeankoret points out a good one to know.– omghai2uCommented Apr 7, 2013 at 16:53
Add a comment
|
2 Answers
Yes, pintool works on os x as well (Snow Leopard or newer for the current tech preview ver).
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.