googleprojectzero / googleprojectzero/fuzzilli
JSLifter Nested String Lifting Bug
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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