Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

server feature expected command line ? #60

Open
ssarfaty opened this issue Oct 1, 2024 · 1 comment
Open

server feature expected command line ? #60

ssarfaty opened this issue Oct 1, 2024 · 1 comment

Comments

@ssarfaty
Copy link

ssarfaty commented Oct 1, 2024

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
Copy link
Collaborator

ifratric commented Oct 2, 2024

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants