Add some custom examples of extraction scripts master origin/HEAD origin/master
authorLaurent Georget <laurent.georget@inria.fr>
Fri, 3 Apr 2015 07:28:21 +0000 (09:28 +0200)
committerLaurent Georget <laurent.georget@inria.fr>
Fri, 3 Apr 2015 07:28:21 +0000 (09:28 +0200)
dup.sh [new file with mode: 0644]
open.sh [new file with mode: 0644]
pipe2.sh [new file with mode: 0644]

diff --git a/dup.sh b/dup.sh
new file mode 100644 (file)
index 0000000..c6ff29e
--- /dev/null
+++ b/dup.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+gengraph -f SYSC_dup -t -g ../../linux/full.graph -i "__clear_bit;__set_bit;__d_alloc;IS_ERR;PTR_ERR" -j "__compiletime_assert.*;kmem_.*;k.*alloc.*;.*malloc.*;k.*free.*;atomic.*;raw_.*;rcu_.*;__builtin_.*;__roundup.*;.*__ilog2.*"
diff --git a/open.sh b/open.sh
new file mode 100644 (file)
index 0000000..a9f076c
--- /dev/null
+++ b/open.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+¬†gengraph -f SYSC_open -t -g ../../linux/full.graph -i "__clear_bit;__set_bit;__d_alloc;IS_ERR;PTR_ERR" -j "__compiletime_assert.*;kmem_.*;k.*alloc.*;.*malloc.*;k.*free.*;atomic.*;raw_.*;rcu_.*;__builtin_.*;__roundup.*;.*__ilog2.*" -s "expand_fdtable;path_openat"
diff --git a/pipe2.sh b/pipe2.sh
new file mode 100644 (file)
index 0000000..b3816d8
--- /dev/null
+++ b/pipe2.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+gengraph -f SYSC_pipe2 -t -g ../../linux/full.graph -i "__clear_bit;__set_bit;__d_alloc;IS_ERR;PTR_ERR" -j "__compiletime_assert.*;kmem_.*;k.*alloc.*;.*malloc.*;k.*free.*;atomic.*;raw_.*;rcu_.*;__builtin_.*;__roundup.*;.*__ilog2.*;percpu_.*;.*lru.*;.*hash.*" -s "expand_fdtable;copy_to_user;__d_drop"