googleprojectzero / Jackalope

Binary, coverage-guided fuzzer for Windows, macOS, Linux and Android
Apache License 2.0
1.08k stars 126 forks source link

server feature expected command line ? #60

Open ssarfaty opened 2 weeks ago

ssarfaty commented 2 weeks ago

hi,

i tried using the server and server_start feature but i couldn't find the documentation of how to run the expected command line for the server vs. the client ..

can you please add this descriptions ?

ifratric commented 2 weeks ago

Sure, I can update the documentation later, but for now here is a quick example:

To run the server

./fuzzer -start_server 127.0.0.1:8337 -out serverout

Then, to run the client (example)

./fuzzer -server 127.0.0.1:8337 -in in -out out -t 1000 -delivery shmem -instrument_module test -target_module test -target_method _Z4fuzzPc -nargs 1 -iterations 10000 -persist -loop -cmp_coverage -- ./test -m @@

This is exactly the same as how you'd run the client normally, except just add the -server argument that exactly matches the -start_server in the server command line.