Repository Analysis

AsahiLinux/m1n1

A bootloader and experimentation playground for Apple Silicon

19.2 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of AsahiLinux/m1n1, a Python project with 4,192 GitHub stars. SynthScan v2.0 examined 113,756 lines of code across 471 source files, recording 1189 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 19.2 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

19.2
Adjusted Score
19.2
Raw Score
100%
Time Factor
2026-08-29
Last Push
4.2K
Stars
Python
Language
113.8K
Lines of Code
471
Files
1.2K
Pattern Hits
2026-08-29
Scan Date
0.27
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 36HIGH 92MEDIUM 29LOW 1032

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 1189 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Cross-Language Confusion92 hits · 549 pts
SeverityFileLineSnippetContext
HIGHproxyclient/experiments/agx_xtest.py229 rbuf.push()CODE
HIGHproxyclient/experiments/agx_parallel.py98 q.info.push()STRING
HIGHproxyclient/experiments/agx_parallel.py103 #q.info.push()STRING
HIGHproxyclient/experiments/agx_parallel.py108 #q.info.push()STRING
HIGHproxyclient/experiments/agx_parallel.py113 #q.info.push()STRING
HIGHproxyclient/experiments/agx_1tri.py178 stamp_ta1.push()CODE
HIGHproxyclient/experiments/agx_1tri.py183 stamp_ta2.push()CODE
HIGHproxyclient/experiments/agx_1tri.py190 stamp_3d1.push()CODE
HIGHproxyclient/experiments/agx_1tri.py195 stamp_3d2.push()CODE
HIGHproxyclient/experiments/agx_1tri.py204 event_control.push()CODE
HIGHproxyclient/experiments/agx_1tri.py254 buf_desc.push()CODE
HIGHproxyclient/experiments/agx_1tri.py278 wq_3d.submit(barrier_cmd.push())CODE
HIGHproxyclient/experiments/agx_1tri.py530 wc_3d.push()CODE
HIGHproxyclient/experiments/agx_1tri.py546 wc_initbm.push()CODE
HIGHproxyclient/experiments/agx_1tri.py759 wc_ta.push()CODE
HIGHproxyclient/experiments/agx_tlb.py34 agx.initdata.regionC.push()CODE
HIGHproxyclient/experiments/agx_tlb.py73 q.info.push()CODE
HIGHproxyclient/experiments/agx_tracetimings.py57 q.info.push()CODE
HIGHproxyclient/experiments/agx_tracetimings.py61 q.info.push()CODE
HIGHproxyclient/experiments/agx_cancel.py52dep_stamp.push()CODE
HIGHproxyclient/experiments/agx_cancel.py186buf.push()CODE
HIGHproxyclient/experiments/agx_deps.py66 q.info.push()CODE
HIGHproxyclient/m1n1/fw/dcp/ipc.py161 val2 = [nullobj if n else val for val, n in zip(val, null)]CODE
HIGHproxyclient/m1n1/fw/agx/initdata.py1068 Ver("V >= V13_0B4 && V < V13_3", "io_mappings" / Array(0x17, IOMapping)),CODE
HIGHproxyclient/m1n1/fw/agx/initdata.py1069 Ver("V >= V13_3 && V < V13_5B4", "io_mappings" / Array(0x18, IOMapping)),CODE
HIGHproxyclient/m1n1/fw/agx/initdata.py1203 Ver("G < G14X && V >= V13_5B4", "unk_c3c_8" / Default(HexDump(Bytes(0x10)), bytes(0x10))),CODE
HIGHproxyclient/m1n1/fw/agx/initdata.py1823 Ver("V >= V13_0B4 && V < V13_2", "unk_8000_0" / Int32ul),CODE
HIGHproxyclient/m1n1/fw/agx/initdata.py1894 Ver("G >= G14X && V < V13_3 || G <= G14 && V >= V13_3", "unk_x_pad" / ZPadding(4)),CODE
HIGHproxyclient/m1n1/fw/agx/initdata.py1894 Ver("G >= G14X && V < V13_3 || G <= G14 && V >= V13_3", "unk_x_pad" / ZPadding(4)),CODE
HIGHproxyclient/m1n1/fw/agx/microsequence.py94 Ver("V < V13_0B4 || G >= G14X", "unk_1c" / Int32ul),CODE
HIGHproxyclient/m1n1/fw/agx/microsequence.py478 Ver("G == G14 && V < V13_0B4", "unk_8c_g14" / Int64ul),CODE
HIGHproxyclient/m1n1/fw/agx/microsequence.py643 Ver("G == G14 && V < V13_0B4", "unk_6c_g14" / Int64ul),CODE
HIGHproxyclient/m1n1/fw/agx/microsequence.py791 Ver("G == G14 && V < V13_0B4", "unk_5c_g14" / Int64ul),CODE
HIGHproxyclient/m1n1/fw/agx/cmdqueue.py109 Ver("G >= G14 && V < V13_0B4", "unk_98_g14_0" / HexDump(Bytes(0x14))),CODE
HIGHproxyclient/m1n1/fw/agx/cmdqueue.py111 Ver("G >= G14 && V < V13_0B4", "unk_a8_g14_0" / ZPadding(4)),CODE
HIGHproxyclient/m1n1/fw/agx/cmdqueue.py544 Ver("V >= V13_2 && G < G14X", "unk_a0_0" / Int32ul),CODE
HIGHproxyclient/m1n1/fw/agx/cmdqueue.py548 Ver("V >= V13_2 && G < G14X", "unk_b0" / Int32ul),CODE
HIGHproxyclient/m1n1/fw/agx/channels.py11if Ver.check("G >= G14 && V >= V13_2 && G < G14X"):CODE
HIGHproxyclient/m1n1/fw/agx/channels.py26 Ver("G >= G14 && V >= V13_2 && G < G14X", ZPadding(0x10)),CODE
HIGHproxyclient/m1n1/fw/agx/channels.py57 Ver("G == G14 && V >= V13_2", ZPadding(0x10)),CODE
HIGHproxyclient/m1n1/fw/agx/channels.py71 Ver("G == G14 && V >= V13_2", ZPadding(0x10)),CODE
HIGHproxyclient/m1n1/fw/agx/channels.py84 Ver("G == G14 && V >= V13_2", ZPadding(0x10)),CODE
HIGHproxyclient/m1n1/fw/agx/channels.py92 Ver("G == G14 && V >= V13_2", ZPadding(0x10)),CODE
HIGHproxyclient/m1n1/fw/agx/channels.py102 Ver("G == G14 && V >= V13_2", ZPadding(0x10)),CODE
HIGHproxyclient/m1n1/fw/agx/channels.py109 Ver("G == G14 && V >= V13_2", ZPadding(0x10)),CODE
HIGHproxyclient/m1n1/fw/agx/channels.py116 Ver("G == G14 && V >= V13_2", ZPadding(0x10)),CODE
HIGHproxyclient/m1n1/fw/agx/channels.py127 Ver("G == G14 && V >= V13_2", ZPadding(0x10)),CODE
HIGHproxyclient/m1n1/fw/agx/channels.py134 Ver("G == G14 && V >= V13_2", ZPadding(0x10)),CODE
HIGHproxyclient/m1n1/fw/agx/channels.py143 Ver("G == G14 && V >= V13_2", ZPadding(0x10)),CODE
HIGHproxyclient/m1n1/fw/agx/channels.py150 Ver("G == G14 && V >= V13_2", ZPadding(0x10)),CODE
HIGHproxyclient/m1n1/fw/agx/channels.py157 Ver("G == G14 && V >= V13_2", ZPadding(0x10)),CODE
HIGHproxyclient/m1n1/fw/agx/channels.py160if Ver.check("G == G14 && V >= V13_2"):CODE
HIGHproxyclient/m1n1/agx/initdata.py478 if Ver.check("V >= V13_3 && G == G14X"):CODE
HIGHproxyclient/m1n1/agx/initdata.py480 elif Ver.check("V >= V13_3 && G != G14X"):CODE
HIGHproxyclient/m1n1/agx/initdata.py571 regionB.hwdata_a.push()CODE
HIGHproxyclient/m1n1/agx/initdata.py573 regionB.hwdata_b = hwdata.push()CODE
HIGHproxyclient/m1n1/agx/initdata.py623 initdata.regionB = regionB.push()CODE
HIGHproxyclient/m1n1/agx/initdata.py631 initdata.fw_status.push()CODE
HIGHproxyclient/m1n1/agx/initdata.py658 initdata.regionC.push()CODE
HIGHproxyclient/m1n1/agx/initdata.py659 initdata.push()CODE
32 more matches not shown…
Hallucination Indicators36 hits · 548 pts
SeverityFileLineSnippetContext
CRITICALrust/src/gpu/initdata.rs423 for (i, j) in raw.hws2.g14.curve2.t1.iter().enumerate() {CODE
CRITICALproxyclient/experiments/agx_parallel.py140 "ta_ts": t(agx.initdata.regionB.stats_ta.stats.addrof("unk_timestamp")),STRING
CRITICALproxyclient/experiments/agx_parallel.py203 #"3d_tvb_oflws_1": t(agx.initdata.regionB.stats_3d.stats.addrof("tvb_overflows_1")),STRING
CRITICALproxyclient/experiments/agx_parallel.py204 #"3d_tvb_oflws_2": t(agx.initdata.regionB.stats_3d.stats.addrof("tvb_overflows_2")),STRING
CRITICALproxyclient/experiments/agx_parallel.py205 "3d_cur_stamp_id": t(agx.initdata.regionB.stats_3d.stats.addrof("cur_stamp_id")),STRING
CRITICALproxyclient/experiments/agx_parallel.py206 "3d_ts": t(agx.initdata.regionB.stats_3d.stats.addrof("unk_timestamp")),STRING
CRITICALproxyclient/experiments/agx_parallel.py207 #"3d_cur_stamp_id": t(agx.initdata.regionB.stats_3d.stats.addrof("cur_stamp_id")),STRING
CRITICALproxyclient/experiments/agx_tlb.py95 "ta_ts": t(agx.initdata.regionB.stats_ta.stats.addrof("unk_timestamp")),CODE
CRITICALproxyclient/experiments/agx_tlb.py158 #"3d_cq": t(agx.initdata.regionB.stats_3d.stats.addrof("cur_cmdqueue")),COMMENT
CRITICALproxyclient/experiments/agx_tlb.py159 #"3d_tvb_oflws_1": t(agx.initdata.regionB.stats_3d.stats.addrof("tvb_overflows_1")),COMMENT
CRITICALproxyclient/experiments/agx_tlb.py160 #"3d_tvb_oflws_2": t(agx.initdata.regionB.stats_3d.stats.addrof("tvb_overflows_2")),COMMENT
CRITICALproxyclient/experiments/agx_tlb.py161 #"3d_cur_stamp_id": t(agx.initdata.regionB.stats_3d.stats.addrof("cur_stamp_id")),COMMENT
CRITICALproxyclient/experiments/agx_tlb.py162 "3d_ts": t(agx.initdata.regionB.stats_3d.stats.addrof("unk_timestamp")),CODE
CRITICALproxyclient/experiments/agx_tracetimings.py104 "ta_ts": t(agx.initdata.regionB.stats_ta.stats.addrof("unk_timestamp")),CODE
CRITICALproxyclient/experiments/agx_tracetimings.py106 "3d_tvb_oflws_1": t(agx.initdata.regionB.stats_3d.stats.addrof("tvb_overflows_1")),CODE
CRITICALproxyclient/experiments/agx_tracetimings.py107 "3d_tvb_oflws_2": t(agx.initdata.regionB.stats_3d.stats.addrof("tvb_overflows_2")),CODE
CRITICALproxyclient/experiments/agx_tracetimings.py108 "3d_cur_stamp_id": t(agx.initdata.regionB.stats_3d.stats.addrof("cur_stamp_id")),CODE
CRITICALproxyclient/experiments/agx_tracetimings.py109 "3d_ts": t(agx.initdata.regionB.stats_3d.stats.addrof("unk_timestamp")),CODE
CRITICALproxyclient/experiments/agx_cancel.py66 "ta_ts": t(agx.initdata.regionB.stats_ta.stats.addrof("unk_timestamp")),CODE
CRITICALproxyclient/experiments/agx_cancel.py129 #"3d_tvb_oflws_1": t(agx.initdata.regionB.stats_3d.stats.addrof("tvb_overflows_1")),COMMENT
CRITICALproxyclient/experiments/agx_cancel.py130 #"3d_tvb_oflws_2": t(agx.initdata.regionB.stats_3d.stats.addrof("tvb_overflows_2")),COMMENT
CRITICALproxyclient/experiments/agx_cancel.py131 "3d_cur_stamp_id": t(agx.initdata.regionB.stats_3d.stats.addrof("cur_stamp_id")),CODE
CRITICALproxyclient/experiments/agx_cancel.py132 "3d_ts": t(agx.initdata.regionB.stats_3d.stats.addrof("unk_timestamp")),CODE
CRITICALproxyclient/experiments/agx_cancel.py133 #"3d_cur_stamp_id": t(agx.initdata.regionB.stats_3d.stats.addrof("cur_stamp_id")),COMMENT
CRITICALproxyclient/experiments/agx_deps.py97 "ta_ts": t(agx.initdata.regionB.stats_ta.stats.addrof("unk_timestamp")),CODE
CRITICALproxyclient/experiments/agx_deps.py160 #"3d_tvb_oflws_1": t(agx.initdata.regionB.stats_3d.stats.addrof("tvb_overflows_1")),COMMENT
CRITICALproxyclient/experiments/agx_deps.py161 #"3d_tvb_oflws_2": t(agx.initdata.regionB.stats_3d.stats.addrof("tvb_overflows_2")),COMMENT
CRITICALproxyclient/experiments/agx_deps.py162 "3d_cur_stamp_id": t(agx.initdata.regionB.stats_3d.stats.addrof("cur_stamp_id")),CODE
CRITICALproxyclient/experiments/agx_deps.py163 "3d_ts": t(agx.initdata.regionB.stats_3d.stats.addrof("unk_timestamp")),CODE
CRITICALproxyclient/experiments/agx_deps.py164 #"3d_cur_stamp_id": t(agx.initdata.regionB.stats_3d.stats.addrof("cur_stamp_id")),COMMENT
CRITICALproxyclient/m1n1/hv/gdbserver/__init__.py196 reg = GDBServer.__g.regs.subcon.subcon.build(self.__hv.ctx.regs[number])CODE
CRITICALproxyclient/m1n1/hv/gdbserver/__init__.py198 reg = GDBServer.__g.regs.subcon.subcon.build(self.__hv.ctx.sp[1])CODE
CRITICALproxyclient/m1n1/hv/gdbserver/__init__.py204 reg = GDBServer.__g.q.subcon.subcon.build(self.__hv.u.q[number - 34])CODE
CRITICALproxyclient/m1n1/hv/gdbserver/__init__.py220 self.__hv.ctx.regs[number] = GDBServer.__g.regs.subcon.subcon.unpack(reg)CODE
CRITICALproxyclient/m1n1/hv/gdbserver/__init__.py222 self.__hv.ctx.regs[1] = GDBServer.__g.regs.subcon.subcon.unpack(reg)CODE
CRITICALproxyclient/m1n1/hv/gdbserver/__init__.py228 self.__hv.u.q[number - 34] = GDBServer.__g.q.subcon.subcon.parse(reg)CODE
Unused Imports552 hits · 547 pts
SeverityFileLineSnippetContext
LOWtools/gen_reg_class.py1CODE
LOWtools/gen_reg_include.py1CODE
LOWproxyclient/tools/pmgr_adt2dt.py4CODE
LOWproxyclient/tools/run_guest.py34CODE
LOWproxyclient/tools/run_guest.py35CODE
LOWproxyclient/tools/run_guest.py36CODE
LOWproxyclient/tools/run_guest.py38CODE
LOWproxyclient/tools/shell.py6CODE
LOWproxyclient/tools/freebsd.py29CODE
LOWproxyclient/tools/reset_panic_counter.py6CODE
LOWproxyclient/tools/second_proxy.py4CODE
LOWproxyclient/tools/second_proxy.py7CODE
LOWproxyclient/tools/admac_stream.py4CODE
LOWproxyclient/tools/admac_stream.py9CODE
LOWproxyclient/tools/codecshell.py12CODE
LOWproxyclient/tools/codecshell.py15CODE
LOWproxyclient/tools/smccli.py6CODE
LOWproxyclient/tools/chainload.py6CODE
LOWproxyclient/tools/chainload.py19CODE
LOWproxyclient/tools/ishell.py8CODE
LOWproxyclient/tools/reboot.py6CODE
LOWproxyclient/tools/pmp_assist.py4CODE
LOWproxyclient/tools/dump_pmgr.py7CODE
LOWproxyclient/tools/linux.py21CODE
LOWproxyclient/hv/trace_avd.py4CODE
LOWproxyclient/hv/trace_avd.py79CODE
LOWproxyclient/hv/trace_agx_pwr.py4CODE
LOWproxyclient/hv/trace_agx_pwr.py5CODE
LOWproxyclient/hv/trace_agx.py4CODE
LOWproxyclient/hv/trace_agx.py5CODE
LOWproxyclient/hv/trace_wlan.py2CODE
LOWproxyclient/hv/trace_wlan.py8CODE
LOWproxyclient/hv/trace_wlan.py11CODE
LOWproxyclient/hv/trace_dcp.py11CODE
LOWproxyclient/hv/trace_dcp.py14CODE
LOWproxyclient/hv/trace_dcp.py15CODE
LOWproxyclient/hv/trace_pmgr.py3CODE
LOWproxyclient/hv/trace_pmgr.py5CODE
LOWproxyclient/hv/trace_pmgr.py6CODE
LOWproxyclient/hv/trace_pmgr.py7CODE
LOWproxyclient/hv/trace_pmgr.py9CODE
LOWproxyclient/hv/trace_pmgr.py10CODE
LOWproxyclient/hv/trace_pmgr.py11CODE
LOWproxyclient/hv/trace_nvme.py3CODE
LOWproxyclient/hv/trace_nvme.py7CODE
LOWproxyclient/hv/trace_nvme.py8CODE
LOWproxyclient/hv/trace_codecs.py3CODE
LOWproxyclient/hv/trace_codecs.py5CODE
LOWproxyclient/hv/trace_prores.py3CODE
LOWproxyclient/hv/trace_prores.py4CODE
LOWproxyclient/hv/trace_aop.py3CODE
LOWproxyclient/hv/trace_aop.py6CODE
LOWproxyclient/hv/trace_aop.py7CODE
LOWproxyclient/hv/trace_aop.py8CODE
LOWproxyclient/hv/trace_aop.py9CODE
LOWproxyclient/hv/trace_aop.py10CODE
LOWproxyclient/hv/trace_aop.py12CODE
LOWproxyclient/hv/trace_smc.py5CODE
LOWproxyclient/hv/trace_smc.py7CODE
LOWproxyclient/hv/trace_smc.py8CODE
492 more matches not shown…
Over-Commented Block277 hits · 258 pts
SeverityFileLineSnippetContext
LOWrequirements.txt1#COMMENT
LOWconfig.h1/* SPDX-License-Identifier: MIT */COMMENT
LOWconfig.h21// Target for device-specific debug buildsCOMMENT
LOWtools/kmutil.py1#!/usr/bin/env python3COMMENT
LOWrust/src/float.rs1// SPDX-License-Identifier: GPL-2.0-only OR MITCOMMENT
LOWrust/src/float.rs41 /// Convert a raw 32-bit representation into an F32COMMENT
LOWrust/src/lib.rs1// SPDX-License-Identifier: MITCOMMENT
LOWrust/src/usb4.rs41 // uuid[5],COMMENT
LOWrust/src/gpu/hw/mod.rs41 // G5G = 2,COMMENT
LOWsysinc/limits.h1/* SPDX-License-Identifier: MIT */COMMENT
LOWsysinc/endian.h1/* SPDX-License-Identifier: MIT */COMMENT
LOWsysinc/math.h1/* SPDX-License-Identifier: MIT */COMMENT
LOWproxyclient/tools/freebsd.py1#!/usr/bin/env python3COMMENT
LOWproxyclient/hv/trace_avd.py1# SPDX-License-Identifier: MITCOMMENT
LOWproxyclient/hv/trace_avd.py21# traced data and merely log the IPC transactions.COMMENT
LOWproxyclient/hv/trace_avd.py41# h265/*COMMENT
LOWproxyclient/hv/trace_avd.py61# The "frame" is the macOS source frame_params struct, and this directory is theCOMMENT
LOWproxyclient/experiments/sprr_test_permissions.py121el2_vectors = setup_exception_vectors(u.heap, gxf=False)COMMENT
LOWproxyclient/experiments/dcp.py21compat = u.adt[disp_name].compatible[0].split(",")[-1]COMMENT
LOWproxyclient/experiments/dcp.py41 ##mon.add(0x230852000, 0x5000) # big curve / gamma tableCOMMENT
LOWproxyclient/experiments/agx_parallel.py101 #for q in (r.wq_3d, r.wq_ta):COMMENT
LOWproxyclient/experiments/agx_parallel.py161 "tgt_pstate": t(agx.initdata.regionB.hwdata_a.addrof("tgt_pstate")),COMMENT
LOWproxyclient/experiments/agx_parallel.py301COMMENT
LOWproxyclient/experiments/agx_1tri.py81 ctx_id = 3COMMENT
LOWproxyclient/experiments/agx_1tri.py581 #wc_ta.tiling_params.unk_4 = 0x88COMMENT
LOWproxyclient/experiments/agx_cancel.py81 #"pwr_mw": t(agx.initdata.regionB.hwdata_a.addrof("avg_power_mw")),COMMENT
LOWproxyclient/experiments/agx_cancel.py201COMMENT
LOWproxyclient/experiments/mtp.py61 for i in range(256):COMMENT
LOWproxyclient/experiments/mtp.py81 #print(f"{m.command:#x} {m.args.hex()}")COMMENT
LOWproxyclient/experiments/aic_test.py141COMMENT
LOWproxyclient/experiments/aic_test.py221 #str w2, [x1, #0x20]COMMENT
LOWproxyclient/experiments/agx_deps.py101for i in range(5):COMMENT
LOWproxyclient/experiments/agx_deps.py121 #"unk_48": t(agx.initdata.regionB.hwdata_a.addrof("unk_48")),COMMENT
LOWproxyclient/m1n1/proxy.py101# 4 byte command, 48 byte null padded data + 4 byte checksumCOMMENT
LOWproxyclient/m1n1/utils.py961COMMENT
LOWproxyclient/m1n1/trace/agx.py941COMMENT
LOWproxyclient/m1n1/trace/agx.py1061 cmd3d = iCOMMENT
LOWproxyclient/m1n1/trace/agx.py1101 #chexdump(kread(cmdfin.unkptr_24, 0x100), print_fn=self.log)COMMENT
LOWproxyclient/m1n1/hw/dockchannel.py1# SPDX-License-Identifier: MITCOMMENT
LOWproxyclient/m1n1/hw/prores.py1# SPDX-License-Identifier: MITCOMMENT
LOWproxyclient/m1n1/fw/agx/microsequence.py681 "unk_1c" / Int64ul,COMMENT
LOWproxyclient/m1n1/fw/agx/microsequence.py1141COMMENT
LOWsrc/smc.c1/* SPDX-License-Identifier: MIT */COMMENT
LOWsrc/proxy.c1/* SPDX-License-Identifier: MIT */COMMENT
LOWsrc/proxy.c21#include "smp.h"COMMENT
LOWsrc/utils.h1/* SPDX-License-Identifier: MIT */COMMENT
LOWsrc/fb.c1/* SPDX-License-Identifier: MIT */COMMENT
LOWsrc/tps6598x.c1/* SPDX-License-Identifier: MIT */COMMENT
LOWsrc/display.c1/* SPDX-License-Identifier: MIT */COMMENT
LOWsrc/usb_types.h1/* SPDX-License-Identifier: MIT */COMMENT
LOWsrc/usb_types.h21#define USB_REQUEST_TYPE_RECIPIENT_INTERFACE 1COMMENT
LOWsrc/usb_types.h101#define USB_CDC_INTERFACE_FUNCTIONAL_DESCRIPTOR 0x24COMMENT
LOWsrc/kboot_gpu.c1/* SPDX-License-Identifier: MIT */COMMENT
LOWsrc/kboot_atc.c1#include <assert.h>COMMENT
LOWsrc/kboot_atc.c21COMMENT
LOWsrc/memory.c1/* SPDX-License-Identifier: MIT */COMMENT
LOWsrc/memory.c61#define VADDR_L3_INDEX_BITS (is_16k() ? 11 : 9)COMMENT
LOWsrc/uartproxy.c61#define ST_OK 0COMMENT
LOWsrc/hv_virtio.c1/* SPDX-License-Identifier: MIT */COMMENT
LOWsrc/hv_virtio.c21#define QNOTIFY 0x050COMMENT
217 more matches not shown…
Deep Nesting81 hits · 77 pts
SeverityFileLineSnippetContext
LOWtools/kmutil.py64CODE
LOWtools/reg2json.py18CODE
LOWproxyclient/hv/trace_avd.py150CODE
LOWproxyclient/hv/trace_wlan.py538CODE
LOWproxyclient/hv/trace_dcp.py306CODE
LOWproxyclient/hv/trace_aop.py257CODE
LOWproxyclient/hv/trace_smc.py64CODE
LOWproxyclient/hv/trace_mtp.py116CODE
LOWproxyclient/hv/trace_z2.py85CODE
LOWproxyclient/hv/trace_z2.py122CODE
LOWproxyclient/hv/trace_keyboard.py125CODE
LOWproxyclient/experiments/hacr_trap_bits.py61CODE
LOWproxyclient/experiments/agx_1tri.py45CODE
LOWproxyclient/experiments/pmp_init.py205CODE
LOWproxyclient/m1n1/sysreg.py9CODE
LOWproxyclient/m1n1/find_regs.py9CODE
LOWproxyclient/m1n1/find_regs.py24CODE
LOWproxyclient/m1n1/gpiola.py164CODE
LOWproxyclient/m1n1/constructutils.py17CODE
LOWproxyclient/m1n1/constructutils.py146CODE
LOWproxyclient/m1n1/constructutils.py286CODE
LOWproxyclient/m1n1/constructutils.py417CODE
LOWproxyclient/m1n1/constructutils.py512CODE
LOWproxyclient/m1n1/constructutils.py628CODE
LOWproxyclient/m1n1/constructutils.py642CODE
LOWproxyclient/m1n1/proxy.py140CODE
LOWproxyclient/m1n1/proxy.py260CODE
LOWproxyclient/m1n1/shell.py132CODE
LOWproxyclient/m1n1/xnutools.py50CODE
LOWproxyclient/m1n1/xnutools.py95CODE
LOWproxyclient/m1n1/loadobjs.py127CODE
LOWproxyclient/m1n1/proxyutils.py198CODE
LOWproxyclient/m1n1/ishell.py96CODE
LOWproxyclient/m1n1/utils.py56CODE
LOWproxyclient/m1n1/utils.py383CODE
LOWproxyclient/m1n1/utils.py442CODE
LOWproxyclient/m1n1/adt.py374CODE
LOWproxyclient/m1n1/adt.py494CODE
LOWproxyclient/m1n1/adt.py672CODE
LOWproxyclient/m1n1/malloc.py29CODE
LOWproxyclient/m1n1/trace/agx.py757CODE
LOWproxyclient/m1n1/trace/agx.py919CODE
LOWproxyclient/m1n1/trace/agx.py1036CODE
LOWproxyclient/m1n1/trace/agx.py1160CODE
LOWproxyclient/m1n1/trace/agx.py1383CODE
LOWproxyclient/m1n1/trace/isp.py138CODE
LOWproxyclient/m1n1/trace/isp.py194CODE
LOWproxyclient/m1n1/trace/i2c.py66CODE
LOWproxyclient/m1n1/trace/spmi.py82CODE
LOWproxyclient/m1n1/trace/spmi.py310CODE
LOWproxyclient/m1n1/hw/dart8020.py292CODE
LOWproxyclient/m1n1/hw/dart8110.py482CODE
LOWproxyclient/m1n1/hw/uat.py349CODE
LOWproxyclient/m1n1/hw/pmu.py28CODE
LOWproxyclient/m1n1/hw/pmu.py45CODE
LOWproxyclient/m1n1/hv/__init__.py291CODE
LOWproxyclient/m1n1/hv/__init__.py397CODE
LOWproxyclient/m1n1/hv/__init__.py469CODE
LOWproxyclient/m1n1/hv/__init__.py642CODE
LOWproxyclient/m1n1/hv/__init__.py741CODE
21 more matches not shown…
Hyper-Verbose Identifiers55 hits · 62 pts
SeverityFileLineSnippetContext
LOWtools/kmutil.py58class KmutilHTTPRequestHandler(BaseHTTPRequestHandler):STRING
LOW…sts/python/test_proxyclient/test_m1n1/test_loadobjs.py22def test_tool_output_lines_exception(capfd: pytest.CaptureFixture[str], fx_toolchain, fx_loadobjs_nm_error):CODE
LOWproxyclient/hv/trace_dcp.py1193 def apcall_max_drive_settings(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1197 def apcall_max_drive_settings_ack(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1202 def apcall_set_drive_settings(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1206 def apcall_set_drive_settings_ack(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1211 def apcall_get_drive_settings(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1215 def apcall_get_drive_settings_ack(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1220 def apcall_will_change_link_cfg(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1224 def apcall_will_change_link_cfg_ack(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1229 def apcall_did_change_link_cfg(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1233 def apcall_did_change_link_cfg_ack(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1269 def apcall_max_lane_count_ack(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1274 def apcall_get_active_lane_count(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1278 def apcall_get_active_lane_count_ack(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1283 def apcall_set_active_lane_count(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1287 def apcall_set_active_lane_count_ack(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1292 def apcall_supports_downspread(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1296 def apcall_supports_downspread_ack(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1305 def apcall_get_downspread_ack(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1314 def apcall_set_downspread_ack(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1323 def apcall_supports_lane_map_ack(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1368 def apcall_set_tiled_hints_ack(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1373 def apcall_dev_not_responding(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1377 def apcall_dev_not_responding_ack(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1386 def apcall_dev_busy_timeout_ack(self, data):CODE
LOWproxyclient/hv/trace_dcp.py1395 def apcall_dev_not_started_ack(self, data):CODE
LOWproxyclient/m1n1/proxy.py1106 def tunables_apply_local_addr(self, path, prop, base):CODE
LOWproxyclient/m1n1/utils.py224def set_sigquit_stackdump_handler():CODE
LOWproxyclient/m1n1/fw/dcp/manager.py117 def swap_complete_intent_gated(self, swap_id, unkB, unkInt, width, height):CODE
LOWproxyclient/m1n1/fw/dcp/manager.py122 def enable_backlight_message_ap_gated(self, unkB):CODE
LOWproxyclient/m1n1/fw/dcp/manager.py222 def create_default_fb_surface(self, width, height):CODE
LOWproxyclient/m1n1/fw/dcp/manager.py247 def update_backlight_factor_prop(self, value):CODE
LOWproxyclient/m1n1/fw/dcp/manager.py258 def update_backlight_factor_prop(self, unk):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py310 def cmd_ch_camera_config_select(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py356 def cmd_ch_buffer_recycle_mode_set(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py377 def cmd_ch_buffer_recycle_start(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py395 def cmd_ch_buffer_pool_config_set(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py427 def cmd_ch_buffer_recycle_stop(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py445 def cmd_ch_camera_agile_freq_array_current_get(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py550 def cmd_ch_preview_stream_set(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py619 def cmd_apple_ch_temporal_filter_start(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py647 def cmd_apple_ch_motion_history_start(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py667 def cmd_apple_ch_temporal_filter_enable(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py687 def cmd_apple_ch_ae_fd_scene_metering_config_set(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py727 def cmd_apple_ch_ae_metering_mode_set(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py767 def cmd_ch_ae_stability_to_stable_set(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py787 def cmd_ch_sif_pixel_format_set(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py813 def cmd_ch_face_detection_config_get(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py843 def cmd_ch_face_detection_config_set(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py874 def cmd_ch_face_detection_enable(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py894 def cmd_ch_face_detection_start(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py912 def cmd_ch_camera_config_current_get(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py948 def cmd_ch_ae_frame_rate_max_set(self):CODE
LOWproxyclient/m1n1/fw/isp/isp_cmd.py971 def cmd_ch_ae_frame_rate_min_set(self):CODE
Excessive Try-Catch Wrapping31 hits · 42 pts
SeverityFileLineSnippetContext
LOWproxyclient/hv/trace_avd.py115 except Exception as e:CODE
LOWproxyclient/hv/trace_avd.py122 except Exception as e:CODE
MEDIUMproxyclient/hv/trace_avd.py112def readmem_iova(addr, size, readfn=None):CODE
MEDIUMproxyclient/hv/trace_avd.py119def readmem_iova(addr, size, readfn=None):CODE
MEDIUMproxyclient/hv/trace_dcp.py1439def readmem_iova(addr, size, readfn):CODE
LOWproxyclient/hv/trace_dcp.py1442 except Exception as e:CODE
LOWproxyclient/hv/trace_pmgr.py35 except Exception as e:CODE
MEDIUMproxyclient/hv/trace_pmgr.py32def readmem_iova(addr, size):CODE
LOWproxyclient/hv/trace_mesa.py70 except Exception as e:CODE
MEDIUMproxyclient/hv/trace_mesa.py67def readmem_iova(addr, size, readfn=None):CODE
LOWproxyclient/hv/trace_pmp.py125 except Exception as e:CODE
MEDIUMproxyclient/hv/trace_pmp.py122def readmem_iova(addr, size, readfn=None):CODE
LOWproxyclient/hv/trace_keyboard.py79 except Exception as e:CODE
MEDIUMproxyclient/hv/trace_keyboard.py76def readmem_iova(addr, size):CODE
LOWproxyclient/m1n1/constructutils.py120 except Exception as e:CODE
LOWproxyclient/m1n1/constructutils.py256 except Exception as e:CODE
MEDIUMproxyclient/m1n1/constructutils.py115def _decode(self, obj, context, path):CODE
LOWproxyclient/m1n1/shell.py54 except Exception as e:CODE
LOWproxyclient/m1n1/ishell_ext.py15 except Exception as e:CODE
LOWproxyclient/m1n1/adt.py545 except Exception as e:CODE
MEDIUMproxyclient/m1n1/adt.py873 print('Error "{}" exists!'.format(args.input))CODE
LOWproxyclient/m1n1/trace/agx.py913 except Exception:CODE
LOWproxyclient/m1n1/hv/__init__.py369 except Exception:CODE
LOWproxyclient/m1n1/hv/__init__.py977 except Exception as e:CODE
LOWproxyclient/m1n1/hv/gdbserver/__init__.py452 except Exception:CODE
LOWproxyclient/m1n1/fw/dcp/manager.py45 except Exception as e:CODE
LOWproxyclient/m1n1/fw/afk/epic.py162 except Exception as e:CODE
LOWproxyclient/m1n1/fw/avd/__init__.py48 except Exception as e:CODE
LOWproxyclient/m1n1/fw/avd/__init__.py54 except Exception as e:CODE
MEDIUMproxyclient/m1n1/fw/avd/__init__.py45def readmem_iova(addr, size, readfn=None):CODE
MEDIUMproxyclient/m1n1/fw/avd/__init__.py51def readmem_iova1(addr, size, readfn=None):CODE
Modern Structural Boilerplate39 hits · 39 pts
SeverityFileLineSnippetContext
LOWproxyclient/m1n1/sysreg.py7__all__ = ["sysreg_fwd", "sysreg_rev"]CODE
LOWproxyclient/m1n1/macho.py9__all__ = ["MachO"]CODE
LOWproxyclient/m1n1/find_regs.py7__all__ = ["dynamic_regs", "impdef_regs", "static_regs", "find_regs"]CODE
LOWproxyclient/m1n1/constructutils.py898__all__ = ["ConstructClass", "ConstructValueClass", "Dec", "ROPointer", "show_struct_trace", "ZPadding", "Ver", "Bool", CODE
LOWproxyclient/m1n1/proxy.py11__all__ = ["REGION_RWX_EL0", "REGION_RW_EL0", "REGION_RX_EL1"]CODE
LOWproxyclient/m1n1/shell.py13__all__ = ["ExitConsole", "run_shell"]CODE
LOWproxyclient/m1n1/xnutools.py5__all__ = []CODE
LOWproxyclient/m1n1/loadobjs.py10__all__ = ["LinkedProgram"]CODE
LOWproxyclient/m1n1/proxyutils.py14__all__ = ["ProxyUtils", "RegMonitor", "GuardedHeap", "bootstrap_port"]CODE
LOWproxyclient/m1n1/asm.py6__all__ = ["AsmException", "ARMAsm"]CODE
LOWproxyclient/m1n1/ishell.py18__all__ = ["run_ishell"]CODE
LOWproxyclient/m1n1/utils.py6__all__ = ["FourCC"]CODE
LOWproxyclient/m1n1/tgtypes.py4__all__ = ["BootArgs_r1", "BootArgs_r2", "BootArgs_r3"]CODE
LOWproxyclient/m1n1/adt.py8__all__ = ["load_adt"]CODE
LOWproxyclient/m1n1/toolchain.py15__all__ = ["Toolchain"]CODE
LOWproxyclient/m1n1/malloc.py4__all__ = ["Heap"]CODE
LOWproxyclient/m1n1/trace/__init__.py6__all__ = []CODE
LOWproxyclient/m1n1/hw/agx.py5__all__ = ["SGXRegs", "SGXRegsT602X", "SGXInfoRegs", "agx_decode_unit", "R_FAULT_INFO"]CODE
LOWproxyclient/m1n1/hw/dockchannel.py6__all__ = ["DockChannel"]CODE
LOWproxyclient/m1n1/hw/i2c.py5__all__ = ["I2C", "I2CRegs"]CODE
LOWproxyclient/m1n1/hw/dart.py12__all__ = ["DART"]CODE
LOWproxyclient/m1n1/hw/nco.py3__all__ = ["NCO"]CODE
LOWproxyclient/m1n1/hw/dart8020.py9__all__ = ["DART8020Regs", "DART8020"]CODE
LOWproxyclient/m1n1/hw/dart8110.py9__all__ = ["DART8110Regs", "DART8110"]CODE
LOWproxyclient/m1n1/hw/uat.py19__all__ = []CODE
LOWproxyclient/m1n1/hw/pmu.py8__all__ = ["PMU"]CODE
LOWproxyclient/m1n1/hw/admac.py6__all__ = ["ADMACRegs", "ADMAC", "E_BUSWIDTH", "E_FRAME"]CODE
LOWproxyclient/m1n1/hw/spmi.py7__all__ = ["SPMI"]CODE
LOWproxyclient/m1n1/hw/spi.py4__all__ = ["SPIRegs"]CODE
LOWproxyclient/m1n1/hv/__init__.py19__all__ = ["HV"]CODE
LOWproxyclient/m1n1/hv/types.py7__all__ = [CODE
LOWproxyclient/m1n1/hv/gdbserver/__init__.py11__all__ = ["GDBServer"]CODE
LOWproxyclient/m1n1/fw/asc/__init__.py13__all__ = []CODE
LOWproxyclient/m1n1/fw/agx/initdata.py8__all__ = []CODE
LOWproxyclient/m1n1/fw/agx/microsequence.py23__all__ = []CODE
LOWproxyclient/m1n1/fw/agx/__init__.py10__all__ = []CODE
LOWproxyclient/m1n1/fw/agx/cmdqueue.py7__all__ = []CODE
LOWproxyclient/m1n1/fw/agx/channels.py9__all__ = ["channelNames", "channelRings", "DeviceControlMsg", "EventMsg", "StatsMsg", "StatsSize"]CODE
LOWproxyclient/m1n1/agx/uapi.py7__all__ = []CODE
Slop Phrases6 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMproxyclient/experiments/jpeg.py259 # for demonstration purposes onlyCOMMENT
MEDIUMproxyclient/experiments/jpeg.py264 # for demonstration purposes onlyCOMMENT
MEDIUMproxyclient/experiments/jpeg.py273 # for demonstration purposes onlyCOMMENT
MEDIUMproxyclient/experiments/jpeg.py279 # for demonstration purposes onlyCOMMENT
MEDIUMproxyclient/experiments/jpeg.py294 # for demonstration purposes onlyCOMMENT
MEDIUMproxyclient/experiments/jpeg.py807 # Just for demonstration purposes, wrangle everything back into RGBCOMMENT
Dead Code8 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMproxyclient/m1n1/trace/agx.py896CODE
MEDIUMproxyclient/m1n1/trace/agx.py897CODE
MEDIUMproxyclient/m1n1/trace/agx.py898CODE
MEDIUMproxyclient/m1n1/trace/agx.py900CODE
MEDIUMproxyclient/m1n1/trace/agx.py901CODE
MEDIUMproxyclient/m1n1/trace/agx.py1439CODE
MEDIUMproxyclient/m1n1/trace/agx.py1440CODE
MEDIUMproxyclient/m1n1/fw/asc/crash.py324CODE
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMproxyclient/m1n1/fw/isp/isp_base.py290 # =============================================================================COMMENT
MEDIUMproxyclient/m1n1/fw/isp/isp_base.py318 # =============================================================================COMMENT
MEDIUMproxyclient/m1n1/fw/isp/isp_base.py349 # =============================================================================COMMENT
MEDIUMproxyclient/m1n1/fw/isp/isp_base.py398 # =============================================================================COMMENT
AI Structural Patterns6 hits · 6 pts
SeverityFileLineSnippetContext
LOWproxyclient/experiments/aes.py85CODE
LOWproxyclient/m1n1/adt.py783CODE
LOWproxyclient/m1n1/fw/avd/__init__.py292CODE
LOWproxyclient/m1n1/fw/isp/__init__.py75CODE
LOWproxyclient/m1n1/fw/isp/__init__.py82CODE
LOWproxyclient/m1n1/fw/isp/isp_base.py151CODE
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWproxyclient/hv/trace_avd.py50# The input bitstream is hopefully the matching one as the directory name just set.COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWproxyclient/experiments/avd.py16 # Usage:COMMENT