Lines Matching full:execution_buffer
43 unsigned char execution_buffer[128];
47 // make executable the page containing execution_buffer
48 char* start = (char*)((uintptr_t)execution_buffer & (-4095));
49 char* end = (char*)((uintptr_t)(&execution_buffer[128+4096]) & (-4095));
62 memcpy(execution_buffer, (void *)(uintptr_t)&func1, 128);
63 __clear_cache(execution_buffer, &execution_buffer[128]);
64 pfunc f1 = (pfunc)(uintptr_t)execution_buffer;
69 memcpy(execution_buffer, (void *)(uintptr_t)&func2, 128);
70 __clear_cache(execution_buffer, &execution_buffer[128]);
71 pfunc f2 = (pfunc)(uintptr_t)execution_buffer;