Skip to content

Support running Centipede in separate processes. #1631

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

copybara-service[bot]
Copy link
Contributor

@copybara-service copybara-service bot commented Apr 4, 2025

Support running Centipede in separate processes.

This is enabled when --centipede_bianry_path is set by either fuzzing infrastructure or some special library (not in this CL) that provides the flag during init (so users can opt-in by themselves).

The Centipede process is run using popen so that the output can be piped on the fly, while the process will (eventually) recieve SIGHUP and terminate when the parent test process ends (e.g. due to user interruption).

In order to pass serialized configurations in command flags, changed the flag to take base64url encoded string.

This is enabled when --centipede_bianry_path is set by either fuzzing infrastructure or some special library (not in this CL) that provides the flag during init (so users can opt-in by themselves).

The Centipede process is run using `popen` so that the output can be piped on the fly, while the process will (eventually) recieve SIGHUP and terminate when the parent test process ends (e.g. due to user interruption).

In order to pass serialized configurations in command flags, changed the flag to take base64url encoded string.

PiperOrigin-RevId: 743985768
@copybara-service copybara-service bot changed the title No public description Support running Centipede in separate processes. Apr 10, 2025
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.

1 participant