From 6a1321fddc3f5c5445adbbf3927d0d118b34238d Mon Sep 17 00:00:00 2001 From: Roman Tsisyk Date: Wed, 22 Nov 2023 08:39:58 +0200 Subject: [PATCH] [android] Enable Address Sanitizer (ASAN) for debug and beta GWP-ASan is a native memory allocator feature that helps find use-after-free and heap-buffer-overflow bugs. Its informal name is a recursive acronym, "GWP-ASan Will Provide Allocation SANity". Unlike HWASan or Malloc Debug, GWP-ASan does not require source or recompilation (that is, works with prebuilts), and works on both 32- and 64-bit processes (although 32-bit crashes have less debugging information). Closes #6633 Signed-off-by: Roman Tsisyk --- android/app/src/beta/AndroidManifest.xml | 3 +++ android/app/src/debug/AndroidManifest.xml | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 android/app/src/beta/AndroidManifest.xml create mode 100644 android/app/src/debug/AndroidManifest.xml diff --git a/android/app/src/beta/AndroidManifest.xml b/android/app/src/beta/AndroidManifest.xml new file mode 100644 index 0000000000..60d15e756a --- /dev/null +++ b/android/app/src/beta/AndroidManifest.xml @@ -0,0 +1,3 @@ + + + diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml new file mode 100644 index 0000000000..60d15e756a --- /dev/null +++ b/android/app/src/debug/AndroidManifest.xml @@ -0,0 +1,3 @@ + + +