Searched refs:__stack_chk_guard (Results 1 - 4 of 4) sorted by relevance
/freebsd-11-stable/lib/libc/secure/ |
H A D | stack_protector.c | 45 * applications have a defined priority at which __stack_chk_guard will be 61 extern long __stack_chk_guard[8]; 65 long __stack_chk_guard[8] = {0, 0, 0, 0, 0, 0, 0, 0}; variable 76 volatile long tmp_stack_chk_guard[nitems(__stack_chk_guard)]; 80 if (__stack_chk_guard[0] != 0) 84 * enabled, to update the __stack_chk_guard. First fetch the 92 for (idx = 0; idx < nitems(__stack_chk_guard); idx++) { 93 __stack_chk_guard[idx] = tmp_stack_chk_guard[idx]; 99 len = sizeof(__stack_chk_guard); 100 if (__sysctl(mib, nitems(mib), __stack_chk_guard, [all...] |
/freebsd-11-stable/contrib/gcclibs/libssp/ |
H A D | ssp.c | 61 void *__stack_chk_guard = 0; variable 69 if (__stack_chk_guard != 0) 75 ssize_t size = read (fd, &__stack_chk_guard, 76 sizeof (__stack_chk_guard)); 78 if (size == sizeof(__stack_chk_guard) && __stack_chk_guard != 0) 84 p = (unsigned char *) &__stack_chk_guard; 85 p[sizeof(__stack_chk_guard)-1] = 255; 86 p[sizeof(__stack_chk_guard)-2] = '\n';
|
/freebsd-11-stable/sys/kern/ |
H A D | stack_protector.c | 10 long __stack_chk_guard[8] = {}; variable 24 long guard[nitems(__stack_chk_guard)]; 28 __stack_chk_guard[i] = guard[i];
|
/freebsd-11-stable/libexec/rtld-elf/ |
H A D | rtld.c | 244 long __stack_chk_guard[8] = {0, 0, 0, 0, 0, 0, 0, 0}; variable 411 if (i > sizeof(__stack_chk_guard)) 412 i = sizeof(__stack_chk_guard); 413 memcpy(__stack_chk_guard, aux_info[AT_CANARY]->a_un.a_ptr, i); 418 len = sizeof(__stack_chk_guard); 419 if (sysctl(mib, 2, __stack_chk_guard, &len, NULL, 0) == -1 || 420 len != sizeof(__stack_chk_guard)) { 422 ((unsigned char *)(void *)__stack_chk_guard)[0] = 0; 423 ((unsigned char *)(void *)__stack_chk_guard)[1] = 0; 424 ((unsigned char *)(void *)__stack_chk_guard)[ [all...] |
Completed in 58 milliseconds