Skip to content

Fix/issue 210 corpus ids - #81617

Closed
kevin-valerio wants to merge 546 commits into
golang:masterfrom
trailofbits:fix/issue-210-corpus-ids
Closed

kevin-valerio wants to merge 546 commits into
golang:masterfrom
trailofbits:fix/issue-210-corpus-ids

Conversation

@kevin-valerio

Copy link
Copy Markdown

No description provided.

kevin-valerio and others added 30 commits April 13, 2026 20:53
Removed the Upstream sync section from the README.
pull Bot and others added 27 commits August 28, 2026 18:37
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
[pull] master from golang:master
Keep GoSentry's Go 1.27 module directive and goleak dependency while taking upstream's updated x/crypto, x/net, x/sys, and x/text versions.
Fix conflicts for upstream Go merge #209
Comment on lines +11 to +30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go (bootstrap)
uses: actions/setup-go@v5
with:
go-version: "1.26.5"

- name: Export GOROOT_BOOTSTRAP
run: echo "GOROOT_BOOTSTRAP=$(go env GOROOT)" >> "$GITHUB_ENV"

- name: Set up Rust (nightly)
uses: dtolnay/rust-toolchain@nightly

- name: Build gosentry toolchain
run: cd src && ./make.bash

- name: Smoke (--catch-hangs via LibAFL timeouts)
run: bash misc/gosentry/tests/smoke_use_libafl_catch_hangs.sh
Comment on lines +11 to +30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go (bootstrap)
uses: actions/setup-go@v5
with:
go-version: "1.26.5"

- name: Export GOROOT_BOOTSTRAP
run: echo "GOROOT_BOOTSTRAP=$(go env GOROOT)" >> "$GITHUB_ENV"

- name: Set up Rust (nightly)
uses: dtolnay/rust-toolchain@nightly

- name: Build gosentry toolchain
run: cd src && ./make.bash

- name: Smoke (--catch-leaks)
run: bash misc/gosentry/tests/smoke_use_libafl_catch_leaks.sh
Comment on lines +11 to +30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go (bootstrap)
uses: actions/setup-go@v5
with:
go-version: "1.26.5"

- name: Export GOROOT_BOOTSTRAP
run: echo "GOROOT_BOOTSTRAP=$(go env GOROOT)" >> "$GITHUB_ENV"

- name: Set up Rust (nightly)
uses: dtolnay/rust-toolchain@nightly

- name: Build gosentry toolchain
run: cd src && ./make.bash

- name: Smoke (--catch-races)
run: bash misc/gosentry/tests/smoke_use_libafl_catch_races.sh
Comment thread .github/workflows/go.yml
Comment on lines +12 to +38
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go (bootstrap)
uses: actions/setup-go@v5
with:
go-version: '1.26.5'

- name: Export GOROOT_BOOTSTRAP
run: echo "GOROOT_BOOTSTRAP=$(go env GOROOT)" >> $GITHUB_ENV

- name: Build Go-Panikint (truncation disabled)
run: |
cd src
./make.bash

- name: Run stdlib LibAFL encoding tests
run: |
GOROOT=${{ github.workspace }} ${{ github.workspace }}/bin/go test -v -run TestLibAFLMarshalUnmarshal testing

- name: Run tests (truncation disabled)
run: |
cd tests
GOROOT=${{ github.workspace }} ${{ github.workspace }}/bin/go test -v .

test-with-truncation:
Comment thread .github/workflows/go.yml
Comment on lines +39 to +63
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go (bootstrap)
uses: actions/setup-go@v5
with:
go-version: '1.26.5'

- name: Export GOROOT_BOOTSTRAP
run: echo "GOROOT_BOOTSTRAP=$(go env GOROOT)" >> $GITHUB_ENV

- name: Build Go-Panikint (truncation enabled)
run: |
cd src
GOFLAGS="-gcflags=-truncationdetect=true" ./make.bash

- name: Run stdlib LibAFL encoding tests
run: |
GOROOT=${{ github.workspace }} GOFLAGS="-gcflags=-truncationdetect=true" ${{ github.workspace }}/bin/go test -v -run TestLibAFLMarshalUnmarshal testing

- name: Run tests (truncation enabled)
run: |
cd tests
GOROOT=${{ github.workspace }} GOFLAGS="-gcflags=-truncationdetect=true" ${{ github.workspace }}/bin/go test -v .
Comment on lines +11 to +24
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Check repo knowledge (AGENTS.md + docs)
run: |
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
base="${{ github.event.pull_request.base.sha }}"
else
base="${{ github.event.before }}"
fi
bash misc/gosentry/scripts/check_repo_knowledge.sh --base "${base}"
Comment on lines +11 to +73
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go (bootstrap)
uses: actions/setup-go@v5
with:
go-version: "1.26.5"

- name: Export GOROOT_BOOTSTRAP
run: echo "GOROOT_BOOTSTRAP=$(go env GOROOT)" >> "$GITHUB_ENV"

- name: Set up Rust (nightly)
uses: dtolnay/rust-toolchain@nightly

- name: Build gosentry toolchain
run: cd src && ./make.bash

- name: Smoke (panic)
run: bash misc/gosentry/tests/smoke_use_libafl_panic.sh

- name: Smoke (SIGSEGV restart)
run: bash misc/gosentry/tests/smoke_use_libafl_sigsegv_restart.sh

- name: Smoke (overflow)
run: bash misc/gosentry/tests/smoke_use_libafl_overflow.sh

- name: Smoke (multiargs)
run: bash misc/gosentry/tests/smoke_use_libafl_multiargs.sh

- name: Smoke (multiparams)
run: bash misc/gosentry/tests/smoke_use_libafl_multiparams.sh

- name: Smoke (composite)
run: bash misc/gosentry/tests/smoke_use_libafl_composite.sh

- name: Smoke (reverse)
run: bash misc/gosentry/tests/smoke_use_libafl_reverse.sh

- name: Smoke (fuzztime)
run: bash misc/gosentry/tests/smoke_use_libafl_fuzztime.sh

- name: Smoke (config)
run: bash misc/gosentry/tests/smoke_use_libafl_config.sh

- name: Smoke (focus-on-new-code)
run: bash misc/gosentry/tests/smoke_use_libafl_focus_on_new_code.sh

- name: Smoke (addseed + testdata/fuzz)
run: bash misc/gosentry/tests/smoke_use_libafl_addseed_testdata.sh

- name: Smoke (grammar json)
env:
GOSENTRY_VERBOSE_AFL_ALL_INPUTS: "1"
run: bash misc/gosentry/tests/smoke_use_libafl_grammar_json.sh

- name: Smoke (grammar cmplog/i2s)
run: bash misc/gosentry/tests/smoke_use_libafl_grammar_cmplog_i2s.sh

- name: Smoke (generate coverage)
run: bash misc/gosentry/tests/smoke_use_libafl_generate_coverage.sh

smoke-panic-on:
Comment on lines +74 to +93
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go (bootstrap)
uses: actions/setup-go@v5
with:
go-version: "1.26.5"

- name: Export GOROOT_BOOTSTRAP
run: echo "GOROOT_BOOTSTRAP=$(go env GOROOT)" >> "$GITHUB_ENV"

- name: Set up Rust (nightly)
uses: dtolnay/rust-toolchain@nightly

- name: Build gosentry toolchain
run: cd src && ./make.bash

- name: Smoke (--panic-on)
run: bash misc/gosentry/tests/smoke_use_libafl_panic_on.sh
@kevin-valerio
kevin-valerio deleted the fix/issue-210-corpus-ids branch September 20, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants