🎁 A glib-like multi-platform c library
This report summarizes scanner evidence for tboox/tbox, a C project with 5,131 GitHub stars. SynthScan examined 181,549 lines of code across 1097 source files, recording 328 pattern matches distributed across 1 syntactic category. The legacy adjusted pattern signal is 1.8 (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? 328 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? 328 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 328 distinct pattern matches across 1 syntactic category. 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 | src/demo/coroutine/spider.c | 21 | #define TB_DEMO_LIMITRATE (0) | COMMENT |
| LOW | src/demo/stream/stream/zip.c | 21 | COMMENT | |
| LOW | src/demo/platform/process.c | 401 | #endif | COMMENT |
| LOW | src/demo/container/hash_map.c | 21 | #define tb_hash_map_test_insert_i2s(h, i) do {tb_char_t s[256] = {0}; tb_snprintf(s, 256, "%u", i); tb_hash_map_in | COMMENT |
| LOW | src/tbox/tbox.h | 21 | #ifndef TB_TBOX_H | COMMENT |
| LOW | src/tbox/libc/libc.h | 21 | */ | COMMENT |
| LOW | src/tbox/libc/prefix.h | 21 | #ifndef TB_LIBC_PREFIX_H | COMMENT |
| LOW | src/tbox/libc/misc/misc.h | 21 | */ | COMMENT |
| LOW | src/tbox/libc/misc/ctype.h | 41 | #define tb_isdigit(x) ((x) > 0x2f && (x) < 0x3a) | COMMENT |
| LOW | src/tbox/libc/misc/stdarg.h | 21 | */ | COMMENT |
| LOW | src/tbox/libc/misc/stdarg.h | 41 | #else | COMMENT |
| LOW | src/tbox/libc/stdlib/setlocale.h | 61 | # else | COMMENT |
| LOW | src/tbox/libc/stdlib/stdlib.h | 41 | #define tb_s2tou32(s) ((tb_uint32_t)tb_s2tou64(s)) | COMMENT |
| LOW | src/tbox/libc/stdlib/stdlib.h | 61 | #define tb_stoi64(s) ((tb_int64_t)tb_stou64(s)) | COMMENT |
| LOW | src/tbox/libc/stdlib/stdlib.h | 81 | # define tb_strtof(s, e) tb_s10tof(s) | COMMENT |
| LOW | src/tbox/libc/stdlib/mbstowcs.c | 41 | # if defined(TB_CONFIG_MODULE_HAVE_CHARSET) | COMMENT |
| LOW | src/tbox/libc/stdlib/wcstombs.c | 41 | #ifdef TB_CONFIG_FORCE_UTF8 | COMMENT |
| LOW | src/tbox/libc/string/memcpy.c | 21 | */ | COMMENT |
| LOW | src/tbox/libc/string/strlcpy.c | 21 | */ | COMMENT |
| LOW | src/tbox/libc/string/strnlen.c | 21 | */ | COMMENT |
| LOW | src/tbox/libc/string/memcmp.c | 21 | */ | COMMENT |
| LOW | src/tbox/libc/string/strlen.c | 21 | */ | COMMENT |
| LOW | src/tbox/libc/string/strncmp.c | 21 | */ | COMMENT |
| LOW | src/tbox/libc/string/strcmp.c | 21 | */ | COMMENT |
| LOW | src/tbox/libc/string/wcsupr.c | 21 | */ | COMMENT |
| LOW | src/tbox/libc/string/wcslwr.c | 21 | */ | COMMENT |
| LOW | src/tbox/libc/string/memset.c | 21 | */ | COMMENT |
| LOW | src/tbox/libc/string/strcpy.c | 21 | */ | COMMENT |
| LOW | src/tbox/libc/string/memmov.c | 21 | */ | COMMENT |
| LOW | src/tbox/libc/string/strncpy.c | 21 | */ | COMMENT |
| LOW | src/tbox/libm/maf.h | 41 | #else | COMMENT |
| LOW | src/tbox/libm/nan.h | 41 | # ifdef TB_WORDS_BIGENDIAN | COMMENT |
| LOW | src/tbox/libm/math.h | 21 | */ | COMMENT |
| LOW | src/tbox/memory/allocator.h | 41 | COMMENT | |
| LOW | src/tbox/memory/memory.h | 21 | */ | COMMENT |
| LOW | src/tbox/memory/impl/static_fixed_pool.c | 41 | COMMENT | |
| LOW | src/tbox/memory/impl/prefix.h | 21 | #ifndef TB_MEMORY_IMPL_PREFIX_H | COMMENT |
| LOW | src/tbox/coroutine/impl/scheduler_io.c | 41 | # define TB_SCHEDULER_IO_LTIMER_GROW (64) | COMMENT |
| LOW | src/tbox/coroutine/impl/impl.h | 21 | #ifndef TB_COROUTINE_IMPL_H | COMMENT |
| LOW | src/tbox/coroutine/impl/prefix.h | 21 | #ifndef TB_COROUTINE_IMPL_PREFIX_H | COMMENT |
| LOW | src/tbox/coroutine/impl/stackless/scheduler_io.c | 41 | #ifdef __tb_small__ | COMMENT |
| LOW | src/tbox/coroutine/stackless/scheduler.c | 41 | # define TB_SCHEDULER_DEAD_CACHE_MAXN (8) | COMMENT |
| LOW | src/tbox/hash/sha.c | 41 | #define TB_SHA_R1(v, w, x, y, z, i) z += ((w &(x ^ y)) ^ y) + TB_SHA_BLK(i) + 0x5a827999 + TB_SHA_ROL(v, 5); | COMMENT |
| LOW | src/tbox/hash/md5.c | 41 | // TB_MD5_FF, TB_MD5_GG, TB_MD5_HH, and TB_MD5_II transformations for rounds 1, 2, 3, and 4 | COMMENT |
| LOW | src/tbox/hash/hash.h | 21 | */ | COMMENT |
| LOW | src/tbox/hash/hash.h | 41 | #include "fnv64.h" | COMMENT |
| LOW | src/tbox/hash/adler32.c | 41 | COMMENT | |
| LOW | src/tbox/prefix/type.h | 21 | #ifndef TB_PREFIX_TYPE_H | COMMENT |
| LOW | src/tbox/prefix/type.h | 41 | #define tb_false ((tb_bool_t)0) | COMMENT |
| LOW | src/tbox/prefix/type.h | 81 | typedef tb_pointer_t tb_handle_t; | COMMENT |
| LOW | src/tbox/prefix/packed.h | 41 | * } __tb_packed__ tb_xxxxx_t; | COMMENT |
| LOW | src/tbox/prefix/utils.h | 41 | COMMENT | |
| LOW | src/tbox/prefix/utils.h | 61 | #define tb_align8(x) (((x) + 7) >> 3 << 3) | COMMENT |
| LOW | src/tbox/prefix/utils.h | 81 | #else | COMMENT |
| LOW | src/tbox/prefix/utils.h | 101 | COMMENT | |
| LOW | src/tbox/prefix/utils.h | 121 | #define tb_p2u64(x) ((tb_uint64_t)(tb_size_t)(x)) | COMMENT |
| LOW | src/tbox/prefix/keyword.h | 21 | #ifndef TB_PREFIX_KEYWORD_H | COMMENT |
| LOW | src/tbox/prefix/keyword.h | 41 | #define __tb_volatile__ volatile | COMMENT |
| LOW | src/tbox/prefix/keyword.h | 61 | COMMENT | |
| LOW | src/tbox/prefix/keyword.h | 81 | # define __tb_thiscall__ | COMMENT |
| 268 more matches not shown… | ||||