Age | Commit message (Collapse) | Author |
|
With Kostya's new fix in aosp/1518898, we no longer need to run the
gtests in isolation to fix the late-init sequence.
Bug: N/A
Test: atest gwp_asan_unittest --rerun-until-failure 100
Test: Summary
Test: -------
Test: RERUN_UNTIL_FAILURE 100
Test: arm64-v8a gwp_asan_unittest: Passed: 53, Failed: 0, Ignored: 0,
Test: Assumption Failed: 0
Change-Id: Ib116024f7ec8a5d739ce64328746c2d27d520357
|
|
|
|
<eom>
Bug: N/A
Test: cd external/gwp_asan && atest
Change-Id: I1677fa81e64da1a7926c635057f6f5e7f0ad1439
|
|
"vendor_available" modules were available to product modules.
However, not all "vendor_available" modules are required to be
available to product modules. Some modules want to be available only
to product modules but not vendor modules.
To cover the requirement, we separate "product_available" from
"vendor_available".
"vendor_available" will not provide product available module.
Bug: 150902910
Test: build
Change-Id: If3e6fff2b5809bcc3d61755b1c7ed197756de623
|
|
|
|
Test: pass
Bug: 156098440
Change-Id: I2b0dfc0253f822c70bf16388bb34f0fe13142996
|
|
Test: See https://r.android.com/1457217
Bug: 169639321
Change-Id: I6d67402433cab5ac77f2bf05154e683f050c1a36
Merged-In: I6d67402433cab5ac77f2bf05154e683f050c1a36
|
|
Also, explicitly change to using the libunwindstack_no_dex static library.
Using the previous version worked by luck, since it didn't include
dex file support.
Test: Build and unit tests pass.
Change-Id: Ib2422a5ce23c0aacb1de19d9a400d516fd84ca77
|
|
This dependency is needed by libunwindstack, and was previously
implicitly provided by the isolated gtest library.
(it is not any more, which matches the vanilla gtests library)
Test: m checkbuild
Change-Id: I1759a4321d7ea0f424504eac84ac9a5462894898
|
|
The header lib is depended on by many of the bionic libraries which are
part of the platform.
With b/153073816, we will be checking the availability to the platform,
i.e. platform-available module depending on platform-unavailable module
causes a build error.
Prepare for the change by correctly marking that this interface lib is
available to the platform.
Also, this change narrows down the APEXes where this header lib is
available for. Instead of allowing it to be included in any APEX, the
list of APEXes that are currently using this is specified.
Bug: 153073816
Test: m
Merged-In: Ie329792936599072aaf2bc66a51b64f064baa229
(cherry picked from commit 50332c5d6f14f080bcba05cc580776aa710a6851)
Change-Id: Ie329792936599072aaf2bc66a51b64f064baa229
|
|
The header lib is depended on by gwp_asan which is available to
platform. With b/153073816 we will be checking the availability to the
platform, i.e. platform-available module depending on
platform-unavailable module causes a build error.
Prepare for the change by correctly marking that gwp_asan_headers is
available to the platform.
Bug: 153073816
Test: m
Change-Id: I7cee3e2d21755ecbb08dcba8f365428a3c87c659
|
|
Enable the enable_disable & iterate tests on Android. These work out of
the box.
Also enable the backtrace test. This requires some extra interfacing
with libunwindstack, but that's all wrapped up now.
Bug: 152414185
Test: SANITIZE_TARGET=hwaddress atest gwp_asan_unittest
Change-Id: Ie02f8fdcb28b4324f07517874b45996e0b59c8df
|
|
GWP-ASan unittests failed to build on arm64 because of a missing
dependency on liblog. Looks like something in the transient dependency
from libasync_safe -> liblog is header only now, and so we don't get
defintions of some libraries.
Fix up the build by including this library.
Bug: 152354649
Test: atest gwp_asan_unittest
Change-Id: I6a95e1a6e867cfa015567c7171feac86013925f4
|
|
GWP-ASan's crash handler needs to go to debuggerd.
Bug: 135634846
Test: mmma external/gwp_asan
Change-Id: Iba1e66830c8a93e705e0783b9a555cbce3036d3a
|
|
Use the isolated gtest runner for GWP-ASan - so that the platform IE TLS
PRNG doesn't get reused.
Bug: 135634846
Test: atest gwp_asan_unittest about 10,000 times.
Change-Id: Iddb3640e8f5712edfb79cdc383d42574b9829511
|
|
Forked from aosp/1229426.
GWP-ASan needs to be visible from certain apexes. Do that.
Bug: 135634846
Test: build the apexes
Change-Id: I9314b0c572912db221a2ad9567782b68eeb2bd8d
|
|
|
|
Merge updates from upstream into the Android.bp.
Bug: 135634846
Test: atest gwp_asan_unittest
Change-Id: I40978c86268296d4f5f53b2960b0d63bf6f33e64
|
|
Adds new test to the Android.bp.
Bug: 135634846
Test: atest gwp_asan_unittest
Change-Id: Ibf91eedc38686fd2f9ae4fae1ee3d915128eac80
|
|
Required as libc NDK is now used during ramdisk.
Bug: 135634846
Test: make droid # w/ aosp/1168378
Change-Id: Ied92ee1e6ec0826d4bd058f07b74eed29b0c4685
|
|
Summary:
* Implement enable() and disable() in GWP-ASan.
* Setup atfork handler.
* Improve test harness sanity and re-enable GWP-ASan in Scudo.
Scudo_standalone disables embedded GWP-ASan as necessary around fork().
Standalone GWP-ASan sets the atfork handler in init() if asked to. This
requires a working malloc(), therefore GWP-ASan initialization in Scudo
is delayed to the post-init callback.
Test harness changes are about setting up a single global instance of
the GWP-ASan allocator so that pthread_atfork() does not create
dangling pointers.
Test case shamelessly stolen from D72470.
Reviewers: cryptoad, hctim, jfb
Subscribers: mgorny, jfb, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D73294
GitOrigin-RevId: 596d06145a2b94fa9549f0e8cadc641586dfab1d
Change-Id: I6824d95e50ad79c9a01f8d0ebcdc303416788253
|
|
Test: atest --test-mapping external/gwp_asan/TEST_MAPPING
Change-Id: I172acfbdee38aff8685662df332998cdea5bbd94
|
|
Adds GWP-ASan's upstream unit tests to cc_test (now atest compatible).
Test: atest gwp_asan_unittest
Bug: N/A
Change-Id: Ie7edcc2093b7bcbdf390ba4507525c14e6d37945
|
|
This patch makes GWP-ASan compatible to be statically linked into libc.
libc requires:
1. No libc/libc++ dependencies.
2. No crt.
3. No libgcc
4. Native bridge support.
Bug: 135634846
Test: mmma external/gwp_asan
Change-Id: I0055f5f6322db4eec2bf8908b483f33eba65fced
|
|
"GWP-ASan is not supported on this platform."
Test: treehugger
Change-Id: If3f01896de91c2ed780228dc7364c93bea6f65e7
|
|
Fuzz target was changed directory in upstream LLVM. The new AOSP mirror
has the file at
//external/gwp_asan/tools/stack_trace_compressor_fuzzer.cpp.
Change-Id: Id10115dfb33314f13a2c1027674581c847065841
|
|
Adds the Android.bp build file for the GWP-ASan library and fuzz target.
Test: m external/gwp_asan
Bug: 135634846
Change-Id: I65aaf67c1014c7a03d534ff30fcde8d60ce4ea0d
|