Giter Club home page Giter Club logo

Comments (1)

zeyios avatar zeyios commented on July 21, 2024

知乎有相关回答,如果两次版本的混淆结果差别很大,应该还是可以diff的只是patch包会大一些。

2)混淆问题
现在大部分应用都会对自己做混淆,一方面是起到压缩安装包效果,另一方面是起到保护作用,避免代码逻辑被反编译。
混淆带来的一个坑就是同一个类,在不同时期,混淆的文件都不一样了。
比如Test.java
在1.0版本
Test.java -> a.java
在1.1版本
Test.java -> b.java
从而导致生成的patch包都非常大(a.java和b.java在程序的眼里是两个不同的文件)。
因此,我们在做混淆时,一般都要确保前后版本混淆一致。但外部应用,由于不受控制,所以,没法保证。(小tips:从这里看出做开发时,混淆前后一致的重要性)

作者:Jianjian Xiao
链接:https://www.zhihu.com/question/51888647/answer/127983295
来源:知乎
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

from smartappupdates.

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.