Skip to content

js_inspect_recursive() may include binary data in the output #4

Description

@rrendec

JS strings can contain unprintable characters. Since js_inspect_recursive() is a debug tool, it should replace non-printable characters with their hexadecimal representation before they are included in the output. The FIXME note in the code should also be addressed. Strings can also contain the null character, and it should not be treated as a C string terminator.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions