1 repository
The practice of creating fake headers to allow a parser to function without real system headers.
Distinct from C Header Binding Generators: Distinct from Binding Generators: focuses on providing mock headers to the parser, not generating bindings for other languages.
Explore 1 awesome GitHub repository matching programming languages & runtimes · Header Mocking. Refine with filters or upvote what's useful.
pycparser is a C99 parser library that converts C source code into an abstract syntax tree consisting of Python objects. It functions as an abstract syntax tree generator, transforming preprocessed C code into a structured hierarchy for programmatic analysis and transformation. The library integrates with a C preprocessor to handle directives before parsing. It also features a stub header parser, which uses minimal mock headers to allow the parsing of C code without requiring a full system C library installation. The project provides tools for static code analysis, C program analysis, and so
Provides minimal stub headers to enable parsing of C source code without a full system library installation.