38 memory_manager_ut::test_memory_manager_x64_size_out_of_bounds()
47 memory_manager_ut::test_memory_manager_x64_malloc_out_of_memory()
57 memory_manager_ut::test_memory_manager_x64_malloc_heap()
68 memory_manager_ut::test_memory_manager_x64_malloc_page()
79 memory_manager_ut::test_memory_manager_x64_malloc_map()
90 memory_manager_ut::test_memory_manager_x64_add_md()
99 memory_manager_ut::test_memory_manager_x64_add_md_invalid_type()
110 memory_manager_ut::test_memory_manager_x64_add_md_unaligned_physical()
121 memory_manager_ut::test_memory_manager_x64_add_md_unaligned_virtual()
132 memory_manager_ut::test_memory_manager_x64_remove_md_invalid_virt()
148 memory_manager_ut::test_memory_manager_x64_virtint_to_physint_failure()
155 memory_manager_ut::test_memory_manager_x64_physint_to_virtint_failure()
162 memory_manager_ut::test_memory_manager_x64_virtint_to_attrint_failure()
176 g_mm->add_md(virt, phys, attr);
178 auto ___ = gsl::finally([&]
179 {
g_mm->remove_md(virt); });
184 return ret &&
g_mm->descriptors().empty();
188 memory_manager_ut::test_memory_manager_x64_virtint_to_physint_random_address()
196 memory_manager_ut::test_memory_manager_x64_virtint_to_physint_nullptr()
205 memory_manager_ut::test_memory_manager_x64_physint_to_virtint_random_address()
213 memory_manager_ut::test_memory_manager_x64_physint_to_virtint_nullptr()
222 memory_manager_ut::test_memory_manager_x64_virtint_to_attrint_random_address()
230 memory_manager_ut::test_memory_manager_x64_virtint_to_attrint_nullptr()
#define expect_exception(f, e)
constexpr const auto cache_line_size
#define expect_no_exception(f)
#define MEMORY_MANAGER_FAILURE
void uint64_t uint64_t uint64_t *rdx noexcept
auto make_ptr(const T ptr)
decltype(memory_descriptor::type) attr_type
int64_t add_md(struct memory_descriptor *md) noexcept
constexpr page_table_x64::integer_pointer virt
constexpr const auto page_size
uintptr_t integer_pointer