Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a fuzzer for LoadEnvironment #34844

Closed
wants to merge 5 commits into from

Conversation

DavidKorczynski
Copy link
Contributor

@DavidKorczynski DavidKorczynski commented Aug 19, 2020

Adds a new fuzzer to run under OSS-Fuzz. The main function that this fuzzer targets is node::LoadEnvironment.

The fuzzer is inspired by the cctest test case.

Cross-reference: #34761

Checklist

@nodejs-github-bot nodejs-github-bot added the build label Aug 19, 2020
@addaleax addaleax added the request-ci label Aug 19, 2020
@github-actions github-actions bot removed the request-ci label Aug 19, 2020
test/fuzzers/fuzz_env.cc Outdated Show resolved Hide resolved
test/fuzzers/fuzz_env.cc Outdated Show resolved Hide resolved
test/fuzzers/fuzz_env.cc Outdated Show resolved Hide resolved
test/fuzzers/fuzz_env.cc Show resolved Hide resolved
test/fuzzers/fuzz_env.cc Outdated Show resolved Hide resolved
@richardlau richardlau added the request-ci label Aug 21, 2020
@github-actions github-actions bot removed the request-ci label Aug 21, 2020
@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Aug 21, 2020

test/fuzzers/fuzz_env.cc Show resolved Hide resolved
Copy link
Member

@mhdawson mhdawson left a comment

LGTM

@DavidKorczynski
Copy link
Contributor Author

@DavidKorczynski DavidKorczynski commented Sep 28, 2020

I was wondering if there is something in the PR I can help with in order to get this merged in?

@mhdawson mhdawson added the request-ci label Oct 8, 2020
@mhdawson
Copy link
Member

@mhdawson mhdawson commented Oct 8, 2020

@DavidKorczynski just looks like somebody needs to land it. Have requested a new CI and will try to remember to do it tomorrow.

@github-actions github-actions bot removed the request-ci label Oct 8, 2020
@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Oct 8, 2020

@mhdawson
Copy link
Member

@mhdawson mhdawson commented Oct 9, 2020

There was a failure in CI run but looks like an issue that has been reported before: #34730

@DavidKorczynski
Copy link
Contributor Author

@DavidKorczynski DavidKorczynski commented Oct 9, 2020

The code in this PR is self-contained in that it doesn't influence other aspects of NodeJS except for the fuzzer itself. And the fuzzer is not run in automated tests but only by way of https://github.com/google/oss-fuzz

@mhdawson
Copy link
Member

@mhdawson mhdawson commented Oct 9, 2020

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Oct 9, 2020

@mhdawson
Copy link
Member

@mhdawson mhdawson commented Oct 9, 2020

New CI was good. Landing

@DavidKorczynski
Copy link
Contributor Author

@DavidKorczynski DavidKorczynski commented Oct 9, 2020

Thanks a lot @mhdawson

mhdawson added a commit that referenced this issue Oct 9, 2020
Refs: #34761
Refs: #33724

PR-URL: #34844
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
@mhdawson
Copy link
Member

@mhdawson mhdawson commented Oct 9, 2020

Landed as de7a1ab

@mhdawson mhdawson closed this Oct 9, 2020
BethGriggs pushed a commit that referenced this issue Oct 14, 2020
Refs: #34761
Refs: #33724

PR-URL: #34844
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
@MylesBorins MylesBorins mentioned this pull request Oct 14, 2020
MylesBorins added a commit that referenced this issue Nov 3, 2020
Refs: #34761
Refs: #33724

PR-URL: #34844
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
@MylesBorins MylesBorins mentioned this pull request Nov 3, 2020
MylesBorins added a commit that referenced this issue Nov 16, 2020
Refs: #34761
Refs: #33724

PR-URL: #34844
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
joesepi added a commit to joesepi/node that referenced this issue Jan 8, 2021
Refs: nodejs#34761
Refs: nodejs#33724

PR-URL: nodejs#34844
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

8 participants