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

Issue 573056: Add fuzzing support for inline runtime functions (Closed)

Created:
10 years, 10 months ago by Søren Thygesen Gjesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Add fuzzing support for inline runtime functions The inline runtime functions are now included in the fuzzing of the natives. The chack for the expected number of arguments passed have been moved to the parser which will generate a syntax error if a runtime function (either C++ or inline) is called with a different number of arguments than expected. Committed: http://code.google.com/p/v8/source/detail?r=4096

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -69 lines) Patch
M src/arm/codegen-arm.h View 4 chunks +7 lines, -6 lines 0 comments Download
M src/arm/codegen-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/codegen.h View 1 1 chunk +30 lines, -0 lines 0 comments Download
M src/codegen.cc View 1 2 3 2 chunks +16 lines, -32 lines 0 comments Download
M src/ia32/codegen-ia32.h View 1 4 chunks +7 lines, -6 lines 0 comments Download
M src/ia32/codegen-ia32.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/math.js View 4 chunks +4 lines, -5 lines 0 comments Download
M src/messages.js View 1 chunk +2 lines, -1 line 0 comments Download
M src/parser.cc View 2 2 chunks +22 lines, -1 line 0 comments Download
M src/runtime.cc View 1 2 chunks +14 lines, -3 lines 0 comments Download
M src/x64/codegen-x64.h View 4 chunks +7 lines, -6 lines 0 comments Download
M src/x64/codegen-x64.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-log-stack-tracer.cc View 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M test/mjsunit/fuzz-natives.js View 2 chunks +11 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Erik Corry
I think this is a very good idea and definitely worth doing for the other ...
10 years, 10 months ago (2010-02-08 19:27:13 UTC) #1
Mads Ager (chromium)
On 2010/02/08 19:27:13, Erik Corry wrote: > I think this is a very good idea ...
10 years, 10 months ago (2010-02-09 07:50:21 UTC) #2
Søren Thygesen Gjesse
On 2010/02/09 07:50:21, Mads Ager wrote: > On 2010/02/08 19:27:13, Erik Corry wrote: > > ...
10 years, 9 months ago (2010-03-10 15:45:26 UTC) #3
Mads Ager (chromium)
LGTM http://codereview.chromium.org/573056/diff/13002/11006 File src/codegen.cc (right): http://codereview.chromium.org/573056/diff/13002/11006#newcode400 src/codegen.cc:400: //if (entry->nargs != new_entry->nargs) return false; Remove please. ...
10 years, 9 months ago (2010-03-11 07:36:13 UTC) #4
Søren Thygesen Gjesse
10 years, 9 months ago (2010-03-11 09:16:07 UTC) #5
http://codereview.chromium.org/573056/diff/13002/11006
File src/codegen.cc (right):

http://codereview.chromium.org/573056/diff/13002/11006#newcode400
src/codegen.cc:400: //if (entry->nargs != new_entry->nargs) return false;
On 2010/03/11 07:36:13, Mads Ager wrote:
> Remove please. 

Done.

http://codereview.chromium.org/573056/diff/13002/11007
File test/cctest/test-log-stack-tracer.cc (right):

http://codereview.chromium.org/573056/diff/13002/11007#newcode236
test/cctest/test-log-stack-tracer.cc:236: // _FastCharCodeAt is not used in our
tests.
On 2010/03/11 07:36:13, Mads Ager wrote:
> Update comment?

Done.

Powered by Google App Engine
This is Rietveld 408576698