Alternative secure JIT for macOS.

This commit is contained in:
XMRig 2020-12-12 21:32:36 +07:00
parent 775867fc3e
commit 179f09081f
No known key found for this signature in database
GPG key ID: 446A53638BE94409
3 changed files with 30 additions and 9 deletions

View file

@ -80,7 +80,8 @@ namespace randomx {
uint32_t reg_changed_offset[8];
uint8_t* code;
uint32_t literalPos;
uint32_t num32bitLiterals;
uint32_t num32bitLiterals = 0;
size_t allocatedSize = 0;
static void emit32(uint32_t val, uint8_t* code, uint32_t& codePos)
{