Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_mac.cc187 layout_data.current_load_cmd_addr += ((const load_command *)lc)->cmdsize; in NextSegmentLoad()
188 if (((const load_command *)lc)->cmd == kLCSegment) { in NextSegmentLoad()
265 static const load_command *NextCommand(const load_command *lc) { in NextCommand()
266 return (const load_command *)((const char *)lc + lc->cmdsize); in NextCommand()
269 static void FindUUID(const load_command *first_lc, u8 *uuid_output) { in FindUUID()
270 for (const load_command *lc = first_lc; lc->cmd != 0; lc = NextCommand(lc)) { in FindUUID()
280 static bool IsModuleInstrumented(const load_command *first_lc) { in IsModuleInstrumented()
281 for (const load_command *lc = first_lc; lc->cmd != 0; lc = NextCommand(lc)) { in IsModuleInstrumented()
323 FindUUID((const load_command *)data_.current_load_cmd_addr, in Next()
326 (const load_command *)data_.current_load_cmd_addr); in Next()
/freebsd-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileBinaryReader.cpp63 const load_command *lc = reinterpret_cast<const load_command*>(p); in forEachLoadCommand()
64 load_command lcCopy; in forEachLoadCommand()
65 const load_command *slc = lc; in forEachLoadCommand()
67 memcpy(&lcCopy, lc, sizeof(load_command)); in forEachLoadCommand()
/freebsd-12.1/contrib/llvm/include/llvm/BinaryFormat/
H A DMachO.def31 HANDLE_LOAD_COMMAND(LC_PREPAGE, 0x0000000Au, load_command)
95 LOAD_COMMAND_STRUCT(load_command)
H A DMachO.h521 struct load_command { struct
1034 inline void swapStruct(load_command &lc) { in swapStruct()
/freebsd-12.1/contrib/llvm/lib/ObjectYAML/
H A DMachOYAML.cpp395 void MappingTraits<MachO::load_command>::mapping( in mapping()
396 IO &IO, MachO::load_command &LoadCommand) {} in mapping()
/freebsd-12.1/contrib/gdb/gdb/
H A Dsymfile.c104 static void load_command (char *, int);
1326 load_command (char *arg, int from_tty) in load_command() function
3536 c = add_cmd ("load", class_files, load_command, in _initialize_symfile()
/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DMachO.h269 MachO::load_command C; // The command itself.
/freebsd-12.1/contrib/llvm/tools/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c175 struct load_command lc; in scan_macho_load_commands()
/freebsd-12.1/contrib/llvm/lib/Object/
H A DMachOObjectFile.cpp186 if (auto CmdOrErr = getStructOrErr<MachO::load_command>(Obj, Ptr)) { in getLoadCommandInfo()
202 if (sizeof(MachO::load_command) > Obj.getHeader().sizeofcmds) in getFirstLoadCommandInfo()
213 if (L.Ptr + L.C.cmdsize + sizeof(MachO::load_command) > in getNextLoadCommandInfo()