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

Unified Diff: src/snapshot/code-serializer.h

Issue 2418483002: [wasm] test deserialization when header is invalid (Closed)
Patch Set: test method to alter header Created 4 years, 2 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/snapshot/code-serializer.cc » ('j') | src/snapshot/code-serializer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/snapshot/code-serializer.h
diff --git a/src/snapshot/code-serializer.h b/src/snapshot/code-serializer.h
index 6577df8c855cc0f1ff8d4c4b4c118222b4a7fc01..67dd854790dec8f9783ba02e24045e30f6fad147 100644
--- a/src/snapshot/code-serializer.h
+++ b/src/snapshot/code-serializer.h
@@ -113,6 +113,7 @@ class SerializedCodeData : public SerializedData {
Vector<const uint32_t> CodeStubKeys() const;
static uint32_t SourceHash(Handle<String> source);
+ static void InvalidateVersionForTest(byte* buffer, size_t buffer_size);
private:
explicit SerializedCodeData(ScriptData* data);
« no previous file with comments | « no previous file | src/snapshot/code-serializer.cc » ('j') | src/snapshot/code-serializer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698