[MDEV-12178] OSS-Fuzz Created: 2017-03-05 Updated: 2021-03-25 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Tests |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Daniel Black | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | gsoc17 | ||
| Description |
|
As a GSOC code task - create a OSS-Fuzz configuration for the MariaDB server. This would involve randomizing a bunch of queries (RQG based?), configurations and replication setups to search for segfaults, race conditions and perhaps invalid results. ref: https://github.com/google/oss-fuzz |
| Comments |
| Comment by Sergei Golubchik [ 2017-03-06 ] |
|
danblack, two questions:
|
| Comment by Daniel Black [ 2017-03-07 ] |
|
Yes I think something meaningful can be done in 2 months. Being a mentor - yes happy to do that. |
| Comment by Hans White [ 2017-03-16 ] |
|
Hi, |
| Comment by Daniel Black [ 2017-03-16 ] |
|
Hi hans23, You are the first student who as expressed an interest. I'm looking forward to reading your proposal. If you could send it to the maria-developers email list (https://launchpad.net/~maria-developers) that would be appreciated. If you can show your existing work that would be great too if you can, we won't be too judgemental, we know personal projects, especially in the testing realm, are there to learn things rather than be a shining example of engineering. |
| Comment by Daniel Black [ 2017-03-23 ] |
|
hans23, as you know the GSoC proposal window is now open. I'm looking forward to reading your proposal. |
| Comment by Daniel Black [ 2017-07-18 ] |
|
Rewards available https://www.google.com/about/appsecurity/patch-rewards/ |
| Comment by Teodor Mircea Ionita (Inactive) [ 2018-12-05 ] |
|
An alternative to OSS-Fuzz integration would be tailoring AFL and/or Radamsa to feed on and mutate the MTR suite test files, which, supposedly, should explore a decent percent of the code base/paths. I'm also wondering if we could use RQG, or some other tool, to ensure we're mutating syntactically correct SQL queries. Ultimately, these checkers should be integrated as builders into the new buildbot. |
| Comment by Daniel Black [ 2021-03-25 ] |
|
bison -x can generate a XML tree of the syntax structure. |