• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • Soft
        • C
          • Syntax-for-tools
          • Atc
          • Language
          • Representation
          • Transformation-tools
            • Simpadd0
            • Deftrans
            • Splitgso
            • Constant-propagation
            • Split-fn
            • Copy-fn
            • Specialize
            • Split-all-gso
            • Rename
            • Utilities
              • Free-vars
              • Call-graphs
              • Fresh-ident-utility
                • Fresh-numbered-string-wrt
                • Fresh-numbered-string-wrt0
                • Transunit-ensemble-fresh-ident
                • Fresh-idents
                • Fresh-string-wrt
                • Fresh-ident
                • Make-numbered-string
                • Map-ident->unwrap
              • Collect-idents
          • Insertion-sort
          • Pack
        • Bv
        • Imp-language
        • Event-macros
        • Java
        • Bitcoin
        • Ethereum
        • Yul
        • Zcash
        • ACL2-programming-language
        • Prime-fields
        • Json
        • Syntheto
        • File-io-light
        • Cryptography
        • Number-theory
        • Lists-light
        • Axe
        • Builtins
        • Solidity
        • Helpers
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Axe
      • Execloader
    • Math
    • Testing-utilities
  • Utilities

Fresh-ident-utility

A utility to create a globally fresh C identifier.

This utility generates fresh new identifiers using a base identifier and adding a numeric suffix. It is similar to ACL2::numbered-names, but operating over C ASTs instead of the ACL2 world.

Fresh identifiers are created with respect to a "blacklist" representing identifiers in use. A blacklist may be obtained using the collect-idents utility.

Subtopics

Fresh-numbered-string-wrt
Fresh-numbered-string-wrt0
Transunit-ensemble-fresh-ident
Fresh-idents
Fresh-string-wrt
Fresh-ident
Make-numbered-string
Map-ident->unwrap