v8/include
Junha Park c3112fc2ff Added API to verify version match on snapshot blob
This patch added an IsValid method to StartupData which returns a
boolean upon verifying a given snapshot matches the v8 version.
Embedders can use this API now to check snapshots' versions.

This was originally done by Snapshot::CheckVersion, which now simply
runs Startup::IsValid.

Bug: v8:8104
Change-Id: If555bcc55de4a05adf61798cd58d9ea8c8a71302
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2178091
Commit-Queue: Yang Guo <yangguo@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Auto-Submit: Junha Park <jpark3@scu.edu>
Cr-Commit-Position: refs/heads/master@{#67951}
2020-05-25 08:52:48 +00:00
..
cppgc cppgc: Add composite object tracing to Visitor 2020-05-15 21:09:15 +00:00
libplatform Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
APIDesign.md Move inspector protocol definitions to include/ 2019-06-18 17:59:36 +00:00
DEPS heap,cppgc: Update StackState enum values 2020-05-12 12:07:27 +00:00
js_protocol-1.2.json Move inspector protocol definitions to include/ 2019-06-18 17:59:36 +00:00
js_protocol-1.3.json Move inspector protocol definitions to include/ 2019-06-18 17:59:36 +00:00
js_protocol.pdl Support .external_debug_info symbol references 2020-05-05 16:45:49 +00:00
OWNERS Add include owners for version changes 2020-05-15 10:24:49 +00:00
v8-fast-api-calls.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-inspector-protocol.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-inspector.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-internal.h [sandbox][api] Introduce Internals::GetIsolateForHeapSandbox() 2020-05-13 09:42:00 +00:00
v8-platform.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-profiler.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-util.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-value-serializer-version.h Expose the ValueSerializer data format version as a compile-time constant. 2017-04-27 15:14:41 +00:00
v8-version-string.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-version.h Changed version number to 8.5 2020-05-15 11:04:29 +00:00
v8-wasm-trap-handler-posix.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-wasm-trap-handler-win.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8.h Added API to verify version match on snapshot blob 2020-05-25 08:52:48 +00:00
v8config.h heap,cppgc: Update StackState enum values 2020-05-12 12:07:27 +00:00