GithubHelp home page GithubHelp logo

qfix's Introduction

QFix

QFix是手Q团队近期推出的一种新的android热补丁方案,在不影响app运行时性能(无需插桩去preverify)的前提下有效地规避了dalvik下"unexpected DEX"的异常,而且还是很轻量级的实现:一行代码调用一个简单的方法就能办到。

该组件还是基于java classLoader的补丁方案,但对dalvik下“unexpected DEX”异常提供了全新的轻量级的解决思路。

PatchTool.jar

	提供补丁注入、卸载的java接口,封装补丁类resolve的java接口

libResolvePatch.so

	提供arm/x86平台库


	提供resolve补丁类的native接口

ResolvePatchTool.jar

	自动输出补丁类所在的dex id和classIdx

不用编译时插桩,也不用对补丁dex进行全量合成,dex安装后,只需调用以下方法:(示例)

String[] referrerList = new String[] {"LFoo2;"};

long[] classIdList = new long[] {2};

HotPatchTool.resolvePatchClass(this, referrerList, classIdList, 1);

qfix's People

Contributors

zhekaiye avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.