Uploaded image for project: 'SonarCFamily'
  1. SonarCFamily
  2. CPP-3385

Proposed rule: ban invisible and token-reordering unicode code sequences (BIDI characters) (trojansource.codes)

    XMLWordPrintable

    Details

      Description

      Inspired by https://trojansource.codes/

      Ban Unicode tricks (like the ones mentioned on the webpage above) that lead to mismatch between the visible source code and the code compiler sees.

      This might be better handled on the scanner/product level, since it might be language agnostic.
      See the product board topic.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            arseniy.zaostrovnykh Arseniy Zaostrovnykh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: