From 81f8d80fe173074000a5f3438248601d41c7de79 Mon Sep 17 00:00:00 2001 From: Ashley Svetlik Date: Mon, 17 Jun 2019 08:40:31 -0500 Subject: [PATCH] Provided example on how to copy Pilosa fragments in README.md --- roaring/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roaring/README.md b/roaring/README.md index 1479e27c5..044c98b83 100644 --- a/roaring/README.md +++ b/roaring/README.md @@ -12,7 +12,11 @@ You must now make the workdir/corpus directory. This is achieved by: `mkdir workdir/corpus` -The fuzzer needs some input to start the fuzzing with. Copy some sample fragments into the workdir/corpus folder. Once you have copied your sample inputs, you are ready to run the fuzzer: +The fuzzer needs some input to start the fuzzing with. Copy some sample Pilosa fragments into the workdir/corpus folder. For example: + +`cp ~/.pilosa/my-index/my-field/views/standard/fragments/0 workdir/corpus` + +Once you have copied your sample inputs, you are ready to run the fuzzer: `go-fuzz -bin=roaring-fuzz.zip -workdir=workdir -func=FuzzBitmapUnmarshalBianry`