googleprojectzero / googleprojectzero/fuzzilli

Code Generation of complex parameter types

Open
#459 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

I think it would also be good to add support to our code generation machinery to generate functions with more complex parameters. The place for that would be here: https://github.com/googleprojectzero/fuzzilli/blob/7b2850d6831535aedba74da7f8811dda6ee59abd/Sources/Fuzzilli/Base/ProgramBuilder.swift#L425 Maybe this makes most sense as a follow-up change though, so we can land this one first to get the compiler support and then see if it's easy to also get codegen support.

Originally posted by @saelo in https://github.com/googleprojectzero/fuzzilli/pull/449#discussion_r1828181247

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 at Sources/Fuzzilli/Base/ProgramBuilder.swift around line 425 and inspect the existing code-generation machinery for function parameters. Determine which complex parameter types are intended and how completion should be verified; the issue does not name tests or a more specific implementation scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
tooling
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.