Giter Club home page Giter Club logo

Comments (3)

ClaudiuGeorgiu avatar ClaudiuGeorgiu commented on May 28, 2024

Hi @justinagain, for 1) look at Reorder obfuscator, it should do something similar to what you described. For 2), since both Goto and Reorder obfuscators usually work, I think goto instructions can be used inside the body of a method without problems.

from obfuscapk.

justinagain avatar justinagain commented on May 28, 2024

@ClaudiuGeorgiu - thanks for this. So, I ran Reorder and indeed it added random gotos. Now the fun part - this causes many problems for decompilation. Neither of these are Obfuscapk's problem, per se, but something people should be aware of.

1.) A tool like Jadx that uses smali will fail on those methods and be unable to create Java source code. As there is no unconditional goto in Java (but there is in Dalvik byte code) - it cannot render the obfuscated code back to Java. Jadx will output the byte code so you at least know what is going on.
2.) More problematic is running this through a tool like Soot. Soot will fail on these and outline an error related to the Registy and null pointer. I do not know the ramifications of this. It's possible that Soot is unable to handle the unconditional goto or maybe its an invalid app output by Obfuscapk. I did not run it in an emulator to see which is the case - have no plans to. Just letting you know!

You can close this ticket.

from obfuscapk.

ClaudiuGeorgiu avatar ClaudiuGeorgiu commented on May 28, 2024

Thanks for the feedback!

from obfuscapk.

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.