rust-lang / rust-lang/rust-bindgen

quickchecking broader range of viable code

Open
#1,170 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
5.3k
Forks
829
Avg merge
1d 1h
Merged PRs (30d)
15

Description

The quickchecking crate, for property testing with fuzzed C headers could be extended to exercise a broader range of viable code.

Some examples of generated features that might provide value would be bitfields, C++, and other problematic code documented in issues tagged with I-bogus-codegen.

Corresponds to extending #970

The quickchecking crate lives in the tests directory here: https://github.com/rust-lang-nursery/rust-bindgen/tree/master/tests/quickchecking/

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the quickchecking crate under tests/quickchecking and review the scope of issue #970. Then inspect issues tagged I-bogus-codegen to identify viable generated cases such as bitfields or C++; done means adding broader property-test coverage for selected cases and verifying the quickchecking tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cpp, rust
Domain
compilers, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.