├── .clang-format ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ └── feature-request.yml └── pull_request_template.md ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── README.zh-CN.md ├── SECURITY.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── cpp │ ├── CMakeLists.txt │ ├── hookee │ │ ├── arch │ │ │ ├── arm │ │ │ │ ├── a32.S │ │ │ │ ├── t16.S │ │ │ │ └── t32.S │ │ │ └── arm64 │ │ │ │ └── a64.S │ │ ├── asm.h │ │ ├── hookee.c │ │ └── hookee.h │ ├── hookee2 │ │ ├── hookee2.c │ │ └── hookee2.h │ └── unittest │ │ ├── unittest.c │ │ ├── unittest.h │ │ └── unittest_jni.c │ ├── java │ └── com │ │ └── bytedance │ │ └── shadowhook │ │ └── sample │ │ ├── MainActivity.java │ │ ├── MyCustomApplication.java │ │ └── NativeHandler.java │ └── res │ ├── drawable-v24 │ └── ic_launcher_foreground.xml │ ├── drawable │ └── ic_launcher_background.xml │ ├── layout │ └── activity_main.xml │ ├── mipmap-anydpi-v26 │ ├── ic_launcher.xml │ └── ic_launcher_round.xml │ ├── mipmap-hdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-mdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-xhdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-xxhdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-xxxhdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ └── values │ ├── colors.xml │ ├── strings.xml │ └── themes.xml ├── checkstyle.xml ├── clang-format.py ├── doc ├── README.md ├── manual.md ├── manual.zh-CN.md ├── shadowhook_hook_and_intercept.png ├── shadowhook_intercept_instr.png ├── shadowhook_intercept_ret.png ├── shadowhook_multi_mode.png └── shadowhook_shared_mode.png ├── gradle.properties ├── gradle ├── check.gradle ├── publish.gradle ├── sanitizer.gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── settings.gradle ├── shadowhook ├── .gitignore ├── build.gradle ├── consumer-rules.pro ├── local_dependency.cmake └── src │ └── main │ ├── AndroidManifest.xml │ ├── cpp │ ├── CMakeLists.txt │ ├── arch │ │ ├── arm │ │ │ ├── sh_a32.c │ │ │ ├── sh_a32.h │ │ │ ├── sh_glue.S │ │ │ ├── sh_inst.c │ │ │ ├── sh_inst.h │ │ │ ├── sh_t16.c │ │ │ ├── sh_t16.h │ │ │ ├── sh_t32.c │ │ │ ├── sh_t32.h │ │ │ ├── sh_txx.c │ │ │ └── sh_txx.h │ │ └── arm64 │ │ │ ├── sh_a64.c │ │ │ ├── sh_a64.h │ │ │ ├── sh_glue.S │ │ │ ├── sh_inst.c │ │ │ └── sh_inst.h │ ├── common │ │ ├── bytesig.c │ │ ├── bytesig.h │ │ ├── sh_config.h │ │ ├── sh_errno.c │ │ ├── sh_errno.h │ │ ├── sh_log.c │ │ ├── sh_log.h │ │ ├── sh_sig.h │ │ ├── sh_trampo.c │ │ ├── sh_trampo.h │ │ ├── sh_util.c │ │ └── sh_util.h │ ├── include │ │ └── shadowhook.h │ ├── nothing │ │ └── sh_nothing.c │ ├── sh_elf.c │ ├── sh_elf.h │ ├── sh_enter.c │ ├── sh_enter.h │ ├── sh_hub.c │ ├── sh_hub.h │ ├── sh_island.c │ ├── sh_island.h │ ├── sh_jni.c │ ├── sh_linker.c │ ├── sh_linker.h │ ├── sh_recorder.c │ ├── sh_recorder.h │ ├── sh_safe.c │ ├── sh_safe.h │ ├── sh_switch.c │ ├── sh_switch.h │ ├── sh_task.c │ ├── sh_task.h │ ├── shadowhook.c │ ├── shadowhook.map.txt │ └── third_party │ │ ├── bsd │ │ ├── queue.h │ │ └── tree.h │ │ ├── lss │ │ ├── LICENSE │ │ └── linux_syscall_support.h │ │ └── xdl │ │ ├── LICENSE │ │ ├── xdl.c │ │ ├── xdl.h │ │ ├── xdl_iterate.c │ │ ├── xdl_iterate.h │ │ ├── xdl_linker.c │ │ ├── xdl_linker.h │ │ ├── xdl_lzma.c │ │ ├── xdl_lzma.h │ │ ├── xdl_util.c │ │ └── xdl_util.h │ └── java │ └── com │ └── bytedance │ └── shadowhook │ └── ShadowHook.java └── systest ├── .gitignore ├── build.gradle ├── consumer-rules.pro └── src └── main ├── AndroidManifest.xml ├── cpp ├── CMakeLists.txt ├── systest.c ├── systest.h ├── systest.map.txt ├── systest_jni.c ├── systest_util.c └── systest_util.h └── java └── com └── bytedance └── shadowhook └── systest └── SysTest.java /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/.clang-format -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/.github/ISSUE_TEMPLATE/feature-request.yml -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/.gitignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/README.md -------------------------------------------------------------------------------- /README.zh-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/README.zh-CN.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/SECURITY.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/cpp/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/cpp/CMakeLists.txt -------------------------------------------------------------------------------- /app/src/main/cpp/hookee/arch/arm/a32.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/cpp/hookee/arch/arm/a32.S -------------------------------------------------------------------------------- /app/src/main/cpp/hookee/arch/arm/t16.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/cpp/hookee/arch/arm/t16.S -------------------------------------------------------------------------------- /app/src/main/cpp/hookee/arch/arm/t32.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/cpp/hookee/arch/arm/t32.S -------------------------------------------------------------------------------- /app/src/main/cpp/hookee/arch/arm64/a64.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/cpp/hookee/arch/arm64/a64.S -------------------------------------------------------------------------------- /app/src/main/cpp/hookee/asm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/cpp/hookee/asm.h -------------------------------------------------------------------------------- /app/src/main/cpp/hookee/hookee.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/cpp/hookee/hookee.c -------------------------------------------------------------------------------- /app/src/main/cpp/hookee/hookee.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/cpp/hookee/hookee.h -------------------------------------------------------------------------------- /app/src/main/cpp/hookee2/hookee2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/cpp/hookee2/hookee2.c -------------------------------------------------------------------------------- /app/src/main/cpp/hookee2/hookee2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/cpp/hookee2/hookee2.h -------------------------------------------------------------------------------- /app/src/main/cpp/unittest/unittest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/cpp/unittest/unittest.c -------------------------------------------------------------------------------- /app/src/main/cpp/unittest/unittest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/cpp/unittest/unittest.h -------------------------------------------------------------------------------- /app/src/main/cpp/unittest/unittest_jni.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/cpp/unittest/unittest_jni.c -------------------------------------------------------------------------------- /app/src/main/java/com/bytedance/shadowhook/sample/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/java/com/bytedance/shadowhook/sample/MainActivity.java -------------------------------------------------------------------------------- /app/src/main/java/com/bytedance/shadowhook/sample/MyCustomApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/java/com/bytedance/shadowhook/sample/MyCustomApplication.java -------------------------------------------------------------------------------- /app/src/main/java/com/bytedance/shadowhook/sample/NativeHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/java/com/bytedance/shadowhook/sample/NativeHandler.java -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/app/src/main/res/values/themes.xml -------------------------------------------------------------------------------- /checkstyle.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/checkstyle.xml -------------------------------------------------------------------------------- /clang-format.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/clang-format.py -------------------------------------------------------------------------------- /doc/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/doc/README.md -------------------------------------------------------------------------------- /doc/manual.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/doc/manual.md -------------------------------------------------------------------------------- /doc/manual.zh-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/doc/manual.zh-CN.md -------------------------------------------------------------------------------- /doc/shadowhook_hook_and_intercept.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/doc/shadowhook_hook_and_intercept.png -------------------------------------------------------------------------------- /doc/shadowhook_intercept_instr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/doc/shadowhook_intercept_instr.png -------------------------------------------------------------------------------- /doc/shadowhook_intercept_ret.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/doc/shadowhook_intercept_ret.png -------------------------------------------------------------------------------- /doc/shadowhook_multi_mode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/doc/shadowhook_multi_mode.png -------------------------------------------------------------------------------- /doc/shadowhook_shared_mode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/doc/shadowhook_shared_mode.png -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/check.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/gradle/check.gradle -------------------------------------------------------------------------------- /gradle/publish.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/gradle/publish.gradle -------------------------------------------------------------------------------- /gradle/sanitizer.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/gradle/sanitizer.gradle -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/settings.gradle -------------------------------------------------------------------------------- /shadowhook/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /shadowhook/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/build.gradle -------------------------------------------------------------------------------- /shadowhook/consumer-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/consumer-rules.pro -------------------------------------------------------------------------------- /shadowhook/local_dependency.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/local_dependency.cmake -------------------------------------------------------------------------------- /shadowhook/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/CMakeLists.txt -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/arch/arm/sh_a32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/arch/arm/sh_a32.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/arch/arm/sh_a32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/arch/arm/sh_a32.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/arch/arm/sh_glue.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/arch/arm/sh_glue.S -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/arch/arm/sh_inst.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/arch/arm/sh_inst.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/arch/arm/sh_inst.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/arch/arm/sh_inst.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/arch/arm/sh_t16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/arch/arm/sh_t16.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/arch/arm/sh_t16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/arch/arm/sh_t16.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/arch/arm/sh_t32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/arch/arm/sh_t32.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/arch/arm/sh_t32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/arch/arm/sh_t32.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/arch/arm/sh_txx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/arch/arm/sh_txx.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/arch/arm/sh_txx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/arch/arm/sh_txx.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/arch/arm64/sh_a64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/arch/arm64/sh_a64.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/arch/arm64/sh_a64.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/arch/arm64/sh_a64.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/arch/arm64/sh_glue.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/arch/arm64/sh_glue.S -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/arch/arm64/sh_inst.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/arch/arm64/sh_inst.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/arch/arm64/sh_inst.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/arch/arm64/sh_inst.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/common/bytesig.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/common/bytesig.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/common/bytesig.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/common/bytesig.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/common/sh_config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/common/sh_config.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/common/sh_errno.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/common/sh_errno.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/common/sh_errno.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/common/sh_errno.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/common/sh_log.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/common/sh_log.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/common/sh_log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/common/sh_log.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/common/sh_sig.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/common/sh_sig.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/common/sh_trampo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/common/sh_trampo.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/common/sh_trampo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/common/sh_trampo.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/common/sh_util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/common/sh_util.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/common/sh_util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/common/sh_util.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/include/shadowhook.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/include/shadowhook.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/nothing/sh_nothing.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/nothing/sh_nothing.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_elf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_elf.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_elf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_elf.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_enter.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_enter.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_enter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_enter.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_hub.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_hub.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_hub.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_hub.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_island.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_island.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_island.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_island.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_jni.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_jni.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_linker.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_linker.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_linker.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_linker.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_recorder.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_recorder.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_recorder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_recorder.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_safe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_safe.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_safe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_safe.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_switch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_switch.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_switch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_switch.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_task.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_task.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/sh_task.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/sh_task.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/shadowhook.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/shadowhook.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/shadowhook.map.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/shadowhook.map.txt -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/third_party/bsd/queue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/third_party/bsd/queue.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/third_party/bsd/tree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/third_party/bsd/tree.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/third_party/lss/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/third_party/lss/LICENSE -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/third_party/lss/linux_syscall_support.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/third_party/lss/linux_syscall_support.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/third_party/xdl/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/third_party/xdl/LICENSE -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/third_party/xdl/xdl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/third_party/xdl/xdl.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/third_party/xdl/xdl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/third_party/xdl/xdl.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/third_party/xdl/xdl_iterate.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/third_party/xdl/xdl_iterate.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/third_party/xdl/xdl_iterate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/third_party/xdl/xdl_iterate.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/third_party/xdl/xdl_linker.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/third_party/xdl/xdl_linker.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/third_party/xdl/xdl_linker.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/third_party/xdl/xdl_linker.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/third_party/xdl/xdl_lzma.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/third_party/xdl/xdl_lzma.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/third_party/xdl/xdl_lzma.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/third_party/xdl/xdl_lzma.h -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/third_party/xdl/xdl_util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/third_party/xdl/xdl_util.c -------------------------------------------------------------------------------- /shadowhook/src/main/cpp/third_party/xdl/xdl_util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/cpp/third_party/xdl/xdl_util.h -------------------------------------------------------------------------------- /shadowhook/src/main/java/com/bytedance/shadowhook/ShadowHook.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/shadowhook/src/main/java/com/bytedance/shadowhook/ShadowHook.java -------------------------------------------------------------------------------- /systest/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /systest/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/systest/build.gradle -------------------------------------------------------------------------------- /systest/consumer-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/systest/consumer-rules.pro -------------------------------------------------------------------------------- /systest/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/systest/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /systest/src/main/cpp/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/systest/src/main/cpp/CMakeLists.txt -------------------------------------------------------------------------------- /systest/src/main/cpp/systest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/systest/src/main/cpp/systest.c -------------------------------------------------------------------------------- /systest/src/main/cpp/systest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/systest/src/main/cpp/systest.h -------------------------------------------------------------------------------- /systest/src/main/cpp/systest.map.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/systest/src/main/cpp/systest.map.txt -------------------------------------------------------------------------------- /systest/src/main/cpp/systest_jni.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/systest/src/main/cpp/systest_jni.c -------------------------------------------------------------------------------- /systest/src/main/cpp/systest_util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/systest/src/main/cpp/systest_util.c -------------------------------------------------------------------------------- /systest/src/main/cpp/systest_util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/systest/src/main/cpp/systest_util.h -------------------------------------------------------------------------------- /systest/src/main/java/com/bytedance/shadowhook/systest/SysTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/android-inline-hook/HEAD/systest/src/main/java/com/bytedance/shadowhook/systest/SysTest.java --------------------------------------------------------------------------------