Skip to content

feats: extend ValuePool by new fields : files, and maxMutations#1033

Merged
oetr merged 5 commits intomainfrom
CIF-1907-add-glob-pattern-to-value-pool
Feb 16, 2026
Merged

feats: extend ValuePool by new fields : files, and maxMutations#1033
oetr merged 5 commits intomainfrom
CIF-1907-add-glob-pattern-to-value-pool

Conversation

@oetr
Copy link
Copy Markdown
Contributor

@oetr oetr commented Jan 21, 2026

  1. The users can now supply glob patterns to the @ValuePool annotation by using the new field String[] files---files matching the patterns will be loaded as byte []. The field uses the glob: syntax of java.nio.file.PathMatcher.

Example:

@ValuePool(files={"src/test/resources/**", "/home/user/fuzzing-corpus/compression/zip/**"})
  1. In addition, by setting the new field maxMutations, the users can now control up to how many times (by default 1) values selected from @ValuePool will be mutated by the underlying mutator in one mutation operation.

Loading
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.

4 participants