Go to file
Ng Zhi An 4681371139 Validate reading prefixed opcodes
If module bytes end in a prefix like 0xfc (numeric prefix), we read out
of bounds (pc + 1). So, if validate flag is set, check the length.

Bug: chromium:1073553
Change-Id: Ia9771419d01f2315723d19dd96630172b5a7a1f5
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2161404
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67370}
2020-04-24 16:56:11 +00:00
build_overrides [tracing] Migrate tracing to Perfetto track events 2020-04-17 21:31:24 +00:00
custom_deps
docs
gni [tracing] Migrate tracing to Perfetto track events 2020-04-17 21:31:24 +00:00
include [Jobs]: Add job impl to default platform. 2020-04-24 15:31:21 +00:00
infra Configure ARM builder for CFI protection testing 2020-04-17 09:15:56 +00:00
samples [api] Create v8::String::NewFromLiteral that returns Local<String> 2020-03-09 12:02:07 +00:00
src Validate reading prefixed opcodes 2020-04-24 16:56:11 +00:00
test Validate reading prefixed opcodes 2020-04-24 16:56:11 +00:00
testing Roll v8/third_party/googletest/src/ 10b1902d8..e3f0319d8 (43 commits) 2020-04-15 07:23:10 +00:00
third_party [tracing] Migrate tracing to Perfetto track events 2020-04-17 21:31:24 +00:00
tools [wasm] Update spec tests 2020-04-22 15:26:15 +00:00
.clang-format
.clang-tidy
.editorconfig
.flake8
.git-blame-ignore-revs [infra] Update .git-blame-ignore-revs 2020-03-03 12:59:13 +00:00
.gitattributes
.gitignore [tracing] Migrate tracing to Perfetto track events 2020-04-17 21:31:24 +00:00
.gn
.vpython
.ycm_extra_conf.py
AUTHORS [builtins][MIPS]: Workaround gas auto-align issue 2020-04-17 09:36:25 +00:00
BUILD.gn [Jobs]: Add job impl to default platform. 2020-04-24 15:31:21 +00:00
CODE_OF_CONDUCT.md
codereview.settings
COMMON_OWNERS heap: Add Oilpan folks to COMMON_OWNERS 2020-04-14 08:55:52 +00:00
DEPS Roll test262 2020-04-24 06:48:52 +00:00
ENG_REVIEW_OWNERS
INFRA_OWNERS Remove myself from owners 2019-12-12 14:22:32 +00:00
INTL_OWNERS
LICENSE
LICENSE.fdlibm
LICENSE.strongtalk
LICENSE.v8
LICENSE.valgrind
MIPS_OWNERS
OWNERS
PPC_OWNERS
PRESUBMIT.py Remove the #undef check from the Presubmit for .cc files 2020-01-24 15:24:51 +00:00
README.md
S390_OWNERS
WATCHLISTS Stop watching for API changes in WATCHLISTS 2020-04-08 07:06:45 +00:00

V8 JavaScript Engine

V8 is Google's open source JavaScript engine.

V8 implements ECMAScript as specified in ECMA-262.

V8 is written in C++ and is used in Google Chrome, the open source browser from Google.

V8 can run standalone, or can be embedded into any C++ application.

V8 Project page: https://v8.dev/docs

Getting the Code

Checkout depot tools, and run

    fetch v8

This will checkout V8 into the directory v8 and fetch all of its dependencies. To stay up to date, run

    git pull origin
    gclient sync

For fetching all branches, add the following into your remote configuration in .git/config:

    fetch = +refs/branch-heads/*:refs/remotes/branch-heads/*
    fetch = +refs/tags/*:refs/tags/*

Contributing

Please follow the instructions mentioned at v8.dev/docs/contribute.