Obfuscapk icon indicating copy to clipboard operation
Obfuscapk copied to clipboard

Produce an obfuscation mapping file

Open petrdvorak opened this issue 3 years ago • 2 comments

To simplify a crash log analysis during the app operation, the tool should produce a mapping file (mapping.txt) alongside the resulting obfuscated application. Since the app may already be obfuscated with tools like R8 or Proguard, additional feature could be combining the original mapping file with the results of your obfuscations.

Changes would then consist of introducing new arguments:

--original-mapping-file [mapping.txt]      ... path to the original obfuscation mapping file
--mapping-file [mapping2.txt]              ... path to the resulting, combined mapping file

petrdvorak avatar Dec 28 '21 17:12 petrdvorak

Hi @petrdvorak, thanks for the suggestion! This could be very useful when analyzing the error messages of an obfuscated app.

ClaudiuGeorgiu avatar Dec 28 '21 18:12 ClaudiuGeorgiu

Hi @ClaudiuGeorgiu , Do you have future plans of generating a mapping file along with obfuscated apk. it will be really helpful to trace the crashes from the crashlytics dashboard in the production app. Thanks

lovemhjn avatar Jan 10 '22 04:01 lovemhjn