[prev in list] [next in list] [prev in thread] [next in thread] 

List:       soot-list
Subject:    Re: [Soot-list] Saving a Program Dependency Graph in the dot
From:       Hossein Sadat-Mohtasham <shmohtasham () gmail ! com>
Date:       2012-04-18 23:21:50
Message-ID: BC983030-B4FC-4778-8A12-C3B1EEC58E6D () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Upulee,

No, unless it exists somewhere in the base classes. But this seems to  
be a very useful feature
and I don't think it is hard to implement. There is already a method  
that prints the graph for
debugging purposes. A DOT file can be generated in the same way. You  
are welcome to add
it and send a patch; I can also work on this later but I will be busy  
for the next 2 weeks ...

--Hossein


On 19-Apr-12, at 12:57 AM, soot-list-request@sable.mcgill.ca wrote:

> Date: Wed, 18 Apr 2012 07:07:58 -0600
> From: Upulee Kanewala <upuleegk@gmail.com>
> Subject: [Soot-list] Saving a Program Dependency Graph in the dot
> 	format
> To: soot-list@sable.mcgill.ca
> Message-ID:
> 	<CAF6Lvs7A4f-eVxbhzriTE2V7xcBf8zjd8EjLfRUzzwH1_cHvEw@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> I created PDGs using HashMutablePDG class in soot. Does anyone know
> whether there is a way to save the created PDG as a dot file?. Is it
> possible to use soot.util.dot for this?
>
> Thanks.
> Upulee


[Attachment #5 (text/html)]

<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; ">Hi Upulee,<div><br></div><div>No, unless it \
exists somewhere in the base classes. But this seems to be a very useful \
feature<br>and I don't think it is hard to implement. There is already a method that \
prints the graph for<br>debugging purposes. A DOT file can be generated in the same \
way. You are welcome to add</div><div>it and send a patch; I can also work on this \
later but&nbsp;I will be busy for the next 2 weeks \
...<br><br>--Hossein</div><div><br></div><div><br><div><div>On 19-Apr-12, at 12:57 \
AM, <a href="mailto:soot-list-request@sable.mcgill.ca">soot-list-request@sable.mcgill.ca</a> \
wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span \
class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); \
font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: \
normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: \
-webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; \
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; \
-webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; \
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; \
">Date: Wed, 18 Apr 2012 07:07:58 -0600<br>From: Upulee Kanewala &lt;<a \
href="mailto:upuleegk@gmail.com">upuleegk@gmail.com</a>&gt;<br>Subject: [Soot-list] \
Saving a Program Dependency Graph in the dot<br><span class="Apple-tab-span" \
style="white-space: pre; ">	</span>format<br>To:<span \
class="Apple-converted-space">&nbsp;</span><a \
href="mailto:soot-list@sable.mcgill.ca">soot-list@sable.mcgill.ca</a><br>Message-ID:<br><span \
class="Apple-tab-span" style="white-space: pre; ">	</span>&lt;<a \
href="mailto:CAF6Lvs7A4f-eVxbhzriTE2V7xcBf8zjd8EjLfRUzzwH1_cHvEw@mail.gmail.com">CAF6L \
vs7A4f-eVxbhzriTE2V7xcBf8zjd8EjLfRUzzwH1_cHvEw@mail.gmail.com</a>&gt;<br>Content-Type: \
text/plain; charset=ISO-8859-1<br><br>Hi,<br><br>I created PDGs using HashMutablePDG \
class in soot. Does anyone know<br>whether there is a way to save the created PDG as \
a dot file?. Is it<br>possible to use soot.util.dot for \
this?<br><br>Thanks.<br>Upulee</span></blockquote></div><br></div></body></html>



_______________________________________________
Soot-list mailing list
Soot-list@sable.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic