aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-declextract/README.md
diff options
context:
space:
mode:
authorPimyn Girgis <bemenboshra2001@gmail.com>2024-07-31 09:16:32 +0000
committerDmitry Vyukov <dvyukov@google.com>2024-07-31 17:11:04 +0000
commit1e9c4cf3ae82ef82220af312606fffe65e124563 (patch)
treecd0ecc9b1197908227ed78926660dab1ce8b892c /tools/syz-declextract/README.md
parent6fde257d027be2ee1163591a87225d2a3d360312 (diff)
tools/syz-declextract: run syz-declextract on files specified by a compilation database
Run multiple instances of syz-declextract only on files specifed by a compilation database.
Diffstat (limited to 'tools/syz-declextract/README.md')
-rw-r--r--tools/syz-declextract/README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/syz-declextract/README.md b/tools/syz-declextract/README.md
index ec28959ba..932218f63 100644
--- a/tools/syz-declextract/README.md
+++ b/tools/syz-declextract/README.md
@@ -35,3 +35,9 @@ make -j`nproc` syz-declextract
```
./bin/syz-declextract $KERNEL/fs/read_write.c | less # or any other .c file
```
+## Running the tool
+Download `run.go`, build it and run it
+```
+go build run.go
+./run -p $KERNEL/compile_commands.json -b $SYZ/bin/syz-declextract
+```