Hi all,
ASAN on iOS still works today. So far I was able to run it just by creating a GN dir with a config containing "is_asan = true" and then running, e.g.:
out/asan/iossim -d "iPhone 6s" -s 10.0 -c "--gtest_filter=ToolsSanityTest.DISABLED_AddressSanitizerLocalOOBCrashTest --gtest_also_run_disabled_tests" out/asan/
base_unittests.app/ 2>&1 | tools/valgrind/asan/asan_symbolize.py
(The main trick against the old documentation was to use the "-c" switch for iossim.)
I would like to update the docs so that next time someone looks for this (me included), that person finds the most recent information. I can edit the above page with my @
chromium.org account, but it feels a bit weird, because I'm essentially still not sure what I'm doing, patching things together until the output is expected. So I would like to have someone knowledgeable in ASAN to review my changes. Also, perhaps the ASAN instructions are/should be somewhere in //docs?
Cheers,
Vaclav