Skip to content

Commit c8d5da8

Browse files
committed
Fix formatting
1 parent b7b2b72 commit c8d5da8

File tree

634 files changed

+2217
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

634 files changed

+2217
-5
lines changed

Dockerfile.fuzz

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
FROM rustlang/rust:nightly
2+
3+
RUN apt-get update && apt-get install -y \
4+
build-essential curl git \
5+
&& rm -rf /var/lib/apt/lists/*
6+
7+
RUN cargo install cargo-fuzz
8+
9+
WORKDIR /app
10+
COPY . .
11+
12+
# Remove rust-toolchain file to use nightly from Docker image
13+
RUN rm -f rust-toolchain rust-toolchain.toml
14+
15+
# Copy and prepare fuzzing script
16+
COPY run-fuzzers.sh /app/run-fuzzers.sh
17+
RUN chmod +x /app/run-fuzzers.sh
18+
19+
# Build all fuzz targets using cargo-fuzz
20+
RUN cargo fuzz build --release
21+
22+
CMD ["/app/run-fuzzers.sh"]

fly.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
app = "sqlx-fuzz"
2+
primary_region = "sjc"
3+
4+
[build]
5+
dockerfile = "Dockerfile.fuzz"
6+
7+
[vm]
8+
size = "shared-cpu-4x"
9+
memory = "8gb"
10+
11+
[env]
12+
RUST_BACKTRACE = "1"
13+
CARGO_INCREMENTAL = "0"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
;-
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
99999999
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
;0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
99999999999999
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9-9900900900000000000

0 commit comments

Comments
 (0)