| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5bcac9c commit bbbbf25
201 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -26,7 +26,7 @@ members = [ | |||
| 26 | 26 | edition = "2021" | |
| 27 | 27 | license = "Apache-2.0" | |
| 28 | 28 | repository = "https://github.com/anvanster/codegraph" | |
| 29 | - authors = ["anvanster"] | ||
| 29 | + authors = ["Andrey Vasilevsky <anvanster@gmail.com>"] | ||
| 30 | 30 | ||
| 31 | 31 | [workspace.dependencies] | |
| 32 | 32 | # Shared dependencies across all crates | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,6 @@ | |||
| 1 | + // Copyright 2024-2026 Andrey Vasilevsky <anvanster@gmail.com> | ||
| 2 | + // SPDX-License-Identifier: Apache-2.0 | ||
| 3 | + | ||
| 1 | 4 | //! Benchmarks for the C parser | |
| 2 | 5 | ||
| 3 | 6 | use codegraph::CodeGraph; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,6 @@ | |||
| 1 | + // Copyright 2024-2026 Andrey Vasilevsky <anvanster@gmail.com> | ||
| 2 | + // SPDX-License-Identifier: Apache-2.0 | ||
| 3 | + | ||
| 1 | 4 | //! AST extraction for C source code | |
| 2 | 5 | //! | |
| 3 | 6 | //! This module provides two parsing modes: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,6 @@ | |||
| 1 | + // Copyright 2024-2026 Andrey Vasilevsky <anvanster@gmail.com> | ||
| 2 | + // SPDX-License-Identifier: Apache-2.0 | ||
| 3 | + | ||
| 1 | 4 | //! # codegraph-c | |
| 2 | 5 | //! | |
| 3 | 6 | //! C parser for CodeGraph - extracts code entities and relationships from C source files. | |
@@ -75,6 +78,10 @@ | |||
| 75 | 78 | //! result.platform.platform_id, | |
| 76 | 79 | //! result.platform.confidence * 100.0); | |
| 77 | 80 | //! ``` | |
| 81 | + //! | ||
| 82 | + //! **Author:** Andrey Vasilevsky \<anvanster@gmail.com\> | ||
| 83 | + //! **License:** Apache-2.0 | ||
| 84 | + //! **Repository:** <https://github.com/anvanster/codegraph> | ||
| 78 | 85 | ||
| 79 | 86 | pub mod extractor; | |
| 80 | 87 | mod mapper; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,6 @@ | |||
| 1 | + // Copyright 2024-2026 Andrey Vasilevsky <anvanster@gmail.com> | ||
| 2 | + // SPDX-License-Identifier: Apache-2.0 | ||
| 3 | + | ||
| 1 | 4 | //! Mapper for converting CodeIR to CodeGraph nodes and edges | |
| 2 | 5 | ||
| 3 | 6 | use codegraph::{CodeGraph, EdgeType, NodeId, NodeType, PropertyMap}; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,6 @@ | |||
| 1 | + // Copyright 2024-2026 Andrey Vasilevsky <anvanster@gmail.com> | ||
| 2 | + // SPDX-License-Identifier: Apache-2.0 | ||
| 3 | + | ||
| 1 | 4 | //! Implementation of the CodeParser trait for C | |
| 2 | 5 | ||
| 3 | 6 | use codegraph::CodeGraph; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,6 @@ | |||
| 1 | + // Copyright 2024-2026 Andrey Vasilevsky <anvanster@gmail.com> | ||
| 2 | + // SPDX-License-Identifier: Apache-2.0 | ||
| 3 | + | ||
| 1 | 4 | //! Preprocessor conditional evaluation | |
| 2 | 5 | //! | |
| 3 | 6 | //! This module provides evaluation of preprocessor conditionals to strip dead code | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,6 @@ | |||
| 1 | + // Copyright 2024-2026 Andrey Vasilevsky <anvanster@gmail.com> | ||
| 2 | + // SPDX-License-Identifier: Apache-2.0 | ||
| 3 | + | ||
| 1 | 4 | //! GCC extension neutralization | |
| 2 | 5 | //! | |
| 3 | 6 | //! This module provides transformation of GCC-specific extensions into | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,6 @@ | |||
| 1 | + // Copyright 2024-2026 Andrey Vasilevsky <anvanster@gmail.com> | ||
| 2 | + // SPDX-License-Identifier: Apache-2.0 | ||
| 3 | + | ||
| 1 | 4 | //! Kernel macro expansion and neutralization | |
| 2 | 5 | //! | |
| 3 | 6 | //! Handles common Linux kernel macros that cause parsing errors by either: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,6 @@ | |||
| 1 | + // Copyright 2024-2026 Andrey Vasilevsky <anvanster@gmail.com> | ||
| 2 | + // SPDX-License-Identifier: Apache-2.0 | ||
| 3 | + | ||
| 1 | 4 | //! Layered processing pipeline for C source code | |
| 2 | 5 | //! | |
| 3 | 6 | //! This module provides a multi-stage processing pipeline that transforms C source code | |
| Back | FazBrowse Home | New Git URL |
0 commit comments