Repository Analysis

NVIDIA/open-gpu-kernel-modules

NVIDIA Linux open GPU kernel module source

6.0 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of NVIDIA/open-gpu-kernel-modules, a C project with 17,162 GitHub stars. SynthScan v2.0 examined 1,491,818 lines of code across 3337 source files, recording 11215 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 6.0 places this repository in the Low 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).

6.0
Adjusted Score
6.0
Raw Score
100%
Time Factor
2026-07-07
Last Push
17.2K
Stars
C
Language
1.5M
Lines of Code
3.3K
Files
11.2K
Pattern Hits
2026-07-14
Scan Date
0.00
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

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

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 0HIGH 6MEDIUM 26LOW 11183

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 11215 distinct pattern matches across 13 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.

Over-Commented Block11106 hits · 8709 pts
SeverityFileLineSnippetContext
LOWnv-compiler.sh1#!/bin/shCOMMENT
LOWkernel-open/conftest.sh41 # sufficient to check for CONFIG_XEN, but the introduction ofCOMMENT
LOWkernel-open/conftest.sh61 while read LINE; doCOMMENT
LOWkernel-open/conftest.sh181 # Older kernels perform this check and set this flag in Kbuild, and sinceCOMMENT
LOWkernel-open/conftest.sh221 #include <linux/kconfig.h>COMMENT
LOWkernel-open/conftest.sh501 # Determine if the set_memory_uc() function is present.COMMENT
LOWkernel-open/conftest.sh521 ;;COMMENT
LOWkernel-open/conftest.sh581COMMENT
LOWkernel-open/conftest.sh601 }"COMMENT
LOWkernel-open/conftest.sh621 #include <linux/percpu.h>COMMENT
LOWkernel-open/conftest.sh741 ;;COMMENT
LOWkernel-open/conftest.sh781 # Determine if mdev_get_type_group_id() function is present or notCOMMENT
LOWkernel-open/conftest.sh801 # Determine if vfio_device_mig_state enum is present or notCOMMENT
LOWkernel-open/conftest.sh881 # Determine if the struct mdev_parent_ops type is present.COMMENT
LOWkernel-open/conftest.sh901 #COMMENT
LOWkernel-open/conftest.sh921 # Removed by commit 062e720cd20 ("vfio/mdev: removeCOMMENT
LOWkernel-open/conftest.sh941 CODE="COMMENT
LOWkernel-open/conftest.sh1041 # Determine if 'vfio_device_ops' struct has 'dma_unmap' field.COMMENT
LOWkernel-open/conftest.sh1081 #include <linux/pci.h>COMMENT
LOWkernel-open/conftest.sh1141 compile_check_conftest "$CODE" "NV_IRQ_BYPASS_PRODUCER_HAS_TOKEN" "" "types"COMMENT
LOWkernel-open/conftest.sh1281 #if defined(NV_LINUX_VFIO_PCI_CORE_H_PRESENT)COMMENT
LOWkernel-open/conftest.sh1381 compile_check_conftest "$CODE" "NV_GET_DEV_PAGEMAP_HAS_PGMAP_ARG" "" "types"COMMENT
LOWkernel-open/conftest.sh1541 drm_driver_has_legacy_dev_list)COMMENT
LOWkernel-open/conftest.sh1581COMMENT
LOWkernel-open/conftest.sh1601COMMENT
LOWkernel-open/conftest.sh1621 CODE="COMMENT
LOWkernel-open/conftest.sh1801 #COMMENT
LOWkernel-open/conftest.sh1981 # Determine if FOLL_LONGTERM enum is present or notCOMMENT
LOWkernel-open/conftest.sh2101COMMENT
LOWkernel-open/conftest.sh2181 # Determine if vma.vm_ops.fault takes (vma, vmf), or just (vmf)COMMENT
LOWkernel-open/conftest.sh2261 rm -f conftest$$.oCOMMENT
LOWkernel-open/conftest.sh2301 elseCOMMENT
LOWkernel-open/conftest.sh2401 drm_helper_mode_fill_fb_struct(NULL, NULL, NULL, NULL);COMMENT
LOWkernel-open/conftest.sh2421 #COMMENT
LOWkernel-open/conftest.sh2461 #COMMENT
LOWkernel-open/conftest.sh2481 #COMMENT
LOWkernel-open/conftest.sh2561 ;;COMMENT
LOWkernel-open/conftest.sh2581 #include <drm/drm_blend.h>COMMENT
LOWkernel-open/conftest.sh2621 drm_connector_for_each_possible_encoder)COMMENT
LOWkernel-open/conftest.sh2701 # Added by commit d56c0d45f0e2 ("proc: decouple proc from VFSCOMMENT
LOWkernel-open/conftest.sh2841 pci_enable_atomic_ops_to_root)COMMENT
LOWkernel-open/conftest.sh2961 # pci_channel_state was removed by commit 16d79cd4e23b ("PCI: UseCOMMENT
LOWkernel-open/conftest.sh3001 #if defined(NV_LINUX_CC_PLATFORM_H_PRESENT)COMMENT
LOWkernel-open/conftest.sh3081 drm_crtc_atomic_check_has_atomic_state_arg)COMMENT
LOWkernel-open/conftest.sh3121 # argument of 'struct dma_buf_map' type.COMMENT
LOWkernel-open/conftest.sh3161 #COMMENT
LOWkernel-open/conftest.sh3181 # by commit 233eb0bf3b94 ("mm: remove follow_pfn")COMMENT
LOWkernel-open/conftest.sh3261 #COMMENT
LOWkernel-open/conftest.sh3321COMMENT
LOWkernel-open/conftest.sh3381 #COMMENT
LOWkernel-open/conftest.sh3581 # Determine if the migrate_device_range() function is presentCOMMENT
LOWkernel-open/conftest.sh3601 #COMMENT
LOWkernel-open/conftest.sh3621 #COMMENT
LOWkernel-open/conftest.sh3661 (void)foo.no_vblank;COMMENT
LOWkernel-open/conftest.sh3721 #COMMENT
LOWkernel-open/conftest.sh3821 # Added by commit 1224451bb6f93 ("PM / devfreq: Register devfreq as a cooling deviceCOMMENT
LOWkernel-open/conftest.sh3881COMMENT
LOWkernel-open/conftest.sh3901COMMENT
LOWkernel-open/conftest.sh3961 #COMMENT
LOWkernel-open/conftest.sh3981 # Note: the include directive for <linux/types> in this conftest isCOMMENT
11046 more matches not shown…
AI Slop Vocabulary19 hits · 57 pts
SeverityFileLineSnippetContext
MEDIUMkernel-open/nvidia/nv-dma.c722 // ops can be NULL on 5.0+ kernels, meaning we can utilize direct dma.COMMENT
MEDIUMkernel-open/nvidia-uvm/uvm_ce_test.c1104 // CPU decryption(s), but it is more robust against test changes to forceCOMMENT
MEDIUMkernel-open/nvidia-uvm/uvm_gpu.h1119 // Bug 4577236 outlines the issue. Essentially normal eviction of coherentCOMMENT
MEDIUMkernel-open/nvidia-uvm/uvm_sec2_test.c463 // CPU decryption(s), but it is more robust against test changes to forceCOMMENT
MEDIUMkernel-open/nvidia-uvm/uvm_gpu_semaphore.c806 // recent addition to the kernel, just leverage smp_mb__after_atomic() thatCOMMENT
MEDIUMsrc/common/nvswitch/kernel/lr10/clock_lr10.c138 // Unfortunately, we don't have a full robust infrastructure for detecting theCOMMENT
MEDIUMsrc/nvidia/src/libraries/containers/eheap/eheap_old.c195 // Form the list of free mem structures. Just need to utilize the next field of EMEMBLOCK.COMMENT
MEDIUMsrc/nvidia/src/kernel/mem_mgr/gpu_vaspace.c696 // RM would need internal CE support (e.g. leverage ECC scrubber)COMMENT
MEDIUMsrc/nvidia/src/kernel/gpu/mem_mgr/sem_surf.c1093 // it to ensure using it in the future (E.g., for robust channel errorCOMMENT
MEDIUMsrc/nvidia/src/kernel/gpu/mem_mgr/sem_surf.c1255 // it to ensure using it in the future (E.g., for robust channel errorCOMMENT
MEDIUM…ia/src/kernel/gpu/mem_mgr/arch/maxwell/mem_mgr_gm107.c2080 // I.e. refactor and leverage the code performing these tasksCOMMENT
MEDIUMsrc/nvidia/src/kernel/gpu/spdm/arch/hopper/spdm_gh100.c832 // If we haven't established the session yet, we need to utilize pollingCOMMENT
MEDIUMsrc/nvidia/src/kernel/gpu/mmu/gmmu_walk.c910 // debug print - to remove when the code is robust enoughCOMMENT
MEDIUMsrc/nvidia/src/kernel/gpu/mig_mgr/kernel_mig_manager.c6650 //TODO: Remove below code once a more robust SRT is available to test for this conditionCOMMENT
MEDIUM…nvidia/src/kernel/gpu/ce/arch/hopper/kernel_ce_gh100.c948 // In the self hosted case, utilize table entriesCOMMENT
MEDIUM…nvidia/src/kernel/gpu/rc/kernel_rc_watchdog_callback.c186 // Do nothing if robust channels are not enabledCOMMENT
MEDIUM…nvidia/src/kernel/gpu/rc/kernel_rc_watchdog_callback.c242 // Handle robust channel testing, if necessary.COMMENT
MEDIUMsrc/nvidia/src/kernel/gpu/rc/kernel_rc.c88 // Force uncached pushbuffers for robust channel.COMMENT
MEDIUMsrc/nvidia/src/kernel/gpu/rc/kernel_rc.c93 // with the robust channel, and ended up requesting sizeof(RC + pushbuffer)COMMENT
Verbosity Indicators32 hits · 51 pts
SeverityFileLineSnippetContext
LOWkernel-open/nvidia-uvm/uvm_gpu.c775 // procfs_files are created before gpu_init_isr, we need to check if theCOMMENT
LOWkernel-open/nvidia-uvm/uvm_va_block.c6362 // Step 1: Make the 2M entry invalid. We can't directly transition from aCOMMENT
LOWkernel-open/nvidia-uvm/uvm_va_block.c6388 // Step 2: Switch the 2M entry from invalid to a PDE. This activates theCOMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c65 // Step 1: Perform INITPHASE1 on all endpointsCOMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c319 // Step 1: Perform INITPHASE1 on all endpointsCOMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c379 // Step 3: Enable Common mode on all Tx'sCOMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c405 // Step 4: call INITPHASE5COMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c431 // Step 5: Put the links in SAFE modeCOMMENT
LOWsrc/common/displayport/src/dp_connectorimpl.cpp1815 // we need to check if we have enough BW for the stream on FRL link.COMMENT
LOWsrc/common/displayport/src/dp_connectorimpl.cpp4322 // Step 1: Setup PCON for later operationCOMMENT
LOWsrc/common/displayport/src/dp_connectorimpl.cpp4354 // Step 2: Assess FRL Link capability.COMMENT
LOWsrc/common/displayport/src/dp_connectorimpl.cpp4436 // Step 3: Assess DP Link capability.COMMENT
LOWsrc/common/displayport/src/dp_configcaps.cpp2500 // Step 1: Configure FRL Link (FRL BW, BW mask / Concurrent)COMMENT
LOWsrc/common/nvswitch/kernel/lr10/lr10.c6193 // Step 0 :COMMENT
LOWsrc/common/nvswitch/kernel/lr10/lr10.c6242 // Step 1 : Perform surgical resetCOMMENT
LOWsrc/common/nvswitch/kernel/lr10/lr10.c6313 // Step 2 : Assert NPORT Reset after Control & Drain routine.COMMENT
LOWsrc/common/nvswitch/kernel/lr10/lr10.c6377 // Step 3 : Restore link stateCOMMENT
LOWsrc/common/nvswitch/kernel/cci/cables/cci_common.c1451 * The purpose of this function is to provide a traceCOMMENT
LOWsrc/nvidia/arch/nvalloc/unix/src/unix_intr.c248 // Step 1: Check if we can service nonstall interrupts outside the GPUs lock. OtherwiseCOMMENT
LOWsrc/nvidia/arch/nvalloc/unix/src/unix_intr.c284 // Step 2: Service nonstall interrupts and check if there are any stall interruptsCOMMENT
LOW…nel/gpu/mem_mgr/arch/hopper/virt_mem_allocator_gh100.c74 // Step 1:COMMENT
LOW…nel/gpu/mem_mgr/arch/hopper/virt_mem_allocator_gh100.c84 // Step 2:COMMENT
LOW…nel/gpu/mem_mgr/arch/hopper/virt_mem_allocator_gh100.c103 // Step 3:COMMENT
LOW…nvidia/src/kernel/gpu/mmu/arch/volta/kern_gmmu_gv100.c348 // Step 1: Unregister(vas) --> UnsetPageDirectory(vas)COMMENT
LOW…nvidia/src/kernel/gpu/mmu/arch/volta/kern_gmmu_gv100.c349 // Step 2: FreeSubcontext(vas)COMMENT
LOW…nvidia/src/kernel/gpu/ce/arch/ampere/kernel_ce_ga100.c524 // So, we need to check if the FBHUB PCEs have already been assigned.COMMENT
LOWsrc/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c258 // Step 1: check for conflicting requests, and bail out without changingCOMMENT
LOWsrc/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c290 // Step 2: if client state has changed, adjust the per-GPU/RC refcount:COMMENT
LOWsrc/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c318 // Step 3: record client state:COMMENT
LOWsrc/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c324 // Step 4: if per-GPU/RC refcount has changed from 0 to 1, then change theCOMMENT
LOWsrc/nvidia/src/kernel/rmapi/alloc_free.c1008 // so we need to check if Device has the same OBJGPU.COMMENT
LOWsrc/nvidia/src/kernel/rmapi/nv_gpu_ops.c3588 // is that it is indeed supported, we need to check if the link hasCOMMENT
Structural Annotation Overuse24 hits · 39 pts
SeverityFileLineSnippetContext
LOWkernel-open/nvidia-uvm/uvm_va_block.c6362 // Step 1: Make the 2M entry invalid. We can't directly transition from aCOMMENT
LOWkernel-open/nvidia-uvm/uvm_va_block.c6388 // Step 2: Switch the 2M entry from invalid to a PDE. This activates theCOMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c65 // Step 1: Perform INITPHASE1 on all endpointsCOMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c319 // Step 1: Perform INITPHASE1 on all endpointsCOMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c379 // Step 3: Enable Common mode on all Tx'sCOMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c405 // Step 4: call INITPHASE5COMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c431 // Step 5: Put the links in SAFE modeCOMMENT
LOWsrc/common/displayport/src/dp_connectorimpl.cpp4322 // Step 1: Setup PCON for later operationCOMMENT
LOWsrc/common/displayport/src/dp_connectorimpl.cpp4354 // Step 2: Assess FRL Link capability.COMMENT
LOWsrc/common/displayport/src/dp_connectorimpl.cpp4436 // Step 3: Assess DP Link capability.COMMENT
LOWsrc/common/displayport/src/dp_configcaps.cpp2500 // Step 1: Configure FRL Link (FRL BW, BW mask / Concurrent)COMMENT
LOWsrc/common/nvswitch/kernel/lr10/lr10.c6242 // Step 1 : Perform surgical resetCOMMENT
LOWsrc/common/nvswitch/kernel/lr10/lr10.c6313 // Step 2 : Assert NPORT Reset after Control & Drain routine.COMMENT
LOWsrc/common/nvswitch/kernel/lr10/lr10.c6377 // Step 3 : Restore link stateCOMMENT
LOWsrc/nvidia/arch/nvalloc/unix/src/unix_intr.c248 // Step 1: Check if we can service nonstall interrupts outside the GPUs lock. OtherwiseCOMMENT
LOWsrc/nvidia/arch/nvalloc/unix/src/unix_intr.c284 // Step 2: Service nonstall interrupts and check if there are any stall interruptsCOMMENT
LOW…nvidia/src/kernel/gpu/mmu/arch/volta/kern_gmmu_gv100.c348 // Step 1: Unregister(vas) --> UnsetPageDirectory(vas)COMMENT
LOW…nvidia/src/kernel/gpu/mmu/arch/volta/kern_gmmu_gv100.c349 // Step 2: FreeSubcontext(vas)COMMENT
LOWsrc/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c258 // Step 1: check for conflicting requests, and bail out without changingCOMMENT
LOWsrc/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c290 // Step 2: if client state has changed, adjust the per-GPU/RC refcount:COMMENT
LOWsrc/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c318 // Step 3: record client state:COMMENT
LOWsrc/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c324 // Step 4: if per-GPU/RC refcount has changed from 0 to 1, then change theCOMMENT
LOWsrc/nvidia/src/kernel/core/locks.c2024// NOTE: This function assumes ALL GPUs were previously locked by rmGpuLocksAcquireCOMMENT
LOWsrc/nvidia/src/kernel/rmapi/mapping_cpu.c339 // NOTE: This function intentionally leaves priv uninitialized.COMMENT
Synthetic Comment Markers4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHsrc/nvidia/src/kernel/gpu/nvlink/kernel_nvlink.c3025 // For the transfer direction pLocalGpu->pRemoteGpu, update the new key for Tx or Rx as requestedCOMMENT
HIGHsrc/nvidia/src/kernel/gpu/nvlink/kernel_nvlink.c3030 // For the transfer direction pRemoteGpu->pLocalGpu, update the new key for Tx or Rx as requestedCOMMENT
HIGHsrc/nvidia/src/kernel/gpu/mig_mgr/kernel_mig_manager.c5971 // set GPCs as requestedCOMMENT
HIGHsrc/nvidia-modeset/src/nvkms-evo.c9163 // as requested.COMMENT
Redundant / Tautological Comments12 hits · 18 pts
SeverityFileLineSnippetContext
LOWkernel-open/conftest.sh180 # Check if gcc supports asm goto and set CC_HAVE_ASM_GOTO if it does.COMMENT
LOWkernel-open/conftest.sh351 # Check if any of the linuxkpi or drm kernel module files containCOMMENT
LOWkernel-open/conftest.sh416 # Print the value of given configuration option, if definedCOMMENT
LOWkernel-open/conftest.sh709 # Check if vfio_info_add_capability() has cap_type_id parameter.COMMENT
LOWkernel-open/conftest.sh3346 # Check if add_memory_driver_managed() has mhp_flags arg.COMMENT
LOWkernel-open/conftest.sh3364 # Check if remove_memory() has nid parameter.COMMENT
LOWkernel-open/conftest.sh4110 # Check if iommu_sva_bind_device() has drvdata parameter.COMMENT
LOWkernel-open/conftest.sh4188 # Check if memory_failure_queue() has trapno parameter.COMMENT
LOWkernel-open/conftest.sh4206 # Check if memory_failure() flag MF_SW_SIMULATED is defined.COMMENT
LOWkernel-open/conftest.sh5238 # Check if the selected compiler can create object filesCOMMENT
LOWkernel-open/conftest.sh5384 # Check if the target kernel is a Xen kernel. If so, exit, sinceCOMMENT
LOWkernel-open/conftest.sh5416 # Check if the target kernel has the PREEMPT_RT patch set applied. IfCOMMENT
Self-Referential Comments6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMnouveau/extract-firmware-nouveau.py429# Create a 32-bit generic ELF header with no program header, and 'shnum'COMMENT
MEDIUMnouveau/extract-firmware-nouveau.py445# Create a 32-bit ELF section header, where 'sh_name' is the offset of theCOMMENT
MEDIUMnouveau/extract-firmware-nouveau.py467# Create a 64-bit .shstrtab ELF section header.COMMENT
MEDIUMnouveau/extract-firmware-nouveau.py558 # Create the ELF headerCOMMENT
MEDIUMnouveau/extract-firmware-nouveau.py666# Create a symlink, deleting the existing file/link if necessaryCOMMENT
MEDIUMnouveau/extract-firmware-nouveau.py727# Create a text file that can be inserted as-is to the WHENCE file of theCOMMENT
AI Response Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHkernel-open/nvidia/linux_nvswitch.c1824// In this implementation, the time is monotonic timeCOMMENT
HIGHkernel-open/nvidia/linux_nvswitch.c1840// In this implementation, the time is from epoch timeCOMMENT
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippetContext
LOWkernel-open/pahole.sh42# make sure to exclude c++ when generating encoding BTF.COMMENT
LOWkernel-open/common/inc/rs_access.h54// When adding a new access right, don't forget to updateCOMMENT
LOWsrc/common/sdk/nvidia/inc/rs_access.h51// When adding a new access right, don't forget to updateCOMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOW….0/library/spdm_requester_lib/libspdm_req_key_update.c13 uint8_t dummy_data[sizeof(spdm_error_data_response_not_ready_t)];CODE
LOW…5.0/library/spdm_requester_lib/libspdm_req_heartbeat.c12 uint8_t dummy_data[sizeof(spdm_error_data_response_not_ready_t)];CODE
LOW…0/library/spdm_requester_lib/libspdm_req_end_session.c15 uint8_t dummy_data[sizeof(spdm_error_data_response_not_ready_t)];CODE
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWnouveau/extract-firmware-nouveau.py473def elf_section_header_shstrtab(sh_name, shnum, sh_size):CODE
LOWsrc/nvidia/arch/nvalloc/unix/src/rmobjexportimport.c65// generated by function RmGenerateObjExportHandle().COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/nvidia/inc/kernel/core/bin_data.h158// Example usage:COMMENT
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
MEDIUMnouveau/extract-firmware-nouveau.py1006 print(f"Error: {e}", file=sys.stderr)STRING