Commit 0bb4031b authored by Bharadwaj Kalandhabhatta's avatar Bharadwaj Kalandhabhatta
Browse files

Added DexFileAsanRegistrar and necessary additions

This class was made so that sections of dex files
can be easily poisoned to check accesses to those sections.

In order to enable logging of reads to poisoned sections,
use art/tools/add_package_property.sh along with package
name on the device and art/tools/asan.sh.

Bug: 37754950
Test: export ART_DEX_FILE_ACCESS_TRACKING=true ; mm -j && mm -j
SANITIZE_TARGET=address SANITIZE_LITE=true test-art-host;

(cherry picked from commit ecfa103c)

Change-Id: Ie57aa935b7f5f6854ba53d7740cc0d1547b40847
parent 1656ca9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment