Home
last modified time | relevance | path

Searched refs:ImageBase (Results 1 – 25 of 55) sorted by relevance

123

/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFX86_64.h33 uint64_t ImageBase; variable
37 if (!ImageBase) { in getImageBase()
38 ImageBase = std::numeric_limits<uint64_t>::max(); in getImageBase()
46 ImageBase = std::min(ImageBase, Section.getLoadAddress()); in getImageBase()
48 return ImageBase; in getImageBase()
60 : RuntimeDyldCOFF(MM, Resolver), ImageBase(0) {} in RuntimeDyldCOFFX86_64()
115 const uint64_t ImageBase = getImageBase(); in resolveRelocation() local
116 if (Value < ImageBase || ((Value - ImageBase) > UINT32_MAX)) { in resolveRelocation()
121 write32BitOffset(Target, RE.Addend, Value - ImageBase); in resolveRelocation()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/
H A DPDBContext.cpp27 ErrorOr<uint64_t> ImageBase = Object.getImageBase(); in PDBContext() local
28 if (ImageBase) in PDBContext()
29 Session->setLoadAddress(ImageBase.get()); in PDBContext()
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DChunks.cpp107 case IMAGE_REL_AMD64_ADDR32: add32(Off, S + Config->ImageBase); break; in applyRelX64()
108 case IMAGE_REL_AMD64_ADDR64: add64(Off, S + Config->ImageBase); break; in applyRelX64()
128 case IMAGE_REL_I386_DIR32: add32(Off, S + Config->ImageBase); break; in applyRelX86()
194 case IMAGE_REL_ARM_ADDR32: add32(Off, SX + Config->ImageBase); break; in applyRelARM()
196 case IMAGE_REL_ARM_MOV32T: applyMOV32T(Off, SX + Config->ImageBase); break; in applyRelARM()
305 case IMAGE_REL_ARM64_ADDR32: add32(Off, S + Config->ImageBase); break; in applyRelARM64()
307 case IMAGE_REL_ARM64_ADDR64: add64(Off, S + Config->ImageBase); break; in applyRelARM64()
645 ImpSymbol->getRVA() + Config->ImageBase); in writeTo()
655 applyMOV32T(Buf + OutputSectionOff, ImpSymbol->getRVA() + Config->ImageBase); in writeTo()
712 write64le(Buf + OutputSectionOff, Sym->getRVA() + Config->ImageBase); in writeTo()
[all …]
H A DDLL.cpp304 write32le(Buf + OutputSectionOff + 3, Imp->getRVA() + Config->ImageBase); in writeTo()
305 write32le(Buf + OutputSectionOff + 8, Desc->getRVA() + Config->ImageBase); in writeTo()
328 applyMOV32T(Buf + OutputSectionOff + 0, Imp->getRVA() + Config->ImageBase); in writeTo()
329 applyMOV32T(Buf + OutputSectionOff + 22, Desc->getRVA() + Config->ImageBase); in writeTo()
375 write64le(Buf + OutputSectionOff, Thunk->getRVA() + Config->ImageBase); in writeTo()
381 write32le(Buf + OutputSectionOff, (Thunk->getRVA() + Config->ImageBase) | Bit); in writeTo()
H A DDriver.cpp713 if (M.ImageBase) in parseModuleDefs()
714 Config->ImageBase = M.ImageBase; in parseModuleDefs()
1099 parseNumbers(Arg->getValue(), &Config->ImageBase); in link()
1496 if (Config->ImageBase == uint64_t(-1)) in link()
1497 Config->ImageBase = getDefaultImageBase(); in link()
H A DConfig.h179 uint64_t ImageBase = -1; member
/freebsd-12.1/contrib/binutils/bfd/
H A DpeXXigen.c420 a->ImageBase = GET_OPTHDR_IMAGE_BASE (abfd, src->ImageBase); in _bfd_XXi_swap_aouthdr_in()
480 aouthdr_int->entry += a->ImageBase; in _bfd_XXi_swap_aouthdr_in()
565 ib = extra->ImageBase; in _bfd_XXi_swap_aouthdr_out()
667 isize = (sec->vma - extra->ImageBase in _bfd_XXi_swap_aouthdr_out()
699 PUT_OPTHDR_IMAGE_BASE (abfd, extra->ImageBase, aouthdr_out->ImageBase); in _bfd_XXi_swap_aouthdr_out()
1100 addr += extra->ImageBase; in pe_print_idata()
1190 adj = section->vma - extra->ImageBase; in pe_print_idata()
1241 ft_addr = first_thunk + extra->ImageBase; in pe_print_idata()
1418 addr += extra->ImageBase; in pe_print_edata()
1913 fprintf_vma (file, i->ImageBase); in _bfd_XX_print_private_bfd_data_common()
[all …]
H A Dcoff-i386.c137 diff -= pe_data (output_bfd)->pe_opthdr.ImageBase;
517 *addendp -= pe_data(sec->output_section->owner)->pe_opthdr.ImageBase;
H A Dcoff-x86_64.c129 diff -= pe_data (output_bfd)->pe_opthdr.ImageBase; in coff_amd64_reloc()
608 *addendp -= pe_data (sec->output_section->owner)->pe_opthdr.ImageBase; in coff_amd64_rtype_to_howto()
H A Dcoff-ppc.c1241 addr -= pe_data(output_bfd)->pe_opthdr.ImageBase;
1346 pe_data(output_bfd)->pe_opthdr.ImageBase;
1402 pe_data(output_bfd)->pe_opthdr.ImageBase;
1421 pe_data (output_bfd)->pe_opthdr.ImageBase,
1462 addr -= pe_data (output_bfd)->pe_opthdr.ImageBase;
1900 *addendp -= pe_data(sec->output_section->owner)->pe_opthdr.ImageBase;
H A Dpe-mips.c448 *addendp -= pe_data (sec->output_section->owner)->pe_opthdr.ImageBase; in coff_mips_rtype_to_howto()
817 - pe_data (input_section->output_section->owner)->pe_opthdr.ImageBase; in coff_pe_mips_relocate_section()
/freebsd-12.1/contrib/binutils/include/coff/
H A Dpe.h241 char ImageBase[4]; member
280 char ImageBase[8]; member
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DTarget.cpp181 if (Config->ImageBase) in getImageBase()
182 return *Config->ImageBase; in getImageBase()
/freebsd-12.1/contrib/llvm/tools/llvm-objcopy/COFF/
H A DObject.h121 Dest.ImageBase = Src.ImageBase; in copyPeHeader()
/freebsd-12.1/stand/efi/loader/arch/amd64/
H A Dstart.S49 lea ImageBase(%rip), %rdi
H A Dldscript.amd649 ImageBase = .;
/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DCOFFModuleDefinition.h32 uint64_t ImageBase = 0; member
/freebsd-12.1/stand/efi/loader/arch/i386/
H A Dstart.S52 addl $ImageBase-0b, %eax
H A Dldscript.i3869 ImageBase = .;
/freebsd-12.1/contrib/llvm/lib/DebugInfo/Symbolize/
H A DSymbolizableObjectFile.cpp123 uint64_t ImageBase = CoffObj->getImageBase(); in addCoffExportSymbols() local
128 uint64_t SymbolStart = ImageBase + Export.Offset; in addCoffExportSymbols()
/freebsd-12.1/stand/efi/loader/arch/arm64/
H A Dstart.S156 adr x0, ImageBase
H A Dldscript.arm6411 ImageBase = .;
/freebsd-12.1/stand/efi/loader/arch/arm/
H A Dldscript.arm8 ImageBase = .;
H A Dstart.S177 .word ImageBase
/freebsd-12.1/contrib/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp242 uint32_t ImageBase = PE32Header->ImageBase; in printSEHTable() local
248 outs() << format(" 0x%x", P[I] + ImageBase); in printSEHTable()

123