Skip to content

Missing configuration options for transformStrings #100

@mipastgt

Description

@mipastgt

The feature transformStrings of the new plugin is interesting but I see a few problems with it.

  1. Which high-level language actually supports returning two i32 values indicating the pointer and length of a string returned in memory?
  2. How would you distinguish this pattern from other uses? E.g., in my code I return byte arrays and not strings in a similar way. In a real program there could also be a mixture of such uses. I don't see how these cases could be distinguished from each other without further configuration options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions