hgarrereyn / GraphFuzz

GraphFuzz is an experimental framework for building structure-aware, library API fuzzers.
https://hgarrereyn.github.io/GraphFuzz
MIT License
254 stars 25 forks source link

fix an inconsistency between running commands in readme #12

Closed x2018 closed 1 year ago

x2018 commented 2 years ago

In readme, there is an inconsistency between the running commands about using Graphfuzz. After running gfuzz gen cpp schema.yaml ./output, the file schema.json will be put into ./output with fuzz_exec.cpp and fuzz_write.cpp together. Therefore, when running ./fuzz_exec, we should add --graphfuzz_schema=./output/schema.json. However, considering the running log below is loading schema.json rather than ./output/schema.json, it is better to directly change gfuzz gen cpp schema.yaml ./output to gfuzz gen cpp schema.yaml . to maintain consistency without modifying the original runnign log. By the way, looks like it should be -lprotobuf to link protobuf and it is unnecessary to retain -lmylib.