|
CCTLib
Calling-context and data-object attribution library for Intel Pin
|
#include <stdio.h>#include <stdlib.h>#include <stdint.h>#include <iostream>#include <unistd.h>#include <assert.h>#include <string.h>#include <sstream>#include "pin.H"#include "cctlib.H"
Include dependency graph for cct_client_mem_only.cpp:Go to the source code of this file.
Functions | |
| INT32 | Usage2 () |
| void | ClientInit (int argc, char *argv[]) |
| VOID | SimpleCCTQuery (THREADID id, const uint32_t slot) |
| VOID | InstrumentIns (INS ins, VOID *v) |
| VOID | InstrumentInsCallback (INS ins, VOID *v, const uint32_t slot) |
| int | main (int argc, char *argv[]) |
Variables | |
| FILE * | gTraceFile |
| void ClientInit | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 28 of file cct_client_mem_only.cpp.
References gTraceFile, and MAX_FILE_PATH.
Referenced by main().
| VOID InstrumentIns | ( | INS | ins, |
| VOID * | v | ||
| ) |
Definition at line 57 of file cct_client_mem_only.cpp.
References SimpleCCTQuery().
| VOID InstrumentInsCallback | ( | INS | ins, |
| VOID * | v, | ||
| const uint32_t | slot | ||
| ) |
Definition at line 63 of file cct_client_mem_only.cpp.
References SimpleCCTQuery().
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 68 of file cct_client_mem_only.cpp.
References ClientInit(), gTraceFile, InstrumentInsCallback(), INTERESTING_INS_MEMORY_ACCESS, PinCCTLib::PinCCTLibInit(), and Usage2().
| VOID SimpleCCTQuery | ( | THREADID | id, |
| const uint32_t | slot | ||
| ) |
Definition at line 53 of file cct_client_mem_only.cpp.
References PinCCTLib::GetContextHandle().
Referenced by InstrumentIns(), and InstrumentInsCallback().
| INT32 Usage2 | ( | ) |
Definition at line 19 of file cct_client_mem_only.cpp.
Referenced by main().
| FILE* gTraceFile |
Definition at line 25 of file cct_client_mem_only.cpp.
Referenced by ClientInit(), and main().