/src/sys/kern/ |
kern_ssp.c | 69 long guard[__arraycount(stack_chk_guard)]; local in function:ssp_init 71 cprng_fast(guard, sizeof(guard)); 73 for (i = 0; i < __arraycount(guard); i++) 74 stack_chk_guard[i] = guard[i]; 76 for (i = 0; i < __arraycount(guard); i++) 77 aprint_debug("%lx ", guard[i]);
|
/src/lib/libc/gen/ |
ctype_guard.h | 63 * for the defined cases of the ctype(3) functions, we put a guard page 74 * beginning for a guard page. It is defined as an ordinary C 90 * Then, at startup, we mprotect the guard page PROT_NONE. 115 #define __ctype_table_size(name, guard, nelem, elemsize) \ 116 __CTASSERT(sizeof((guard)[0]) == (elemsize)); \ 117 __CTASSERT(sizeof(guard) == _CTYPE_GUARD_SIZE + (nelem)*(elemsize)); \ 152 # define __ctype_table_guarded(name, guard, nelem, elemsize) \ 155 __asm(_C_LABEL_STRING(#name) " = " _C_LABEL_STRING(#guard) " + " \ 157 __ctype_table_size(name, guard, nelem, elemsize) 176 # define __ctype_table_guarded(name, guard, nelem, elemsize) [all...] |
/src/games/hack/ |
hack.vault.c | 109 xchar gdx, gdy; /* goal of guard's walk */ 115 {"guard", '@', 12, 12, -1, 4, 10, sizeof(struct egd)}; 117 static struct monst *guard; variable in typeref:struct:monst * 128 struct egd *egd = monster_private(guard); 143 /* it seems he left the corridor - let the guard disappear */ 144 mondead(guard); 145 guard = 0; 152 struct egd *egd = monster_private(guard); 166 guard = mtmp; 170 guard = 0 [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/safestack/ |
safestack.cc | 83 // protector pass to store the stack guard (see getStackCookieLocation() 101 static inline void *unsafe_stack_alloc(size_t size, size_t guard) { 102 CHECK_GE(size + guard, size); 103 void *addr = MmapOrDie(size + guard, "unsafe_stack_alloc"); 104 MprotectNoAccess((uptr)addr, (uptr)guard); 105 return (char *)addr + guard; 108 static inline void unsafe_stack_setup(void *start, size_t size, size_t guard) { 110 CHECK_GE((char *)start + guard, (char *)start); 117 unsafe_stack_guard = guard; 223 size_t guard = 0 local in function:INTERCEPTOR 274 size_t guard = 4096; local in function:__safestack_init [all...] |
/src/usr.bin/make/unit-tests/ |
directive-include-guard.mk | 1 # $NetBSD: directive-include-guard.mk,v 1.19 2025/04/11 17:21:31 rillig Exp $ 5 # A file that is guarded by a multiple-inclusion guard has one of the 14 # .if !target(guard-target) 17 # When such a file is included for the second or later time, and the guard 18 # variable or the guard target is defined, the file is skipped completely, as 23 # https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html 30 # This is the canonical form of a variable-based multiple-inclusion guard. 39 # A file that reuses a guard from a previous file (or whose guard is defined 50 # The guard variable cannot be a number, as numbers are interprete [all...] |
directive-ifndef.mk | 6 # common to use .if !defined(GUARD) instead. 9 # directive-include-guard.mk 11 .ifndef GUARD 12 GUARD= # defined 17 .ifndef GUARD 18 GUARD= # defined 22 .if !defined(GUARD) 23 GUARD= # defined
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_coverage_fuchsia.cc | 10 // Sanitizer Coverage Controller for Trace PC Guard, Fuchsia-specific version. 51 // Collects trace-pc guard coverage. 56 // data called the "guard". At startup, we assign each guard slot a 59 // that index in the array. (Each later call with the same guard slot is 60 // presumed to be from the same PC.) Then it clears the guard slot back 66 // contiguous array of guard slots, and a constructor that calls here 83 void TracePcGuard(u32 *guard, uptr pc) { 84 atomic_uint32_t *guard_ptr = reinterpret_cast<atomic_uint32_t *>(guard); 207 SANITIZER_INTERFACE_WEAK_DEF(void, __sanitizer_cov_trace_pc_guard, u32 *guard) { [all...] |
sanitizer_coverage_libcdep_new.cc | 9 // Sanitizer Coverage Controller for Trace PC Guard. 106 // Collects trace-pc guard coverage. 129 void TracePcGuard(u32* guard, uptr pc) { 130 u32 idx = *guard; 175 SANITIZER_INTERFACE_WEAK_DEF(void, __sanitizer_cov_trace_pc_guard, u32* guard) { 176 if (!*guard) return; 177 __sancov::pc_guard_controller.TracePcGuard(guard, GET_CALLER_PC() - 1);
|
sanitizer_interface_internal.h | 54 SANITIZER_INTERFACE_ATTRIBUTE void __sanitizer_cov(__sanitizer::u32 *guard);
|
/src/sys/arch/hppa/spmath/ |
cnv_float.h | 116 #define Dbl_to_sgl_mantissa(srcA,srcB,dest,inexact,guard,sticky,odd) \ 118 guard = Dbit3p2(srcB); \ 120 inexact = guard | sticky; \ 123 #define Dbl_to_sgl_denormalized(srcA,srcB,exp,dest,inexact,guard,sticky,odd,tiny) \ 129 guard = inexact >> 31; \ 152 if (guard && (sticky || odd)) { \ 162 guard = odd; \ 164 inexact |= guard; \ 172 guard = inexact >> 31; \ 185 guard = inexact >> 31; [all...] |
sgl_float.h | 323 #define Sgl_denormalize(opnd,exponent,guard,sticky,inexact) \ 326 guard = (Sall(opnd) >> (-(exponent))) & 1; \ 328 inexact = (guard) | (sticky); \ 332 guard = 0; \
|
dbl_float.h | 525 #define Dbl_denormalize(opndp1,opndp2,exponent,guard,sticky,inexact) \ 529 guard = (Dallp2(opndp2) >> (-(exponent))) & 1; \ 541 guard = (Dallp1(opndp1) >> (-32-(exponent))) & 1; \ 547 inexact = guard | sticky; \ 550 guard = 0; \
|
/src/tests/lib/libc/string/ |
t_memmem.c | 111 char *guard = mmap(src + pg, pg, local in function:ATF_TC_BODY 113 printf("%p\n", guard); 123 munmap(guard, pg);
|
/src/usr.bin/rpcgen/ |
rpc_main.c | 498 char *guard, *tmp, *tmp2, *extdot; local in function:generate_guard 502 guard = strdup(filename); 503 if (guard == NULL) { 506 extdot = strrchr(guard, '.'); 514 for (tmp = guard; *tmp; tmp++) { 535 if (guard[0] == '_' || guard[0] == '.') { 536 if (asprintf(&tmp2, "RPCGEN_%s", guard) == -1) { 539 free(guard); 540 guard = tmp2 561 char *guard; local in function:h_output [all...] |
/src/tests/lib/libpthread/ |
t_stack.c | 59 size_t guardsize; /* default guard size */ 111 * Return the default guard size for threads created with 162 * be a stack guard (i.e., it should be empty), adjusting the 163 * requested bounds by the default stack guard size will leave us 273 * _does not_ have access to the start or end of its stack guard, 282 void *addr, *guard; local in function:checkguardaccessthread 286 * Get the the stack and stack guard parameters. 293 * Determine where the guard starts in virtual address space 297 guard = (char *)addr + size; 299 guard = (char *)addr - guardsize [all...] |
/src/lib/libpthread/ |
pthread_attr.c | 170 pthread_attr_getguardsize(const pthread_attr_t *attr, size_t *guard) 178 *guard = pthread__guardsize; 180 *guard = p->ptap_guardsize; 187 pthread_attr_setguardsize(pthread_attr_t *attr, size_t guard) 198 p->ptap_guardsize = guard;
|
/src/usr.bin/make/ |
parse.c | 110 /* Detects a multiple-inclusion guard in a makefile. */ 113 GS_COND, /* after the guard condition */ 138 Guard *guard; member in struct:IncludedFile 307 static HashTable /* full file name -> Guard */ guards; 1273 Guard *guard = HashTable_FindValue(&guards, fullname); local in function:SkipGuarded 1274 if (guard != NULL && guard->kind == GK_VARIABLE 1275 && GNode_ValueDirect(SCOPE_GLOBAL, guard->name) != NULL 2688 Guard *guard; local in function:ReadHighLevelLine 3017 Guard *guard = hi.entry->value; local in function:Parse_End [all...] |
cond.c | 1181 /* Extracts the multiple-inclusion guard from a conditional, if any. */ 1182 Guard * 1187 Guard *guard; local in function:Cond_ExtractGuard 1207 guard = bmake_malloc(sizeof(*guard)); 1208 guard->kind = GK_TARGET; 1209 guard->name = ParseWord(&arg_p, true); 1210 return guard; 1220 guard = bmake_malloc(sizeof(*guard)) [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/builtins/ |
fp_add_impl.inc | 74 // Shift the significands to give us round, guard and sticky, and or in the 129 // Low three bits are round, guard, and sticky.
|
/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/dataflow/ |
DataFlow.cpp | 22 // -fsanitize-coverage=trace-pc-guard,pc-table,func,trace-cmp 30 // -fsanitize-coverage=trace-pc-guard,pc-table,func instruments function 189 void __sanitizer_cov_trace_pc_guard(uint32_t *guard){ 190 uint32_t FuncNum = *guard - 1; // Guards start from 1.
|
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
at91sam9261ek.dts | 48 atmel,guard-time = <1>;
|
at91sam9263ek.dts | 119 atmel,guard-time = <1>;
|
at91sam9rlek.dts | 44 atmel,guard-time = <1>;
|
/src/sys/external/bsd/compiler_rt/dist/lib/msan/tests/ |
msan_test.cc | 2617 static void vaargsfn2(int guard, ...) { 2619 va_start(vl, guard); 2627 static void vaargsfn(int guard, ...) { 2629 va_start(vl, guard); 2646 static void vaargsfn_many(int guard, ...) { 2648 va_start(vl, guard); 2688 static void vaargsfn_pass(int guard, ...) { 2690 va_start(vl, guard); 2707 static void vaargsfn_copy(int guard, ...) { 2709 va_start(vl, guard); [all...] |
/src/sys/arch/m68k/fpsp/ |
fpsp.h | 185 WBTEMP_GRS equ LV-40 ;alias wbtemp guard, round, sticky variable in typeref:typename:alias wbtemp 186 guard_bit equ 1 ;guard bit is bit number 1
|