diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-08-29 14:29:23 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-08-29 16:37:53 +0000 |
| commit | 807a3b61ca22f8988561c180eb47268ea6e244db (patch) | |
| tree | c29598ca28b49bca60e3961dc49d41ff7142cd8f /syz-cluster/workflow/build-step | |
| parent | b0c32b0591eb98d9fd9a2590b140eb771cf86c46 (diff) | |
syz-cluster: consider global/static variable values
When determining whether a patch series is worth fuzzing, consider not
only the hashes of .text symbols, but also the hashes of the global
(static and non-static) variables.
As before, calculate the hashes during build and process them at the
beginning of the fuzz step.
Diffstat (limited to 'syz-cluster/workflow/build-step')
| -rw-r--r-- | syz-cluster/workflow/build-step/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/syz-cluster/workflow/build-step/main.go b/syz-cluster/workflow/build-step/main.go index 943b18700..0fb89225f 100644 --- a/syz-cluster/workflow/build-step/main.go +++ b/syz-cluster/workflow/build-step/main.go @@ -293,7 +293,8 @@ func saveSymbolHashes(tracer debugtracer.DebugTracer) error { if err != nil { return fmt.Errorf("failed to query symbol hashes: %w", err) } - tracer.Log("extracted hashes for %d symbols", len(hashes)) + tracer.Log("extracted hashes for %d text symbols and %d data symbols", + len(hashes.Text), len(hashes.Data)) file, err := os.Create(filepath.Join(*flagOutput, "symbol_hashes.json")) if err != nil { return fmt.Errorf("failed to open symbol_hashes.json: %w", err) |
