diff --git a/study/patch/ptrace/Makefile b/study/patch/ptrace/Makefile index 62a95ab..7a6cf2b 100644 --- a/study/patch/ptrace/Makefile +++ b/study/patch/ptrace/Makefile @@ -10,12 +10,12 @@ INSTALL_HOME_DIR=home/chengjian ifeq ($(ARCH), arm64) CROSS_COMPILE=/opt/arm/toolschain/linaro/gcc-linaro-7.1.1-2017.08-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- - ARCH_FILE_DIR=_install_x86 -else ifeq ($(TARGET_ARCH), arm) - CROSS_COMPILE=arm-linux-gnueabi- ARCH_FILE_DIR=_install_arm64 -else # ifeq ($(ARCH), x86_64) +else ifeq ($(ARCH), arm32) + CROSS_COMPILE=arm-linux-gnueabi- ARCH_FILE_DIR=_install_arm32 +else # ifeq ($(ARCH), x86_64) + ARCH_FILE_DIR=_install_x86 endif INSTALL_BIN_DIR=$(INSTALL_ROOT_DIR)/$(ARCH_FILE_DIR)/$(INSTALL_HOME_DIR)/ #$(CURRENT_BIN_DIR) diff --git a/study/patch/ptrace/a b/study/patch/ptrace/a deleted file mode 100755 index 1f35303..0000000 Binary files a/study/patch/ptrace/a and /dev/null differ diff --git a/study/patch/ptrace/ptrace_bug/a b/study/patch/ptrace/ptrace_bug/a index b5f56db..6285b58 100755 Binary files a/study/patch/ptrace/ptrace_bug/a and b/study/patch/ptrace/ptrace_bug/a differ diff --git a/study/patch/ptrace/ptrace_bug/ptrace_peekuser b/study/patch/ptrace/ptrace_bug/ptrace_peekuser index 42d0566..82f42cd 100755 Binary files a/study/patch/ptrace/ptrace_bug/ptrace_peekuser and b/study/patch/ptrace/ptrace_bug/ptrace_peekuser differ diff --git a/study/patch/ptrace/ptrace_bug/ptrace_singlestep b/study/patch/ptrace/ptrace_bug/ptrace_singlestep index d34cf26..14e7320 100755 Binary files a/study/patch/ptrace/ptrace_bug/ptrace_singlestep and b/study/patch/ptrace/ptrace_bug/ptrace_singlestep differ diff --git a/study/patch/ptrace/ptrace_bug/ptrace_singlestep2 b/study/patch/ptrace/ptrace_bug/ptrace_singlestep2 index 135ae69..8efebcf 100755 Binary files a/study/patch/ptrace/ptrace_bug/ptrace_singlestep2 and b/study/patch/ptrace/ptrace_bug/ptrace_singlestep2 differ diff --git a/study/patch/ptrace/ptrace_peekuser b/study/patch/ptrace/ptrace_peekuser deleted file mode 100755 index 5289a2f..0000000 Binary files a/study/patch/ptrace/ptrace_peekuser and /dev/null differ diff --git a/study/patch/ptrace/ptrace_singlestep b/study/patch/ptrace/ptrace_singlestep deleted file mode 100755 index 44a877a..0000000 Binary files a/study/patch/ptrace/ptrace_singlestep and /dev/null differ diff --git a/study/patch/ptrace/ptrace_singlestep2 b/study/patch/ptrace/ptrace_singlestep2 deleted file mode 100755 index e151f38..0000000 Binary files a/study/patch/ptrace/ptrace_singlestep2 and /dev/null differ