提交 91b3fa4c authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

worker/Makefile: s/fuzzer-exec/fuzzer-run/g

上级 4fb1400f
......@@ -53,7 +53,7 @@ Builds the `mediasoup-worker-fuzzer` target (which uses [libFuzzer](http://llvm.
**NOTE:** Linux is required with `fuzzer` capable `clang++`. `CC` environment variable must point to `clang` and `CXX` to `clang++`.
### `fuzzer-exec`
### `fuzzer-run`
Executes the `worker/out/mediasoup-worker-fuzzer` binary.
......@@ -64,7 +64,7 @@ Executes the `worker/out/mediasoup-worker-fuzzer` binary.
Regardless value of `FUZZER_CORPUS_DIRS`, the first corpus directory will always be `./worker/fuzzer/new-corpus`, so new generated test inputs will be written there.
```bash
$ FUZZER_CORPUS_DIRS="fuzzer/corpora/rtp-corpus" make fuzzer-exec
$ FUZZER_CORPUS_DIRS="fuzzer/corpora/rtp-corpus" make fuzzer-run
```
......@@ -84,7 +84,7 @@ $ ./scripts/get-dep.sh clang-fuzzer
Runs a container of the Docker image created with `fuzzer-docker-build` and executes `worker/out/mediasoup-worker-fuzzer` binary.
Some environment variables than `fuzzer-exec` are supported. However:
Some environment variables than `fuzzer-run` are supported. However:
* `FUZZER_CORPUS_DIRS` must be relative to the `worker` directory.
......
......@@ -7,7 +7,7 @@
PYTHON ?= $(shell command -v python2 2> /dev/null || echo python)
.PHONY: \
default Release Debug test test-Release test-Debug fuzzer fuzzer-exec fuzzer-fake \
default Release Debug test test-Release test-Debug fuzzer fuzzer-run fuzzer-fake \
fuzzer-docker-build fuzzer-docker-run xcode clean clean-all
default:
......@@ -44,7 +44,7 @@ fuzzer:
$(PYTHON) ./scripts/configure.py -R mediasoup-worker-fuzzer
$(MAKE) BUILDTYPE=Release -C out
fuzzer-exec:
fuzzer-run:
./out/Release/mediasoup-worker-fuzzer \
${FUZZER_OPTIONS} \
./fuzzer/new-corpus \
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论