Date: | Wed, 17 Aug 2016 23:02:37 +0530 |
---|---|
From: | Manoj Kumar <kumar140976@xxxxxxxxx> |
Subject: | [DynInst_API:] std::cout calls resolved as dynamic calls |
Hello, I have created the binary file for the below test function on windows platform using VC12 compiler. I am using Dyninst 9.0.3 release to analyze the call points of the test function and checking for the dynamic call site. Below is the test function used for binary analysis and BPatch_point class APIs used for call point filterting. void test_func() {  std::cout << "Test";  Â std::cout << 10;  Â int x = 15;  std::cout << x;  std::string str = "Test Func Called"; BPatch_function* func = point->getCalledFunction(); While iterating through the call points of the test function 'test_func()'. I observed strange behavior for the call points std::cout << 10; and std::cout << x; Both the call points returns NULL function object for the API call point->getCalledFunction() whileÂ'isDynamic' call returns true for these Could you pls. elaborate on this behaviour. Is there a way to detectÂbothÂtheÂstd::cout calls as normal function calls. Thanks |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [DynInst_API:] [dyninst/dyninst] 944038: Remove unnecessary assert from dwarfWalker. Fixes..., morehouse |
---|---|
Next by Date: | [DynInst_API:] RFC: require users to have C++11, Josh Stone |
Previous by Thread: | Re: [DynInst_API:] Static Library Name as parent module of called function, Bill Williams |
Next by Thread: | Re: [DynInst_API:] std::cout calls resolved as dynamic calls, Bill Williams |
Indexes: | [Date] [Thread] |