From 42f94ca9582d651a251ed9ab204988e6ff150a98 Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Fri, 21 Aug 2020 12:22:51 +0000 Subject: [PATCH] Update Server.scala --- cli/src/swam/cli/Server.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/src/swam/cli/Server.scala b/cli/src/swam/cli/Server.scala index fd757bc5..ac7f76c2 100644 --- a/cli/src/swam/cli/Server.scala +++ b/cli/src/swam/cli/Server.scala @@ -5,7 +5,6 @@ package cli import scala.collection.mutable.ListBuffer -// Simple server import java.io._ import java.net.{ServerSocket, Socket} import java.nio.ByteBuffer @@ -17,6 +16,8 @@ import swam.runtime.{Function, Value} import com.typesafe.config.ConfigFactory +// Server which listens to a socket to get instructions to start the WASM file with specific arguments +// and write the coverage back in the socket in the AFL binary format directly object Server { val conf = ConfigFactory.load() val maxQueue = 50000