Skip to content
Snippets Groups Projects
Commit c9babba7 authored by ryuzakighost's avatar ryuzakighost
Browse files

tweak

parent b1af57f9
No related branches found
No related tags found
No related merge requests found
......@@ -59,8 +59,8 @@ static void machine_init(void){
regs = malloc(sizeof(int32_t)*NUM_REGS);
/* memset can be vulnerable - changes to this can result in dirty memory to be read*/
// memset(memory,0,sizeof(int32_t)*MEMORY_SIZE);
// memset(regs,0,sizeof(int32_t)*NUM_REGS);
memset(memory,0,sizeof(int32_t)*MEMORY_SIZE);
memset(regs,0,sizeof(int32_t)); //*NUM_REGS
count = 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment