Searched refs:load_command (Results 1 – 14 of 14) sorted by relevance
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_procmaps_mac.cpp | 254 layout_data->current_load_cmd_addr += ((const load_command *)lc)->cmdsize; in NextSegmentLoad() 256 if (((const load_command *)lc)->cmd == kLCSegment) { in NextSegmentLoad() 333 static const load_command *NextCommand(const load_command *lc) { in NextCommand() 334 return (const load_command *)((const char *)lc + lc->cmdsize); in NextCommand() 343 static void FindUUID(const load_command *first_lc, const mach_header *hdr, in FindUUID() 346 for (const load_command *lc = first_lc; curcmd < hdr->ncmds; in FindUUID() 361 static bool IsModuleInstrumented(const load_command *first_lc, in IsModuleInstrumented() 364 for (const load_command *lc = first_lc; curcmd < hdr->ncmds; in IsModuleInstrumented() 416 FindUUID((const load_command *)data_.current_load_cmd_addr, hdr, in Next() 419 (const load_command *)data_.current_load_cmd_addr, hdr); in Next()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOReader.cpp | 204 sizeof(MachO::load_command)); in readLoadCommands() 207 if (LoadCmd.C.cmdsize > sizeof(MachO::load_command)) in readLoadCommands() 210 sizeof(MachO::load_command), in readLoadCommands() 211 LoadCmd.C.cmdsize - sizeof(MachO::load_command)); in readLoadCommands()
|
| H A D | MachOWriter.cpp | 198 assert(sizeof(MachO::load_command) + LC.Payload.size() == in writeLoadCommands() 202 memcpy(Begin, &MLC.load_command_data, sizeof(MachO::load_command)); in writeLoadCommands() 203 Begin += sizeof(MachO::load_command); in writeLoadCommands()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.def | 30 HANDLE_LOAD_COMMAND(LC_PREPAGE, 0x0000000Au, load_command) 98 LOAD_COMMAND_STRUCT(load_command)
|
| H A D | MachO.h | 533 struct load_command { struct 1183 inline void swapStruct(load_command &lc) { in swapStruct()
|
| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | InputFiles.h | 359 template <class CommandType = llvm::MachO::load_command, class... Types> 366 template <class CommandType = llvm::MachO::load_command, class... Types>
|
| H A D | InputFiles.cpp | 1006 if (const load_command *cmd = findCommand(hdr, LP::segmentLCType)) { in parse() 1014 if (const load_command *cmd = findCommand(hdr, LC_SYMTAB)) { in parse() 1059 const load_command *cmd = findCommand(hdr, LC_SYMTAB); in parseLazy() 1105 const load_command *cmd = findCommand(buf, LC_DATA_IN_CODE); in getDataInCode() 1719 if (const load_command *cmd = findCommand(hdr, LC_ID_DYLIB)) { in DylibFile() 1817 auto *cmd = reinterpret_cast<const load_command *>(p); in parseLoadCommands()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | MachOEmitter.cpp | 267 sizeof(MachO::load_command)); in writeLoadCommands() 268 BytesWritten = sizeof(MachO::load_command); in writeLoadCommands() 270 writeLoadCommandData<MachO::load_command>(LC, OS, Obj.IsLittleEndian); in writeLoadCommands()
|
| H A D | MachOYAML.cpp | 459 void MappingTraits<MachO::load_command>::mapping( in mapping() 460 IO &IO, MachO::load_command &LoadCommand) {} in mapping()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/ |
| H A D | ObjectContainerMachOFileset.cpp | 144 load_command lc = {}; in ParseFileset()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/Unix/ |
| H A D | Signals.inc | 675 auto Cmd = (const struct load_command *)(&Header[1]); 691 Cmd = (const load_command *)(((const char *)Cmd) + (Cmd->cmdsize));
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | MachO.h | 415 MachO::load_command C; // The command itself.
|
| /freebsd/contrib/llvm-project/lldb/tools/compact-unwind/ |
| H A D | compact-unwind-dumper.c | 132 struct load_command lc; in scan_macho_load_commands()
|
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | MachOObjectFile.cpp | 194 if (auto CmdOrErr = getStructOrErr<MachO::load_command>(Obj, Ptr)) { in getLoadCommandInfo() 211 if (sizeof(MachO::load_command) > Obj.getHeader().sizeofcmds) in getFirstLoadCommandInfo() 223 if (L.Ptr + L.C.cmdsize + sizeof(MachO::load_command) > in getNextLoadCommandInfo()
|