Skip to content

Commit 34ac718

Browse files
committed
first commit
0 parents  commit 34ac718

33 files changed

+2468
-0
lines changed

.DS_Store

8 KB
Binary file not shown.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# auto_native_hook
2+
This project make an Android so file that use JNI_OnLoad() to automatically do some native hook works.

armhook.pdf

160 KB
Binary file not shown.

jni/.DS_Store

10 KB
Binary file not shown.

jni/Android.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include $(call all-subdir-makefiles)

jni/Application.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
APP_ABI := armeabi-v7a
2+
APP_STL := gnustl_static
3+
APP_CPPFLAGS += -fexceptions

jni/InlineHook/.DS_Store

6 KB
Binary file not shown.

jni/InlineHook/Android.mk

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
LOCAL_PATH := $(call my-dir)
2+
3+
4+
include $(CLEAR_VARS)
5+
6+
LOCAL_CXXFLAGS += -g -O0
7+
LOCAL_ARM_MODE := arm
8+
LOCAL_MODULE := IHook
9+
LOCAL_SRC_FILES := IHook.c ihookstub.s ihookstubthumb.s fixPCOpcode.c
10+
LOCAL_LDLIBS += -L$(SYSROOT)/usr/lib -llog
11+
12+
include $(BUILD_STATIC_LIBRARY)

0 commit comments

Comments
 (0)