alibaba / alibaba/AndFix

5.1 arm-64和x86-64平台调用addPatch()时崩溃

Open
#195 8 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

问题定位到执行方法
replace_5_1(JNIEnv\* env, jobject src, jobject dest)
dmeth->declaring_class_->class_loader_ =smeth->declaring_class_->class_loader_; 时会崩溃

Fatal signal 11 (SIGSEGV), code 1, fault addr 0x8000112cbc010 in tid 31274
@supern @董炼师

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the SIGSEGV on both arm64 and x86-64 while tracing replace_5_1(JNIEnv* env, jobject src, jobject dest), especially the dmeth->declaring_class_->class_loader_ assignment. Investigate the platform-specific crash details and confirm the change prevents the reported failure on both architectures.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, cpp
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.