[Soot-list] Generating class files from Scene Transformer

Bodden, Eric eric.bodden at sit.fraunhofer.de
Tue Oct 8 08:51:30 EDT 2013


Hello.

> Actually, in short: Given a SootClass instance, can I create a .class file and write it to disk explicitly.

Soot is not really set up for it. Please take a look at the PackManager.writeClass(..) method. Maybe that helps you. If you find a good way to restructure this code to make it reusable for your purpose, please feel free to submit a patch / pull request on Github.

Best wishes,
Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20131008/7e075390/attachment.bin 


More information about the Soot-list mailing list