Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Dynamic Method Offset detection for ART fails in Android 16

未关闭
#376 54 条评论 10 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
android, javascript

调研方向

从 lib/android.js 第 1153 行附近开始,并在运行 Android 16 的已 root 物理 Pixel 10 上复现。跟踪报告的“Unable to find copied methods in java/lang/Thread”错误周围的动态方法偏移检测。完成的标准是服务器不再陷入重启循环,并且 Frida 能够在该设置上 spawn 或启动应用。

由索引模型根据 Issue 内容生成。

描述

Looks like the dynamic detection for the method offsets is not successfully working on Android 16.

Reproducible on a physical Pixel 10 rooted device running Android 16.

The device enters on a loop reboot when the server runs and not able to spawn/launch apps using Frida.

Affected code:
https://github.com/frida/frida-java-bridge/blob/f72e61ed18fa6b72f0559df223b22a899685b22c/lib/android.js#L1153

Error message:

{"type":"error","description":"Error: Unable to find copied methods in java/lang/Thread; please file a bug","stack":"Error: Unable to find copied methods in java/lang/Thread; please file a bug\n at /internal-agent.js:1:47232\n at Ie.perform (/internal-agent.js:1:25891)\n at Gn (/internal-agent.js:1:45951)\n at Md (/internal-agent.js:1827:1640)\n at Uo (/internal-agent.js:1827:1258)\n at Function.build (/internal-agent.js:1827:85)\n at t._make (/internal-agent.js:1828:18234)\n at t.use (/internal-agent.js:1828:17033)\n at /internal-agent.js:1837:6963\n at Ie.perform (/internal-agent.js:1:25891)","fileName":"/internal-agent.js","lineNumber":1,"columnNumber":47232}

主要语言
JavaScript
星标
415
派生
174
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

frida/frida-java-bridge 的其他 Issue

查看 frida/frida-java-bridge 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。