def _get_seeds():
    '''
    Search config.SEED_PATH for seed inputs.
    If no seed files are found, then seed with 'fuzz'.
    '''
    default_seed = 'fuzz'

    if not config.SEED_DIR:
        return [default_seed]

    seed_path = config.SEED_DIR
    seeds = []
    if os.path.isdir(seed_path):
        # only get the files
        f_seeds = [f for f in os.listdir(seed_path)
                   if os.path.isfile(os.path.join(seed_path, f))]
        for f_seed in f_seeds:
            with open(os.path.join(seed_path, f_seed), 'rb') as f:
                seeds.append(f.read())

        if len(seeds) == 0:
            l.warning("Seed directory has no seeds. Using default seed.")
            seeds.append(default_seed)
    else:
        l.warning("Seeding with default as seed directory is not a valid path: %s", seed_path)
        seeds.append(default_seed)

    return seeds

    Search config.SEED_PATH for seed inputs.
    If no seed files are found, then seed with 'fuzz'.
    
driller/tasks.py