| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_posix_libcdep.cpp | 304 fixed_addr = RoundDownTo(fixed_addr, GetPageSizeCached()); in MmapFixed() 312 SanitizerToolName, size, size, fixed_addr, reserrno); in MmapFixed() 320 return MmapFixed(fixed_addr, size, MAP_NORESERVE, name); in MmapFixedNoReserve() 326 return MmapFixedNoReserve(fixed_addr, size, name); in MmapFixedSuperNoReserve() 328 return MmapFixed(fixed_addr, size, MAP_ALIGNED_SUPER, name); in MmapFixedSuperNoReserve() 330 bool r = MmapFixedNoReserve(fixed_addr, size, name); in MmapFixedSuperNoReserve() 332 SetShadowRegionHugePageMode(fixed_addr, size); in MmapFixedSuperNoReserve() 338 base_ = fixed_addr ? MmapFixedNoAccess(fixed_addr, size, name) in Init() 350 MmapFixedOrDieOnFatalError(fixed_addr, size, name)); in Map() 353 uptr ReservedAddressRange::MapOrDie(uptr fixed_addr, uptr size, in MapOrDie() argument [all …]
|
| H A D | sanitizer_win.cpp | 243 bool ZeroMmapFixedRegion(uptr fixed_addr, uptr size) { in ZeroMmapFixedRegion() argument 244 internal_memset((void*) fixed_addr, 0, size); in ZeroMmapFixedRegion() 272 return MmapFixedNoReserve(fixed_addr, size, name); in MmapFixedSuperNoReserve() 278 void *p = VirtualAlloc((LPVOID)fixed_addr, size, in MmapFixedOrDie() 283 fixed_addr); in MmapFixedOrDie() 295 uptr ReservedAddressRange::MapOrDie(uptr fixed_addr, uptr size, in MapOrDie() argument 297 return reinterpret_cast<uptr>(MmapFixedOrDie(fixed_addr, size)); in MapOrDie() 310 void *p = VirtualAlloc((LPVOID)fixed_addr, size, in MmapFixedOrDieOnFatalError() 315 fixed_addr); in MmapFixedOrDieOnFatalError() 327 base_ = fixed_addr ? MmapFixedNoAccess(fixed_addr, size) : MmapNoAccess(size); in Init() [all …]
|
| H A D | sanitizer_posix.cpp | 122 static void *MmapFixedImpl(uptr fixed_addr, uptr size, bool tolerate_enomem, in MmapFixedImpl() argument 125 fixed_addr = RoundDownTo(fixed_addr, GetPageSizeCached()); in MmapFixedImpl() 126 uptr p = MmapNamed((void *)fixed_addr, size, PROT_READ | PROT_WRITE, in MmapFixedImpl() 134 fixed_addr); in MmapFixedImpl() 141 void *MmapFixedOrDie(uptr fixed_addr, uptr size, const char *name) { in MmapFixedOrDie() argument 142 return MmapFixedImpl(fixed_addr, size, false /*tolerate_enomem*/, name); in MmapFixedOrDie() 145 void *MmapFixedOrDieOnFatalError(uptr fixed_addr, uptr size, const char *name) { in MmapFixedOrDieOnFatalError() argument 146 return MmapFixedImpl(fixed_addr, size, true /*tolerate_enomem*/, name); in MmapFixedOrDieOnFatalError()
|
| H A D | sanitizer_fuchsia.cpp | 231 uptr fixed_addr) { in Init() argument 250 static uptr DoMmapFixedOrDie(zx_handle_t vmar, uptr fixed_addr, uptr map_size, in DoMmapFixedOrDie() argument 252 uptr offset = fixed_addr - reinterpret_cast<uptr>(base); in DoMmapFixedOrDie() 279 uptr ReservedAddressRange::Map(uptr fixed_addr, uptr map_size, in Map() argument 281 return DoMmapFixedOrDie(os_handle_, fixed_addr, map_size, base_, in Map() 285 uptr ReservedAddressRange::MapOrDie(uptr fixed_addr, uptr map_size, in MapOrDie() argument 287 return DoMmapFixedOrDie(os_handle_, fixed_addr, map_size, base_, in MapOrDie() 334 void *MmapFixedNoAccess(uptr fixed_addr, uptr size, const char *name) { in MmapFixedNoAccess() argument
|
| H A D | sanitizer_common.h | 101 bool MmapFixedNoReserve(uptr fixed_addr, uptr size, const char *name = nullptr) 103 bool MmapFixedSuperNoReserve(uptr fixed_addr, uptr size, 106 void *MmapFixedOrDie(uptr fixed_addr, uptr size, const char *name = nullptr); 109 void *MmapFixedOrDieOnFatalError(uptr fixed_addr, uptr size, 111 void *MmapFixedNoAccess(uptr fixed_addr, uptr size, const char *name = nullptr); 127 bool ZeroMmapFixedRegion(uptr fixed_addr, uptr size) WARN_UNUSED_RESULT; 185 uptr Init(uptr size, const char *name = nullptr, uptr fixed_addr = 0); 187 uptr Map(uptr fixed_addr, uptr size, const char *name = nullptr); 188 uptr MapOrDie(uptr fixed_addr, uptr size, const char *name = nullptr);
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/DataFormatters/ |
| H A D | CXXFunctionPointer.cpp | 55 addr_t fixed_addr = abi_sp->FixCodeAddress(func_ptr_address); in CXXFunctionPointerSummaryProvider() local 56 if (fixed_addr != func_ptr_address) { in CXXFunctionPointerSummaryProvider() 58 test_address.SetLoadAddress(fixed_addr, target); in CXXFunctionPointerSummaryProvider() 62 addrsize * 2, fixed_addr); in CXXFunctionPointerSummaryProvider()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Target/ |
| H A D | Target.cpp | 1838 Address fixed_addr = addr; in ReadMemory() local 1841 fixed_addr.SetLoadAddress(abi->FixAnyAddress(addr.GetLoadAddress(this)), in ReadMemory() 1854 if (!fixed_addr.IsSectionOffset()) { in ReadMemory() 1860 fixed_addr.GetOffset(); // "fixed_addr" doesn't have a section, so in ReadMemory() 1869 fixed_addr.GetOffset(); // "fixed_addr" doesn't have a section, so in ReadMemory() 1875 resolved_addr = fixed_addr; in ReadMemory()
|