Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Strings] Escape strings printed by fuzz-exec #6441

Merged
merged 1 commit into from
Mar 26, 2024
Merged

Commits on Mar 26, 2024

  1. [Strings] Escape strings printed by fuzz-exec

    Previously we printed strings as WTF-8 in the output of fuzz-exec, but this
    could produce invalid unicode output and did not make unprintable characters
    visible. Fix both these problems by escaping the output, using the JSON string
    escape procedure since the string to be escaped is WTF-16. Reimplement the same
    escaping procedure in fuzz_shell.js so that the way we print strings when
    running on a real JS engine matches the way we print them in our own fuzz-exec
    interpreter.
    
    Fixes #6435.
    tlively committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    3f1bcbf View commit details
    Browse the repository at this point in the history