/freebsd/sys/i386/linux/ |
H A D | imgact_linux.c | 62 vm_offset_t vmaddr; in exec_linux_imgact() local 137 vmaddr = virtual_offset; in exec_linux_imgact() 138 error = vm_map_find(&vmspace->vm_map, NULL, 0, &vmaddr, in exec_linux_imgact() 144 error = vn_rdwr(UIO_READ, imgp->vp, (void *)vmaddr, file_offset, in exec_linux_imgact() 157 error = vm_map_protect(&vmspace->vm_map, vmaddr, in exec_linux_imgact() 158 vmaddr + a_out->a_text, 0, VM_PROT_EXECUTE | VM_PROT_READ, in exec_linux_imgact() 169 vmaddr = virtual_offset; in exec_linux_imgact() 170 error = vm_mmap(&vmspace->vm_map, &vmaddr, in exec_linux_imgact() 179 (u_long)vmaddr, in exec_linux_imgact() 185 error = vm_map_protect(&vmspace->vm_map, vmaddr + a_out->a_text, in exec_linux_imgact() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | AddressRange.cpp | 155 addr_t vmaddr = LLDB_INVALID_ADDRESS; in Dump() local 179 vmaddr = m_base_addr.GetFileAddress(); in Dump() 183 vmaddr = m_base_addr.GetLoadAddress(target); in Dump() 187 if (vmaddr != LLDB_INVALID_ADDRESS) { in Dump() 194 DumpAddressRange(s->AsRawOstream(), vmaddr, vmaddr + GetByteSize(), in Dump()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/ |
H A D | ObjectContainerMachOFileset.h | 72 Entry(uint64_t vmaddr, uint64_t fileoff, std::string id) in Entry() 73 : vmaddr(vmaddr), fileoff(fileoff), id(id) {} in Entry() 74 uint64_t vmaddr; member
|
H A D | ObjectContainerMachOFileset.cpp | 154 slide = *load_addr - segment.vmaddr; in ParseFileset() 163 entries.emplace_back(entry.vmaddr + slide, entry.fileoff, in ParseFileset()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
H A D | MachOObject.cpp | 155 static_cast<uint64_t>(MLC.segment_command_data.vmaddr) + in nextAvailableSegmentAddress() 159 Addr = std::max(Addr, MLC.segment_command_64_data.vmaddr + in nextAvailableSegmentAddress() 181 Seg.vmaddr = SegVMAddr; in constructSegment() 221 return MLC.segment_command_data.vmaddr; in getSegmentVMAddr() 223 return MLC.segment_command_64_data.vmaddr; in getSegmentVMAddr()
|
H A D | MachOLayoutBuilder.cpp | 126 SegmentVmAddr = MLC.segment_command_data.vmaddr; in layoutSegments() 133 SegmentVmAddr = MLC.segment_command_64_data.vmaddr; in layoutSegments()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | MachODumper.cpp | 310 uint64_t vmaddr; member 378 Segment.vmaddr = SC.vmaddr; in getSegment() 392 Segment.vmaddr = SC.vmaddr; in getSegment() 934 W.printHex("vmaddr", MOSegment.vmaddr); in printMachOSegment()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_procmaps_mac.cpp | 274 segment->start = (sc->vmaddr & addr_mask) + base_virt_addr; in NextSegmentLoad() 293 ? sc->vmaddr in NextSegmentLoad()
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | MachOUniversalWriter.cpp | 57 llvm::countr_zero(Is64Bit ? O.getSegment64LoadCommand(LC).vmaddr in calculateFileAlignment() 58 : O.getSegmentLoadCommand(LC).vmaddr); in calculateFileAlignment()
|
H A D | MachOObjectFile.cpp | 348 s.addr < S.vmaddr) in parseSegmentLoadCommand() 354 uint64_t BigEnd = S.vmaddr; in parseSegmentLoadCommand() 3260 TextAddress = SLC.vmaddr; in MachOAbstractFixupEntry() 3266 TextAddress = SLC_64.vmaddr; in MachOAbstractFixupEntry()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | MachO.h | 542 uint32_t vmaddr; 556 uint64_t vmaddr; 902 uint64_t vmaddr; 1200 sys::swapByteOrder(seg.vmaddr); in swapStruct() 1213 sys::swapByteOrder(seg.vmaddr); in swapStruct() 1434 sys::swapByteOrder(C.vmaddr); in swapStruct() 548 uint32_t vmaddr; global() member 562 uint64_t vmaddr; global() member 904 uint64_t vmaddr; global() member
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | MachOYAML.cpp | 530 IO.mapRequired("vmaddr", LoadCommand.vmaddr); in mapping() 543 IO.mapRequired("vmaddr", LoadCommand.vmaddr); in mapping() 629 IO.mapRequired("vmaddr", LoadCommand.vmaddr); in mapping()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-size/ |
H A D | llvm-size.cpp | 219 outs() << " (vmaddr 0x" << format("%" PRIx64, Seg.vmaddr) << " fileoff " in printDarwinSectionSizes() 246 outs() << " (vmaddr 0x" << format("%" PRIx32, Seg.vmaddr) << " fileoff " in printDarwinSectionSizes()
|
/freebsd/sys/kern/ |
H A D | imgact_elf.c | 92 vm_ooffset_t offset, caddr_t vmaddr, size_t memsz, size_t filsz, 622 caddr_t vmaddr, size_t memsz, size_t filsz, vm_prot_t prot) in __elfN() 650 map_addr = trunc_page((vm_offset_t)vmaddr); in __elfN() 689 map_addr = trunc_page((vm_offset_t)vmaddr + filsz); in __elfN() 690 map_len = round_page((vm_offset_t)vmaddr + memsz) - map_addr; in __elfN()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | DebuggerSupportPlugin.cpp |
|
/freebsd/contrib/llvm-project/lldb/tools/compact-unwind/ |
H A D | compact-unwind-dumper.c | 151 segment_vmaddr = seg.vmaddr; in scan_macho_load_commands() 165 segment_vmaddr = seg.vmaddr; in scan_macho_load_commands()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Signals.inc | 646 if ((intptr_t)CmdSeg64->vmaddr + Slide <= Addr && 647 Addr < intptr_t(CmdSeg64->vmaddr + CmdSeg64->vmsize + Slide)) {
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | MachOBuilder.h | 364 Seg.vmaddr = SegVMAddr;
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | MachODump.cpp | 313 BaseSegmentAddress = SLC.vmaddr; in getSectionsAndSymbols() 320 BaseSegmentAddress = SLC.vmaddr; in getSectionsAndSymbols() 1044 BaseSegmentAddress = SLC.vmaddr; in PrintFunctionStarts() 1050 BaseSegmentAddress = SLC.vmaddr; in PrintFunctionStarts() 8538 StringRef SegName, uint64_t vmaddr, in PrintSegmentCommand() argument 8563 outs() << " vmaddr " << format("0x%016" PRIx64, vmaddr) << "\n"; in PrintSegmentCommand() 8566 outs() << " vmaddr " << format("0x%08" PRIx64, vmaddr) << "\n"; in PrintSegmentCommand() 10099 PrintSegmentCommand(SLC.cmd, SLC.cmdsize, SLC.segname, SLC.vmaddr, in PrintLoadCommands() 10113 SLC_64.vmaddr, SLC_64.vmsize, SLC_64.fileoff, in PrintLoadCommands() 10282 BaseSegmentAddress = Seg.vmaddr; in printMachOExportsTrie() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationClient.cpp | 2214 addr_t vmaddr; in GetCurrentProcessInfo() local 2216 if (llvm::to_integer(x, vmaddr, 16)) in GetCurrentProcessInfo() 2217 m_binary_addresses.push_back(vmaddr); in GetCurrentProcessInfo()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-nm/ |
H A D | llvm-nm.cpp | 1248 BaseSegmentAddress = Seg.vmaddr; in dumpSymbolsFromDLInfoMachO() 1254 BaseSegmentAddress = Seg.vmaddr; in dumpSymbolsFromDLInfoMachO()
|
/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | Writer.cpp | 244 c->vmaddr = seg->addr; in writeTo()
|