User/homedir expansion doesn't work

Open
#504 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
40/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
swift
Domain
cli

Research direction

Start at the CLI argument handling for --storagePath and --importCorpus, then trace how their paths are passed to filesystem operations. Reproduce the directory-not-found error with ~/ paths and verify that equivalent home-directory paths work after the change.

Written by the indexing model from the issue text.

Description

swift run -c release FuzzilliCli ... --storagePath=~/fuzz_out --importCorpus=~/fuzz_corpus ...

this throws a directory not found error, but if i manually expand it to /home/user/fuzz_out, etc, it works properly.

Guessing there is a Swift equivalent of os.path.expanduser() that could be used

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

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.

More from googleprojectzero/fuzzilli

All issues in googleprojectzero/fuzzilli

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.