mirror of
https://github.com/LSPosed/LSPlant.git
synced 2025-05-04 20:42:02 +08:00
Fix riscv trampoline
This commit is contained in:
parent
34b41249fa
commit
2cccfae8c1
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -8,3 +8,6 @@
|
||||
[submodule "test/src/main/jni/external/lsparself"]
|
||||
path = test/src/main/jni/external/lsparself
|
||||
url = git@github.com:LSPosed/lsparself.git
|
||||
[submodule "test/src/main/jni/external/lsprism"]
|
||||
path = test/src/main/jni/external/lsprism
|
||||
url = git@github.com:LSPosed/lsprism.git
|
||||
|
@ -72,9 +72,9 @@ consteval inline auto GetTrampoline() {
|
||||
}
|
||||
if constexpr (kArch == Arch::kRiscv64) {
|
||||
return std::make_tuple(
|
||||
"\x17\x05\x00\x00\x03\x35\xc5\x00\x67\x00\x05\x00\x78\x56\x34\x12\x78\x56\x34\x12"_uarr,
|
||||
"\x17\x05\x00\x00\x03\x35\x05\x01\x83\x3f\x05\x00\x67\x80\x0f\x00\x78\x56\x34\x12\x78\x56\x34\x12"_uarr,
|
||||
// NOLINTNEXTLINE
|
||||
uint8_t{84u}, uintptr_t{12u});
|
||||
uint8_t{84u}, uintptr_t{16u});
|
||||
}
|
||||
}
|
||||
|
||||
|
1
test/src/main/jni/external/lsprism
vendored
Submodule
1
test/src/main/jni/external/lsprism
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit ca815ab41425fbc3d8ddc9bfcec964848fc1ec23
|
Loading…
x
Reference in New Issue
Block a user