diff options
| author | Taras Madan <tarasmadan@google.com> | 2022-07-22 12:40:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-22 12:40:30 +0200 |
| commit | 22343af4ef8625de38ebba6b7c1758a27dabde73 (patch) | |
| tree | b5da37e99cafe085c746078e091bf77c6b8a9ba0 /docs/gvisor | |
| parent | 5e6028b9306a9f5357a0210d931efbb9365fb2d0 (diff) | |
pkg/cover/backend/gvisor: relax parse regexp and add gvisor_test.go (#3259)
We have multiple file path representations now.
+ tests to cover all 3 scenarios and doc update
Diffstat (limited to 'docs/gvisor')
| -rw-r--r-- | docs/gvisor/README.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/gvisor/README.md b/docs/gvisor/README.md index 63e353bda..fd996bb10 100644 --- a/docs/gvisor/README.md +++ b/docs/gvisor/README.md @@ -301,3 +301,24 @@ You can also adjust the args to `syz-execprog` in `config.json`. e.g., add } } ``` +## syzkaller way gVisor use + +To build specific gVisor ver: + +``` +git clone https://github.com/google/gvisor +git checkout be6ffa78e4df78df13d004a17f2a8833305285c4 +``` + +To build runsc: + +``` +bazel build --verbose_failures --collect_code_coverage --instrumentation_filter=//pkg/...,-//pkg/sentry/platform,-//pkg/ring0,-//pkg/coverage:coverage //runsc:runsc +``` + +To find runsc binary and get symbols + +``` +bazel aquery --collect_code_coverage --instrumentation_filter=//pkg/...,-//pkg/sentry/platform,-//pkg/ring0,-//pkg/coverage:coverage 'mnemonic("GoLink", //runsc:runsc)' +./bazel-out/k8-fastbuild-ST-a2b97ed4b8d6/bin/runsc/runsc_/runsc symbolize -all > symbolize_all_gvisor_be6ffa78e4df78df13d004a17f2a8833305285c4.txt +```
\ No newline at end of file |
