Index: sandbox/win/src/win_utils.h |
diff --git a/sandbox/win/src/win_utils.h b/sandbox/win/src/win_utils.h |
index 13dc569c10ac90cefa853ae715f1f5c5bf6f225a..2327e65becfd0fc3af6b14b981164b66e8d75680 100644 |
--- a/sandbox/win/src/win_utils.h |
+++ b/sandbox/win/src/win_utils.h |
@@ -112,6 +112,10 @@ bool IsPipe(const base::string16& path); |
// Converts a NTSTATUS code to a Win32 error code. |
DWORD GetLastErrorFromNtStatus(NTSTATUS status); |
+// Returns the address of the main exe module in memory taking in account |
+// address space layout randomization. |
+void* GetProcessBaseAddress(HANDLE process); |
+ |
} // namespace sandbox |
// Resolves a function name in NTDLL to a function pointer. The second parameter |