Commit Graph

1 Commits

Author SHA1 Message Date
DavidKorczynski 51e01dcebc
infra: add script to capture replayable commands (#12608)
Giving
https://github.com/google/oss-fuzz/pull/12592#issuecomment-2415803665 a
go using `bashlex`

Will place a script in `/out/replay-build-script.sh` with the script
that can be used for replaying.

This is still poc and will need some adjustments, e.g. we need some more
handling on the bash script's ast to reason about loops.

---------

Signed-off-by: David Korczynski <david@adalogics.com>
Co-authored-by: Oliver Chang <ochang@google.com>
2024-11-06 13:00:19 +11:00