<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Christian,<div class=""><br class=""></div><div class="">a Jimple-goto has only a single successor. I would suggest using a control flow graph (UnitGraph in soot). You can use a ExceptionUnitGraph for example if you want to take exceptional control flow into account.</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Bernhard</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Am 30.03.2015 um 15:35 schrieb &lt;<a href="mailto:christian.grosse@comhem.se" class="">christian.grosse@comhem.se</a>&gt; &lt;<a href="mailto:christian.grosse@comhem.se" class="">christian.grosse@comhem.se</a>&gt;:</div><br class="Apple-interchange-newline"><div class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div style="font-size: 12pt; font-family: Calibri;" class="">
<div class="">Hi everyone,</div>
<div class="">&nbsp;</div>
<div class="">Is there a way to get all targets (or labels) for goto stmts (JGotoStmt) in 
a SootMethod object? For example, if I am parsing a SootMethod object and I run 
into a JGotoStmt that has a target in a previous stmt, can I get this 
information before I start to parse all stmts in the SootMethod object? Or do I 
have to do a first sweep, to collect all targets and their asociated stmt’s and 
then start to parse the SootMethod object? A two pass solution I guess...</div>
<div class="">&nbsp;</div>
<div class="">Best regards,</div>
<div class="">Christian G.</div>
<div class="">&nbsp;</div>
<div class="">&nbsp;</div></div></div></div>
_______________________________________________<br class="">Soot-list mailing list<br class=""><a href="mailto:Soot-list@CS.McGill.CA" class="">Soot-list@CS.McGill.CA</a><br class="">https://mailman.CS.McGill.CA/mailman/listinfo/soot-list<br class=""></div></blockquote></div><br class=""></div></body></html>