mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07:00
crypto: clear cache after generating random program
This commit is contained in:
parent
b9a618848f
commit
78ab59ea44
@ -95,5 +95,8 @@ int v4_generate_JIT_code(const struct V4_Instruction* code, v4_random_math_JIT_f
|
|||||||
}
|
}
|
||||||
|
|
||||||
APPEND_CODE(epilogue, sizeof(epilogue));
|
APPEND_CODE(epilogue, sizeof(epilogue));
|
||||||
|
|
||||||
|
__builtin___clear_cache((char*)buf, (char*)JIT_code);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user