oss-fuzz
oss-fuzz copied to clipboard
infra: add script to capture replayable commands
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.