- Define Myriad-specific ASan constants.
- Add code to generate an outer loop that checks that the address is in DRAM range, and strip the cache bit from the address. The former is required because Myriad has no memory protection, and it is up to the instrumentation to range-check before using it to index into the shadow memory.
- Add a test.
What's " - (kMyriadMemoryOffset32 >> Mapping.Scale)" part for?