Giter Site home page Giter Site logo

ProGuard support about acralyzer HOT 4 OPEN

acra avatar acra commented on August 19, 2024
ProGuard support

from acralyzer.

Comments (4)

ozmium avatar ozmium commented on August 19, 2024 1

There is a good workaround: Use the following settings in your proguard config file, to maintain most of the de-obfuscated class names (especially at the top of the stack trace) and approximate line numbers:

In your proguard-project.txt file, add this
-keepattributes SourceFile,LineNumberTable

Ensure that you don't add this to the file:
-renamesourcefileattribute SourceFile

Because it will just rename all the de-obfuscated classes to "SourceFile.java"

from acralyzer.

KevinGaudin avatar KevinGaudin commented on August 19, 2024

Using a pure couchdb, there is no way for Acra-storage to deobfuscate
reports on reception. Even if we rewrite proguard in JS, we can't load the
mapping when receiving a report as the update function can't access other
docs.

The way I see it, deobfuscation has to be an external batch process, either
a java that you would run on your own computer / server which would access
a view listing all obfuscated reports, retrace them and save them back in
the db, or a rewritten JS retrace process that would do the same in the
browser, triggered by the user.

from acralyzer.

hleinone avatar hleinone commented on August 19, 2024

Even if it didn't support de-obfuscation, it would be great if I could add a simple Gradle task that would after the obfuscation upload the mapping.txt to Acralyzer. Then I'd always know from where to get the mapping.txt for each release and wouldn't need to manage those manually.

from acralyzer.

molexx avatar molexx commented on August 19, 2024

I've made a start on this with a script that takes the Acralyzer URL, finds the appropriate mapping.txt file from within Jenkyn's build archives and runs retrace.
Any suggestions as to how it could be launched from within the browser?

https://github.com/molexx/acra_jenkins_retrace

Alternatively it could be a starting point to automatically retracing every report and replacing the value in the db, I assume couchdb allows writing via a HTTP POST but haven't got there yet.

from acralyzer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.