Home
last modified time | relevance | path

Searched refs:load_command (Results 1 – 25 of 28) sorted by relevance

12

/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_mac.cpp253 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 DMachOReader.cpp203 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 DMachOWriter.cpp199 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 DMachO.def30 HANDLE_LOAD_COMMAND(LC_PREPAGE, 0x0000000Au, load_command)
97 LOAD_COMMAND_STRUCT(load_command)
H A DMachO.h537 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 DObjectFileMachO.h214 void ProcessDysymtabCommand(const llvm::MachO::load_command &load_cmd,
216 void ProcessSegmentCommand(const llvm::MachO::load_command &load_cmd,
H A DObjectFileMachO.cpp1322 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 DInputFiles.h347 template <class CommandType = llvm::MachO::load_command, class... Types>
354 template <class CommandType = llvm::MachO::load_command, class... Types>
H A DInputFiles.cpp997 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 DMachOEmitter.cpp268 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 DMachOYAML.cpp457 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 DObjectContainerMachOFileset.cpp144 load_command lc = {}; in ParseFileset()
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/
H A DDNB.h140 const struct load_command &lc,
H A DDNB.cpp1446 const struct load_command &lc, in DNBGetDeploymentInfo()
H A DRNBRemote.cpp6273 load_command lc; in HandlePacket_qProcessInfo()
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp325 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 DDynamicLoaderMacOSXDYLD.cpp857 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 DMachProcess.h253 DeploymentInfo GetDeploymentInfo(const struct load_command &,
H A DMachProcess.mm633 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 Dsymfile.c92 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 DChangeLog-19941902 * symfile.c (load_command): If called with no argument, try
1905 in load_command now.
H A DChangeLog-19962704 * symfile.c (load_command): Add option for 2nd parameter; a load
/openbsd-src/gnu/llvm/llvm/include/llvm/Object/
H A DMachO.h410 MachO::load_command C; // The command itself.
/openbsd-src/gnu/llvm/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c132 struct load_command lc; in scan_macho_load_commands()
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DMachOObjectFile.cpp192 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()

12