Skip to content
Permalink
Browse files
Bug 1349176 - Enable ASan stack-use-after-return and address-use-afte…
…r-scope checks r=franziskus

Differential Revision: https://nss-review.dev.mozaws.net/D265

--HG--
extra : amend_source : 8af17164dee89bb5bddab0bcb6604f023ffb4735
  • Loading branch information
Tim Taubert committed Mar 21, 2017
1 parent 3a08e33 commit 256298917fb5b6f268cc2e06f8fcf0397a29d4eb
Showing with 2 additions and 2 deletions.
  1. +1 −1 automation/taskcluster/graph/src/extend.js
  2. +1 −1 coreconf/sanitizers.py
@@ -297,7 +297,7 @@ function scheduleFuzzingRun(base, name, target, max_len, symbol = null, corpus =
async function scheduleFuzzing() {
let base = {
env: {
ASAN_OPTIONS: "allocator_may_return_null=1",
ASAN_OPTIONS: "allocator_may_return_null=1:detect_stack_use_after_return=1",
UBSAN_OPTIONS: "print_stacktrace=1",
NSS_DISABLE_ARENA_FREE_LIST: "1",
NSS_DISABLE_UNLOAD: "1",
@@ -14,7 +14,7 @@ def main():
print('-fsanitize='+sys.argv[2]+' -fno-sanitize-recover=undefined ', end='')
return
if sanitizer == "asan":
print('-fsanitize=address ', end='')
print('-fsanitize=address -fsanitize-address-use-after-scope ', end='')
print('-fno-omit-frame-pointer -fno-optimize-sibling-calls ', end='')
return
if sanitizer == "msan":

0 comments on commit 2562989

Please sign in to comment.