A cross-platform x86 assembler with an Intel-like syntax
This report summarizes scanner evidence for netwide-assembler/nasm, a Assembly project with 3,339 GitHub stars. SynthScan examined 223,211 lines of code across 3128 source files, recording 245 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 1.3 (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? 229 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 18 finding(s).
Which changes need focused human review? 245 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 245 distinct pattern matches across 9 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 | version.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | version.pl | 21 | # NASM_MINOR_VER | COMMENT |
| LOW | tools/genperlbreq.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | tools/mkmsvcdocmak.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | tools/testgen/gen-insn-tests.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | tools/testgen/gen-insn-tests.pl | 21 | # | COMMENT |
| LOW | tools/testgen/gen-insn-tests.pl | 41 | # syntax on its own. This makes the generated tests regression | COMMENT |
| LOW | tools/testgen/gen-insn-tests.pl | 81 | 'variants=i' => \$variants, | COMMENT |
| LOW | tools/testgen/gen-insn-tests.pl | 161 | xmm0 => sub { 'xmm0' }, fpu0 => sub { 'st0' }, | COMMENT |
| LOW | tools/testgen/gen-insn-tests.pl | 481 | } | COMMENT |
| LOW | tools/testgen/gen-insn-tests.pl | 501 | return undef; | COMMENT |
| LOW | tools/testgen/gen-insn-tests.pl | 621 | # Modrm-memory disp8/disp32 boundary coverage. | COMMENT |
| LOW | tools/testgen/gen-insn-tests.pl | 681 | COMMENT | |
| LOW | tools/testgen/gen-insn-tests.pl | 861 | # independent decorator families this template's operand tokens | COMMENT |
| LOW | tools/testgen/gen-insn-tests.pl | 881 | # valid at every --bits width in the general case, a handful of | COMMENT |
| LOW | tools/testgen/gen-insn-tests.pl | 921 | # aren't flagged needs64 (they don't require 64-bit -- the opposite | COMMENT |
| LOW | tools/testgen/gen-insn-tests.pl | 941 | # they don't get captured into every stderr golden. | COMMENT |
| LOW | tools/testgen/gen-insn-tests.pl | 1001 | close($nfh); | COMMENT |
| LOW | tools/travis/nasm-t.py | 481 | return test_fail(desc['_test-name'], "stdout is not empty") | COMMENT |
| LOW | tools/travis/nasm-t.py | 581 | # | COMMENT |
| LOW | asm/preproc.c | 41 | #include "preproc.h" | COMMENT |
| LOW | asm/directiv.c | 1 | /* SPDX-License-Identifier: BSD-2-Clause */ | COMMENT |
| LOW | asm/tokhash.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | asm/parser.c | 1 | /* SPDX-License-Identifier: BSD-2-Clause */ | COMMENT |
| LOW | asm/nasm.c | 1 | /* SPDX-License-Identifier: BSD-2-Clause */ | COMMENT |
| LOW | asm/nasm.c | 21 | #include "parser.h" | COMMENT |
| LOW | config/msvc.h | 81 | COMMENT | |
| LOW | config/msvc.h | 161 | #define HAVE_STRNICMP 1 | COMMENT |
| LOW | config/msvc.h | 221 | nothing if this is not supported. Do not define if restrict is | COMMENT |
| LOW | config/watcom.h | 21 | #ifndef __LINUX__ | COMMENT |
| LOW | config/watcom.h | 41 | #define HAVE_STRCASECMP 1 | COMMENT |
| LOW | config/watcom.h | 61 | #else | COMMENT |
| LOW | config/unconfig.h | 1 | /* config/unconfig.h: autogenerated by tools/unconfig.pl */ | COMMENT |
| LOW | config/unconfig.h | 21 | COMMENT | |
| LOW | config/unconfig.h | 41 | # else | COMMENT |
| LOW | config/unconfig.h | 61 | COMMENT | |
| LOW | config/unconfig.h | 81 | # else | COMMENT |
| LOW | config/unconfig.h | 101 | COMMENT | |
| LOW | config/unconfig.h | 121 | # else | COMMENT |
| LOW | config/unconfig.h | 141 | COMMENT | |
| LOW | config/unconfig.h | 161 | # else | COMMENT |
| LOW | config/unconfig.h | 181 | COMMENT | |
| LOW | config/unconfig.h | 201 | # else | COMMENT |
| LOW | config/unconfig.h | 221 | COMMENT | |
| LOW | include/error.h | 81 | COMMENT | |
| LOW | include/error.h | 221 | COMMENT | |
| LOW | include/opflags.h | 101 | COMMENT | |
| LOW | include/opflags.h | 121 | #define STRICT GEN_MODIFIER(2) /* do not optimize this operand */ | COMMENT |
| LOW | include/opflags.h | 181 | #define RM_SEL (GEN_SUBCLASS(13) | REGMEM) /* valid segment selector */ | COMMENT |
| LOW | include/opflags.h | 201 | #define RM_XMM_L16 (REG_CLASS_RM_XMM | REGMEM | RN_L16 ) /* XMM operand reg 0-15 */ | COMMENT |
| LOW | include/opflags.h | 221 | #define TMMREG (REG_CLASS_RM_TMM | REG_EA ) /* TMM (AMX) register */ | COMMENT |
| LOW | include/opflags.h | 241 | COMMENT | |
| LOW | include/opflags.h | 261 | #define REG_RCX (REG_COUNT | REG64) | COMMENT |
| LOW | include/opflags.h | 281 | #define REG_NA (REG_GPR | REG_NZERO) | COMMENT |
| LOW | include/opflags.h | 301 | #define IMM_NORMAL (GEN_SUBCLASS(0) | IMMEDIATE) /* operand is NOT a brcconst */ | COMMENT |
| LOW | include/nasmint.h | 21 | # ifdef __LONG_LONG_MAX__ | COMMENT |
| LOW | include/nasmint.h | 141 | COMMENT | |
| LOW | include/nasmint.h | 161 | #define PRIo64 _pri64 "o" | COMMENT |
| LOW | include/nasmint.h | 181 | #define SCNd64 _scn64 "d" | COMMENT |
| LOW | include/nasmint.h | 201 | #define SCNx64 _scn64 "x" | COMMENT |
| 151 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/testgen/gen-insn-tests.pl | 87 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/testgen/gen-insn-tests.pl | 89 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/testgen/gen-insn-tests.pl | 140 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/testgen/gen-insn-tests.pl | 149 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/testgen/gen-insn-tests.pl | 165 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/testgen/gen-insn-tests.pl | 180 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/testgen/gen-insn-tests.pl | 384 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/testgen/gen-insn-tests.pl | 386 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/testgen/gen-insn-tests.pl | 504 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/testgen/gen-insn-tests.pl | 528 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/testgen/gen-insn-tests.pl | 620 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/testgen/gen-insn-tests.pl | 761 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/testgen/gen-insn-tests.pl | 764 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | doc/rdsrc.pl | 14 | # --------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/travis/nasm-t.py | 582 | # Create a new empty test case | COMMENT |
| MEDIUM | nasmlib/perfhash.pl | 54 | # Define the value to be returned if a string is not found | COMMENT |
| MEDIUM | doc/rdsrc.pl | 946 | # Create the navbar list | COMMENT |
| MEDIUM | doc/genps.pl | 168 | # Create a font path. At least some versions of Ghostscript | COMMENT |
| MEDIUM | doc/genps.pl | 188 | # Create a Fontmap. At least some versions of Ghostscript | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/travis/nasm-t.py | 205 | except: | CODE |
| HIGH | tools/travis/nasm-t.py | 527 | except lzma.LZMAError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/syncfiles.pl | 98 | # Write the file back out | COMMENT |
| LOW | tools/travis/nasm-t.py | 136 | # Check if descriptor has mandatory fields | COMMENT |
| LOW | doc/rdsrc.pl | 146 | # Read the file; pass a paragraph at a time to the paragraph processor. | COMMENT |
| LOW | doc/rdsrc.pl | 709 | # Open file. | COMMENT |
| LOW | doc/rdsrc.pl | 802 | # Close file. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/mkdep.pl | 8 | # Usage: | COMMENT |
| LOW | nasmlib/perfhash.pl | 10 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/testgen/gen-insn-tests.pl | 1168 | # Let the existing, already-battle-tested harness do the actual | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/travis/nasm-t.py | 209 | CODE | |
| LOW | tools/travis/nasm-t.py | 230 | CODE | |
| LOW | tools/travis/nasm-t.py | 414 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/travis/nasm-t.py | 223 | def collect_test_desc_from_file(path): | CODE |
| LOW | tools/travis/nasm-t.py | 230 | def collect_test_desc_from_dir(basedir): | CODE |