[Soot-list] output as APK failing

Peter Kim chpkim at gmail.com
Thu Mar 5 15:49:50 EST 2015


Hi,

After I instrument a game app, the game is not displaying the graphics
anymore on the mobile device (Galaxy S5), but the graphics render loop is
still running. What is odd is that even when the code is unchanged and is
merely output by Soot, the same problem occurs. Unfortunately, I cannot
find any useful error/debug information to pinpoint the problem. The
transformation passed validation and was signed and aligned.

The app is downloadable from here,
https://github.com/siondream/freegemas-gdx. The APK file will be generated
after you run it and will be located in freegemas-android/bin.

I'm using the following statements to get the output:

Options.v().set_src_prec(Options.src_prec_apk);
Options.v().set_output_format(Options.output_format_dex);
soot.options.Options.v().set_force_android_jar("C:/android-19/android.jar");
Options.v().set_allow_phantom_refs(true);
ArrayList<String> procDir = new ArrayList<String>();
procDir.add("C:/freegemas.apk");
Options.v().set_process_dir(procDir);
Options.v().set_output_dir("C:/sootoutput");
Options.v().set_whole_program(true);

I found someone posted a similar issue a while ago (
http://marc.info/?l=soot-list&m=141925896127089&w=2) but could not find
responses to it.

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150305/11ac17bb/attachment.html 


More information about the Soot-list mailing list