mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
23 lines
711 B
C++
23 lines
711 B
C++
// 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_
|