Skip to content

fuzz: basic buffer implementation fuzzer.#5996

Merged
htuch merged 12 commits intoenvoyproxy:masterfrom
htuch:buffer-fuzzer
Feb 21, 2019
Merged

fuzz: basic buffer implementation fuzzer.#5996
htuch merged 12 commits intoenvoyproxy:masterfrom
htuch:buffer-fuzzer

Conversation

@htuch
Copy link
Copy Markdown
Member

@htuch htuch commented Feb 18, 2019

Basic trace fuzzer for the Buffer interface operations. Verifies some
basic properties and compares with a shadow buffer based on std::string. Intended to support validation of
#5441.

Risk level: Low
Testing: Simple manual corpus that provides 95.1% coverage of
buffer_impl.cc. Will expand in future PRs.

Signed-off-by: Harvey Tuch htuch@google.com

Basic trace fuzzer for the Buffer interface operations. Verifies some
basic properties and compares with a shadow buffer linearize after each
operation. Intended to support validation of
envoyproxy#5441.

Risk level: Low
Testing: Simple manal corpus that provides 95.1% coverage of
  buffer_impl.cc. Will expand in future PRs.

Signed-off-by: Harvey Tuch <htuch@google.com>
@htuch
Copy link
Copy Markdown
Member Author

htuch commented Feb 18, 2019

This is in support of #5441. I would have tagged @jmarantz as reviewer, but he is on vacation, happy to take any feedback when @jmarantz returns and incorporate into future PRs.

Copy link
Copy Markdown
Contributor

@brian-pane brian-pane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for writing this! I just read through the code and added some comments and questions.

Signed-off-by: Harvey Tuch <htuch@google.com>
Signed-off-by: Harvey Tuch <htuch@google.com>
Signed-off-by: Harvey Tuch <htuch@google.com>
Signed-off-by: Harvey Tuch <htuch@google.com>
brian-pane
brian-pane previously approved these changes Feb 20, 2019
Copy link
Copy Markdown
Contributor

@brian-pane brian-pane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the latest changes, this LGTM.

Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool, thanks for working on this, it will give me a lot more confidence in the new buffer implementation. Some small comments/questions.

Signed-off-by: Harvey Tuch <htuch@google.com>
Signed-off-by: Harvey Tuch <htuch@google.com>
Signed-off-by: Harvey Tuch <htuch@google.com>
Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super cool, 1 question.

@htuch htuch merged commit bf4b190 into envoyproxy:master Feb 21, 2019
@htuch htuch deleted the buffer-fuzzer branch February 21, 2019 20:22
fredlas pushed a commit to fredlas/envoy that referenced this pull request Mar 5, 2019
Basic trace fuzzer for the Buffer interface operations. Verifies some
basic properties and compares with a shadow buffer based on std::string. Intended to support validation of
envoyproxy#5441.

Risk level: Low
Testing: Simple manual corpus that provides 95.1% coverage of
buffer_impl.cc. Will expand in future PRs.

Signed-off-by: Harvey Tuch <htuch@google.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants