[scudo] Enable standalone scudo.
Test: None
Changes default for entire stack to scudo. Disables toolchain
based mechanism.
Change-Id: I10317c7ad1eb4715101d12eb9dd0d11fc17a7a73
diff --git a/build/config/scudo/scudo.gni b/build/config/scudo/scudo.gni
index 93d0a56..028d247 100644
--- a/build/config/scudo/scudo.gni
+++ b/build/config/scudo/scudo.gni
@@ -7,7 +7,7 @@
# default (DNO-442)
# Enable the [Scudo](https://llvm.org/docs/ScudoHardenedAllocator.html)
# memory allocator.
- use_scudo = true
+ use_scudo = false
# Default [Scudo](https://llvm.org/docs/ScudoHardenedAllocator.html)
# options (before the `SCUDO_OPTIONS` environment variable is read at
diff --git a/zircon/third_party/ulib/musl/BUILD.gn b/zircon/third_party/ulib/musl/BUILD.gn
index 1620631..0f6ed82 100644
--- a/zircon/third_party/ulib/musl/BUILD.gn
+++ b/zircon/third_party/ulib/musl/BUILD.gn
@@ -3,7 +3,7 @@
# found in the LICENSE file.
declare_args() {
- malloc = "jemalloc"
+ malloc = "scudo"
}
config("headers") {