Loader: Implement RandomUtils (for ASLR)

This commit is contained in:
Michael Scire 2018-04-24 05:05:04 -06:00
parent b11c2fe755
commit d09c48c6c7
3 changed files with 62 additions and 4 deletions

View file

@ -0,0 +1,9 @@
#pragma once
#include <switch.h>
class RandomUtils {
public:
static u32 GetNext();
static u32 GetRandomU32(u32 max);
static u32 GetRandomU64(u64 max);
};