Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-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()
119 for (auto LoadCmd : MachOObj.load_commands()) { in readLoadCommands() local
121 switch (LoadCmd.C.cmd) { in readLoadCommands()
128 LoadCmd, MachOObj, NextSectionIndex)) in readLoadCommands()
136 LoadCmd, MachOObj, NextSectionIndex)) in readLoadCommands()
174 switch (LoadCmd.C.cmd) { in readLoadCommands()
180 if (LoadCmd.C.cmdsize > sizeof(MachO::load_command)) in readLoadCommands()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp600 if (*LoadCmd != nullptr) in checkLinkeditDataCommand()
625 *LoadCmd = Load.Ptr; in checkLinkeditDataCommand()
637 if (*LoadCmd != nullptr) in checkDyldInfoCommand()
724 *LoadCmd = Load.Ptr; in checkDyldInfoCommand()
767 if (*LoadCmd != nullptr) in checkDylibIdCommand()
773 *LoadCmd = Load.Ptr; in checkDylibIdCommand()
816 if (*LoadCmd != nullptr) in checkVersCommand()
820 *LoadCmd = Load.Ptr; in checkVersCommand()
913 if (*LoadCmd != nullptr) in checkEncryptCommand()
928 *LoadCmd = Load.Ptr; in checkEncryptCommand()
[all …]