Home
last modified time | relevance | path

Searched refs:dataoff (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DMachOWriter.cpp95 if (LinkEditDataCommand.dataoff) in totalSize()
96 Ends.push_back(LinkEditDataCommand.dataoff + in totalSize()
105 if (LinkEditDataCommand.dataoff) in totalSize()
106 Ends.push_back(LinkEditDataCommand.dataoff + in totalSize()
115 if (LinkEditDataCommand.dataoff) in totalSize()
116 Ends.push_back(LinkEditDataCommand.dataoff + in totalSize()
125 if (LinkEditDataCommand.dataoff) in totalSize()
493 if (LinkEditDataCommand.dataoff) in writeTail()
503 if (LinkEditDataCommand.dataoff) in writeTail()
513 if (LinkEditDataCommand.dataoff) in writeTail()
[all …]
H A DMachOLayoutBuilder.cpp295 MLC.linkedit_data_command_data.dataoff = StartOfCodeSignature; in layoutTail()
323 MLC.linkedit_data_command_data.dataoff = StartOfDataInCode; in layoutTail()
327 MLC.linkedit_data_command_data.dataoff = StartOfLinkerOptimizationHint; in layoutTail()
332 MLC.linkedit_data_command_data.dataoff = StartOfFunctionStarts; in layoutTail()
H A DMachOReader.cpp271 arrayRefFromStringRef(MachOObj.getData().substr(LC.dataoff, LC.datasize)); in readLinkData()
/freebsd-13.1/usr.sbin/kldxref/
H A Def_powerpc.c55 Elf_Off dataoff, size_t len, void *dest) in ef_reloc() argument
66 where = (Elf_Addr *) ((Elf_Off)dest - dataoff + rela->r_offset); in ef_reloc()
67 where32 = (Elf32_Addr *) ((Elf_Off)dest - dataoff + rela->r_offset); in ef_reloc()
H A Def_mips.c50 Elf_Off dataoff, size_t len, void *dest) in ef_reloc() argument
62 dataoff); in ef_reloc()
70 dataoff); in ef_reloc()
H A Def_i386.c47 Elf_Off dataoff, size_t len, void *_dest) in ef_reloc() argument
58 where = (Elf_Addr *)(dest + relbase + rel->r_offset - dataoff); in ef_reloc()
65 where = (Elf_Addr *)(dest + relbase + rela->r_offset - dataoff); in ef_reloc()
H A Def_amd64.c47 Elf_Off dataoff, size_t len, void *dest) in ef_reloc() argument
59 where = (Elf_Addr *)(dest + relbase + rel->r_offset - dataoff); in ef_reloc()
66 where = (Elf_Addr *)(dest + relbase + rela->r_offset - dataoff); in ef_reloc()
H A Def_aarch64.c46 Elf_Off dataoff, size_t len, void *dest) in ef_reloc() argument
56 where = (Elf_Addr *) ((Elf_Off)dest - dataoff + rela->r_offset); in ef_reloc()
H A Def_riscv.c46 Elf_Off dataoff, size_t len, void *dest) in ef_reloc() argument
57 dataoff); in ef_reloc()
H A Def_nop.c38 Elf_Off dataoff, size_t len, void *dest) in ef_reloc() argument
H A Def_obj.c249 Elf_Off secbase, dataoff; in ef_obj_seg_read_rel() local
263 secbase = dataoff = 0; in ef_obj_seg_read_rel()
273 dataoff = memaddr - ef->address; in ef_obj_seg_read_rel()
287 dataoff, len, dest); in ef_obj_seg_read_rel()
298 secbase, dataoff, len, dest); in ef_obj_seg_read_rel()
H A Def.h70 Elf_Off relbase, Elf_Off dataoff, size_t len, void *dest);
/freebsd-13.1/contrib/llvm-project/lld/MachO/
H A DWriter.cpp164 c->dataoff = functionStartsSection->fileOff; in writeTo()
183 c->dataoff = dataInCodeSection->fileOff; in writeTo()
542 c->dataoff = static_cast<uint32_t>(section->fileOff); in writeTo()
H A DInputFiles.cpp834 reinterpret_cast<const data_in_code_entry *>(buf + c->dataoff), in parseDataInCode()
/freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileBinaryWriter.cpp804 dl->dataoff = _startOfFunctionStarts; in writeLoadCommands()
816 dl->dataoff = _startOfDataInCode; in writeLoadCommands()
997 dl->dataoff = _startOfFunctionStarts; in writeLoadCommands()
1009 dl->dataoff = _startOfDataInCode; in writeLoadCommands()
H A DMachONormalizedFileBinaryReader.cpp454 start + read32(&ldc->dataoff, isBig)); in readBinary()
/freebsd-13.1/sys/i386/linux/
H A Dlinux.h386 u_int32_t dataoff; member
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp732 W.printNumber("Data offset", LLC.dataoff); in printMachODataInCode()
738 LLC.dataoff, i); in printMachODataInCode()
/freebsd-13.1/sys/amd64/linux32/
H A Dlinux.h413 u_int32_t dataoff; member
/freebsd-13.1/contrib/llvm-project/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c381 baton->mach_header_start + function_starts_cmd.dataoff; in scan_macho_load_commands()
396 baton->mach_header_start + function_starts_cmd.dataoff; in scan_macho_load_commands()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp611 if (LinkData.dataoff > FileSize) in checkLinkeditDataCommand()
615 uint64_t BigSize = LinkData.dataoff; in checkLinkeditDataCommand()
622 if (Error Err = checkOverlappingElement(Elements, LinkData.dataoff, in checkLinkeditDataCommand()
2808 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, DicLC.dataoff)); in begin_dices()
2818 unsigned Offset = DicLC.dataoff + DicLC.datasize; in end_dices()
4532 Cmd.dataoff = 0; in getDataInCodeLoadCommand()
4547 Cmd.dataoff = 0; in getLinkOptHintsLoadCommand()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMachO.h801 uint32_t dataoff; member
1286 sys::swapByteOrder(C.dataoff); in swapStruct()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOYAML.cpp404 IO.mapRequired("dataoff", LoadCommand.dataoff); in mapping()
/freebsd-13.1/sys/kern/
H A Dvfs_vnops.c3088 off_t dataoff, holeoff, xfer2; in vn_write_outvp() local
3107 &dataoff, &holeoff, cred); in vn_write_outvp()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp314 MachOObj->ReadULEB128s(LLC.dataoff, FoundFns); in getSectionsAndSymbols()
1068 O->ReadULEB128s(FunctionStartsLC.dataoff, FunctionStarts); in PrintFunctionStarts()
1126 const char *loh = O->getData().substr(LohLC.dataoff, 1).data(); in PrintLinkOptHints()
10063 outs() << " dataoff " << ld.dataoff; in PrintLinkEditDataCommand()
10064 if (ld.dataoff > object_size) in PrintLinkEditDataCommand()
10069 uint64_t big_size = ld.dataoff; in PrintLinkEditDataCommand()

12