Your message dated Fri, 07 May 2021 10:42:46 +0100
with message-id
<162038055310.1071383.15250709808196406...@tinycat.chris-lamb.co.uk>
and subject line Re: diffoscope: Improve .dex file handling
has caused the Debian Bug report #857363,
regarding diffoscope: Improve .dex file handling
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
857363: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857363
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: diffoscope
Severity: wishlist
Dear Maintainer,
1. Better handle .dex files
currently enjarify tool is used in order to transform .dex file to .jar, this
tool can fail (as probably any decompiler) for example:
Command `enjarify -o /tmp/tmpdp3fttiq_diffoscope/classes.jar
/tmp/tmpw04hjmue_diffoscope/classes.dex` exited with -9. Output: <none>
http://37.218.242.117/com.nbossard.packlist_16.apk.diffoscope.html#classes.dex
No file format specific differences found inside, yet data differs:
http://37.218.242.117/com.ancantus.HYPNOTOAD_4.apk.diffoscope.html#classes.dex
in such cases the fallback is binary comparison, it will be better to:
* use other decompilers as fallback if enjarify fail, such as:
jadx - https://github.com/skylot/jadx
SOOT - https://sable.github.io/soot/
Dare - http://siis.cse.psu.edu/dare/index.html
Dex2Jar - https://github.com/pxb1988/dex2jar
DAD from androguard (which has Debian package
https://packages.debian.org/sid/androguard )
more information:
https://stackoverflow.com/questions/1249973/decompiling-dex-into-java-sourcecode#36159034
* if all available decompilers fail, use apktool in order to transform
.dex file to smali/baksmali
2. Support parsing android resources not in APK file
Support for some Android files (such as: AndroidManifest.xml & resources.arsc)
was added in:
https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=3e748664a91b7ced412547a204e1473161425d4f
but it works only if comparing APK files, not directories / when the content
archived in other format (non ZIP)
--- End Message ---
--- Begin Message ---
> diffoscope: Improve .dex file handling
Closing this bug as-per request:
https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/20#note_170054
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` la...@debian.org / chris-lamb.co.uk
`-
--- End Message ---
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/reproducible-builds