Skip to content

Update build.sh to reflect upstream changes in dependencies#14180

Merged
DavidKorczynski merged 19 commits intogoogle:masterfrom
rapier1:master
Oct 23, 2025
Merged

Update build.sh to reflect upstream changes in dependencies#14180
DavidKorczynski merged 19 commits intogoogle:masterfrom
rapier1:master

Conversation

@rapier1
Copy link
Copy Markdown
Contributor

@rapier1 rapier1 commented Oct 22, 2025

We changed how the dependencies are set up in our repo. We need to update this build process to reflect those and ensure linking doesn't fail.

Thanks!

rapier1 added 10 commits March 15, 2024 13:33
OpenSSH that provides significnatly improved performance and functionality.
It's relatively widely used and we'd like to make sure that our changes
pass fuzz tests.
This build scipt and Dockerfile are largely taken from the
OpenSSH project. One difference is that we are specifically
using the release candidates branch as opposed to master. After
18.4.0 is released we may revise the process. However, being that
master only contains full releases, as opposed to development, it
may be better to focus on upcoming releases.
>
> Due to how our branch structure is set up testing
> against a specific OSS-Fuzz branch makes the most sense
> at this time. Build.sh now checkouts out osss_fuzz_tests
> Additionally, we've stopped using the memory sanitizer and
> are just doing the default address and undefined tests.
> Using the standard fuzzing engines of afl, libfuzzer,
> honggfuzz, and centipede.
We are seeing an error in fuzz runs that are exiting after

This seems to being caused by the git pull command
being issued when not on a branch. I've removed the
git pull command and the checkout command. I think
I did't fully understand how the fuzzer interacted
with commits. I believe I understand now.
@github-actions
Copy link
Copy Markdown

rapier1 is either the primary contact or is in the CCs list of projects/hpn-ssh.
rapier1 has previously contributed to projects/hpn-ssh. The previous PR was #11837

@rapier1
Copy link
Copy Markdown
Contributor Author

rapier1 commented Oct 22, 2025

Not building correctly yet. Will address shortly.

@rapier1
Copy link
Copy Markdown
Contributor Author

rapier1 commented Oct 22, 2025

I'm sorry about all of the commits to figure out what was going on. I still don't understand this system as well as I hoped. I thought that cifuzz system would run against whatever commit/branch met the on: push: criteria but it seems like that's not the case and it, instead, only runs against a statically defined branch. Since we don't do development in the master branch that's going to require some work on our part.

@DavidKorczynski DavidKorczynski merged commit e7daf97 into google:master Oct 23, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants