Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it possible to point to a local deployment of Fuzz Introspector (#…
…145) --> This builds on top of #141 so will rebase once that has landed. Adds ability to use a local deployment of Fuzz Introspector's web api instead of using https://introspector.oss-fuzz.com/ This has several benefits. Deploying a local version and pointing oss-fuzz-gen to this will: - For larger experiments avoid any timeout issues incurred by too many requests to `introspector.oss-fuzz.com`. Local will have no issues responding to requests. - Testing new things will go faster as it's not necessary to deploy a new version of the API by way of `introspector.oss-fuzz.com` before oss-fuzz-gen can use it. - If for some reason some limitations or regressions are landed on `introspector.oss-fuzz.com` then oss-fuzz-gen testing against introspector isn't blocked because using the local version (where the regression can be fixed) gives the exact same features as `introspector.oss-fuzz.com`. - it's easier to test against data from different dates. `introspector.oss-fuzz.com` is updated once a day against the latest data from oss-fuzz. However, a local version can create a DB against oss-fuzz's state at any given date. To test this: 1. Follow the instructions here to set up a local webapp: https://github.com/ossf/fuzz-introspector/tree/main/tools/web-fuzzing-introspection#launching-a-local-version 2. Run in oss-fuzz-gen: `python3 -m data_prep.introspector tinyxml2 -m 5 -o test5 -l` --------- Signed-off-by: David Korczynski <[email protected]>
- Loading branch information