| Date: | Thu, 10 Apr 2014 09:04:57 -0700 |
|---|---|
| From: | Josh Stone <jistone@xxxxxxxxxx> |
| Subject: | Re: [DynInst_API:] Binary extension with raw bytes using PatchAPI |
On 04/10/2014 02:09 AM, Sergej Proskurin wrote:
> Error message: "static Dyninst::PatchAPI::Snippet::Ptr
> Dyninst::PatchAPI::Snippet::create(Dyninst::PatchAPI::Snippet*)’ is
> inaccessible within this context"
Inherited classes are private by default, even if everything in that
class is public. So calling MySnippet::create is private even though
the actual Snippet::create is public.
> class MySnippet : Snippet {
Make this:
class MySnippet : public Snippet {
HTH,
Josh
|
| [← Prev in Thread] | Current Thread | [Next in Thread→] |
|---|---|---|
| ||
| Previous by Date: | [DynInst_API:] Binary extension with raw bytes using PatchAPI, Sergej Proskurin |
|---|---|
| Next by Date: | Re: [DynInst_API:] Binary extension with raw bytes using PatchAPI, Jiten Pathy |
| Previous by Thread: | [DynInst_API:] Binary extension with raw bytes using PatchAPI, Sergej Proskurin |
| Next by Thread: | Re: [DynInst_API:] Binary extension with raw bytes using PatchAPI, Jiten Pathy |
| Indexes: | [Date] [Thread] |