Navigation
API > API/Runtime > API/Runtime/AutoRTFM
An enumerator of AutoRTFM sanitizer modes. The AutoRTFM sanitizer is used to detect modification by open-code to memory that was written by a transaction. In this situation, aborting the transaction can corrupt memory as the undo will overwrite the writes made in the open-code.
| Name | autortfm_sanitizer_mode |
| Type | enum |
| Header File | /Engine/Source/Runtime/AutoRTFM/Public/AutoRTFM/Constants.h |
| Include Path | #include "AutoRTFM/Constants.h" |
Syntax
enum autortfm_sanitizer_mode
{
autortfm_sanitizer_disabled,
autortfm_sanitizer_warn,
autortfm_sanitizer_error,
}
Values
| Name | Remarks |
|---|---|
| autortfm_sanitizer_disabled | Disable AutoRTFM sanitizer. |
| autortfm_sanitizer_warn | Enable AutoRTFM sanitizer. AutoRTFM sanitizer failures are treated as warnings. |
| autortfm_sanitizer_error | Enable AutoRTFM sanitizer. AutoRTFM sanitizer failures are treated as fatal. |