You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: WebKitFuzz/README.md
+23-2Lines changed: 23 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,10 +45,31 @@ into the `build/` directory.
45
45
process for the purposes of building a separate target binary that will call and start the
46
46
WebKit processes.
47
47
48
-
4. Run the fuzzer binary from the build directory (`build/`) with the following command. The sample can either be a path to a file or a URL beginning with `http` or `https`.
48
+
4. Run the fuzzer binary from the build directory (`build/`) with the following command. The sample can either be a path to a file or a URL beginning with `http` or `https`. If you don't set a `log_path`, then the crash will instead print to stdout.
49
49
```
50
50
ASAN_OPTIONS=detect_leaks=0,exitcode=42,log_path=asan_logs/crash ASAN_SYMBOLIZER_PATH=</path/to/llvm-symbolizer> LD_LIBRARY_PATH=lib/ ./bin/webkitfuzz </path/to/sample> <timeout in sec>
51
51
```
52
+
## Debugging with GDB
53
+
54
+
To debug the WebKit Web Process with gdb you can use `gdbserver`. Run webkitfuzz
55
+
with the following command. I suggest using a long timeout, like 3600s or 1 hr,
0 commit comments