Re: [DynInst_API:] Can DynInst dump CFG in DOT format?


Date: Sun, 8 Dec 2013 23:20:06 -0600
From: Milind Chabbi <Milind.Chabbi@xxxxxxxx>
Subject: Re: [DynInst_API:] Can DynInst dump CFG in DOT format?
Ed,

I tried to use the example.cc distributed under /DyninstAPI-8.1.2/parseAPI/doc.
I compiled it and passed in a simple ELF64 file, but it failed with
the following error:

-------
Elf error: Request error: invalid ELF_C_* argument
[SymtabCodeSource.C] FATAL: can't create Symtab object for file test
digraph G {
}
-------

Looks like I am missing something important. Any suggestions?


-Milind

On Thu, Nov 7, 2013 at 11:03 AM, E.Robbins <er209@xxxxxxxxxx> wrote:
> Well, the example does a whole binary though, not just some function(s).
>
> ________________________________________
> From: E.Robbins
> Sent: 07 November 2013 17:02
> To: Milind Chabbi; dyninst-api@xxxxxxxxxxx
> Subject: RE: [DynInst_API:] Can DynInst dump CFG in DOT format?
>
> There is an example in the first few pages of the ParseAPI manual...
>
> Best,
> Ed
>
> ________________________________________
> From: Dyninst-api [dyninst-api-bounces@xxxxxxxxxxx] on behalf of Milind Chabbi [Milind.Chabbi@xxxxxxxx]
> Sent: 07 November 2013 15:13
> To: dyninst-api@xxxxxxxxxxx
> Subject: [DynInst_API:] Can DynInst dump CFG in DOT format?
>
> Hi,
>
> Can DynInst dump CFG of function(s) in DOT format? If somebody has
> already put together a piece of code that accomplishes this, could you
> share it with me?
>
> -Milind
> _______________________________________________
> Dyninst-api mailing list
> Dyninst-api@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api
>
[← Prev in Thread] Current Thread [Next in Thread→]