Skip to content

feat(incision): 新增字节码织入模块#688

Closed
FxRayHughes wants to merge 0 commit into
TabooLib:dev/6.3.0from
FxRayHughes:incision-dev
Closed

feat(incision): 新增字节码织入模块#688
FxRayHughes wants to merge 0 commit into
TabooLib:dev/6.3.0from
FxRayHughes:incision-dev

Conversation

@FxRayHughes
Copy link
Copy Markdown
Contributor

Summary

  • 新增 module/incision:基于 ASM Tree API 的字节码织入模块,提供 Surgeon/Lead/Trail/Splice/Excise/Graft/Bypass/Trim/Site 注解体系
  • 双路径 SiteWeaver(streaming 访问者 + recording Tree API)+ FrameVerifier 织入后帧一致性预检,失败自动回退原字节码
  • 三后端切换:JVMTI / Instrumentation / ClassLoaderHook,集成 TabooLib 生命周期与 bukkit-nms remap

Test plan

  • 在 Paper / Spigot 运行 Incision-Test 用例
  • 确认 FrameVerifier 对异常字节码回退行为
  • 验证三后端在无 jdk.attach 情况下的降级路径

Ray_Hughes

@FxRayHughes FxRayHughes force-pushed the incision-dev branch 2 times, most recently from 9dbfeec to a141a99 Compare April 20, 2026 08:06
@Micalhl Micalhl requested a review from Bkm016 April 20, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant