Searched defs:shadow (Results 1 - 18 of 18) sorted by relevance

/freebsd-head/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_poisoning.h26 // Poisons the shadow memory for "size" bytes starting from "addr".
29 // Poisons the shadow memory for "redzone_size" bytes starting from
50 // for mapping shadow and zeroing out pages doesn't "just work", so we should
83 u8 *shadow = (u8*)MEM_TO_SHADOW(aligned_addr); local
84 for (uptr i = 0; i < redzone_size; i += SHADOW_GRANULARITY, shadow++) {
86 *shadow = 0; // fully addressable
88 *shadow = (SHADOW_GRANULARITY == 128) ? 0xff : value; // unaddressable
91 *shadow = poison_partial ? static_cast<u8>(size - i) : 0;
H A Dasan_premap_shadow.cpp11 // Reserve shadow memory with an ifunc resolver.
54 uptr shadow = reinterpret_cast<uptr>(&__asan_shadow); local
56 // shadow == resolver is how Android KitKat and older handles ifunc.
57 // shadow == 0 just in case.
58 if (shadow == 0 || shadow == resolver)
66 // The resolver may be called multiple times. Map the shadow just once.
73 // the shadow mapping.
H A Dasan_descriptions.h89 static const char *const ShadowNames[] = {"low shadow", "shadow gap",
90 "high shadow"};
170 // a shadow, global (variable), stack, or heap address.
192 ShadowAddressDescription shadow; member in union:__asan::AddressDescription::AddressDescriptionData::__anon970
216 return data.shadow.addr;
232 return data.shadow.Print();
247 return data.kind == kAddressKindShadow ? &data.shadow : nullptr;
H A Dasan_fake_stack.cpp30 u64 *shadow = reinterpret_cast<u64*>(MemToShadow(ptr)); local
34 shadow[i] = magic;
H A Dasan_allocator.cpp197 // Mark the corresponding shadow memory as not needed.
535 u8 *shadow = local
537 *shadow = fl.poison_partial ? (size & (SHADOW_GRANULARITY - 1)) : 0;
/freebsd-head/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_dynamic_shadow.cpp10 /// This file is a part of HWAddressSanitizer. It reserves dynamic shadow memory
89 const uptr shadow = reinterpret_cast<uptr>(&__hwasan_shadow); local
91 // shadow == resolver is how Android KitKat and older handles ifunc.
92 // shadow == 0 just in case.
93 return shadow != 0 && shadow != resolver;
112 // The resolver might be called multiple times. Map the shadow just once.
113 static __sanitizer::uptr shadow = 0; local
114 if (!shadow)
115 shadow
[all...]
/freebsd-head/contrib/gdb/gdb/
H A Di386-nat.c623 i386_insert_hw_breakpoint (CORE_ADDR addr, void *shadow) argument
638 i386_remove_hw_breakpoint (CORE_ADDR addr, void *shadow) argument
H A Dremote-st.c602 st2000_insert_breakpoint (CORE_ADDR addr, char *shadow) argument
615 st2000_read_inferior_memory (bp_addr, shadow, bp_size);
626 st2000_remove_breakpoint (CORE_ADDR addr, char *shadow) argument
H A Dmonitor.c87 static int monitor_insert_breakpoint (CORE_ADDR addr, char *shadow);
88 static int monitor_remove_breakpoint (CORE_ADDR addr, char *shadow);
2039 monitor_insert_breakpoint (CORE_ADDR addr, char *shadow) argument
2060 monitor_read_memory (addr, shadow, bplen);
2073 monitor_remove_breakpoint (CORE_ADDR addr, char *shadow) argument
H A Dremote-e7000.c1689 e7000_insert_breakpoint (CORE_ADDR addr, char *shadow) argument
1715 e7000_read_inferior_memory (addr, shadow, 2);
1732 e7000_remove_breakpoint (CORE_ADDR addr, char *shadow) argument
1760 e7000_write_inferior_memory (addr, shadow, 2);
H A Dremote.c4681 remote_insert_hw_breakpoint (CORE_ADDR addr, char *shadow)
4723 remote_remove_hw_breakpoint (CORE_ADDR addr, char *shadow)
4668 remote_insert_hw_breakpoint(CORE_ADDR addr, char *shadow) argument
4710 remote_remove_hw_breakpoint(CORE_ADDR addr, char *shadow) argument
/freebsd-head/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan.cpp40 // Function argument shadow. Each argument starts at the next available 8-byte
46 // corresponding shadow in (__msan_param_tls). Slightly weird, but changing this
436 Printf("FATAL: MemorySanitizer can not mmap the shadow memory.\n");
544 void __msan_partial_poison(const void* data, void* shadow, uptr size) { argument
545 internal_memcpy((void*)MEM_TO_SHADOW((uptr)data), shadow, size);
/freebsd-head/sys/dev/qlnx/qlnxe/
H A Decore_vf.c1723 struct ecore_bulletin_content shadow; local
1730 OSAL_MEMCPY(&shadow, p_iov->bulletin.p_virt, p_iov->bulletin.size);
1733 if (shadow.version == p_iov->bulletin_shadow.version)
1737 crc = OSAL_CRC32(0, (u8 *)&shadow + crc_size,
1739 if (crc != shadow.crc)
1742 /* Set the shadow bulletin and process it */
1743 OSAL_MEMCPY(&p_iov->bulletin_shadow, &shadow, p_iov->bulletin.size);
1746 "Read a bulletin update %08x\n", shadow.version);
/freebsd-head/sys/dev/mxge/
H A Dif_mxge_var.h151 mcp_kreq_ether_recv_t *shadow; /* host shadow of recv ring */ member in struct:__anon29
172 mcp_kreq_ether_send_t *req_list; /* host shadow of sendq */
/freebsd-head/sys/netpfil/pf/
H A Dpf_table.c1469 struct pfr_ktable *kt, *rt, *shadow, key; local
1516 shadow = pfr_create_ktable(tbl, 0, 0);
1517 if (shadow == NULL) {
1525 if (pfr_lookup_addr(shadow, ad, 1) != NULL)
1528 (shadow->pfrkt_flags & PFR_TFLAG_COUNTERS) != 0);
1531 if (pfr_route_kentry(shadow, p)) {
1543 shadow->pfrkt_cnt = (flags & PFR_FLAG_ADDRSTOO) ?
1545 kt->pfrkt_shadow = shadow;
1547 pfr_clean_node_mask(shadow, &addrq);
1548 pfr_destroy_ktable(shadow,
1645 struct pfr_ktable *shadow = kt->pfrkt_shadow; local
[all...]
/freebsd-head/contrib/dialog/
H A Ddialog.h164 #define SHADOW_ROWS 1 /* rows to reserve for window's shadow */
165 #define SHADOW_COLS 2 /* columns to reserve for window's shadow */
431 WINDOW *shadow; member in struct:_dlg_windows
448 bool use_shadow; /* shadow dialog boxes by default? */
H A Dutil.c92 #define UseShadow(dw) ((dw) != 0 && (dw)->normal != 0 && (dw)->shadow != 0)
102 DATA(A_NORMAL, SHADOW, shadow, "Shadow"),
153 p->shadow = child;
168 delwin(p->shadow);
309 dialog_state.use_shadow = USE_SHADOW; /* shadow dialog boxes by default? */
1519 * If we have wchgat(), use that for updating shadow attributes, to work with
1546 int y_want = y + getbegy(dw->shadow);
1547 int x_want = x + getbegx(dw->shadow);
1551 && dw->shadow != p->normal
1563 in_shadow(WINDOW *normal, WINDOW *shadow, in argument
[all...]
/freebsd-head/sys/amd64/vmm/intel/
H A Dvmx.c768 * Check support for TPR shadow.
1105 * Set up the CR0/4 shadows, and init the read shadow
3174 * Forcing the vcpu into an interrupt shadow is not supported.
3237 int error, hostcpu, running, shadow; local
3272 shadow = vmx_shadow_reg(reg);
3273 if (shadow > 0) {
3275 * Store the unmodified value in the shadow
3278 VMCS_IDENT(shadow), val);

Completed in 159 milliseconds