Instrumentation
-> A technique that inserts extra code into a program to collect runtime information
Intsrumentation tool
->Pintools
INS_ : 명령어추적
모든 명령어 실행시 호출할 함수들
명령어 관련된 함수들은 여기에 있다.
RTN_ : 루틴추적
함수 관련 함수들은 여기에 있다.
IMG_ : 이미지 로딩, 언로딩 등등
여기서 이미지란, dll 파일같은 공용 라이브러리
TRACE_ : 기록 단계에서 호출되며 추적 가능
KNOB은 Pin에서 만든 명령어 줄에 대한 파싱을 도와주는 역할을 한다. 옵션의 형태를 간략하게 지정해주고 그 옵션에 대한 설명을 써주면 툴 옵션으로서 출력을 해준다.
참고자료
http://gooverto.tistory.com/entry/Pin-Tool-Manual
'pintool' 카테고리의 다른 글
More Efficient Instruction Counting (Trace Instrumentation) +질문 (0) | 2018.09.14 |
---|---|
Detecting the Loading and Unloading of Images (Image Instrumentation)+질문 (0) | 2018.09.14 |
Memory Reference Trace (Instruction Instrument) (0) | 2018.09.14 |
Instruction Address Trace(Instruction Instrumentation) (0) | 2018.09.11 |
Simple Instruction Count(Instruction Instrument) (0) | 2018.09.11 |