[openssl-project] Speeding up the fuzz test...

Viktor Dukhovni openssl-users at dukhovni.org
Tue Mar 27 19:32:41 UTC 2018



> On Mar 27, 2018, at 3:28 PM, Richard Levitte <levitte at openssl.org> wrote:
> 
> Now, I wonder how that will impact on Kurt, who sometimes produce
> these files, and on Google's oss-fuzz project, who do use this.
> My desire is to replace the current corpora with the corresponding
> cpio files, one for each test program (i.e. fuzz/corpora/asn1/* gets
> archived into fuzz/corpora/asn1.cpio, and so on and so forth).
> 
> I've changed fuzz/test-corpus.c so it can take a flag '-cpio' to tell
> it to read the files as cpio archives, otherwise it read the file raw,
> as before.
> 
> Thoughts?  Comments?  (Kurt?)

Naïve question:

Why a cpio (or any kind of) archive, and not a directory full of files?
Surely a program that reads a cpio archive can also traverse the files
in a directory?

-- 
	Viktor.



More information about the openssl-project mailing list