You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
604 B

  1. #!/usr/bin/make -f
  2. .PHONY: fuzz-mempool
  3. fuzz-mempool:
  4. cd mempool && \
  5. rm -f *-fuzz.zip && \
  6. go-fuzz-build && \
  7. go-fuzz
  8. .PHONY: fuzz-p2p-sc
  9. fuzz-p2p-sc:
  10. cd p2p/secretconnection && \
  11. rm -f *-fuzz.zip && \
  12. go run ./init-corpus/main.go && \
  13. go-fuzz-build && \
  14. go-fuzz
  15. .PHONY: fuzz-rpc-server
  16. fuzz-rpc-server:
  17. cd rpc/jsonrpc/server && \
  18. rm -f *-fuzz.zip && \
  19. go-fuzz-build && \
  20. go-fuzz
  21. clean:
  22. find . -name corpus -type d -exec rm -rf {} +;
  23. find . -name crashers -type d -exec rm -rf {} +;
  24. find . -name suppressions -type d -exec rm -rf {} +;
  25. find . -name *\.zip -type f -delete