git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[RFC PATCH 0/2] add fuzzing targets for use with LLVM libFuzzer

From
Josh Steadmon <steadmon@google.com>
Date
Oct 4, 2018, 23:01 UTC
Message-ID
<cover.1538693039.git.steadmon@google.com>

libFuzzer[1] is a fuzzing engine included in recent versions of LLVM. It is used by OSS-Fuzz[2] for continuous fuzzing of OSS projects.

This series adds two basic fuzzing targets covering packfile header and index code. It is not particularly portable, and requires the use of LLVM v4.0 (the latest version available on my workstation). I would particularly appreciate advice on how to make the Makefile more portable.

[1]: https://llvm.org/docs/LibFuzzer.html [2]: https://github.com/google/oss-fuzz

Josh Steadmon (2):
  fuzz: Add basic fuzz testing target.
  fuzz: Add fuzz testing for packfile indices.
 .gitignore          |  3 +++
 Makefile            | 33 ++++++++++++++++++++++++++++++++-
 fuzz-pack-headers.c | 14 ++++++++++++++
 fuzz-pack-idx.c     | 13 +++++++++++++
 packfile.c          | 44 +++++++++++++++++++++++++-------------------
 packfile.h          | 13 +++++++++++++
 6 files changed, 100 insertions(+), 20 deletions(-)
 create mode 100644 fuzz-pack-headers.c
 create mode 100644 fuzz-pack-idx.c
-- 
2.19.0.605.g01d371f741-goog
Next: Josh Steadmon
Message 1 of 10 in “add fuzzing targets for use with LLVM libFuzzer”
  1. 0/2 add fuzzing targets for use with LLVM libFuzzerJosh Steadmon, Oct 4, 2018
  2. 1/2 fuzz: Add basic fuzz testing target.Josh Steadmon, Oct 4, 2018
  3. Junio C HamanoOct 10, 2018
  4. Josh SteadmonOct 13, 2018
  5. 2/2 fuzz: Add fuzz testing for packfile indices.Josh Steadmon, Oct 4, 2018
  6. Junio C HamanoOct 10, 2018
  7. 0/2 add fuzzing targets for use with OSS-Fuzzsteadmon@google.com, Oct 13, 2018
  8. 1/2 fuzz: Add basic fuzz testing target.steadmon@google.com, Oct 13, 2018
  9. 2/2 fuzz: Add fuzz testing for packfile indices.steadmon@google.com, Oct 13, 2018
  10. Junio C HamanoOct 16, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.