googleprojectzero / googleprojectzero/fuzzilli

JSLifter Nested String Lifting Bug

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

Here is a before and after after compiling before.js to after.js

// before.js

var s = 'some "text"';
// after.js

var s = "some "text""; // <-- text becomes an identifier

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 compiling the issue's before.js example with JSLifter and inspect the generated after.js output. Trace the string-lifting path responsible for nested quotes; done means the generated JavaScript preserves the original string value and remains valid syntax.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, swift
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.