Skip to content

add a sed fuzzer #72

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
Open

add a sed fuzzer #72

wants to merge 1 commit into from

Conversation

sylvestre
Copy link
Contributor

far from perfect

Currently:

  • stalled very quickly
  • not executed in the CI
  • duplicated code of the fuzz_common functions from the coreutils (i will create a crate for this like uutests)

but found:
#71

}
"d" => {
// Delete: [addr]d
if rng.random_bool(0.3) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider having generate_address create 0, 1, or 2 addresses.

};

// Compare results
compare_result(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep in mind that the POSIX standard leaves the result of many behaviors undefined. (There are five mentions in the standard.) We need to be careful to avoid these.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think the de-facto standard is the GNU impl :)

Copy link

codecov bot commented Jun 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (602a23d) to head (d6ad752).

Additional details and impacted files
@@          Coverage Diff          @@
##            main     #72   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files         12      12           
  Lines       2632    2632           
  Branches     225     225           
=====================================
  Misses      2632    2632           
Flag Coverage Δ
macos_latest 0.00% <ø> (ø)
ubuntu_latest 0.00% <ø> (ø)
windows_latest 0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

3 participants