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

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: Created 8 years, 4 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
Index: src/trusted/debug_stub/platform.h
===================================================================
--- src/trusted/debug_stub/platform.h (revision 9612)
+++ src/trusted/debug_stub/platform.h (working copy)
@@ -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') | src/trusted/debug_stub/posix/platform_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698