Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_procmaps_mac.cc181 layout_data.current_load_cmd_addr += ((const load_command *)lc)->cmdsize; in NextSegmentLoad()
182 if (((const load_command *)lc)->cmd == kLCSegment) { in NextSegmentLoad()
259 static const load_command *NextCommand(const load_command *lc) { in NextCommand()
260 return (const load_command *)((const char *)lc + lc->cmdsize); in NextCommand()
263 static void FindUUID(const load_command *first_lc, u8 *uuid_output) { in FindUUID()
264 for (const load_command *lc = first_lc; lc->cmd != 0; lc = NextCommand(lc)) { in FindUUID()
274 static bool IsModuleInstrumented(const load_command *first_lc) { in IsModuleInstrumented()
275 for (const load_command *lc = first_lc; lc->cmd != 0; lc = NextCommand(lc)) { in IsModuleInstrumented()
317 FindUUID((const load_command *)data_.current_load_cmd_addr, in Next()
320 (const load_command *)data_.current_load_cmd_addr); in Next()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_procmaps_mac.cc183 layout_data.current_load_cmd_addr += ((const load_command *)lc)->cmdsize; in NextSegmentLoad()
184 if (((const load_command *)lc)->cmd == kLCSegment) { in NextSegmentLoad()
261 static const load_command *NextCommand(const load_command *lc) { in NextCommand()
262 return (const load_command *)((const char *)lc + lc->cmdsize); in NextCommand()
265 static void FindUUID(const load_command *first_lc, u8 *uuid_output) { in FindUUID()
266 for (const load_command *lc = first_lc; lc->cmd != 0; lc = NextCommand(lc)) { in FindUUID()
276 static bool IsModuleInstrumented(const load_command *first_lc) { in IsModuleInstrumented()
277 for (const load_command *lc = first_lc; lc->cmd != 0; lc = NextCommand(lc)) { in IsModuleInstrumented()
319 FindUUID((const load_command *)data_.current_load_cmd_addr, in Next()
322 (const load_command *)data_.current_load_cmd_addr); in Next()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_procmaps_mac.cpp187 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()
/netbsd-src/external/gpl3/gcc/dist/libbacktrace/
H A Dmacho.c1082 struct macho_load_command load_command; in macho_add() local
1084 if (cmdoffset + sizeof load_command > header.sizeofcmds) in macho_add()
1088 memcpy (&load_command, pcmd, sizeof load_command); in macho_add()
1090 switch (load_command.cmd) in macho_add()
1102 load_command.cmd, in macho_add()
1104 (load_command.cmdsize in macho_add()
1124 load_command.cmd, in macho_add()
1126 (load_command.cmdsize in macho_add()
1166 cmdoffset += load_command.cmdsize; in macho_add()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/
H A DMachOReader.cpp174 sizeof(MachO::load_command)); in readLoadCommands()
177 if (LoadCmd.C.cmdsize > sizeof(MachO::load_command)) in readLoadCommands()
180 sizeof(MachO::load_command), in readLoadCommands()
181 LoadCmd.C.cmdsize - sizeof(MachO::load_command)); in readLoadCommands()
H A DMachOWriter.cpp209 assert(sizeof(MachO::load_command) + LC.Payload.size() == in writeLoadCommands()
213 memcpy(Begin, &MLC.load_command_data, sizeof(MachO::load_command)); in writeLoadCommands()
214 Begin += sizeof(MachO::load_command); in writeLoadCommands()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/
H A DMachO.def30 HANDLE_LOAD_COMMAND(LC_PREPAGE, 0x0000000Au, load_command)
94 LOAD_COMMAND_STRUCT(load_command)
H A DMachO.h530 struct load_command { struct
1048 inline void swapStruct(load_command &lc) { in swapStruct()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp238 sizeof(MachO::load_command)); in writeLoadCommands()
239 BytesWritten = sizeof(MachO::load_command); in writeLoadCommands()
241 writeLoadCommandData<MachO::load_command>(LC, OS, Obj.IsLittleEndian); in writeLoadCommands()
H A DMachOYAML.cpp418 void MappingTraits<MachO::load_command>::mapping( in mapping()
419 IO &IO, MachO::load_command &LoadCommand) {} in mapping()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp308 sizeof(MachO::load_command)); in dumpLoadCommands()
312 processLoadCommandData<MachO::load_command>(LC, LoadCmd, in dumpLoadCommands()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/darwin/mach/
H A Dloader.d337 struct load_command in version() struct
2667 struct load_command struct
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DMachO.h266 MachO::load_command C; // The command itself.
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DMachOObjectFile.cpp189 if (auto CmdOrErr = getStructOrErr<MachO::load_command>(Obj, Ptr)) { in getLoadCommandInfo()
205 if (sizeof(MachO::load_command) > Obj.getHeader().sizeofcmds) in getFirstLoadCommandInfo()
216 if (L.Ptr + L.C.cmdsize + sizeof(MachO::load_command) > in getNextLoadCommandInfo()
/netbsd-src/external/gpl3/gdb.old/dist/gdb/
H A DChangeLog-19941902 * symfile.c (load_command): If called with no argument, try
1905 in load_command now.
H A DChangeLog-20062071 * symfile.c (load_command): Check for a changed executable before
H A DChangeLog-19962702 * symfile.c (load_command): Add option for 2nd parameter; a load
H A DChangeLog-19914506 * symfile.c (load_command): renamed from add_file_target_command.
H A DChangeLog-19925726 * symfile.c (load_command, add_symbol_file_command): Make static.
/netbsd-src/external/gpl3/gdb/dist/gdb/
H A DChangeLog-19941902 * symfile.c (load_command): If called with no argument, try
1905 in load_command now.
H A DChangeLog-20062071 * symfile.c (load_command): Check for a changed executable before
H A DChangeLog-19962702 * symfile.c (load_command): Add option for 2nd parameter; a load
H A DChangeLog-19914506 * symfile.c (load_command): renamed from add_file_target_command.
H A DChangeLog-19925726 * symfile.c (load_command, add_symbol_file_command): Make static.
H A DChangeLog-20012987 * symfile.c (load_command): Invalidate the overlay cache.

12