36 template<
class Allocator,
bool softAes,
bool secureJit>
39 void*
operator new(
size_t size) {
42 throw std::bad_alloc();
45 void operator delete(
void* ptr) {
Definition vm_compiled_light.hpp:37
void setDataset(randomx_dataset *dataset) override
Definition vm_compiled_light.hpp:49
void setCache(randomx_cache *cache) override
Definition vm_compiled_light.cpp:36
void run(void *seed) override
Definition vm_compiled_light.cpp:49
JitCompiler compiler
Definition vm_compiled.hpp:66
CompiledVm()
Definition vm_compiled.cpp:38
randomx_cache * cachePtr
Definition virtual_machine.hpp:68
uint64_t datasetOffset
Definition virtual_machine.hpp:71
randomx::MemoryRegisters mem
Definition virtual_machine.hpp:65
randomx::ProgramConfiguration config
Definition virtual_machine.hpp:64
randomx::Program program
Definition virtual_machine.hpp:62
Concept for allocating, resizing and freeing memory block.
const uint8_t seed[32]
Definition code-generator.cpp:37
Definition allocator.cpp:35
CompiledLightVm< LargePageAllocator, false, false > CompiledLightVmLargePageHardAes
Definition vm_compiled_light.hpp:63
CompiledLightVm< LargePageAllocator, true, true > CompiledLightVmLargePageSecure
Definition vm_compiled_light.hpp:66
CompiledLightVm< LargePageAllocator, true, false > CompiledLightVmLargePage
Definition vm_compiled_light.hpp:62
CompiledLightVm< AlignedAllocator< CacheLineSize >, true, false > CompiledLightVmDefault
Definition vm_compiled_light.hpp:60
CompiledLightVm< AlignedAllocator< CacheLineSize >, false, false > CompiledLightVmHardAes
Definition vm_compiled_light.hpp:61
CompiledLightVm< AlignedAllocator< CacheLineSize >, true, true > CompiledLightVmDefaultSecure
Definition vm_compiled_light.hpp:64
CompiledLightVm< AlignedAllocator< CacheLineSize >, false, true > CompiledLightVmHardAesSecure
Definition vm_compiled_light.hpp:65
CompiledLightVm< LargePageAllocator, false, true > CompiledLightVmLargePageHardAesSecure
Definition vm_compiled_light.hpp:67
static void * allocMemory(size_t)
Definition allocator.cpp:38
static void freeMemory(void *, size_t)
Definition allocator.cpp:46
Definition dataset.hpp:46
Definition dataset.hpp:40
randomx_cache * cache
Definition tests.cpp:19