/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_procmaps_mac.cpp | 253 layout_data->current_load_cmd_addr += ((const load_command *)lc)->cmdsize; in NextSegmentLoad() 254 if (((const load_command *)lc)->cmd == kLCSegment) { in NextSegmentLoad() 331 static const load_command *NextCommand(const load_command *lc) { in NextCommand() 332 return (const load_command *)((const char *)lc + lc->cmdsize); in NextCommand() 335 static void FindUUID(const load_command *first_lc, u8 *uuid_output) { in FindUUID() 336 for (const load_command *lc = first_lc; lc->cmd != 0; lc = NextCommand(lc)) { in FindUUID() 346 static bool IsModuleInstrumented(const load_command *first_lc) { in IsModuleInstrumented() 347 for (const load_command *lc = first_lc; lc->cmd != 0; lc = NextCommand(lc)) { in IsModuleInstrumented() 389 FindUUID((const load_command *)data_.current_load_cmd_addr, in Next() 392 (const load_command *)data_.current_load_cmd_addr); in Next()
|
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/MachO/ |
H A D | MachOReader.cpp | 203 sizeof(MachO::load_command)); in readLoadCommands() 206 if (LoadCmd.C.cmdsize > sizeof(MachO::load_command)) in readLoadCommands() 209 sizeof(MachO::load_command), in readLoadCommands() 210 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()
|
/openbsd-src/gnu/llvm/llvm/include/llvm/BinaryFormat/ |
H A D | MachO.def | 30 HANDLE_LOAD_COMMAND(LC_PREPAGE, 0x0000000Au, load_command) 97 LOAD_COMMAND_STRUCT(load_command)
|
H A D | MachO.h | 537 struct load_command { struct 1182 inline void swapStruct(load_command &lc) { in swapStruct()
|
/openbsd-src/gnu/llvm/lldb/source/Plugins/ObjectFile/Mach-O/ |
H A D | ObjectFileMachO.h | 214 void ProcessDysymtabCommand(const llvm::MachO::load_command &load_cmd, 216 void ProcessSegmentCommand(const llvm::MachO::load_command &load_cmd,
|
H A D | ObjectFileMachO.cpp | 1322 llvm::MachO::load_command lc = {}; in IsStripped() 1600 const llvm::MachO::load_command &load_cmd_, lldb::offset_t offset, in ProcessSegmentCommand() 1885 const llvm::MachO::load_command &load_cmd, lldb::offset_t offset) { in ProcessDysymtabCommand() 1905 llvm::MachO::load_command load_cmd; in CreateSections() 2265 llvm::MachO::load_command lc; in ParseSymtab() 4985 llvm::MachO::load_command load_cmd; 5118 llvm::MachO::load_command load_cmd; 5254 llvm::MachO::load_command load_cmd; 5440 llvm::MachO::load_command lc = {}; 5507 llvm::MachO::load_command lc = {}; [all …]
|
/openbsd-src/gnu/llvm/lld/MachO/ |
H A D | InputFiles.h | 347 template <class CommandType = llvm::MachO::load_command, class... Types> 354 template <class CommandType = llvm::MachO::load_command, class... Types>
|
H A D | InputFiles.cpp | 997 if (const load_command *cmd = findCommand(hdr, LP::segmentLCType)) { in parse() 1005 if (const load_command *cmd = findCommand(hdr, LC_SYMTAB)) { in parse() 1044 const load_command *cmd = findCommand(hdr, LC_SYMTAB); in parseLazy() 1090 const load_command *cmd = findCommand(buf, LC_DATA_IN_CODE); in getDataInCode() 1674 if (const load_command *cmd = findCommand(hdr, LC_ID_DYLIB)) { in DylibFile() 1760 auto *cmd = reinterpret_cast<const load_command *>(p); in parseLoadCommands()
|
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
H A D | MachOEmitter.cpp | 268 sizeof(MachO::load_command)); in writeLoadCommands() 269 BytesWritten = sizeof(MachO::load_command); in writeLoadCommands() 271 writeLoadCommandData<MachO::load_command>(LC, OS, Obj.IsLittleEndian); in writeLoadCommands()
|
H A D | MachOYAML.cpp | 457 void MappingTraits<MachO::load_command>::mapping( in mapping() 458 IO &IO, MachO::load_command &LoadCommand) {} in mapping()
|
/openbsd-src/gnu/llvm/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/ |
H A D | ObjectContainerMachOFileset.cpp | 144 load_command lc = {}; in ParseFileset()
|
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/ |
H A D | DNB.h | 140 const struct load_command &lc,
|
H A D | DNB.cpp | 1446 const struct load_command &lc, in DNBGetDeploymentInfo()
|
H A D | RNBRemote.cpp | 6273 load_command lc; in HandlePacket_qProcessInfo()
|
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/ |
H A D | macho2yaml.cpp | 325 sizeof(MachO::load_command)); in dumpLoadCommands() 329 processLoadCommandData<MachO::load_command>(LC, LoadCmd, *Y)) in dumpLoadCommands()
|
/openbsd-src/gnu/llvm/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/ |
H A D | DynamicLoaderMacOSXDYLD.cpp | 857 sizeof(llvm::MachO::load_command))) { in ParseLoadCommands() 858 llvm::MachO::load_command load_cmd; in ParseLoadCommands()
|
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachProcess.h | 253 DeploymentInfo GetDeploymentInfo(const struct load_command &,
|
H A D | MachProcess.mm | 633 MachProcess::GetDeploymentInfo(const struct load_command &lc, 816 struct load_command lc; 817 if (ReadMemory(load_cmds_p, sizeof(struct load_command), &lc) != 818 sizeof(struct load_command)) {
|
/openbsd-src/gnu/usr.bin/binutils/gdb/ |
H A D | symfile.c | 92 static void load_command (char *, int); 1356 load_command (char *arg, int from_tty) in load_command() function 3570 c = add_cmd ("load", class_files, load_command, in _initialize_symfile()
|
H A D | ChangeLog-1994 | 1902 * symfile.c (load_command): If called with no argument, try 1905 in load_command now.
|
H A D | ChangeLog-1996 | 2704 * symfile.c (load_command): Add option for 2nd parameter; a load
|
/openbsd-src/gnu/llvm/llvm/include/llvm/Object/ |
H A D | MachO.h | 410 MachO::load_command C; // The command itself.
|
/openbsd-src/gnu/llvm/lldb/tools/compact-unwind/ |
H A D | compact-unwind-dumper.c | 132 struct load_command lc; in scan_macho_load_commands()
|
/openbsd-src/gnu/llvm/llvm/lib/Object/ |
H A D | MachOObjectFile.cpp | 192 if (auto CmdOrErr = getStructOrErr<MachO::load_command>(Obj, Ptr)) { in getLoadCommandInfo() 208 if (sizeof(MachO::load_command) > Obj.getHeader().sizeofcmds) in getFirstLoadCommandInfo() 219 if (L.Ptr + L.C.cmdsize + sizeof(MachO::load_command) > in getNextLoadCommandInfo()
|