1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
base / base_paths_apple.h [blame]
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_BASE_PATHS_APPLE_H_
#define BASE_BASE_PATHS_APPLE_H_
#include "base/files/file_path.h"
namespace base::apple::internal {
// Returns the absolute path to the executable.
base::FilePath GetExecutablePath();
// Returns true if the module for |address| is found. |path| will contain
// the path to the module. Note that |path| may not be absolute.
[[nodiscard]] bool GetModulePathForAddress(base::FilePath* path,
const void* address);
} // namespace base::apple::internal
#endif // BASE_BASE_PATHS_APPLE_H_