CodeIntelligenceTesting / jazzer

Coverage-guided, in-process fuzzing for the JVM
https://code-intelligence.com
Other
1.03k stars 137 forks source link

Replace `@DescriptorSource` with `@WithDefaultInstance` #759

Closed fmeum closed 1 year ago

fmeum commented 1 year ago

A default instance is a more direct representation of a protobuf base message and getting it via a method allows for more flexible use, e.g., by making the choice of proto type dependent on command-line arguments.

fmeum commented 1 year ago

@hadi88 Could you verify that this is sufficiently flexible for your needs?

hadi88 commented 1 year ago

Looks good to me! Thank you!