aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/db
Commit message (Collapse)AuthorAgeFilesLines
* syz-manager, syz-fuzzer: allow re-minimizing/re-smashing inputsDmitry Vyukov2017-12-181-9/+25
| | | | | | | | | | By default we don't re-minimize/re-smash programs from corpus, it takes lots of time on start and is unnecessary. However, when we improve/fix minimization/smashing, we may want to. Introduce corpus database versions and allow to re-minimize/re-smash on version bumps.
* all: use consistent file permissionsDmitry Vyukov2017-07-031-2/+3
| | | | | | | | | | | | | | | | Currently we have unix permissions for new files/dirs hardcoded throughout the code base. Some places use 0644, some - 0640, some - 0600 and a variety of other constants. Introduce osutil.MkdirAll/WriteFile that use the default permissions and use them throughout the code base. This makes permissions consistent and also allows to easily change the permissions later if we change our minds. Also merge pkg/fileutil into pkg/osutil as they become dependent on each other. The line between them was poorly defined anyway as both operate on files.
* pkg/db: move from dbDmitry Vyukov2017-06-032-0/+399