rust-lang / rust-lang/rust-bindgen

Fuzz bindgen with C-Smith

Open
#969 13 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-testing help wanted
Dominant language
Rust
Stars
5.3k
Forks
829
Avg merge
1d 1h
Merged PRs (30d)
15

Description

C-Smith generates C programs for fuzzing C compilers. We should create infrastructure (scripts, etc) for running it against bindgen, that we check into tree. And we should run it against bindgen.

We should look into if C-Smith supports things like controlling the kinds of programs it generates. We don't care about functions' bodies generally, and we care a whole lot about different kinds of type definitions.

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

No specific files or tests are named. Start by reviewing C-Smith's support for controlling generated programs and how bindgen can be run against them; done means checked-in scripts or infrastructure exist and C-Smith has been run against bindgen, with emphasis on varied type definitions.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, rust
Domain
compilers, testing-qa, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.