Home
last modified time | relevance | path

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

123

/dports/www/chromium-legacy/chromium-88.0.4324.182/base/profiler/
H A Dmodule_cache_mac.cc59 const load_command* load_cmd = reinterpret_cast<const load_command*>( in GetUniqueIdAndTextSize() local
62 if (offset + load_cmd->cmdsize > offset_limit) { in GetUniqueIdAndTextSize()
69 if (load_cmd->cmd == LC_UUID) { in GetUniqueIdAndTextSize()
70 if (load_cmd->cmdsize < sizeof(uuid_command)) { in GetUniqueIdAndTextSize()
75 reinterpret_cast<const uuid_command*>(load_cmd); in GetUniqueIdAndTextSize()
86 } else if (load_cmd->cmd == kSegmentCommand) { in GetUniqueIdAndTextSize()
88 reinterpret_cast<const SegmentCommandType*>(load_cmd); in GetUniqueIdAndTextSize()
102 offset += load_cmd->cmdsize; in GetUniqueIdAndTextSize()
/dports/x11/xscreensaver/xscreensaver-5.44/OSX/
H A Denable_gc.c156 const struct load_command *load_cmd = (const struct load_command *)(hdr + 1); in _handle_x86_64() local
157 const void *cmds_end = (const uint8_t *)load_cmd + hdr->sizeofcmds; in _handle_x86_64()
161 if(!BOUNDS_CHECK_PRINT(load_cmd, cmds_end)) in _handle_x86_64()
165 (const struct load_command *)((const uint8_t *)load_cmd + in _handle_x86_64()
166 _le_u32(load_cmd->cmdsize)); in _handle_x86_64()
168 if(load_cmd->cmd == _le_u32(LC_SEGMENT_64)) in _handle_x86_64()
171 (const struct segment_command_64 *)load_cmd; in _handle_x86_64()
238 load_cmd = next_load_cmd; in _handle_x86_64()
241 if((const void *)load_cmd > cmds_end) in _handle_x86_64()
247 assert(load_cmd == cmds_end); in _handle_x86_64()
/dports/security/clamav/clamav-0.104.2/libclamav/
H A Dmacho.c203 struct macho_load_cmd load_cmd; in cli_scanmacho() local
329 if (fmap_readn(map, &load_cmd, at, sizeof(load_cmd)) != sizeof(load_cmd)) { in cli_scanmacho()
334 at += sizeof(load_cmd); in cli_scanmacho()
342 load_cmd.cmd = EC32(load_cmd.cmd, conv); in cli_scanmacho()
343 if ((m64 && load_cmd.cmd == 0x19) || (!m64 && load_cmd.cmd == 0x01)) { /* LC_SEGMENT */ in cli_scanmacho()
434 } else if (arch && (load_cmd.cmd == 0x4 || load_cmd.cmd == 0x5)) { /* LC_(UNIX)THREAD */ in cli_scanmacho()
483 if (EC32(load_cmd.cmdsize, conv) > sizeof(load_cmd)) in cli_scanmacho()
484 at += EC32(load_cmd.cmdsize, conv) - sizeof(load_cmd); in cli_scanmacho()
/dports/security/clamav-lts/clamav-0.103.5/libclamav/
H A Dmacho.c203 struct macho_load_cmd load_cmd; in cli_scanmacho() local
329 if (fmap_readn(map, &load_cmd, at, sizeof(load_cmd)) != sizeof(load_cmd)) { in cli_scanmacho()
334 at += sizeof(load_cmd); in cli_scanmacho()
342 load_cmd.cmd = EC32(load_cmd.cmd, conv); in cli_scanmacho()
343 if ((m64 && load_cmd.cmd == 0x19) || (!m64 && load_cmd.cmd == 0x01)) { /* LC_SEGMENT */ in cli_scanmacho()
434 } else if (arch && (load_cmd.cmd == 0x4 || load_cmd.cmd == 0x5)) { /* LC_(UNIX)THREAD */ in cli_scanmacho()
483 if (EC32(load_cmd.cmdsize, conv) > sizeof(load_cmd)) in cli_scanmacho()
484 at += EC32(load_cmd.cmdsize, conv) - sizeof(load_cmd); in cli_scanmacho()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/resource_coordinator/public/cpp/memory_instrumentation/
H A Dos_metrics_mac.cc112 const struct load_command* load_cmd = in GetDyldRegions() local
114 next_command += load_cmd->cmdsize; in GetDyldRegions()
116 if (load_cmd->cmd == LC_SEGMENT_64) { in GetDyldRegions()
117 if (load_cmd->cmdsize < sizeof(segment_command_64)) in GetDyldRegions()
120 reinterpret_cast<const segment_command_64*>(load_cmd); in GetDyldRegions()
155 if (load_cmd->cmd == LC_UUID) { in GetDyldRegions()
156 if (load_cmd->cmdsize < sizeof(uuid_command)) in GetDyldRegions()
159 reinterpret_cast<const uuid_command*>(load_cmd); in GetDyldRegions()
/dports/www/chromium-legacy/chromium-88.0.4324.182/services/resource_coordinator/public/cpp/memory_instrumentation/
H A Dos_metrics_mac.cc112 const struct load_command* load_cmd = in GetDyldRegions() local
114 next_command += load_cmd->cmdsize; in GetDyldRegions()
116 if (load_cmd->cmd == LC_SEGMENT_64) { in GetDyldRegions()
117 if (load_cmd->cmdsize < sizeof(segment_command_64)) in GetDyldRegions()
120 reinterpret_cast<const segment_command_64*>(load_cmd); in GetDyldRegions()
155 if (load_cmd->cmd == LC_UUID) { in GetDyldRegions()
156 if (load_cmd->cmdsize < sizeof(uuid_command)) in GetDyldRegions()
159 reinterpret_cast<const uuid_command*>(load_cmd); in GetDyldRegions()
/dports/devel/libvirt/libvirt-7.10.0/src/bhyve/
H A Dbhyve_process.c124 virCommand *load_cmd = NULL; in virBhyveProcessStartImpl() local
173 if (!(load_cmd = virBhyveProcessBuildLoadCmd(driver, vm->def, in virBhyveProcessStartImpl()
176 virCommandSetOutputFD(load_cmd, &logfd); in virBhyveProcessStartImpl()
177 virCommandSetErrorFD(load_cmd, &logfd); in virBhyveProcessStartImpl()
190 virCommandWriteArgLog(load_cmd, logfd); in virBhyveProcessStartImpl()
193 if (virCommandRun(load_cmd, NULL) < 0) in virBhyveProcessStartImpl()
239 virCommandSetOutputFD(load_cmd, &logfd); in virBhyveProcessStartImpl()
240 virCommandSetErrorFD(load_cmd, &logfd); in virBhyveProcessStartImpl()
248 virCommandFree(load_cmd); in virBhyveProcessStartImpl()
/dports/lang/gnu-apl/apl-1.8/src/
H A Dmain.cc447 UCS_string load_cmd(")LOAD CONTINUE"); in init_apl() local
448 Command::process_line(load_cmd); in init_apl()
462 UCS_string load_cmd(")LOAD SETUP"); in init_apl() local
463 Command::process_line(load_cmd); in init_apl()
474 UCS_string load_cmd(cmd); in init_apl() local
475 load_cmd.append(init_ws); in init_apl()
476 Command::process_line(load_cmd); in init_apl()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp1539 segment_command_64 load_cmd; in ProcessSegmentCommand() local
1551 load_cmd.segname, strnlen(load_cmd.segname, sizeof(load_cmd.segname))); in ProcessSegmentCommand()
1810 m_dysymtab.cmd = load_cmd.cmd; in ProcessDysymtabCommand()
1829 struct load_command load_cmd; in CreateSections() local
1835 if (load_cmd.cmd == LC_SEGMENT || load_cmd.cmd == LC_SEGMENT_64) in CreateSections()
4754 struct uuid_command load_cmd; in GetUUID() local
4902 struct load_command load_cmd; in GetAllArchSpecs() local
4913 switch (load_cmd.cmd) { in GetAllArchSpecs()
5033 struct load_command load_cmd; in GetDependentModules() local
5044 switch (load_cmd.cmd) { in GetDependentModules()
[all …]
H A DObjectFileMachO.h200 void ProcessDysymtabCommand(const llvm::MachO::load_command &load_cmd,
202 void ProcessSegmentCommand(const llvm::MachO::load_command &load_cmd,
/dports/biology/bowtie2/bowtie2-2.4.4/scripts/test/benchmark/
H A Dbenchmarks.py76 for i, load_cmd in enumerate(data_load_list):
77 load_cmd = re.sub(r'##BT2DIR##', self.bin_dir, load_cmd)
78 load_cmd = re.sub(r'##DATADIR##', self.data_dir, load_cmd)
79 data_load_list[i] = load_cmd
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp1555 segment_command_64 load_cmd; in ProcessSegmentCommand() local
1567 load_cmd.segname, strnlen(load_cmd.segname, sizeof(load_cmd.segname))); in ProcessSegmentCommand()
1830 m_dysymtab.cmd = load_cmd.cmd; in ProcessDysymtabCommand()
1849 struct load_command load_cmd; in CreateSections() local
1855 if (load_cmd.cmd == LC_SEGMENT || load_cmd.cmd == LC_SEGMENT_64) in CreateSections()
4850 struct uuid_command load_cmd; in GetUUID() local
4998 struct load_command load_cmd; in GetAllArchSpecs() local
5009 switch (load_cmd.cmd) { in GetAllArchSpecs()
5141 struct load_command load_cmd; in GetDependentModules() local
5152 switch (load_cmd.cmd) { in GetDependentModules()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp1555 segment_command_64 load_cmd; in ProcessSegmentCommand() local
1567 load_cmd.segname, strnlen(load_cmd.segname, sizeof(load_cmd.segname))); in ProcessSegmentCommand()
1830 m_dysymtab.cmd = load_cmd.cmd; in ProcessDysymtabCommand()
1849 struct load_command load_cmd; in CreateSections() local
1855 if (load_cmd.cmd == LC_SEGMENT || load_cmd.cmd == LC_SEGMENT_64) in CreateSections()
4841 struct uuid_command load_cmd; in GetUUID() local
4989 struct load_command load_cmd; in GetAllArchSpecs() local
5000 switch (load_cmd.cmd) { in GetAllArchSpecs()
5132 struct load_command load_cmd; in GetDependentModules() local
5143 switch (load_cmd.cmd) { in GetDependentModules()
[all …]
H A DObjectFileMachO.h202 void ProcessDysymtabCommand(const llvm::MachO::load_command &load_cmd,
204 void ProcessSegmentCommand(const llvm::MachO::load_command &load_cmd,
/dports/devel/llvm12/llvm-project-12.0.1.src/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp1555 segment_command_64 load_cmd; in ProcessSegmentCommand() local
1567 load_cmd.segname, strnlen(load_cmd.segname, sizeof(load_cmd.segname))); in ProcessSegmentCommand()
1830 m_dysymtab.cmd = load_cmd.cmd; in ProcessDysymtabCommand()
1849 struct load_command load_cmd; in CreateSections() local
1855 if (load_cmd.cmd == LC_SEGMENT || load_cmd.cmd == LC_SEGMENT_64) in CreateSections()
4841 struct uuid_command load_cmd; in GetUUID() local
4989 struct load_command load_cmd; in GetAllArchSpecs() local
5000 switch (load_cmd.cmd) { in GetAllArchSpecs()
5132 struct load_command load_cmd; in GetDependentModules() local
5143 switch (load_cmd.cmd) { in GetDependentModules()
[all …]
H A DObjectFileMachO.h202 void ProcessDysymtabCommand(const llvm::MachO::load_command &load_cmd,
204 void ProcessSegmentCommand(const llvm::MachO::load_command &load_cmd,
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp1542 segment_command_64 load_cmd; in ProcessSegmentCommand() local
1554 load_cmd.segname, strnlen(load_cmd.segname, sizeof(load_cmd.segname))); in ProcessSegmentCommand()
1813 m_dysymtab.cmd = load_cmd.cmd; in ProcessDysymtabCommand()
1832 struct load_command load_cmd; in CreateSections() local
1838 if (load_cmd.cmd == LC_SEGMENT || load_cmd.cmd == LC_SEGMENT_64) in CreateSections()
4867 struct uuid_command load_cmd; in GetUUID() local
5015 struct load_command load_cmd; in GetAllArchSpecs() local
5026 switch (load_cmd.cmd) { in GetAllArchSpecs()
5146 struct load_command load_cmd; in GetDependentModules() local
5157 switch (load_cmd.cmd) { in GetDependentModules()
[all …]
H A DObjectFileMachO.h200 void ProcessDysymtabCommand(const llvm::MachO::load_command &load_cmd,
202 void ProcessSegmentCommand(const llvm::MachO::load_command &load_cmd,
/dports/sysutils/cpu-x/CPU-X-4.0.1/src/
H A Ddaemon.c190 char *module = NULL, *load_cmd = NULL; in __load_module() local
203 asprintf(&load_cmd, "modprobe %s 2> /dev/null", module); in __load_module()
205 asprintf(&load_cmd, "kldload -n %s 2> /dev/null", module); in __load_module()
210 ret = system(load_cmd); in __load_module()
212 free(load_cmd); in __load_module()
/dports/devel/sccache/sccache-0.2.15/cargo-crates/redis-0.17.0/src/
H A Dscript.rs167 let mut load_cmd = cmd("SCRIPT"); in invoke_async() localVariable
168 load_cmd.arg("LOAD").arg(self.script.code.as_bytes()); in invoke_async()
177 load_cmd.query_async(con).await?; in invoke_async()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp1616 load_cmd.segname, strnlen(load_cmd.segname, sizeof(load_cmd.segname))); in ProcessSegmentCommand()
1646 m_mach_segments.push_back(load_cmd); in ProcessSegmentCommand()
1879 m_dysymtab.cmd = load_cmd.cmd; in ProcessDysymtabCommand()
1898 llvm::MachO::load_command load_cmd; in CreateSections() local
1904 if (load_cmd.cmd == LC_SEGMENT || load_cmd.cmd == LC_SEGMENT_64) in CreateSections()
4905 llvm::MachO::uuid_command load_cmd; in GetUUID() local
4913 if (load_cmd.cmd == LC_UUID) { in GetUUID()
5053 llvm::MachO::load_command load_cmd; in GetAllArchSpecs() local
5064 switch (load_cmd.cmd) { in GetAllArchSpecs()
5207 switch (load_cmd.cmd) { in GetDependentModules()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp1616 load_cmd.segname, strnlen(load_cmd.segname, sizeof(load_cmd.segname))); in ProcessSegmentCommand()
1646 m_mach_segments.push_back(load_cmd); in ProcessSegmentCommand()
1879 m_dysymtab.cmd = load_cmd.cmd; in ProcessDysymtabCommand()
1898 llvm::MachO::load_command load_cmd; in CreateSections() local
1904 if (load_cmd.cmd == LC_SEGMENT || load_cmd.cmd == LC_SEGMENT_64) in CreateSections()
4905 llvm::MachO::uuid_command load_cmd; in GetUUID() local
4913 if (load_cmd.cmd == LC_UUID) { in GetUUID()
5053 llvm::MachO::load_command load_cmd; in GetAllArchSpecs() local
5064 switch (load_cmd.cmd) { in GetAllArchSpecs()
5207 switch (load_cmd.cmd) { in GetDependentModules()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp1639 load_cmd.segname, strnlen(load_cmd.segname, sizeof(load_cmd.segname))); in ProcessSegmentCommand()
1669 m_mach_segments.push_back(load_cmd); in ProcessSegmentCommand()
1911 m_dysymtab.cmd = load_cmd.cmd; in ProcessDysymtabCommand()
1930 llvm::MachO::load_command load_cmd; in CreateSections() local
1936 if (load_cmd.cmd == LC_SEGMENT || load_cmd.cmd == LC_SEGMENT_64) in CreateSections()
4954 llvm::MachO::uuid_command load_cmd; in GetUUID() local
4962 if (load_cmd.cmd == LC_UUID) { in GetUUID()
5106 llvm::MachO::load_command load_cmd; in GetAllArchSpecs() local
5117 switch (load_cmd.cmd) { in GetAllArchSpecs()
5260 switch (load_cmd.cmd) { in GetDependentModules()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp1616 load_cmd.segname, strnlen(load_cmd.segname, sizeof(load_cmd.segname))); in ProcessSegmentCommand()
1646 m_mach_segments.push_back(load_cmd); in ProcessSegmentCommand()
1879 m_dysymtab.cmd = load_cmd.cmd; in ProcessDysymtabCommand()
1898 llvm::MachO::load_command load_cmd; in CreateSections() local
1904 if (load_cmd.cmd == LC_SEGMENT || load_cmd.cmd == LC_SEGMENT_64) in CreateSections()
4905 llvm::MachO::uuid_command load_cmd; in GetUUID() local
4913 if (load_cmd.cmd == LC_UUID) { in GetUUID()
5053 llvm::MachO::load_command load_cmd; in GetAllArchSpecs() local
5064 switch (load_cmd.cmd) { in GetAllArchSpecs()
5207 switch (load_cmd.cmd) { in GetDependentModules()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp1616 load_cmd.segname, strnlen(load_cmd.segname, sizeof(load_cmd.segname))); in ProcessSegmentCommand()
1646 m_mach_segments.push_back(load_cmd); in ProcessSegmentCommand()
1879 m_dysymtab.cmd = load_cmd.cmd; in ProcessDysymtabCommand()
1898 llvm::MachO::load_command load_cmd; in CreateSections() local
1904 if (load_cmd.cmd == LC_SEGMENT || load_cmd.cmd == LC_SEGMENT_64) in CreateSections()
4905 llvm::MachO::uuid_command load_cmd; in GetUUID() local
4913 if (load_cmd.cmd == LC_UUID) { in GetUUID()
5053 llvm::MachO::load_command load_cmd; in GetAllArchSpecs() local
5064 switch (load_cmd.cmd) { in GetAllArchSpecs()
5207 switch (load_cmd.cmd) { in GetDependentModules()
[all …]

123