Navigation
API > API/Runtime > API/Runtime/AutoRTFM
An enumerator of mutually exclusive AutoRTFM modes applied to functions or classes.
| Name | autortfm_mode |
| Type | enum |
| Header File | /Engine/Source/Runtime/AutoRTFM/Public/AutoRTFM/Constants.h |
| Include Path | #include "AutoRTFM/Constants.h" |
Syntax
enum autortfm_mode
{
autortfm_mode_enable = 0,
autortfm_mode_disable = 1,
autortfm_mode_disable_no_sanitize = 2,
autortfm_mode_infer = 3,
autortfm_mode_open = 4,
autortfm_mode_open_no_sanitize = 5,
autortfm_mode_internal = 6,
autortfm_mode_no_autortfm = 7,
}
Values
| Name | Remarks |
|---|---|
| autortfm_mode_enable | [[clang::autortfm(enable)]] / default Generate AutoRTFM instrumentation for the function. |
| autortfm_mode_disable | [[clang::autortfm(disable)]] Do not generate AutoRTFM instrumentation for the function. |
| autortfm_mode_disable_no_sanitize | [[clang::autortfm(disable_no_sanitize)]] Same as autortfm_mode_disable, but the function will be ignored by the AutoRTFM sanitizer. |
| autortfm_mode_infer | [[clang::autortfm(infer)]] AutoRTFM instrumentation mode is determined by the calls made by the function. |
| autortfm_mode_open | [[clang::autortfm(open)]] / [[clang::autortfm_always_open]] Do not generate AutoRTFM instrumentation for the function. |
| autortfm_mode_open_no_sanitize | [[clang::autortfm(open_no_sanitize)]] / [[clang::autortfm_always_open_no_sanitize]] Same as autortfm_mode_open, but the AutoRTFM sanitizer will not instrument the function. |
| autortfm_mode_internal | [[clang::autortfm(autortfm_mode_internal)]] Do not generate AutoRTFM instrumentation for the function. |
| autortfm_mode_no_autortfm | [[clang::noautortfm]] DEPRECATED - similar to Disable but does not cause a compile-time error if called from an AutoRTFM-enabled function. |