Commit Graph

8 Commits

Author SHA1 Message Date
DavidKorczynski e4b956bcb4
vscode: refine various places (#11370)
- prefixes CFLite generate command
- Removes licenses from Dockerfile/Build in CFLite mode -- the rational
is that users will likely not want to use those license in their own
code base, and they are not needed as the code won't be put in
OSS-Fuzz's repo.
- Removes unused fields from `project.yaml` -- these are not relevant in
CFLite

---------

Signed-off-by: David Korczynski <david@adalogics.com>
2023-12-16 22:36:39 +00:00
DavidKorczynski 6bcb160328
vscode: add CFLite helper for C++ (#11364)
Adds helpers to:
- Generate files needed for a CFLite set up (the content of
`.clusterfuzzlite`, not the GH workflow)
- Test fuzzers in a CFLite set up

Only CPP support for now.

Follow-up PRs will:
- Add support for the rest of the languages
- Add support for code coverage generation
- Add support for yaml generation.

Signed-off-by: David Korczynski <david@adalogics.com>
2023-12-14 22:34:12 +00:00
DavidKorczynski 414361b2af
vscode: bump minor version (#11275)
Signed-off-by: David Korczynski <david@adalogics.com>
2023-11-27 23:11:59 +00:00
DavidKorczynski 7c0394e93a
vscode: clean-up command interface (#11263)
Also changes the use of `.c++` to `.cpp` suffix for CPP template
creation

---------

Signed-off-by: David Korczynski <david@adalogics.com>
2023-11-24 22:34:29 +00:00
DavidKorczynski 8f51347550
vscode: extend with marketplace-specific support (#11105)
- Adds proper license to the extension, so it's visible in the
marketplace.
- Adds a thumbnail
- Extends the README which is displayed when searching for the extension
- Adds a sample walkthrough, more are to be added on this later

---------

Signed-off-by: David Korczynski <david@adalogics.com>
2023-10-11 23:01:38 +01:00
DavidKorczynski 2b1ea1d5cc
vscode: add comparison of local vs remote coverage (#11085)
Extends the command that runs a full build-fuzzers; run-fuzzers; collect
code coverage; to also now do a comparison of the local code coverage to
the code coverage by Clusterfuzz. Any gains are highlighted.

---------

Signed-off-by: David Korczynski <david@adalogics.com>
2023-10-07 12:49:00 +01:00
DavidKorczynski 4cf69700a2
vscode: minor updates (#11060)
Signed-off-by: David Korczynski <david@adalogics.com>
2023-10-03 10:43:49 +01:00
DavidKorczynski 07b80397c5
infra: add vscode extension poc (#10592)
Add initial layout or a vscode extension.

Several commands included in the extension, including commands for
- oss-fuzz initialization
- creating new project integrations
- generating coverage reports
- building projects from arbitrary locations in the filesystem
- reproducing crashes easily
- instant CIFuzz integration
- creating fuzzing templates for rapid prototyping
- ...

Many ideas can be put into the vscode extension, for example:
- support some form of e.g. sync with introspector.oss-fuzz.com -- for
example where the plugin will check "has progress been made relative to
what is currently at oss-fuzz". We could extend `helper.py` with some
form of command called "check_progress` which will run a small build
pipeline + coverage and check if the coverage performs better than what
is currently achieved. I think there's more to explore in this space.
- connect to auto-fuzz:
https://github.com/ossf/fuzz-introspector/tree/main/tools/auto-fuzz
- in general improve the extension UI, as currently it's only based on
commands.

---------

Signed-off-by: David Korczynski <david@adalogics.com>
2023-08-28 10:51:45 +01:00