| /openbsd-src/gnu/usr.bin/binutils/gdb/config/i386/ |
| H A D | nm-i386.h | 57 extern int i386_insert_hw_breakpoint (CORE_ADDR addr, void *shadow); 61 extern int i386_remove_hw_breakpoint (CORE_ADDR addr, void *shadow); 108 #define target_insert_hw_breakpoint(addr, shadow) \ argument 109 i386_insert_hw_breakpoint (addr, shadow) 111 #define target_remove_hw_breakpoint(addr, shadow) \ argument 112 i386_remove_hw_breakpoint (addr, shadow)
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_access.cpp | 234 # define LOAD_CURRENT_SHADOW(cur, shadow_mem) UNUSED int access = 0, shadow = 0 239 bool ContainsSameAccess(RawShadow* unused0, Shadow unused1, m128 shadow, in ContainsSameAccess() argument 248 const m128 same = _mm_cmpeq_epi32(shadow, access); in ContainsSameAccess() 262 const m128 masked_shadow = _mm_or_si128(shadow, read_mask); in ContainsSameAccess() 268 const m128 ro = _mm_cmpeq_epi32(shadow, read_mask); in ContainsSameAccess() 275 u32 race_mask, m128 shadow, AccessType typ) { in DoReportRaceV() argument 283 old = _mm_extract_epi32(shadow, 0); in DoReportRaceV() 286 old = _mm_extract_epi32(shadow, 1); in DoReportRaceV() 289 old = _mm_extract_epi32(shadow, 2); in DoReportRaceV() 292 old = _mm_extract_epi32(shadow, 3); in DoReportRaceV() [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/hwasan/ |
| H A D | hwasan_dynamic_shadow.cpp | 51 const uptr shadow = reinterpret_cast<uptr>(&__hwasan_shadow); in IsPremapShadowAvailable() local 55 return shadow != 0 && shadow != resolver; in IsPremapShadowAvailable() 75 static __sanitizer::uptr shadow = 0; in __hwasan_premap_shadow() local 76 if (!shadow) in __hwasan_premap_shadow() 77 shadow = __hwasan::PremapShadow(); in __hwasan_premap_shadow() 78 return reinterpret_cast<decltype(__hwasan_shadow)*>(shadow); in __hwasan_premap_shadow()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/msan/ |
| H A D | msan.h | 64 #define SHADOW_TO_ORIGIN(shadow) (((uptr)(shadow)) + 0x2000000000ULL) argument 90 # define SHADOW_TO_ORIGIN(shadow) (((uptr)(shadow)) + 0x200000000000ULL) argument 113 #define SHADOW_TO_ORIGIN(shadow) (((uptr)(shadow)) + 0x140000000000ULL) argument 127 #define SHADOW_TO_ORIGIN(shadow) (((uptr)(shadow)) + 0x140000000000ULL) argument 148 #define SHADOW_TO_ORIGIN(shadow) (((uptr)(shadow)) + 0x500000000000) argument 169 #define SHADOW_TO_ORIGIN(shadow) (((uptr)(shadow)) + 0x280000000000) argument
|
| /openbsd-src/gnu/usr.bin/perl/t/lib/warnings/ |
| H A D | pad | 32 use warnings 'shadow' ; 40 no warnings 'shadow' ; 51 use warnings 'shadow' ; 60 no warnings 'shadow' ; 77 use warnings 'shadow'; 88 no warnings 'shadow' ; 103 use warnings 'shadow' ; 112 no warnings 'shadow' ; 274 use warnings 'shadow' ; 282 use warnings 'shadow' ; [all …]
|
| /openbsd-src/gnu/llvm/clang/docs/ |
| H A D | ShadowCallStack.rst | 14 to a separately allocated 'shadow call stack' in the function prolog in 15 non-leaf functions and loading the return address from the shadow call stack 32 To optimize for memory consumption and cache locality, the shadow call 38 `Return Flow Guard`_ is a pure software implementation of shadow call stacks 44 extension that would add native support to use a shadow stack to store/check 69 leaking the shadow call stack address. 94 The instrumentation makes use of the ``x18`` register to reference the shadow 95 call stack, meaning that references to the shadow call stack do not have 97 avoids exposing the address of the shadow call stack to attackers that can 100 to discover the address of the shadow call stack. [all …]
|
| H A D | HardwareAssistedAddressSanitizerDesign.rst | 15 tags every 8 bytes of the application memory with a 1 byte tag (using *shadow memory*), 18 The redzones, the quarantine, and, to a less extent, the shadow, are the 39 * The memory for the object is also tagged with `T` (using a `TG=>1` shadow memory) 49 of a short granule is stored at the location in shadow memory where the 54 * the pointer tag is equal to the memory tag in shadow memory, or 55 * the shadow memory tag is actually a short granule size, the value being loaded 92 adrp x20, :got:__hwasan_shadow // load shadow address from GOT into x20 95 … // (arguments: x0 = address, x20 = shadow base; 103 sbfx x16, x0, #4, #52 // shadow offset 104 ldrb w16, [x20, x16] // load shadow tag [all …]
|
| H A D | DataFlowSanitizerDesign.rst | 60 /// Flushes the DFSan shadow, i.e. forgets about all labels currently associated 65 /// taint could still be written to shadow after the flush. 183 | 0x500000000000|0x510000000000 | shadow 1 | 189 | 0x200000000000|0x300000000000 | shadow 3 | 195 | 0x010000000000|0x100000000000 | shadow 2 | 200 Each byte of application memory corresponds to a single byte of shadow 201 memory, which is used to store its taint label. We map memory, shadow, and 211 all shadow labels corresponding to bytes loaded, and stores will 212 result in a copy of the label of the stored value to the shadow of all
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/asan/ |
| H A D | asan_poisoning.h | 80 u8 *shadow = (u8*)MEM_TO_SHADOW(aligned_addr); in FastPoisonShadowPartialRightRedzone() local 81 for (uptr i = 0; i < redzone_size; i += ASAN_SHADOW_GRANULARITY, shadow++) { in FastPoisonShadowPartialRightRedzone() 83 *shadow = 0; // fully addressable in FastPoisonShadowPartialRightRedzone() 85 *shadow = in FastPoisonShadowPartialRightRedzone() 89 *shadow = poison_partial ? static_cast<u8>(size - i) : 0; in FastPoisonShadowPartialRightRedzone()
|
| H A D | asan_premap_shadow.cpp | 40 uptr shadow = reinterpret_cast<uptr>(&__asan_shadow); in PremapShadowFailed() local 44 if (shadow == 0 || shadow == resolver) in PremapShadowFailed()
|
| H A D | asan_descriptions.h | 199 ShadowAddressDescription shadow; member 223 return data.shadow.addr; in Address() 239 return data.shadow.Print(); 254 return data.kind == kAddressKindShadow ? &data.shadow : nullptr; in AsShadow()
|
| H A D | asan_interceptors_memintrinsics.h | 40 u8 shadow = AddressIsPoisoned(last); in DECLARE_REAL() local 42 shadow |= *((u8 *)shadow_first); in DECLARE_REAL() 43 return !shadow; in DECLARE_REAL()
|
| H A D | asan_debugging.cpp | 89 if (auto shadow = descr.AsShadow()) { in __asan_locate_address() local 91 switch (shadow->kind) { in __asan_locate_address()
|
| /openbsd-src/sys/dev/pci/drm/amd/amdgpu/ |
| H A D | amdgpu_vm_sdma.c | 44 if (table->shadow) in amdgpu_vm_sdma_map_table() 45 r = amdgpu_ttm_alloc_gart(&table->shadow->tbo); in amdgpu_vm_sdma_map_table() 272 if (vmbo->shadow) in amdgpu_vm_sdma_update() 273 amdgpu_vm_sdma_set_ptes(p, vmbo->shadow, pe, addr, in amdgpu_vm_sdma_update() 282 (vmbo->shadow ? 2 : 1); in amdgpu_vm_sdma_update() 297 if (vmbo->shadow) in amdgpu_vm_sdma_update() 298 amdgpu_vm_sdma_copy_ptes(p, vmbo->shadow, pe, nptes); in amdgpu_vm_sdma_update()
|
| H A D | amdgpu_vm_pt.c | 423 if (vmbo->shadow) { in amdgpu_vm_pt_clear() 424 struct amdgpu_bo *shadow = vmbo->shadow; in amdgpu_vm_pt_clear() local 426 r = ttm_bo_validate(&shadow->tbo, &shadow->placement, &ctx); in amdgpu_vm_pt_clear() 550 (*vmbo)->shadow = NULL; in amdgpu_vm_pt_create() 567 r = amdgpu_bo_create(adev, &bp, &(*vmbo)->shadow); in amdgpu_vm_pt_create() 629 amdgpu_bo_unref(&pt->shadow); in amdgpu_vm_pt_alloc() 641 struct amdgpu_bo *shadow; in amdgpu_vm_pt_free() local 647 shadow in amdgpu_vm_pt_free() [all...] |
| H A D | amdgpu_object.h | 134 struct amdgpu_bo *shadow; member 284 return to_amdgpu_bo_vm(bo)->shadow; in amdgpu_bo_shadowed() 348 int amdgpu_bo_restore_shadow(struct amdgpu_bo *shadow,
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.cp/ |
| H A D | m-data.cc | 43 int shadow = 0; variable 48 C (int x) : shadow (x) {} in C() 51 int shadow; member in C
|
| H A D | namespace.cc | 89 int shadow = 12; variable 135 int shadow = 13; variable 154 shadow; in marker2()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/memprof/ |
| H A D | memprof_flags.inc | 20 "If set, explicitly unmaps the (huge) shadow at exit.") 21 MEMPROF_FLAG(bool, protect_shadow_gap, true, "If set, mprotect the shadow gap") 22 MEMPROF_FLAG(bool, print_legend, true, "Print the legend for the shadow bytes.")
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/dfsan/ |
| H A D | dfsan_platform.h | 59 # define SHADOW_TO_ORIGIN(shadow) (((uptr)(shadow)) + 0x200000000000ULL) argument
|
| H A D | dfsan_flags.inc | 41 "Whether to zero shadow space of new allocated memory.") 43 "Whether to zero shadow space of deallocated memory.")
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/asan/tests/ |
| H A D | asan_noinst_test.cpp | 117 uptr shadow = __asan::MemToShadow(ptr + i); in PrintShadow() local 120 if (shadow != prev_shadow) { in PrintShadow() 121 prev_shadow = shadow; in PrintShadow() 122 fprintf(stderr, "%02x", (int)*(u8*)shadow); in PrintShadow()
|
| /openbsd-src/sys/dev/pci/drm/i915/gvt/ |
| H A D | scheduler.c | 468 rq = i915_request_create(s->shadow[workload->engine->id]); in intel_gvt_workload_req_alloc() 494 if (workload->shadow) in intel_gvt_scan_and_shadow_workload() 498 shadow_context_descriptor_update(s->shadow[workload->engine->id], in intel_gvt_scan_and_shadow_workload() 512 workload->shadow = true; in intel_gvt_scan_and_shadow_workload() 751 set_context_ppgtt_from_shadow(workload, s->shadow[workload->engine->id]); in prepare_workload() 1326 i915_context_ppgtt_root_restore(s, i915_vm_to_ppgtt(s->shadow[0]->vm)); in intel_vgpu_clean_submission() 1328 intel_context_put(s->shadow[id]); in intel_vgpu_clean_submission() 1401 s->shadow[i] = ERR_PTR(-EINVAL); in intel_vgpu_setup_submission() 1417 s->shadow[i] = ce; in intel_vgpu_setup_submission() 1445 if (IS_ERR(s->shadow[i])) in intel_vgpu_setup_submission() [all …]
|
| /openbsd-src/sys/dev/pci/drm/i915/ |
| H A D | i915_cmd_parser.h | 22 struct i915_vma *shadow,
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | remote-st.c | 603 st2000_insert_breakpoint (CORE_ADDR addr, char *shadow) in st2000_insert_breakpoint() argument 616 st2000_read_inferior_memory (bp_addr, shadow, bp_size); in st2000_insert_breakpoint() 627 st2000_remove_breakpoint (CORE_ADDR addr, char *shadow) in st2000_remove_breakpoint() argument
|