Home
last modified time | relevance | path

Searched refs:exe_module (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project/lldb/test/API/python_api/module_section/
H A DTestModuleAndSection.py31 exe_module = target.GetModuleAtIndex(0)
33 print("Exe module: %s" % str(exe_module))
34 print("Number of sections: %d" % exe_module.GetNumSections())
35 print("Number of symbols: %d" % len(exe_module))
38 for sec in exe_module.section_iter():
42 for sym in exe_module.symbol_in_section_iter(sec):
51 for sym in exe_module.symbol_in_section_iter(subsec):
76 exe_module = target.GetModuleAtIndex(0)
78 print("Exe module: %s" % str(exe_module))
79 print("Number of sections: %d" % exe_module.GetNumSections())
[all …]
/llvm-project/lldb/test/API/functionalities/type_get_module/
H A DTestTypeGetModule.py29 def find_comp_unit(self, exe_module, name): argument
30 num_comp_units = exe_module.GetNumCompileUnits()
35 comp_unit = exe_module.GetCompileUnitAtIndex(index)
64 exe_module = self.find_module(target, "a.out")
66 num_comp_units = exe_module.GetNumCompileUnits()
69 comp_unit = self.find_comp_unit(exe_module, "compile_unit1.c")
71 self.assertEqual(exe_module, cu_type.GetModule())
73 comp_unit = self.find_comp_unit(exe_module, "compile_unit2.c")
75 self.assertEqual(exe_module, cu_type.GetModule())
/llvm-project/lldb/test/API/functionalities/type_find_first/
H A DTestFindFirstType.py27 exe_module = target.GetModuleAtIndex(0)
28 self.assertTrue(exe_module.IsValid())
30 for api in [target, exe_module]:
/llvm-project/lldb/test/API/functionalities/type_types/
H A DTestFindTypes.py40 exe_module = target.GetModuleAtIndex(0)
41 self.assertTrue(exe_module.IsValid())
43 for api in [target, exe_module]:
/llvm-project/lldb/test/API/python_api/name_lookup/
H A DTestNameLookup.py28 exe_module = target.FindModule(target.GetExecutable())
33 num_symbols = exe_module.GetNumSymbols()
35 symbol = exe_module.GetSymbolAtIndex(i)
/llvm-project/lldb/source/Plugins/DynamicLoader/Static/
H A DDynamicLoaderStatic.cpp49 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in LLDB_PLUGIN_DEFINE() local
50 if (exe_module) { in LLDB_PLUGIN_DEFINE()
51 ObjectFile *object_file = exe_module->GetObjectFile(); in LLDB_PLUGIN_DEFINE()
/llvm-project/lldb/test/API/macosx/save_crashlog/
H A DTestSaveCrashlog.py40 exe_module = target.FindModule(target.GetExecutable())
41 uuid_str = exe_module.GetUUIDString()
/llvm-project/lldb/source/Target/
H A DTargetList.cpp387 Module *exe_module = item->GetExecutableModulePointer(); in FindTargetWithExecutableAndArchitecture()
388 if (!exe_module || in FindTargetWithExecutableAndArchitecture()
389 !FileSpec::Match(exe_file_spec, exe_module->GetFileSpec())) in FindTargetWithExecutableAndArchitecture()
393 exe_arch_ptr->IsCompatibleMatch(exe_module->GetArchitecture()); in FindTargetWithExecutableAndArchitecture()
386 Module *exe_module = item->GetExecutableModulePointer(); FindTargetWithExecutableAndArchitecture() local
H A DTarget.cpp245 Module *exe_module = GetExecutableModulePointer(); in GetREPL()
246 if (exe_module) in GetREPL()
247 s->PutCString(exe_module->GetFileSpec().GetFilename().GetCString()); in GetREPL()
2904 Module *exe_module = GetExecutableModulePointer(); in RunStopHooks()
2907 const bool has_primary_executable = exe_module && exe_module->GetObjectFile(); in RunStopHooks()
2909 Address entry_addr = exe_module->GetObjectFile()->GetEntryPointAddress(); in RunStopHooks()
2934 exe_module->GetFileSpec().GetFilename().GetStringRef() + "\""); in RunStopHooks()
169 Module *exe_module = GetExecutableModulePointer(); Dump() local
2763 Module *exe_module = GetExecutableModulePointer(); GetEntryPointAddress() local
/llvm-project/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DProcessKDP.cpp118 Module *exe_module = target_sp->GetExecutableModulePointer(); in CanDebug() local
119 if (exe_module) { in CanDebug()
130 ObjectFile *exe_objfile = exe_module->GetObjectFile(); in CanDebug()
359 Status ProcessKDP::DoLaunch(Module *exe_module,
360 DoLaunch(Module * exe_module,ProcessLaunchInfo & launch_info) DoLaunch() argument
H A DProcessKDP.h62 DoLaunch(lldb_private::Module *exe_module,
/llvm-project/lldb/test/API/linux/add-symbols/
H A DTestTargetSymbolsAddCommand.py38 exe_module = self.target.GetModuleAtIndex(0)
/llvm-project/lldb/source/Core/
H A DValueObjectRegister.cpp
/llvm-project/lldb/source/API/
H A DSBTarget.cpp288 if (Module *exe_module = target_sp->GetExecutableModulePointer()) in LaunchSimple()
289 launch_info.SetExecutableFile(exe_module->GetPlatformFileSpec(), in LaunchSimple()
369 Module *exe_module = target_sp->GetExecutableModulePointer(); in Launch()
370 if (exe_module) in Launch()
371 launch_info.SetExecutableFile(exe_module->GetPlatformFileSpec(), true); in Launch()
426 Module *exe_module = target_sp->GetExecutableModulePointer(); in Launch()
427 if (exe_module) in Launch()
428 launch_info.SetExecutableFile(exe_module->GetPlatformFileSpec(), true); in Launch()
573 Module *exe_module = target_sp->GetExecutableModulePointer(); in operator ==()
574 if (exe_module) in operator ==()
280 if (Module *exe_module = target_sp->GetExecutableModulePointer()) LaunchSimple() local
361 Module *exe_module = target_sp->GetExecutableModulePointer(); Launch() local
418 Module *exe_module = target_sp->GetExecutableModulePointer(); Launch() local
565 Module *exe_module = target_sp->GetExecutableModulePointer(); GetExecutable() local
[all...]
H A DSBProcess.cpp146 Module *exe_module = process_sp->GetTarget().GetExecutableModulePointer(); in RemoteLaunch()
147 if (exe_module) in RemoteLaunch()
148 launch_info.SetExecutableFile(exe_module->GetPlatformFileSpec(), true); in RemoteLaunch()
998 Module *exe_module = process_sp->GetTarget().GetExecutableModulePointer(); in GetDescription()
1000 if (exe_module) in GetDescription()
1001 exe_name = exe_module->GetFileSpec().GetFilename().AsCString(); in GetDescription()
145 Module *exe_module = process_sp->GetTarget().GetExecutableModulePointer(); RemoteLaunch() local
996 Module *exe_module = process_sp->GetTarget().GetExecutableModulePointer(); GetDescription() local
/llvm-project/lldb/test/API/commands/statistics/basic/
H A DTestStats.py341 exe_module = self.find_module_in_metrics(exe, debug_stats)
357 self.assertNotEqual(exe_module, None)
358 self.verify_keys(exe_module, 'module dict for "%s"' % (exe), module_keys)
/llvm-project/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
H A DDynamicLoaderMacOS.cpp41 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in CreateInstance() local
42 if (exe_module) { in CreateInstance()
43 ObjectFile *object_file = exe_module->GetObjectFile(); in CreateInstance()
H A DDynamicLoaderMacOSXDYLD.cpp61 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in LLDB_PLUGIN_DEFINE() local
62 if (exe_module) { in LLDB_PLUGIN_DEFINE()
63 ObjectFile *object_file = exe_module->GetObjectFile(); in LLDB_PLUGIN_DEFINE()
/llvm-project/lldb/test/API/functionalities/breakpoint/serialize/
H A DTestBreakpointSerialization.py58 exe_module = self.orig_target.module["a.out"]
60 exe_module.IsValid(), "Failed to find the executable module in target"
62 sym_ctx_list = exe_module.FindFunctions("main")
/llvm-project/lldb/source/Plugins/Process/scripted/
H A DScriptedProcess.h49 Status DoLaunch(Module *exe_module, ProcessLaunchInfo &launch_info) override;
/llvm-project/lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/
H A DDynamicLoaderFreeBSDKernel.cpp137 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in FindKernelAtLoadAddress() local
139 if (!is_kernel(exe_module)) in FindKernelAtLoadAddress()
142 ObjectFile *exe_objfile = exe_module->GetObjectFile(); in FindKernelAtLoadAddress()
/llvm-project/lldb/source/Plugins/Process/Windows/Common/
H A DProcessWindows.h51 Status DoLaunch(Module *exe_module, ProcessLaunchInfo &launch_info) override;
/llvm-project/lldb/source/Plugins/SystemRuntime/MacOSX/
H A DSystemRuntimeMacOSX.cpp48 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in LLDB_PLUGIN_DEFINE()
49 if (exe_module) { in LLDB_PLUGIN_DEFINE()
50 ObjectFile *object_file = exe_module->GetObjectFile(); in LLDB_PLUGIN_DEFINE()
47 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); LLDB_PLUGIN_DEFINE() local
/llvm-project/lldb/source/Commands/
H A DCommandObjectPlatform.cpp1088 Module *exe_module = target->GetExecutableModulePointer(); in DoExecute() local
1089 if (exe_module) { in DoExecute()
1090 m_options.launch_info.GetExecutableFile() = exe_module->GetFileSpec(); in DoExecute()
1095 m_options.launch_info.GetArchitecture() = exe_module->GetArchitecture(); in DoExecute()
/llvm-project/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/
H A DDynamicLoaderDarwinKernel.cpp217 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in SearchForKernelAtSameLoadAddr()
222 ObjectFile *exe_objfile = exe_module->GetObjectFile(); in SearchForKernelAtSameLoadAddr()
229 exe_module->GetUUID()) in SearchForKernelAtSameLoadAddr()
216 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); SearchForKernelAtSameLoadAddr() local

12