Compiler for the C3 language
This report summarizes scanner evidence for c3lang/c3c, a C3 project with 5,922 GitHub stars. SynthScan examined 153,062 lines of code across 200 source files, recording 109 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 0.7 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 109 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 109 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 109 distinct pattern matches across 2 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | wrapper/src/wrapper.cpp | 1 | COMMENT | |
| LOW | wrapper/src/wrapper.cpp | 21 | #include "llvm/IR/Function.h" | COMMENT |
| LOW | resources/examples/project_all_settings.json | 1 | { | COMMENT |
| LOW | resources/examples/project_all_settings.json | 21 | // Output location, relative to project file. | COMMENT |
| LOW | resources/examples/nolibc-freebsd/project.json | 1 | { | COMMENT |
| LOW | resources/examples/nolibc/project.json | 1 | { | COMMENT |
| LOW | resources/examples/nolibc/project.json | 21 | // Output location, relative to project file. | COMMENT |
| LOW | resources/examples/dynlib-test/test_multi.c | 1 | // Regression test: dlopen two independently built C3 dynamic libraries into one | COMMENT |
| LOW | dependencies/miniz/miniz.c | 3061 | #endif | COMMENT |
| LOW | dependencies/miniz/miniz.c | 3121 | #else | COMMENT |
| LOW | dependencies/miniz/miniz.c | 3141 | #define MZ_FILE_STAT_STRUCT _stat | COMMENT |
| LOW | dependencies/miniz/miniz.c | 3161 | #define MZ_FILE_STAT_STRUCT stat | COMMENT |
| LOW | dependencies/miniz/miniz.c | 3181 | #define MZ_DELETE_FILE remove | COMMENT |
| LOW | dependencies/miniz/miniz.c | 3201 | #include <utime.h> | COMMENT |
| LOW | dependencies/miniz/miniz.c | 3221 | #define MZ_FCLOSE fclose | COMMENT |
| LOW | dependencies/miniz/miniz.h | 161 | callbacks to the zlib and archive API's, and a few stand-alone helper API's which don't provide custom user | COMMENT |
| LOW | dependencies/miniz/miniz.h | 181 | #include <time.h> | COMMENT |
| LOW | dependencies/miniz/miniz.h | 201 | COMMENT | |
| LOW | dependencies/miniz/miniz.h | 221 | #if !defined(MINIZ_USE_UNALIGNED_LOADS_AND_STORES) | COMMENT |
| LOW | dependencies/miniz/miniz.h | 461 | typedef char charf; | COMMENT |
| LOW | dependencies/miniz/miniz.h | 481 | #define Z_BUF_ERROR MZ_BUF_ERROR | COMMENT |
| LOW | dependencies/miniz/miniz.h | 601 | #define ZLIB_VER_MINOR MZ_VER_MINOR | COMMENT |
| LOW | dependencies/miniz/miniz.h | 641 | #ifdef _MSC_VER | COMMENT |
| LOW | dependencies/miniz/miniz.h | 661 | #else | COMMENT |
| LOW | dependencies/miniz/miniz.h | 681 | #define MZ_CLEAR_PTR(obj) memset((obj), 0, sizeof(*obj)) | COMMENT |
| LOW | dependencies/xz/standalone.c | 1 | /* SPDX-License-Identifier: 0BSD */ | COMMENT |
| LOW | dependencies/xz/standalone.c | 21 | #define memeq(a, b, size) (memcmp(a, b, size) == 0) | COMMENT |
| LOW | dependencies/xz/standalone.c | 81 | #ifndef get_le32 | COMMENT |
| LOW | dependencies/xz/standalone.c | 101 | # ifdef CONFIG_XZ_DEC_POWERPC | COMMENT |
| LOW | dependencies/xz/standalone.c | 121 | # endif | COMMENT |
| LOW | dependencies/xz/standalone.c | 141 | #endif | COMMENT |
| LOW | dependencies/xz/standalone.c | 181 | XZ_EXTERN enum xz_ret xz_dec_lzma2_run(struct xz_dec_lzma2 *s, | COMMENT |
| LOW | dependencies/xz/standalone.c | 201 | #define STREAM_HEADER_SIZE 12 | COMMENT |
| LOW | dependencies/xz/standalone.c | 221 | # include <linux/crc32.h> | COMMENT |
| LOW | dependencies/xz/standalone.c | 241 | #define XZ_CHECK_MAX 15 | COMMENT |
| LOW | dependencies/xz/standalone.c | 301 | #define LEN_HIGH_SYMBOLS (1 << LEN_HIGH_BITS) | COMMENT |
| LOW | dependencies/xz/standalone.c | 381 | #define blk0(i) (W[i] = get_be32(&data[4 * i])) | COMMENT |
| LOW | dependencies/xz/standalone.c | 2281 | case BCJ_POWERPC: | COMMENT |
| LOW | dependencies/xz/xz.h | 401 | * If CRC64 support has been enabled with XZ_USE_CRC64, a CRC64 | COMMENT |
| LOW | dependencies/xz/xz_config.h | 1 | /* Enable support for concatenated .xz files. */ | COMMENT |
| LOW | scripts/tools/test_distros.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | src/version.h | 1 | #define COMPILER_VERSION "0.8.6" | COMMENT |
| LOW | src/main.c | 1 | #include "build/build.h" | COMMENT |
| LOW | src/utils/whereami.c | 1 | // Copyright (c) 2020 Christoffer Lerno. All rights reserved. | COMMENT |
| LOW | src/utils/stats.c | 1 | // Copyright (c) 2026 Christoffer Lerno. All rights reserved. | COMMENT |
| LOW | src/utils/vmem.c | 1 | // Copyright (c) 2020 Christoffer Lerno. All rights reserved. | COMMENT |
| LOW | src/utils/vmem.c | 21 | #define COMMIT_PAGE_SIZE (MB_SIZE * 4U) | COMMENT |
| LOW | src/utils/lib.h | 1 | #pragma once | COMMENT |
| LOW | src/utils/lib.h | 261 | #define CALLOC(mem) (printf("calloc at %s %zu\n", __FUNCTION__, (size_t)(mem)), calloc_arena(mem)) | COMMENT |
| LOW | src/utils/common.h | 1 | #pragma once | COMMENT |
| LOW | src/utils/common.h | 21 | #include <limits.h> | COMMENT |
| LOW | src/utils/common.h | 41 | #if defined( _WIN32 ) || defined( __WIN32__ ) || defined( _WIN64 ) | COMMENT |
| LOW | src/utils/common.h | 61 | #ifndef USE_PTHREAD | COMMENT |
| LOW | src/utils/common.h | 81 | COMMENT | |
| LOW | src/utils/common.h | 101 | #define FORMAT_STR | COMMENT |
| LOW | src/utils/common.h | 121 | #define FORMAT_STR _Printf_format_string_ | COMMENT |
| LOW | src/utils/common.h | 161 | ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while(0) | COMMENT |
| LOW | src/utils/http.c | 141 | #define CURLOPT_URL 10002 | COMMENT |
| LOW | src/utils/file_utils.c | 1 | // Copyright (c) 2019 Christoffer Lerno. All rights reserved. | COMMENT |
| LOW | src/utils/file_utils.c | 21 | #include <dirent.h> | COMMENT |
| 48 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/compiler/llvm_codegen_expr.c | 5027 | // Essentially &(*ptr)[x] | COMMENT |