Skip to content

Commit efea5a9

Browse files
committed
print crashed stack trace
1 parent 9fd9b8c commit efea5a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/run-fuzzer.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ if [[ -d "$CRASH_DIR" ]]; then
100100
CRASH_COUNT=$(find "$CRASH_DIR" -type f | wc -l | tr -d ' ')
101101
if [[ "$CRASH_COUNT" -gt 0 ]]; then
102102
echo "⚠️ Found $CRASH_COUNT crashes from this fuzzing run."
103+
echo "🧩 Replaying crashes to print stack traces..."
104+
find "$CRASH_DIR" -type f -exec "$BINARY" {} \;
103105
exit 1
104106
else
105107
echo "✅ No crashes detected."

0 commit comments

Comments
 (0)