Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp200 sizeof(MachO::load_command)); in readLoadCommands()
203 if (LoadCmd.C.cmdsize > sizeof(MachO::load_command)) in readLoadCommands()
206 sizeof(MachO::load_command), in readLoadCommands()
207 LoadCmd.C.cmdsize - sizeof(MachO::load_command)); in readLoadCommands()
H A DMachOWriter.cpp198 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()
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DMachO.def30 HANDLE_LOAD_COMMAND(LC_PREPAGE, 0x0000000Au, load_command)
96 LOAD_COMMAND_STRUCT(load_command)
H A DMachO.h532 struct load_command { struct
1071 inline void swapStruct(load_command &lc) { in swapStruct()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.h211 void ProcessDysymtabCommand(const llvm::MachO::load_command &load_cmd,
213 void ProcessSegmentCommand(const llvm::MachO::load_command &load_cmd,
H A DObjectFileMachO.cpp1305 llvm::MachO::load_command lc = {}; in IsStripped()
1584 const llvm::MachO::load_command &load_cmd_, lldb::offset_t offset, in ProcessSegmentCommand()
1889 llvm::MachO::load_command load_cmd; in CreateSections()
2249 llvm::MachO::load_command lc; in ParseSymtab()
4969 llvm::MachO::load_command load_cmd;
5102 llvm::MachO::load_command load_cmd;
5238 llvm::MachO::load_command load_cmd;
5424 llvm::MachO::load_command lc = {};
5491 llvm::MachO::load_command lc = {};
5538 llvm::MachO::load_command lc = {};
[all …]
/llvm-project-15.0.7/lld/MachO/
H A DInputFiles.h344 template <class CommandType = llvm::MachO::load_command, class... Types>
351 template <class CommandType = llvm::MachO::load_command, class... Types>
H A DInputFiles.cpp1091 if (const load_command *cmd = findCommand(hdr, LP::segmentLCType)) { in parse()
1099 if (const load_command *cmd = findCommand(hdr, LC_SYMTAB)) { in parse()
1143 const load_command *cmd = findCommand(hdr, LC_SYMTAB); in parseLazy()
1190 const load_command *cmd = findCommand(buf, LC_DATA_IN_CODE); in getDataInCode()
1762 if (const load_command *cmd = findCommand(hdr, LC_ID_DYLIB)) { in DylibFile()
1848 auto *cmd = reinterpret_cast<const load_command *>(p); in parseLoadCommands()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp264 sizeof(MachO::load_command)); in writeLoadCommands()
265 BytesWritten = sizeof(MachO::load_command); in writeLoadCommands()
267 writeLoadCommandData<MachO::load_command>(LC, OS, Obj.IsLittleEndian); in writeLoadCommands()
H A DMachOYAML.cpp447 void MappingTraits<MachO::load_command>::mapping( in mapping()
448 IO &IO, MachO::load_command &LoadCommand) {} in mapping()
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DDNB.h138 const struct load_command &lc,
H A DDNB.cpp1437 const struct load_command &lc, in DNBGetDeploymentInfo()
H A DRNBRemote.cpp6271 load_command lc; in HandlePacket_qProcessInfo()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp323 sizeof(MachO::load_command)); in dumpLoadCommands()
327 processLoadCommandData<MachO::load_command>(LC, LoadCmd, in dumpLoadCommands()
/llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
H A DDynamicLoaderMacOSXDYLD.cpp847 sizeof(llvm::MachO::load_command))) { in ParseLoadCommands()
848 llvm::MachO::load_command load_cmd; in ParseLoadCommands()
/llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/
H A DMachProcess.h252 DeploymentInfo GetDeploymentInfo(const struct load_command &,
H A DMachProcess.mm631 MachProcess::GetDeploymentInfo(const struct load_command &lc,
811 struct load_command lc;
812 if (ReadMemory(load_cmds_p, sizeof(struct load_command), &lc) !=
813 sizeof(struct load_command)) {
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DMachO.h385 MachO::load_command C; // The command itself.
/llvm-project-15.0.7/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c132 struct load_command lc; in scan_macho_load_commands()
/llvm-project-15.0.7/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()