OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:execution_buffer
(Results
1 - 2
of
2
) sorted by null
/external/compiler-rt/test/Unit/
enable_execute_stack_test.c
53
unsigned char
execution_buffer
[128];
local
54
// mark stack page containing
execution_buffer
to be executable
55
__enable_execute_stack(
execution_buffer
);
58
memcpy(
execution_buffer
, (void *)(uintptr_t)&func1, 128);
59
__clear_cache(
execution_buffer
, &
execution_buffer
[128]);
60
pfunc f1 = (pfunc)(uintptr_t)
execution_buffer
;
65
memcpy(
execution_buffer
, (void *)(uintptr_t)&func2, 128);
66
__clear_cache(
execution_buffer
, &
execution_buffer
[128])
[
all
...]
clear_cache_test.c
43
unsigned char
execution_buffer
[128];
variable
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])
[
all
...]
Completed in 41 milliseconds