populate: discover XFS structure fields and fuzz verbs, and use them to fuzz fields
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 21 Jan 2017 08:11:04 +0000 (00:11 -0800)
committerEryu Guan <eguan@redhat.com>
Fri, 27 Jan 2017 08:06:12 +0000 (16:06 +0800)
commit802f780868ab302b5948b7adc9cae03e5d47f4b9
treeb57baf9f70b3e614539e984dbb81c28b2374c629
parentd6445ed41ab876859189ec41703eef2fca42e91e
populate: discover XFS structure fields and fuzz verbs, and use them to fuzz fields

Create some routines to help us perform targeted fuzzing of individual
fields in various XFS structures.  Specifically, we want the caller to
drop the xfs_db iocursor on the victim field; from there, the scripts
should discover all available fields and fuzzing verbs, and try each
fuzz verb on every available field.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/fuzzy