Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep libart.so cache after HookBridge
The previous commit 5da38f6 is not complete since `GetArt(true)` will destroy the static SandHook::ElfImg object. Since in the previous two commits we have postponed the initialization of LSPlant, we can now keep the symbol cache of `libart` for the InitArtHooker call in method `OnNativeForkSystemServerPost`. Symbol cache works because we are using local static object in the function `GetArt`, whose life-cycle is not constraint by the function block.
- Loading branch information