Date: | Tue, 12 Jul 2016 23:30:28 +0530 |
---|---|
From: | Manoj Kumar <kumar140976@xxxxxxxxx> |
Subject: | Re: [DynInst_API:] Static Library Name as parent module of called function |
Hello Bill, Thanks for your response. As suggested, I have tried the following code to retrieve the name of all the BPatch_object instances in BPatch_image. . Here, MyLibText.exe (windows binary) is linked with static library "TestLib.Lib" ÂBPatch_image* image = LoadBinary("D:\\MyLibTest\\Debug\\MyLibTest.exe"); Âstd::vector<BPatch_object *> objs; Âimage->getObjects(objs); Âstd::vector<BPatch_object *>::iterator itr_obj = objs.begin(); Âwhile ( itr_obj != objs.end() ) Â{ ÂÂBPatch_object* bp = (*itr_obj); ÂÂstd::string obj_name = bp->name(); ÂÂitr_obj++; Â} This code prints the name of only one object name which is "MyLibTest.exe". Static Library name is not printed. As a result, static library function call can not be mapped to its parent module as "TestLib.Lib". Is there anything missed out? or Do I need to upgrade my Dyninst SDK from 9.0.3 to latest version 9.2 toÂretrieve the parent object name (TestLib.LIB) of static library function call? Thanks Kumar On Tue, Jul 12, 2016 at 9:56 PM, Bill Williams <bill@xxxxxxxxxxx> wrote:
|
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [DynInst_API:] [dyninst/dyninst] 322964: Allow accessing StateARM64's Dyninst::Address memb..., Sunny Shah |
---|---|
Next by Date: | Re: [DynInst_API:] Static Library Name as parent module of called function, Bill Williams |
Previous by Thread: | Re: [DynInst_API:] Static Library Name as parent module of called function, Bill Williams |
Next by Thread: | Re: [DynInst_API:] Static Library Name as parent module of called function, Bill Williams |
Indexes: | [Date] [Thread] |