Add preliminary zygote code injection support

Prototyping the injection setup and a clean "self unloading" mechanism.
This commit is contained in:
topjohnwu
2021-01-06 22:21:17 -08:00
parent cd23d27048
commit 4060c2107c
13 changed files with 281 additions and 102 deletions

View File

@@ -30,7 +30,9 @@ LOCAL_SRC_FILES := \
su/su.cpp \
su/connect.cpp \
su/pts.cpp \
su/su_daemon.cpp
su/su_daemon.cpp \
inject/entry.cpp \
inject/utils.cpp
LOCAL_LDLIBS := -llog
include $(BUILD_EXECUTABLE)