Commit d5505f2a authored by Ramon Nou's avatar Ramon Nou
Browse files

updated LDPRELOAD

parent 81699ead
Loading
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
NATIVE="./opendevnull --syscall getpid"
INTERC="LD_PRELOAD=./libeval_intercept.so ./opendevnull --syscall getpid"
SC2SC="LD_PRELOAD=./libeval_intercept.so ./opendevnull --syscall getpid --always_syscall"
INTERC="./opendevnull --syscall getpid"
SC2SC="./opendevnull --syscall getpid --always_syscall"


REPEATS=3
REPEATS=20
ARCH="X86"

for ((i=1; i<=REPEATS; i++))
@@ -14,14 +14,14 @@ done

for ((i=1; i<=REPEATS; i++))
do
        OUTPUT=$($INTERC | cut -f4 --delim=" ")
        OUTPUT=$(LD_PRELOAD=./libeval_intercept.so  $INTERC | cut -f4 --delim=" ")
        echo "Syscall,$ARCH,"$OUTPUT
done


for ((i=1; i<=REPEATS; i++))
do
        OUTPUT=$($SC2SC | cut -f4 --delim=" ")
        OUTPUT=$(LD_PRELOAD=./libeval_intercept.so  $SC2SC | cut -f4 --delim=" ")
        echo "Syscall2S,$ARCH,"$OUTPUT
done