没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Pin TutorialPin Tutorial 2007 1What is Instrumentation?A technique that inserts extra code into a program to collect runtime informationInstrumentation approaches:• Source instrumentation: – Instrument source programs • Binary instrumentation:– Instrument executables directlyPin Tutorial 2007 2 No need to recompile or relink Discover code at runtime Handle dynamically-generated code Attach to running processesWhy use Dynamic Instrumentation?Pin Tutorial 2007 3Advantages of Pin
资源推荐
资源详情
资源评论





















Pin Tutorial

Pin Tutorial 2007
1
What is Instrumentation?
A technique that inserts extra code into
a program to collect runtime information
Instrumentation approaches:
• Source instrumentation:
– Instrument source programs
• Binary instrumentation:
– Instrument executables directly

Pin Tutorial 2007
2
No need to recompile or relink
Discover code at runtime
Handle dynamically-generated code
Attach to running processes
Why use Dynamic Instrumentation?

Pin Tutorial 2007
3
Advantages of Pin Instrumentation
Easy-to-use Instrumentation:
• Uses dynamic instrumentation
– Do not need source code, recompilation, post-linking
Programmable Instrumentation:
• Provides rich APIs to write in C/C++ your own
instrumentation tools (called Pintools)
Multiplatform:
• Supports x86, x86-64, Itanium, Xscale
• Supports Linux, Windows, MacOS
Robust:
• Instruments real-life applications: Database, web browsers, …
• Instruments multithreaded applications
• Supports signals
Efficient:
• Applies compiler optimizations on instrumentation code

Pin Tutorial 2007
4
Using Pin
Launch and instrument an application
$ pin –t pintool –- application
Instrumentation engine
(provided in the kit)
Instrumentation tool
(write your own, or use one
provided in the kit)
Attach to and instrument an application
$ pin –t pintool –pid 1234
剩余39页未读,继续阅读
资源评论


weixin_38599412
- 粉丝: 6
- 资源: 930
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- [AB PLC例程源码]皮带机程序.zip
- [AB PLC例程源码]示例程序(船用).zip
- [AB PLC例程源码]使用SFC来编写顺控程序.zip
- [AB PLC例程源码]上海飞奥做的天燃器末站PLC系统程序.zip
- [AB PLC例程源码]气压检漏机图纸程序.zip
- [AB PLC例程源码]示例程序2(船用).zip
- [AB PLC例程源码]水厂程序.zip
- [AB PLC例程源码]水厂程序(1).zip
- [AB PLC例程源码]小型压合机.zip
- [AB PLC例程源码]天津锦湖轮胎的设备程序.zip
- [AB PLC例程源码]污水厂的处理系统.zip
- [AB PLC例程源码]一个500伺服程序.zip
- [AB PLC例程源码]一个DNET的SLC500实例.zip
- [AB PLC例程源码]一个AB PID控制的例子.zip
- [AB PLC例程源码]一个PLC5实例.zip
- [AB PLC例程源码]一个RSEmulator5000的测试小程序.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
