| /freebsd-13.1/contrib/llvm-project/lldb/source/Host/freebsd/ |
| H A D | HostInfoFreeBSD.cpp | 67 char exe_path[PATH_MAX]; in GetProgramFileSpec() local 68 size_t exe_path_size = sizeof(exe_path); in GetProgramFileSpec() 69 if (sysctl(exe_path_mib, 4, exe_path, &exe_path_size, NULL, 0) == 0) in GetProgramFileSpec() 70 g_program_filespec.SetFile(exe_path, FileSpec::Style::native); in GetProgramFileSpec()
|
| /freebsd-13.1/usr.sbin/crunch/crunchgen/ |
| H A D | crunched_main.c | 106 get_basename(const char *exe_path) in get_basename() argument 108 const char *slash = strrchr(exe_path, '/'); in get_basename() 109 return (slash ? slash + 1 : exe_path); in get_basename()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/Unix/ |
| H A D | Path.inc | 198 char exe_path[PATH_MAX]; 210 char exe_path[PATH_MAX]; 212 if (elf_aux_info(AT_EXECPATH, exe_path, sizeof(exe_path)) == 0) { 235 return exe_path; 239 char exe_path[PATH_MAX]; 241 ssize_t len = readlink(curproc, exe_path, sizeof(exe_path)); 247 return exe_path; 252 return exe_path; 258 ssize_t len = readlink(aPath, exe_path, sizeof(exe_path)); 265 exe_path[len] = '\0'; [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Host/posix/ |
| H A D | ProcessLauncherPosixFork.cpp | 181 char exe_path[PATH_MAX]; in LaunchProcess() local 182 launch_info.GetExecutableFile().GetPath(exe_path, sizeof(exe_path)); in LaunchProcess()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Target/ |
| H A D | RemoteAwarePlatform.cpp | 38 char exe_path[PATH_MAX]; in ResolveExecutable() local 45 resolved_module_spec.GetFileSpec().GetPath(exe_path, sizeof(exe_path)); in ResolveExecutable() 46 resolved_module_spec.GetFileSpec().SetFile(exe_path, in ResolveExecutable() 91 exe_path); in ResolveExecutable()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_linux_libcdep.cpp | 871 char exe_path[PATH_MAX]; in ReExec() local 872 if (elf_aux_info(AT_EXECPATH, exe_path, sizeof(exe_path)) == 0) { in ReExec() 874 if (realpath(exe_path, link_path)) in ReExec()
|
| H A D | sanitizer_mac.cpp | 460 InternalMmapVector<char> exe_path(kMaxPathLength); in ReadBinaryName() local 461 uint32_t size = exe_path.size(); in ReadBinaryName() 462 if (_NSGetExecutablePath(exe_path.data(), &size) == 0 && in ReadBinaryName() 463 realpath(exe_path.data(), buf) != 0) { in ReadBinaryName()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Commands/ |
| H A D | CommandObjectPlatform.cpp | 1005 llvm::SmallString<128> exe_path; in DoExecute() local 1006 m_options.launch_info.GetExecutableFile().GetPath(exe_path); in DoExecute() 1007 if (!exe_path.empty()) in DoExecute() 1008 m_options.launch_info.GetArguments().AppendArgument(exe_path); in DoExecute()
|
| H A D | CommandObjectTarget.cpp | 67 char exe_path[PATH_MAX]; in DumpTargetInfo() local 70 exe_valid = exe_module->GetFileSpec().GetPath(exe_path, sizeof(exe_path)); in DumpTargetInfo() 73 ::strcpy(exe_path, "<none>"); in DumpTargetInfo() 76 exe_path); in DumpTargetInfo()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | SymbolFileNativePDB.cpp | 88 loadMatchingPDBFile(std::string exe_path, llvm::BumpPtrAllocator &allocator) { in loadMatchingPDBFile() argument 91 auto expected_binary = createBinary(exe_path); in loadMatchingPDBFile() 118 const auto exe_dir = FileSpec(exe_path).CopyByRemovingLastPathComponent(); in loadMatchingPDBFile()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationClient.cpp | 787 std::string exe_path; in SendArgumentsPacket() local 791 exe_path = exe_file.GetPath(false); in SendArgumentsPacket() 795 exe_path = arg; in SendArgumentsPacket() 797 if (!exe_path.empty()) { in SendArgumentsPacket() 798 argv.push_back(exe_path.c_str()); in SendArgumentsPacket()
|