If have a good sanitize support (include ARMv7 and ARMv8) it's ok. Else it's the unique way to have a good protection.