[Soot-list] ZipException using soot-infoflow-android

Steven Arzt Steven.Arzt at cased.de
Mon Sep 15 07:10:07 EDT 2014


Hi Ashish,

 

Please check whether you can open the APK file with an unzip tool such as WinZip or WinRAR (you might have to rename it to .zip for this test). If that fails, Soot is out of luck as well.

 

Best regards,

  Steven

 

Von: soot-list-bounces at CS.McGill.CA [mailto:soot-list-bounces at CS.McGill.CA] Im Auftrag von ASHISH MISHRA
Gesendet: Montag, 15. September 2014 13:08
An: Soot List
Betreff: [Soot-list] ZipException using soot-infoflow-android

 

Hi All,

 

I am getting this ZipException for all the apk file i pass as the parameter , according to the comments its thrown for wrong invalid apk, but i dont see that as a possibility here (As it happens for well formed apks ).

 

My parameters are file path to the apk , and the path to the platforms/ dir 

 

 

could not read file: error in opening zip file

java.util.zip.ZipException: error in opening zip file

            at java.util.zip.ZipFile.open(Native Method)

            at java.util.zip.ZipFile.<init>(ZipFile.java:131)

            at java.util.zip.ZipFile.<init>(ZipFile.java:148)

            at soot.jimple.infoflow.android.axml.ApkHandler.getInputStream(ApkHandler.java:96)

            at soot.jimple.infoflow.android.manifest.ProcessManifest.<init>(ProcessManifest.java:83)

            at soot.jimple.infoflow.android.manifest.ProcessManifest.<init>(ProcessManifest.java:70)

            at soot.jimple.infoflow.android.SetupApplication.calculateSourcesSinksEntrypoints(SetupApplication.java:251)

            at soot.jimple.infoflow.android.SetupApplication.calculateSourcesSinksEntrypoints(SetupApplication.java:234)

            at soot.jimple.infoflow.android.TestApps.Test.runAnalysis(Test.java:478)

            at soot.jimple.infoflow.android.TestApps.Test.main(Test.java:210)

Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: error in opening zip file

            at soot.jimple.infoflow.android.TestApps.Test.runAnalysis(Test.java:493)

            at soot.jimple.infoflow.android.TestApps.Test.main(Test.java:210)

Caused by: java.util.zip.ZipException: error in opening zip file

            at java.util.zip.ZipFile.open(Native Method)

            at java.util.zip.ZipFile.<init>(ZipFile.java:131)

            at java.util.zip.ZipFile.<init>(ZipFile.java:148)

            at soot.jimple.infoflow.android.axml.ApkHandler.getInputStream(ApkHandler.java:96)

            at soot.jimple.infoflow.android.manifest.ProcessManifest.<init>(ProcessManifest.java:83)

            at soot.jimple.infoflow.android.manifest.ProcessManifest.<init>(ProcessManifest.java:70)

            at soot.jimple.infoflow.android.SetupApplication.calculateSourcesSinksEntrypoints(SetupApplication.java:251)

            at soot.jimple.infoflow.android.SetupApplication.calculateSourcesSinksEntrypoints(SetupApplication.java:234)

            at soot.jimple.infoflow.android.TestApps.Test.runAnalysis(Test.java:478)

            ... 1 more

 

 

Did some body else faced this issue and has some clue resolving it .

 

Thanks and ragards

-- 
Regards,
Ashish Mishra
Graduate Student,
Computer Science and Automation Department,IISc
Cell : +91-9611194714
Mailto : ashishmishra at csa.iisc.ernet.in

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20140915/3c2d5aa1/attachment.html 


More information about the Soot-list mailing list