Re: [DynInst_API:] Cannot find function

2015-07-27 Thread Bill Williams
On 07/25/2015 11:44 AM, Ioannis Konstadelias wrote: Hi everyone, first of all I use the latest version of dyninstAPI (git head). I was experimenting with the mutator program of the Appendix A from the manuals (not the re-tee one), and tried the custom really simple mutatee program below:

Re: [DynInst_API:] Cannot find function

2015-07-27 Thread Bill Williams
On 07/27/2015 11:41 AM, Ioannis Konstadelias wrote: Sorry, My bad. I should've tell you. I've also tried includeUninstrumentable = true but the results were the same. That seems fishy. Mind sending me the mutatee binary? On 27/07/2015 07:01 μμ, Bill Williams wrote: On 07/25/2015 11:44 AM,

Re: [DynInst_API:] Cannot find function

2015-07-27 Thread Ioannis Konstadelias
Sorry, My bad. I should've tell you. I've also tried includeUninstrumentable = true but the results were the same. On 27/07/2015 07:01 μμ, Bill Williams wrote: On 07/25/2015 11:44 AM, Ioannis Konstadelias wrote: Hi everyone, first of all I use the latest version of dyninstAPI (git head).

Re: [DynInst_API:] Cannot find function

2015-07-27 Thread Ioannis Konstadelias
Here it is. On 27/07/2015 07:53 μμ, Bill Williams wrote: On 07/27/2015 11:41 AM, Ioannis Konstadelias wrote: Sorry, My bad. I should've tell you. I've also tried includeUninstrumentable = true but the results were the same. That seems fishy. Mind sending me the mutatee binary? On

Re: [DynInst_API:] Cannot find function

2015-07-27 Thread Bill Williams
With this mutatee and git-head locally, the following sequence: BPatch bp; BPatch_binaryEdit* be = bp.openBinary(argv[1]); std::vectorBPatch_function* bpfuncs; be-getImage()-findFunction(foo, bpfuncs); cerr Found bpfuncs.size() funcs endl; is finding one function foo