• 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
          • 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
  • C

Transformation-tools

Transformation tools for C.

We provide tools to transform C code into (different) C code. The transformations may have different purposes.

These transformation tools operate on the abstract syntax defined in c$::syntax-for-tools.

Subtopics

Simpadd0
A transformation to simplify E + 0 to E.
Deftrans
A tool to generate C-to-C transformations.
Splitgso
A transformation to split a global struct object.
Constant-propagation
A C-to-C transformation to propagate constants.
Split-fn
A C-to-C transformation to split a function in two.
Copy-fn
A C-to-C transformation to copy a function.
Specialize
A C-to-C transformation to specialize a function.
Split-all-gso
A transformation to split all global struct objects.
Rename
A C-to-C transformation to rename identifiers.
Utilities
Utilities for C transformations.