lowRISC / lowRISC/manticore

Add support to for tuple variants with lifetimes in make_fuzz_safe! macro.

Open
#151 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
17
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Currently unsupported example

```rs
make_fuzz_safe! {
pub enum MyTupleVariant<'a> {
Foo(u32),
Bar(&'a [u8]),
}
}
```

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

Locate the implementation of the make_fuzz_safe! macro and review how it handles enum variants and lifetimes. Add support for the shown tuple variant containing a lifetime-bearing reference, then verify that the example expands and compiles successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.