Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
49 changes: 49 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Git
.git
.gitignore

# Build artifacts
.build/
*.xcodeproj
*.xcworkspace

# Swift Package Manager
.swiftpm/
Package.resolved

# Documentation
Docs/
*.md
!README.md

# Tests
Tests/

# Docker files (except the one we're using)
Cloud/Docker/
Cloud/GCE/
Cloud/Triage/

# V8 source (will be built in container)
v8/

# Temporary files
*.tmp
*.log
.DS_Store
Thumbs.db

# IDE files
.vscode/
.idea/
*.swp
*.swo

# OS files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
4 changes: 1 addition & 3 deletions Cloud/VRIG/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV SHELL=bash

RUN apt-get -y update && apt-get -y upgrade
RUN apt-get install -y redis-server

RUN useradd -m app

Expand All @@ -69,6 +68,5 @@ COPY --from=1 /home/builder/fuzzillai/.build/release/ Fuzzilli

RUN mkdir -p ./Corpus

EXPOSE 6379

CMD ["sh", "-c", "redis-server --daemonize yes && ./Fuzzilli/FuzzilliCli --profile=v8debug --engine=multi --resume --corpus=basic --storagePath=./Corpus ./fuzzbuild/d8"]
CMD ["./Fuzzilli/FuzzilliCli", "--profile=v8debug", "--engine=multi", "--resume", "--corpus=basic", "--storagePath=./Corpus", "./fuzzbuild/d8"]
4 changes: 0 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/apple/swift-protobuf.git", from: "1.31.0"),
.package(url: "https://github.com/swift-server/RediStack.git", from: "1.4.1"),
.package(url: "https://github.com/apple/swift-nio.git", from: "2.0.0"),
.package(
url: "https://github.com/apple/swift-collections.git",
.upToNextMinor(from: "1.2.0")
Expand All @@ -48,8 +46,6 @@ let package = Package(
.target(name: "Fuzzilli",
dependencies: [
.product(name: "SwiftProtobuf", package: "swift-protobuf"),
.product(name: "NIO", package: "swift-nio"),
.product(name: "RediStack", package: "RediStack"),
.product(name: "Collections", package: "swift-collections"),
"libsocket",
"libreprl",
Expand Down
289 changes: 0 additions & 289 deletions Sources/Fuzzilli/Corpus/RedisCorpus.swift

This file was deleted.

4 changes: 0 additions & 4 deletions Sources/Fuzzilli/Modules/Storage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,6 @@ public class Storage: Module {

let toWrite = matched.joined(separator: "\n") + "\n"

// Send feedback data to Redis if using RedisCorpus
if let redisCorpus = fuzzer.corpus as? RedisCorpus {
redisCorpus.updateFeedbackVector(programId: ev.programId, feedbackData: toWrite)
}

if let data = toWrite.data(using: .utf8) {
if FileManager.default.fileExists(atPath: url.path) {
Expand Down
Loading
Loading