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
1. Get rid of executing_syzkaller_programs.md as it now mostly overlaps
with reproducing_crashes.md.
2. Update the instructions on building the kernel with syzbot compilers.
3. Update the links throughout the documentation.
Copy file name to clipboardExpand all lines: docs/internals.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ This set may need to be extended if you are using a different kernel architectur
63
63
64
64
`logN` files contain raw `syzkaller` logs and include kernel console output as well as programs executed before the crash.
65
65
These logs can be fed to `syz-repro` tool for [crash location and minimization](reproducing_crashes.md),
66
-
or to `syz-execprog` tool for [manual localization](executing_syzkaller_programs.md).
66
+
or to `syz-execprog` tool for [manual localization](reproducing_crashes.md#from-execution-logs).
67
67
`reportN` files contain post-processed and symbolized kernel crash reports (e.g. a KASAN report).
68
68
Normally you need just 1 pair of these files (i.e. `log0` and `report0`), because they all presumably describe the same kernel bug.
69
69
However, `syzkaller` saves up to 100 of them for the case when the crash is poorly reproducible, or if you just want to look at a set of crash reports to infer some similarities or differences.
Copy file name to clipboardExpand all lines: docs/linux/reporting_kernel_bugs.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ If there are stalls or hangs, only report them if they are frequent enough or ha
42
42
43
43
Overall, bugs without reproducers are way less likely to be triaged and fixed.
44
44
If the bug is reproducible, include the reproducer (C source if possible, otherwise a syzkaller program) and the `.config` you used for your kernel.
45
-
If the reproducer is available only in the form of a syzkaller program, please link [the instructions on how to execute them](/docs/executing_syzkaller_programs.md) in your report.
45
+
If the reproducer is available only in the form of a syzkaller program, please link [the instructions on how to execute them](/docs/reproducing_crashes.md#using-a-c-reproducer) in your report.
46
46
Check that the reproducer works if you run it manually.
47
47
Syzkaller tries to simplify the reproducer, but the result might not be ideal.
48
48
You can try to simplify or annotate the reproducer manually, that greatly helps kernel developers to figure out why the bug occurs.
However, note that if `syzbot` did not provide a C reproducer, it wasn't able to trigger the bug using the C program (though, it can be just because the bug is triggered by a subtle race condition).
329
+
However, note that if `syzbot` did not provide a C reproducer, it wasn't able to
330
+
trigger the bug using the C program (it might also be the case that the bug is
331
+
triggered by a rare race condition).
325
332
326
333
## Downloadable assets
327
334
@@ -345,14 +352,23 @@ then the program needs to be built with `-m32` flag.
345
352
If the reproducer exits quickly, try to run it several times, or in a loop.
346
353
There can be some races involved.
347
354
348
-
Latest compiler used by syzbot is contained in `gcr.io/syzkaller/syzbot:gcc-10.2.1` docker image.
349
-
For in-tree kernel build in current directory it can be used as follows:
355
+
Sometimes it might be important to build the kernel using the exact same
356
+
compiler that was used by syzbot. Normally that information is included in every
357
+
email report, e.g.:
358
+
359
+
```
360
+
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
361
+
```
362
+
363
+
The latest compilers used by syzbot are contained in the
364
+
`gcr.io/syzkaller/syzbot` docker image. For in-tree kernel build in current
365
+
directory it can be used as follows:
350
366
351
367
```
352
-
docker pull gcr.io/syzkaller/syzbot:gcc-10.2.1
368
+
docker pull gcr.io/syzkaller/syzbot
353
369
docker run -it --user $(id -u ${USER}):$(id -g ${USER}) \
0 commit comments