Closed JingMatrix closed 2 months ago
It turns out that we should
LSPlt
for libart
inline-hook since it also supports riscv
archDobby
for native_api
inline-hook since it supports general ELF files other than just shared libraries (which is the case for LSPlt
).
Currently, we can use LSPlt to do inline hook for symbols in
libart.so
. However,/linker
is treated as an invalid ELF in LSPlt. We thus need to modify LSPlt.Moreover, to be more efficient, we should avoid looking up symbols twice (LSPosed and LSPlt both implement
elf_utils
).