Skip to content

Instantly share code, notes, and snippets.

@DrMcCoy
Created November 19, 2018 12:59
Show Gist options
  • Select an option

  • Save DrMcCoy/a7591e5884b6a4258ec150372a9db61b to your computer and use it in GitHub Desktop.

Select an option

Save DrMcCoy/a7591e5884b6a4258ec150372a9db61b to your computer and use it in GitHub Desktop.
#!/bin/bash
set -euxo pipefail
export UBSAN_OPTIONS="print_stacktrace=1"
export ASAN_OPTIONS="fast_unwind_on_malloc=0:detect_stack_use_after_return=1"
"$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment