How to enable MIE on MacOS

I am working on a security research project on macOS (Apple Silicon M5) and trying to use Memory Integrity Enforcement (MIE) to detect heap memory bugs such as use-after-free. I can confirm the hardware supports MTE hw.optional.arm.FEAT_MTE: 1) and the stack sanitizer (-fsanitize=memtag-stack) does work correctly on this machine. The gap is specifically heap tagging through the allocator. Is there any env variables for this?

How to enable MIE on MacOS
 
 
Q