All Projects → LaurenceYang → tinker-dex-dump

LaurenceYang / tinker-dex-dump

Licence: other
用来查看tinker生成的dexdiff格式内容工具,收录于微信tinker官方wiki

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to tinker-dex-dump

Tinkerpatch Sdk
TinkerPatch SDK
Stars: ✭ 290 (+158.93%)
Mutual labels:  tinker, hotfix
Tinker Manager
微信tinker补丁管理,后端代码+客户端sdk
Stars: ✭ 670 (+498.21%)
Mutual labels:  tinker, hotfix
Tinkerpatch Sample
已经改造完自身App的Application的应用的参考Sample
Stars: ✭ 63 (-43.75%)
Mutual labels:  tinker, hotfix
tinkerpatch-easy-sample
无需修改自己App代码,一键接入的Sample
Stars: ✭ 79 (-29.46%)
Mutual labels:  tinker, hotfix
Fastdex
🚀 加快 apk 的编译速度 🚀
Stars: ✭ 1,457 (+1200.89%)
Mutual labels:  tinker, hotfix
Tinker app
Android热更新Tinker + 多渠道打包 + 加固的流程详解demo
Stars: ✭ 67 (-40.18%)
Mutual labels:  tinker, hotfix
Laravel Sketchpad
An innovative front-end environment for interactive Laravel development
Stars: ✭ 302 (+169.64%)
Mutual labels:  tinker
Meteorite
一个基于Android MVP的简单明了的指引性通用架构,目的是帮助更多的开发者去全面了解实践开发相关的各种技术,快速搭建属于自已的APP。这个项目涉及到如下技术的实际应用:1、MVP 2、网络请求(Novate基于rxjava,okhttp,retrofit封装架构)3、DbFlow(可保存文件入SD卡) 4、6.0权限申请 5、XRecyclerView 6、万能Adapter7、异常处理 8、日志打印 9、屏幕适配 10、代码混淆 11、多渠道打包 12、内存泄露检测 13、热修复 14、升级更新 15、极光推送 工程更新完善中……欢迎关注 @特别感谢ZJ.Y的Logo支持。
Stars: ✭ 49 (-56.25%)
Mutual labels:  tinker
Tinker
Powerful REPL for the Laravel framework.
Stars: ✭ 6,957 (+6111.61%)
Mutual labels:  tinker
Kingtv
📺 高仿全民直播(全民TV),项目采用 MVP + RXJava + Retrofit + OKHttp + Material Design + Dagger2 + Base + Glide + GreenDao构建。因为全民TV已经凉了,导致App已经连不上。所以本项目已暂停维护。仅供学习。 推荐MVPFrame: https://github.com/jenly1314/MVPFrame 和你值得拥有的MVVMFrame快速开发框架: https://github.com/jenly1314/MVVMFrame
Stars: ✭ 1,594 (+1323.21%)
Mutual labels:  tinker
Baby
一个私密社交APP,采用Dagger2+Rxjava+LeanCloud+环信+MVP+Tinker进行开发。
Stars: ✭ 687 (+513.39%)
Mutual labels:  tinker
tinkerun
A new way of Running Tinker. Simplify the Web Artisan's workflow.
Stars: ✭ 266 (+137.5%)
Mutual labels:  tinker
Laravel Web Tinker
Tinker in your browser
Stars: ✭ 664 (+492.86%)
Mutual labels:  tinker
Laravelfly
To be an absolutely safe solution to speed up Laravel with Swoole. Preloading + Coroutine and Tinker Online.
Stars: ✭ 459 (+309.82%)
Mutual labels:  tinker
Steamtinkerlaunch
Linux wrapper tool for use with the Steam client for custom launch options and 3rd party programs
Stars: ✭ 271 (+141.96%)
Mutual labels:  tinker
Laravel Tinker Server
Tinker with your variables while working on your Laravel application
Stars: ✭ 203 (+81.25%)
Mutual labels:  tinker
ignition-tinker-tab
An Ignition tab to tinker with your Laravel app
Stars: ✭ 30 (-73.21%)
Mutual labels:  tinker
sliver
REPL for SilverStripe, powered by Psysh. Interactively debug and tinker with a sliver of your code.
Stars: ✭ 17 (-84.82%)
Mutual labels:  tinker
SDKHoxFix
Android 上SDK的代码热更方案(Android-HoxFix-SDK-Native-Java)
Stars: ✭ 60 (-46.43%)
Mutual labels:  hotfix
U3dFrameworkTolua
游客学院框架,Fairygui+Tolua
Stars: ✭ 61 (-45.54%)
Mutual labels:  hotfix

tinker-dex-dump

序言

Tinker是微信推出的热更新开源项目,同其它热更新方案相比具有补丁包小,支持类,so,资源文件的替换等优点。其中在类替换的方案里自主研发了DexDiff算法,使得补丁包变的更小。DexDiff算法最终生成的产物虽然也以.dex作为格式后缀,但和实际虚拟机中的dex文件是二种完全不同的格式。  

关于tinker-dex-dump

  tinker-dex-dump是针对dexdiff生成的.dex格式文件,查看其内部数据的工具。主要目的是帮助大家对dexdiff生成的dex格式有一个更加直观的了解。如果使用该工具能让你更容易了解tinker相关原理,那该工具的目的也就达到了,也算是个人对Tinker的致敬。  

tinker-dex-dump的使用方法  

1、首先下载tinker-dex-dump.jar文件

下载地址

2、通过命令行方式执行  

命令格式

java -jar tinker-dex-dump.jar --dex *.dex [--header] [--section section-name]

--dex           必选项,后接需要dump的dex路径  

--header      可选项,显示header区域信息

--section      可选项,显示section区域信息,后接要显示的section名字  

--section参数列表,参数的意义同其命名

  • StringData
  • TypeId
  • ProtoId
  • FieldId
  • MethodId
  • ClassDef
  • TypeList
  • AnnotationSetRefList
  • AnnotationSet
  • ClassData
  • Code
  • DebugInfo
  • Annotation
  • StaticValue
  • AnnotationsDirectory

范例一:显示头部信息  

java -jar tinker-dex-dump.jar --dex classes.dex --header

显示头部信息

范例二:显示StringData区域信息  

java -jar tinker-dex-dump.jar --dex classes.dex --section StringData

显示section信息

范例三:显示帮助信息  

java -jar tinker-dex-dump.jar --help

显示帮助信息

tinker dex格式参考

tinker dex格式主要包括两大部分:头部和各个section区域的操作列表,如下图: tinker dex format

更多关于tinker dex格式可以参考Tinker项目的DexPatchGenerator文件

TODO  

1、复杂区域如ClassData等的表现形式  

也欢迎大家多多提出意见

参考  

Tinker官方Github  

Tinker官方Wiki  

热更新相关文档

More...>>>

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].