Thanks! I have a question as a follow up.  Looking at the LLVM implementation 
today https://llvm.org/docs/MemTagSanitizer.html it looks like they also only 
support stack tagging but used -fsanitize=memtag which in the future can 
potentially do both.

I think we might want to provide -fsanitize=memtag as well which atm only 
enables stack tagging but in the future can do heap too?  But it'll make 
compatibility between clang and gcc easier.

Was this discussed in the upstreaming before?


No as far as I know, but I can craft a patch to do so. Please let me have a look and I'll come back to you with a patch.

Thank you,
Claudiu

Reply via email to