googleprojectzero / googleprojectzero/fuzzilli

Compile error

Open
#499 3 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

environment:

Linux kali 6.5.0-kali3-amd64
swift 6.0.3

compile error as follow:

Building for debugging...
/home/kali/Fuzz/fuzzilli/Sources/Fuzzilli/Lifting/WasmLifter.swift:595:55: error: cannot call value of non-function type 'Int'
        let numDefinedTablesWithEntries = self.tables.count { instruction in
                                                      ^
error: fatalError

whether is the swift version too high?

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 with Sources/Fuzzilli/Lifting/WasmLifter.swift around line 595 and reproduce the build using Swift 6.0.3 on the reported Linux environment. Determine whether the count call is incompatible with this Swift version; done means the project builds successfully without this compile error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.