Index: base/mac/foundation_util.h |
diff --git a/base/mac/foundation_util.h b/base/mac/foundation_util.h |
index dc7d4e713cc0bc060ba9c0e446787eb447f00769..ae6c3cc065ea384d9547c3e55e11c7abb336f780 100644 |
--- a/base/mac/foundation_util.h |
+++ b/base/mac/foundation_util.h |
@@ -93,6 +93,10 @@ FilePath GetUserLibraryPath(); |
// returns - path to the application bundle, or empty on error |
FilePath GetAppBundlePath(const FilePath& exec_name); |
+// Returns true if the module for |address| is found. |path| will contain |
+// the path to the module. Note that |path| may not be absolute. |
+bool GetModulePathForAddress(FilePath* path, const void* address); |
+ |
// Utility function to pull out a value from a dictionary, check its type, and |
// return it. Returns NULL if the key is not present or of the wrong type. |
CFTypeRef GetValueFromDictionary(CFDictionaryRef dict, |