![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
Go to the source code of this file.
Provides a stable interface to asan's public API.
| #define ARENE_ASAN_POISON_MEMORY_REGION | ( | addr, | |
| size ) |
Marks a memory region as unaddressable from ASAN's perspective.
| addr | The starting address of the region. |
| size | The size, in bytes, of the memory region to poison. |
<sanitizer/asan_interface.h> , this is a noop | #define ARENE_ASAN_POISON_MEMORY_SPAN | ( | span_of_t | ) |
Marks a memory region as unaddressable from ASAN's perspective.
| span_of_t | An arene::base::span<T> defining the range of memory to poison. If T is not arene::base::byte, then the size of the region to mark will be determined by first converting the span to bytes via arene::base::span::as_bytes , and then using the size of that resulting span. |
<sanitizer/asan_interface.h> , this is a nop | #define ARENE_ASAN_UNPOISON_MEMORY_REGION | ( | addr, | |
| size ) |
Marks a memory region as addressable from ASAN's perspective.
| addr | The starting address of the region. |
| size | The size, in bytes, of the memory region. |
<sanitizer/asan_interface.h> , this is a noop | #define ARENE_ASAN_UNPOISON_MEMORY_SPAN | ( | span_of_t | ) |
Marks a memory region as addressable from ASAN's perspective.
| span_of_t | A span defining the range of memory to unpoison. If T is not arene::base::byte, then the size of the region to mark will be determined by first converting the span to bytes via arene::base::span::as_bytes , and then using the size of that resulting span. |
<sanitizer/asan_interface.h> , this is a nop