#!/usr/bin/env bashset-e# address, leak, memory or threadSAN="${SAN:=leak}"# Run with example options: ./run-example-with-sanitizer fs /tmp/traceRUSTFLAGS="-Z sanitizer=$SAN"cargo +nightly run --target x86_64-unknown-linux-gnu --example decode --"$@"exit 0