alibaba / alibaba/AndFix

先load 一个错误的apatch 再去load正确的apach包,保存的错误缓存没有清理

Open
#41 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
7k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

场景
先去load一个错误的apatch包~hot-fix失败,但是data下有缓存了,再次load正确的apatch包,还是加载缓存中的方法,hot-fix不成功,缓存也没清理,退出并清理app进程,再次进入app,hot-fix成功

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the sequence described: load a broken APatch, then a valid APatch without restarting the app, and observe the cached methods and hot-fix result. Trace the Android patch-loading and cache-handling entry points; done means the failed patch cache is cleared so the subsequent valid patch applies without restarting the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, cpp
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.