-- Using shell programming for corpus analysis
S. Li
University of Birmingham
January, 2012
# Copyright (C) 2011 Alessandro Ghedini <alessandro@ghedini.me> | |
# Updated 2012 by Mike Perry to extract syscall table addresses | |
# Updated 2014 by Francis Brosnan Blázquez to check for ia32 support | |
obj-m += noptrace2.o | |
KERNEL_VER=$(shell uname -r) | |
SCT := $(shell grep " sys_call_table" /boot/System.map-$(KERNEL_VER) | awk '{ print $$1; }') | |
SCT32 := $(shell grep "ia32_sys_call_table" /boot/System.map-$(KERNEL_VER) | awk '{ print $$1; }') |