mirror of
https://github.com/LSPosed/LSPlant.git
synced 2025-05-04 20:42:02 +08:00
Use one inst hook
This commit is contained in:
parent
a15d854930
commit
2b784e114f
@ -107,6 +107,10 @@ afterEvaluate {
|
||||
executable = "${rootProject.buildFile.parent}/gradlew"
|
||||
args = listOf(":${project.name}:$name")
|
||||
}
|
||||
exec {
|
||||
executable = "${rootProject.buildFile.parent}/gradlew"
|
||||
args = listOf(":${project.name}:cleanManagedDevices")
|
||||
}
|
||||
println("::endgroup::")
|
||||
}
|
||||
}
|
||||
|
@ -56,6 +56,9 @@ JNI_OnLoad(JavaVM* vm, void* reserved) {
|
||||
return JNI_ERR;
|
||||
}
|
||||
SandHook::ElfImg art("libart.so");
|
||||
#if !defined(__i386__)
|
||||
dobby_enable_near_branch_trampoline();
|
||||
#endif
|
||||
lsplant::InitInfo initInfo{
|
||||
.inline_hooker = InlineHooker,
|
||||
.inline_unhooker = InlineUnhooker,
|
||||
|
Loading…
x
Reference in New Issue
Block a user