GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Greybox fuzzer by DaniilStepanov · Pull Request #1344 · UnitTestBot/UTBotJava ConversationGreybox fuzzerThis document describes principles and capabilities of the implemented fuzzing module. For what?Any symbolic execution engine has its drawbacks and limitations:
Based on these problems, a fuzzing module without symbolic execution is required for full-fledged testing of programs. Also, modern research shows that the most effective is the hybrid mode, when symbolic and concrete executions help each other. The most effective way of fuzzing without symbolic execution is greybox fuzzing, which is proposed in this PR. How it works?You can read about how greybox fuzzing works here. The probability that we initially generate an array that finds a bug is 0%. It is much more likely to generate an array whose first element is 0, and then through mutations to get data that will find a bug. Exploration phaseTo implement the exploration phase, junit-quickcheck was used, which contains built-in configurable generators for many java library types. Initially, the library generated objects that were converted to UtModel using UtModelConstructor. But this approach has shown its inoperability due to the impossibility of converting complex objects containing a large number of fields into UtModel ( In addition to generators for many types from the standard library, a generator for user-defined classes has been implemented, which has the following capabilities:
The biggest difficulty in generating user classes is the processing of type parameters. For this, the libraries javaruntype (70 kB) and generics-resolver (77 kB) were used. In the implemented module, it is possible to replace type parameters with values suitable for bound, for example, in the function The T parameter can be replaced by random inheritor of the Number class. The algorithm for object generation works as follows:
The result of the exploration phase is a sorted set of seeds. Seeds are ranked according to the new coverage it opens. Exploitation phaseThis phase is designed to mutate seeds from the exploration phase.
During the work of this phase, the ranking of seeds is also carried out, the preference is given to "more successful". ExperimentsExperiments are carried out on projects from the SBST competition Current statusThe exploration phase is currently being tested and work in progress with exploitation phase.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Markoutte
self-requested a review
DaniilStepanov
force-pushed
the
greyboxfuzzer
branch
from
5f14d4e to
d723901
Compare
DaniilStepanov
force-pushed
the
greyboxfuzzer
branch
from
5227aff to
949c3f5
Compare
DaniilStepanov
force-pushed
the
greyboxfuzzer
branch
from
e6accca to
a7a1f39
Compare
DaniilStepanov
force-pushed
the
greyboxfuzzer
branch
from
f6d9667 to
7392e6d
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersAt least 2 approving reviews are required to merge this pull request. Uh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |