Searched refs:guard (Results 1 - 4 of 4) sorted by relevance

/bionic/tests/
H A Dstack_protector_test.cpp35 // For x86, bionic and glibc have per-thread stack guard values (all identical).
38 uint32_t guard; local
39 asm ("mov %%gs:0x14, %0": "=d" (guard));
40 return guard;
49 uint32_t guard = GetGuardFromTls(); local
51 printf("[thread %d] %%gs:0x14 = 0x%08x\n", tid, guard);
56 // Uninitialized guard. Our bug. Note this is potentially flaky; we _could_ get
58 ASSERT_NE(guard, 0U);
61 guards.insert(guard);
85 // bionic and glibc use the same guard fo
[all...]
H A Dpthread_test.cpp569 // Get the default guard size.
830 // Check that we correctly report that the main thread has no guard page.
833 ASSERT_EQ(0U, guard_size); // The main thread has no guard page.
872 auto guard = create_scope_guard([&rl, original_rlim_cur]() { local
/bionic/libc/bionic/
H A Dmalloc_debug_leak.cpp82 uint32_t guard; member in struct:AllocationEntry
319 header->guard = GUARD;
340 // check the guard to make sure it is valid
343 if (header->guard != GUARD) {
345 if (header->guard == MEMALIGN_GUARD) {
352 if (header->guard == GUARD || is_valid_entry(header->entry)) {
364 debug_log("WARNING bad header guard: '0x%x'! and invalid entry: %p\n",
365 header->guard, header->entry);
397 // Check the guard to make sure it is valid.
400 if (header->guard
[all...]
/bionic/libc/kernel/uapi/linux/
H A Dbsg.h30 __s32 guard; member in struct:sg_io_v4

Completed in 74 milliseconds