Searched refs:kCodeSize (Results 1 – 1 of 1) sorted by relevance
76 static const int kCodeSize = 4096; variable77 static char saved_code[kCodeSize];82 memcpy(saved_code, real_start, kCodeSize); in save_code()86 char *code = (char *)mmap(real_start, kCodeSize, PROT_WRITE | PROT_EXEC, in restore_code()89 memcpy(code, saved_code, kCodeSize); in restore_code()