[Soot-list] setapp(true) causes dexopt failed error and instrumenting trycatchblock

Satyaditya Munipalle satyadit at buffalo.edu
Fri Apr 25 14:04:02 EDT 2014


Hi Mr. Eric,
                   While instrumentation of android apps I had noticed that
when the external classes are set as application classes when loaded via
 forceload method or tryloadclass method  if the options.v().set_app(true)
is used with whole-program-mode enabled ,  the validation succeeds while
running soot ,but the  android OS throws *[dex_opt_failed]* error . Can you
tell me why this option causes the dex optimzation to fail?

2.how to  change the position of the try statement in the function block, I
am not able to match the try 'label' with any type of statements defined in
the  soot? though  I am able to create a new label using the setBeginUnit
method declared in the trap interface, I was not able to remove the
existing try statement.


Regards,
aditya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20140425/ef85321d/attachment.html 


More information about the Soot-list mailing list