Re: [DynInst_API:] valueAdded function wrapper does not compile - missing getPatchAPIFunc


Date: Tue, 11 Nov 2014 14:26:06 -0600
From: Bill Williams <bill@xxxxxxxxxxx>
Subject: Re: [DynInst_API:] valueAdded function wrapper does not compile - missing getPatchAPIFunc
On 11/11/2014 02:16 PM, Rijnard van Tonder wrote:
Hi,

I have a compile error when attempting to compile
valueAdded/wrapper/amd64/src/wrapper.C:

../src/wrapper.C: In function ‘bool wrap(std::string, std::string,
std::string)’:

../src/wrapper.C:163:37: error: ‘class BPatch_function’ has no member
named ‘getPatchAPIFunc’

     ParseAPI::CodeObject *co = w[0]->getPatchAPIFunc()->function()->obj();

                                                              ^


I can't find a reference to the getPatchAPIFunc member anywhere (source
or documentation, Dyninst-8.2.1). Am I missing something? Thanks for
your assistance.

That code hasn't been updated to match the final standard form of our conversion operators; you want PatchAPI::convert(w[0]) in place of w[0]->getPatchAPIFunc(). Sorry for the inconvenience.


Best,

Rijnard



_______________________________________________
Dyninst-api mailing list
Dyninst-api@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api



--
--bw

Bill Williams
Paradyn Project
bill@xxxxxxxxxxx
[← Prev in Thread] Current Thread [Next in Thread→]