canyie / pine

Dynamic java method hook framework on ART. Allowing you to change almost all java methods' behavior dynamically.
1.09k stars 205 forks source link

please support X86 and X86_64 #26

Open vegedreamgagnoa opened 2 years ago

vegedreamgagnoa commented 2 years ago

Any effort/plan to support this?

canyie commented 2 years ago

It's hard to support x86 and x64, but I will try :) I have done a simple implementation previously, but I have no time to improve it. https://github.com/canyie/pine/blob/master/core/src/main/cpp/trampoline/arch/x86.cpp

vegedreamgagnoa commented 2 years ago

@canyie Why not using Whale/ Dobby to hook and install the trampolines? Seems like you're already using it :)

canyie commented 2 years ago

@vegedreamgagnoa Please submit a PR if you think that's possible.

9WW7XxHy commented 4 months ago

@vegedreamgagnoa Please submit a PR if you think that's possible.

it's been more than 1 year. Are you still interested in this update?