Home
last modified time | relevance | path

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

/external/llvm-project/lldb/source/Plugins/ObjectFile/Mach-O/
DObjectFileMachO.cpp1555 segment_command_64 load_cmd; in ProcessSegmentCommand() local
1556 memcpy(&load_cmd, &load_cmd_, sizeof(load_cmd_)); in ProcessSegmentCommand()
1558 if (!m_data.GetU8(&offset, (uint8_t *)load_cmd.segname, 16)) in ProcessSegmentCommand()
1567 load_cmd.segname, strnlen(load_cmd.segname, sizeof(load_cmd.segname))); in ProcessSegmentCommand()
1582 load_cmd.vmaddr = m_data.GetAddress(&offset); in ProcessSegmentCommand()
1583 load_cmd.vmsize = m_data.GetAddress(&offset); in ProcessSegmentCommand()
1584 load_cmd.fileoff = m_data.GetAddress(&offset); in ProcessSegmentCommand()
1585 load_cmd.filesize = m_data.GetAddress(&offset); in ProcessSegmentCommand()
1586 if (!m_data.GetU32(&offset, &load_cmd.maxprot, 4)) in ProcessSegmentCommand()
1589 SanitizeSegmentCommand(load_cmd, cmd_idx); in ProcessSegmentCommand()
[all …]
DObjectFileMachO.h202 void ProcessDysymtabCommand(const llvm::MachO::load_command &load_cmd,
204 void ProcessSegmentCommand(const llvm::MachO::load_command &load_cmd,
/external/llvm-project/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
DDynamicLoaderMacOSXDYLD.cpp842 llvm::MachO::load_command load_cmd; in ParseLoadCommands() local
844 load_cmd.cmd = data.GetU32(&offset); in ParseLoadCommands()
845 load_cmd.cmdsize = data.GetU32(&offset); in ParseLoadCommands()
846 switch (load_cmd.cmd) { in ParseLoadCommands()
889 offset = load_cmd_offset + load_cmd.cmdsize; in ParseLoadCommands()