[Soot-list] How to dump Shimple files (not command line)?

QIAN ChenXiong chenxiongqian at gmail.com
Thu Jan 23 22:33:42 EST 2014


Hi all,

I want to do analysis on Shimple format bytecode and I set the following options:

“”“
Options.v().set_via_shimple(true);
Options.v().set_whole_shimple(true);
Options.v().setPhaseOption("wstp", "enabled:true”);
Options.v().set_output_format(Options.output_format_shimple);
“””
and the “PackManager.v().writeOutput();” dumped the “*.shimple” files under “sootOutput”, but the shimple files are actually jimple format files because they contain no Phi node.

Also, what does “In an unmodified copy of Soot the Whole-Shimple Transformation Pack is empty.” mean?

Soot can perform whole-program analyses. In whole-shimple 
mode, Soot applies the contents of the Whole-Shimple 
Transformation Pack to the scene as a whole after constructing a 
call graph for the program. In an unmodified copy of Soot the 
Whole-Shimple Transformation Pack is empty.

Thanks in advance.

Best,
Shoon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20140124/2e9fb425/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20140124/2e9fb425/attachment.bin 


More information about the Soot-list mailing list