googleprojectzero / googleprojectzero/fuzzilli

about Instruction flags set .noRemovable

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

Nobody has claimed this yet.

Dominant language
Swift
Stars
2.3k
Forks
367
Avg merge
23h 53m
Merged PRs (30d)
1

Description

Hi,
at this comit 872e46814409399dbfacd885495c49f673e54780

...We also add a Flags struct to the Instruction class which allows us to
    mark Instructions as not-removable by the minimizer. ...

and I can find, program default set .empty flag

return internalAppend(Instruction(op, inouts: inouts, flags: .empty))

it seems there are no way set flag by users in ProgramBuilder, such as

b.loadString("hh", flags: .noRemovable) 

or is there a way to set flags to users if have?

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 by reviewing commit 872e46814409399dbfacd885495c49f673e54780 and the Instruction and ProgramBuilder code paths that construct instructions, including loadString. Determine whether ProgramBuilder exposes a way to pass Instruction.Flags such as .noRemovable; done means the supported user-facing behavior is clarified or the requested flags parameter is consistently available.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.