[DynInst_API:] dyninst help


Date: Wed, 05 Aug 2015 12:08:46 +0800
From: dxy <2354528200@xxxxxx>
Subject: [DynInst_API:] dyninst help
Hello,I am writing a program using dynisnt to avoid buffer overflow.I meet one trouble.Hope to get help from you.

                                if(category == Dyninst::InstructionAPI::c_CallInsn) {
                                    vector<BPatch_point *> callPoints;
                                    appImage->findPoints(addr, callPoints);
                       
                                    BPatch_function * fun1=callPoints[0]->getCalledFunction();
                                 }
I don't know why this didn't work. fun1==NULL.every time.
[← Prev in Thread] Current Thread [Next in Thread→]