Home
last modified time | relevance | path

Searched refs:LoadCmd (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp171 auto End = LoadCmd.Ptr + LoadCmd.C.cmdsize; in extractSections()
210 return LoadCmd.Ptr + sizeof(StructType); in processLoadCommandData()
220 LoadCmd, LC.Sections, Y); in processLoadCommandData()
230 LoadCmd, LC.Sections, Y); in processLoadCommandData()
237 auto Start = LoadCmd.Ptr + sizeof(StructType); in readString()
250 return readString<MachO::dylib_command>(LC, LoadCmd); in processLoadCommandData()
268 return readString<MachO::rpath_command>(LC, LoadCmd); in processLoadCommandData()
317 for (auto LoadCmd : Obj.load_commands()) { in dumpLoadCommands() local
319 const char *EndPtr = LoadCmd.Ptr; in dumpLoadCommands()
320 switch (LoadCmd.C.cmd) { in dumpLoadCommands()
[all …]
/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp61 const object::MachOObjectFile::LoadCommandInfo &LoadCmd, in extractSections() argument
64 for (auto Curr = reinterpret_cast<const SectionType *>(LoadCmd.Ptr + in extractSections()
66 End = reinterpret_cast<const SectionType *>(LoadCmd.Ptr + in extractSections()
67 LoadCmd.C.cmdsize); in extractSections()
120 for (auto LoadCmd : MachOObj.load_commands()) { in readLoadCommands() local
122 switch (LoadCmd.C.cmd) { in readLoadCommands()
137 LoadCmd, MachOObj, NextSectionIndex)) in readLoadCommands()
153 LoadCmd, MachOObj, NextSectionIndex)) in readLoadCommands()
197 switch (LoadCmd.C.cmd) { in readLoadCommands()
203 if (LoadCmd.C.cmdsize > sizeof(MachO::load_command)) in readLoadCommands()
[all …]
/llvm-project-15.0.7/llvm/lib/Object/
H A DMachOObjectFile.cpp604 if (*LoadCmd != nullptr) in checkLinkeditDataCommand()
629 *LoadCmd = Load.Ptr; in checkLinkeditDataCommand()
641 if (*LoadCmd != nullptr) in checkDyldInfoCommand()
728 *LoadCmd = Load.Ptr; in checkDyldInfoCommand()
771 if (*LoadCmd != nullptr) in checkDylibIdCommand()
777 *LoadCmd = Load.Ptr; in checkDylibIdCommand()
820 if (*LoadCmd != nullptr) in checkVersCommand()
824 *LoadCmd = Load.Ptr; in checkVersCommand()
917 if (*LoadCmd != nullptr) in checkEncryptCommand()
932 *LoadCmd = Load.Ptr; in checkEncryptCommand()
[all …]