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