The tests are ported as follows:
Replace hardwired shadow granularity in CHECK statements with regex.
Bump max_redzone parameter to 32.
Bump size parameter of __asan_poison_memory_region to 32.
For "far-from-bounds" heap overflow, make sure overflow is more than one shadow granularity away. At large shadow granularity, there is not enough redzone between stack elements to detect far-from-bounds, so fake out that test.