- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I want to use Intel PIN tools inside a program at some specific points. Consider a program has the following sections:
read_input();
do();
show_results();
If I use the basic command like
pin -t instcount0.so -- ./program
I see the total instructions. However, I want to start counting the instructions for do() function only. So I want to inject some helper PIN functions like
read_input();
start_pin
do();
stop_pin
show_results();
How can I do that? I didn't see simple explanation about that.
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page