コード例 #1
0
//cc
INT32 Usage()
{

	PIN_ERROR("This Pintool unpacks common packers\n" 
			  + KNOB_BASE::StringKnobSummary() + "\n");
	return -1;
}
コード例 #2
0
ファイル: icount.cpp プロジェクト: asudhak/peachfuzz-code
// argc, argv are the entire command line, including pin -t <toolname> -- ...
int main(int argc, char * argv[])
{
    // Initialize pin
    if (PIN_Init(argc, argv))
    {
        PIN_ERROR("Count executed instructions.\n"
                  + KNOB_BASE::StringKnobSummary() + "\n");
    }

    // Activate instruction counter
    if (KnobReps)
        icount.Activate(INSTLIB::ICOUNT::ModeBoth);
    else
        icount.Activate(INSTLIB::ICOUNT::ModeNormal);
        
    // Register Fini to be called when the application exits
    PIN_AddFiniFunction(Fini, 0);
    
    // Start the program, never returns
    PIN_StartProgram();
    
    return 0;
}
コード例 #3
0
INT32 Usage()
{
    PIN_ERROR( "This Pintool prints a trace of memory addresses\n" 
              + KNOB_BASE::StringKnobSummary() + "\n");
    return -1;
}
コード例 #4
0
INT32 Usage()
{
    PIN_ERROR( "This Pintool writes memory blocks executed from to disk\n" + KNOB_BASE::StringKnobSummary() + "\n");
    return -1;
}
コード例 #5
0
ファイル: arqsimucache.cpp プロジェクト: pabloh/tp-arq
static INT32 usage() {
    PIN_ERROR("This Pintool simulates a cache hierarchy\n" +
              KNOB_BASE::StringKnobSummary() + "\n");
    return -1;
}
コード例 #6
0
static INT32 Usage()
{
    PIN_ERROR("This tool prints a log of image load and unload events, logs them and can replay them\n"
             + KNOB_BASE::StringKnobSummary() + "\n");
    return -1;
}
コード例 #7
0
ファイル: strace.cpp プロジェクト: andrewjinyounglee/PerVERT
INT32 Usage()
{
    PIN_ERROR("This tool prints a log of system calls" 
                + KNOB_BASE::StringKnobSummary() + "\n");
    return -1;
}
コード例 #8
0
INT32 Usage()
{
    PIN_ERROR( "This Pintool samples the IPs of instruction executed\n"
                + KNOB_BASE::StringKnobSummary() + "\n");
    return -1;
}
コード例 #9
0
ファイル: malloc_mt.cpp プロジェクト: FengXingYuXin/SHMA
INT32 Usage()
{
    PIN_ERROR("This Pintool prints a trace of malloc calls in the guest application\n"
              + KNOB_BASE::StringKnobSummary() + "\n");
    return -1;
}
コード例 #10
0
ファイル: MyPinTool.cpp プロジェクト: fonstest/PINTOOLS
INT32 Usage()
{
    PIN_ERROR("This Pintool prints the hexadecimal of all the instruction executed\n" 
              + KNOB_BASE::StringKnobSummary() + "\n");
    return -1;
}
コード例 #11
0
ファイル: parser.c プロジェクト: jdp/pin
YY_ACTION(void) yy_2_pin(char *yytext, int yyleng)
{
  yyprintf((stderr, "do yy_2_pin\n"));
   PIN_ERROR("Parse error"); ;
}
コード例 #12
0
INT32 Usage_Profiler()
{
    PIN_ERROR("This Pintool prints the IPs of every instruction executed\n" 
              + KNOB_BASE::StringKnobSummary() + "\n");
    return -1;
}
コード例 #13
0
ファイル: xref_finder.cpp プロジェクト: bNull/xref_finder
// print help information
INT32 Usage()
{
    PIN_ERROR( "This Pintool prints a trace of calls and destinations\n" 
              + KNOB_BASE::StringKnobSummary() + "\n");
    return -1;
}
コード例 #14
0
ファイル: mtrace.cpp プロジェクト: madthanu/alc-strace
INT32 Usage() {
	PIN_ERROR( "This is the mtrace Pintool.\n" + KNOB_BASE::StringKnobSummary() + "\n");
	return -1;
}
コード例 #15
0
INT32 Usage()
{
    PIN_ERROR( "This Pintool stops the debugger when code written in runtime is executed\n" 
              + KNOB_BASE::StringKnobSummary() + "\n");
    return -1;
}