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() 337 static void FindUUID(const load_command *first_lc, u8 *uuid_output) { in FindUUID() 338 for (const load_command *lc = first_lc; lc->cmd != 0; lc = NextCommand(lc)) { in FindUUID() 348 static bool IsModuleInstrumented(const load_command *first_lc) { in IsModuleInstrumented() 349 for (const load_command *lc = first_lc; lc->cmd != 0; lc = NextCommand(lc)) { in IsModuleInstrumented() 396 FindUUID((const load_command *)data_.current_load_cmd_addr, in Next() 399 (const load_command *)data_.current_load_cmd_addr); in Next()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
H A D | MachOReader.cpp | 205 sizeof(MachO::load_command)); in readLoadCommands() 208 if (LoadCmd.C.cmdsize > sizeof(MachO::load_command)) in readLoadCommands() 211 sizeof(MachO::load_command), in readLoadCommands() 212 LoadCmd.C.cmdsize - sizeof(MachO::load_command)); in readLoadCommands()
|
H A D | MachOWriter.cpp | 199 assert(sizeof(MachO::load_command) + LC.Payload.size() == in writeLoadCommands() 203 memcpy(Begin, &MLC.load_command_data, sizeof(MachO::load_command)); in writeLoadCommands() 204 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 | 355 template <class CommandType = llvm::MachO::load_command, class... Types> 362 template <class CommandType = llvm::MachO::load_command, class... Types>
|
H A D | InputFiles.cpp | 1008 if (const load_command *cmd = findCommand(hdr, LP::segmentLCType)) { in parse() 1016 if (const load_command *cmd = findCommand(hdr, LC_SYMTAB)) { in parse() 1061 const load_command *cmd = findCommand(hdr, LC_SYMTAB); in parseLazy() 1107 const load_command *cmd = findCommand(buf, LC_DATA_IN_CODE); in getDataInCode() 1697 if (const load_command *cmd = findCommand(hdr, LC_ID_DYLIB)) { in DylibFile() 1784 auto *cmd = reinterpret_cast<const load_command *>(p); in parseLoadCommands()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | MachOEmitter.cpp | 269 sizeof(MachO::load_command)); in writeLoadCommands() 270 BytesWritten = sizeof(MachO::load_command); in writeLoadCommands() 272 writeLoadCommandData<MachO::load_command>(LC, OS, Obj.IsLittleEndian); in writeLoadCommands()
|
H A D | MachOYAML.cpp | 458 void MappingTraits<MachO::load_command>::mapping( in mapping() 459 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 | 637 auto Cmd = (const struct load_command *)(&Header[1]); 653 Cmd = (const load_command *)(((const char *)Cmd) + (Cmd->cmdsize));
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | MachO.h | 410 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() 210 if (sizeof(MachO::load_command) > Obj.getHeader().sizeofcmds) in getFirstLoadCommandInfo() 222 if (L.Ptr + L.C.cmdsize + sizeof(MachO::load_command) > in getNextLoadCommandInfo()
|