Jackalope icon indicating copy to clipboard operation
Jackalope copied to clipboard

server feature expected command line ?

Open ssarfaty opened this issue 1 year ago • 1 comments

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 ?

ssarfaty avatar Oct 01 '24 09:10 ssarfaty

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.

ifratric avatar Oct 02 '24 09:10 ifratric