Skip to content
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions projects/ssmctl/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM gcr.io/oss-fuzz-base/base-builder-go

RUN git clone --depth 1 https://github.com/rhysmcneill/ssmctl $GOPATH/src/github.com/rhysmcneill/ssmctl && \
cd $GOPATH/src/github.com/rhysmcneill/ssmctl

COPY build.sh /src/

36 changes: 36 additions & 0 deletions projects/ssmctl/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/bin/bash -eu
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
cd $GOPATH/src/github.com/rhysmcneill/ssmctl/

go mod download
go mod tidy

compile_native_go_fuzzer github.com/rhysmcneill/ssmctl/internal/ssm FuzzSanitizeBasename fuzz_sanitizebasename
compile_native_go_fuzzer github.com/rhysmcneill/ssmctl/internal/ssm FuzzRemoteBaseName fuzz_remotebasename
compile_native_go_fuzzer github.com/rhysmcneill/ssmctl/internal/ssm FuzzDownloadBase64Decoding fuzz_downloadbase64decoding
compile_native_go_fuzzer github.com/rhysmcneill/ssmctl/internal/ssm FuzzAllInstanceIDs fuzz_allinstanceids
compile_native_go_fuzzer github.com/rhysmcneill/ssmctl/internal/ssm FuzzFirstInstance fuzz_firstinstance
compile_native_go_fuzzer github.com/rhysmcneill/ssmctl/internal/ssm FuzzShellQuote fuzz_shellquote
compile_native_go_fuzzer github.com/rhysmcneill/ssmctl/internal/ssm FuzzPowerShellQuote fuzz_powershellquote
compile_native_go_fuzzer github.com/rhysmcneill/ssmctl/internal/ssm FuzzNoInstancesFound fuzz_noinstancesfound
compile_native_go_fuzzer github.com/rhysmcneill/ssmctl/internal/ssm FuzzNormalizeWindowsPath fuzz_normalizewindowspath
compile_native_go_fuzzer github.com/rhysmcneill/ssmctl/internal/ssm FuzzTargetInfoFromInstance fuzz_targetinfofrommodule
compile_native_go_fuzzer github.com/rhysmcneill/ssmctl/internal/ssm FuzzParseRemoteFlag fuzz_parseremotsflag
compile_native_go_fuzzer github.com/rhysmcneill/ssmctl/internal/ssm FuzzNameTag fuzz_nametag
compile_native_go_fuzzer github.com/rhysmcneill/ssmctl/internal/ssm FuzzParseArg fuzz_parsearg
compile_native_go_fuzzer github.com/rhysmcneill/ssmctl/internal/ssm FuzzParseS3URL fuzz_parses3url
compile_native_go_fuzzer github.com/rhysmcneill/ssmctl/internal/ssm FuzzListInstancesFiltering fuzz_list
10 changes: 10 additions & 0 deletions projects/ssmctl/project.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
homepage: "https://github.com/rhysmcneill/ssmctl"
language: go
primary_contact: "rhysmcneill7@hotmail.co.uk"
fuzzing_engines:
- libfuzzer
sanitizers:
- address
main_repo: 'https://github.com/rhysmcneill/ssmctl.git'
auto_ccs:
- "rhysmcneill7@hotmail.co.uk"