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


Date: Tue, 11 Nov 2014 15:31:20 -0500
From: Rijnard van Tonder <rvt@xxxxxxx>
Subject: Re: [DynInst_API:] valueAdded function wrapper does not compile - missing getPatchAPIFunc
That did it, thanks for the (very) quick reply!

Best,
Rijnard

On Tue, Nov 11, 2014 at 3:26 PM, Bill Williams <bill@xxxxxxxxxxx> wrote:
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→]