[Soot-list] creating Program Dependency Graph

Upulee Kanewala upuleegk at gmail.com
Tue Apr 17 22:22:17 EDT 2012


Hi Cheng,

Thank you very much for your help. I was able to create the PDG.

Is there a method to convert the generated PDGs in to DOT format and
save it. I saw that there are methods to convert a CFG to DOT format
but could not find a method for PDGs.

Thanks.
Upulee



On Tue, Apr 17, 2012 at 12:06 PM, Cheng Zhang
<cheng.zhang.stap at gmail.com> wrote:
> Hi Upulee,
>
> I guess you want to take a look at the
> interface: soot.toolkits.graph.pdg.ProgramDependenceGraph
> and its implementing class HashMutablePDG.
>
> They should be available in version 2.4.0 or later.
>
> Best,
> Cheng
>
> On Wed, Apr 18, 2012 at 1:25 AM, Upulee Kanewala <upuleegk at gmail.com> wrote:
>>
>> Hi,
>>
>> I want create a program dependency graph (containing both data and
>> control dependencies of a method). Can I use Soot to do this? If
>> someone can point me to an example that is highly appreciated.
>>
>> Thanks.
>> Upulee
>> _______________________________________________
>> Soot-list mailing list
>> Soot-list at sable.mcgill.ca
>> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
>


More information about the Soot-list mailing list