summaryrefslogtreecommitdiffstats
path: root/rootdir/asan_extract.sh
Commit message (Collapse)AuthorAgeFilesLines
* Asan_extract: Use sys.powerctlAndreas Gampe2017-04-191-1/+1
| | | | | | | | | rc-style powerctl has beem removed. Accordingly, asan_extract now needs to access sys.powerctl directly. Bug: 36458146 Test: m && m SANITIZE_TARGET=address SANITIZE_TARGET_SYSTEM=true Change-Id: Ic65a858962b4b3dd613fdbfa09f93d21425bf892
* Asan_extract: Set access flags.Andreas Gampe2017-04-191-0/+6
| | | | | | | | After untar-ing, set correct access flags. Bug: 36458146 Test: m && m SANITIZE_TARGET=address SANITIZE_TARGET_SYSTEM=true Change-Id: Ibd98dfaeb58a0040ff2a9fee0bb880a281a673e8
* Asan_extract: Add FDE checkAndreas Gampe2017-04-191-0/+22
| | | | | | | | | | | | | | Under full-disk encryption, we must skip extracting libraries into the temporary /data directory. It is too small, and the framework will not be able to come up. Add a check for the vold.decrypt system property. As it turns out that we can't reliably use this, also add a size check (and use 512M = 131072 4K blocks as the limit). Bug: 36458146 Test: m && m SANITIZE_TARGET=address SANITIZE_TARGET_SYSTEM=true Change-Id: Ib350094b049b6e75832d393527b8b62a58a7fece
* ASAN: Fix ASAN directory in asan_extract.shAndreas Gampe2017-04-031-2/+3
| | | | | | | | Move things over to the new layout. Bug: 36458146 Test: m && m SANITIZE_TARGET=address SANITIZE_TARGET_SYSTEM=true Change-Id: I4dba269f82e4f88e39f926c6c2dd3c5efa07b2a1
* ASAN-ExtractAndreas Gampe2017-03-311-0/+66
Add init script and shell script to unzip a tar containing ASAN libraries on boot. Bug: 36458146 Test: m && m SANITIZE_TARGET=address Test: manual (build steps for tar missing) Change-Id: I1bcf332f86c5bf2e0333cbe3def684999c1002f8