Your message dated Thu, 14 May 2020 16:18:31 +0100
with message-id <1c4f556c-7473-49cc-8b58-0b929834a58f@sloti26t01>
and subject line Re: diffoscope: Support parsing Android resources not in APK 
file
has caused the Debian Bug report #857364,
regarding diffoscope: Support parsing Android resources not in APK file
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.)


-- 
857364: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857364
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 ---
Hi,

> diffoscope: Support parsing Android resources not in APK file

Closing as per:

    How would you feel about closing this issue given that we have two
    newer bugs that address this? Since three years has passed there
    have been lots of changes to APK and classes.dex and doing the
    archeology about what diffoscope used to do relative to this bug
    is not the most effective use of time, so it may make sense just
    to move to these newer, fresher bugs.

      -- 
https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/21#note_164772


Best wishes,

-- 
      ,''`.
     : :'  :     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

Reply via email to