[Soot-list] Bug when -oaat is used with -outjar

Bodden, Eric eric.bodden at sit.fraunhofer.de
Fri Apr 19 05:41:31 EDT 2013


Thanks. I fixed this.

Eric

On 14.04.2013, at 05:25, Saswat Anand <saswat78 at gmail.com> wrote:

> 
> When -oaat and -outjar are used together, the output jar file remains empty.
> 
> That is because, even with -oaat flag, PackManager:writeOutput is called from soot.Main at line 199. I dont think there is no need for that call because with -oaat flag, the classes have already been output at that point.
> 
> The fix is to move that call to writeOutput from Soot.Main to inside the else branch in PackManager.runPacks() method.
> 
> Saswat
> 
>  
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list

--
Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
Head of Secure Software Engineering Group at EC SPRIDE
Tel: +49 6151 16-75422    Fax: +49 6151 16-72051
Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt



More information about the Soot-list mailing list