Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Unified Diff: src/trusted/debug_stub/platform.h

Issue 10896004: Don't modify memory access right when changing data in debug stub. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: rebase Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/trusted/debug_stub/posix/platform_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/debug_stub/platform.h
===================================================================
--- src/trusted/debug_stub/platform.h (revision 9621)
+++ src/trusted/debug_stub/platform.h (working copy)
@@ -1,7 +1,7 @@
/*
- * Copyright 2010 The Native Client Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can
- * be found in the LICENSE file.
+ * Copyright (c) 2010 The Native Client Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
*/
@@ -17,6 +17,8 @@
#include "native_client/src/include/portability.h"
#include "native_client/src/trusted/debug_stub/transport.h"
+struct NaClApp;
+
namespace port {
class IPlatform {
@@ -29,7 +31,8 @@
// page if needed to provide access. It should only return false if
// the page is not mapped into the debugged process.
static bool GetMemory(uint64_t address, uint32_t length, void *dst);
- static bool SetMemory(uint64_t address, uint32_t length, void *src);
+ static bool SetMemory(struct NaClApp *nap, uint64_t address, uint32_t length,
+ void *src);
};
} // namespace port
« no previous file with comments | « no previous file | src/trusted/debug_stub/posix/platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698