awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
uber-go avatar

uber-go/nilaway

0
View on GitHub↗

Nilaway

Nilaway is a static analysis tool and linter plugin for Go designed to identify potential nil pointer dereferences in source code to prevent runtime panics. It functions as an inter-procedural pointer analyzer that tracks data flow across functions and packages to detect memory safety issues.

The tool differentiates itself by tracking pointer states through anonymous functions, closures, and struct initializations. It employs a pointer analysis framework that monitors how values flow through a program to determine if a variable is safe to dereference at a specific point.

The analyzer can be integrated into continuous integration workflows and linting toolchains, exporting its findings in a structured format. It includes configuration utilities to filter analysis scope, allowing users to restrict checks to specific first-party packages.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • Nil Pointer Detection - Identifies potential nil pointer dereferences in Go source code to prevent runtime panics.
  • Inter-procedural Data Flow Analyzers - Tracks pointer states across function boundaries, including struct initializations and anonymous functions.
  • Interprocedural Pointer Analysis - Provides inter-procedural pointer analysis to track values across function and package boundaries.
  • Static Analysis Tools - Provides a pointer analysis framework to detect memory safety issues across Go packages.
  • Nil Dereference Detection - Identifies potential nil pointer dereferences during compilation to prevent runtime panics.
  • Pointer Analysis Frameworks - Implements inter-procedural pointer tracking through struct initializations to detect potential nil dereferences.
  • Go Source Code Analyzers - Analyzes Go source code to detect potential nil pointer dereferences.
  • Static Code Analysis - Scans Go programs for bugs and safety violations without executing the code.
  • Analysis Framework Drivers - Integrates pointer checks as standalone binaries or plugins within analysis frameworks.
  • Linting Workflows - Integrates pointer analysis into CI/CD pipelines as part of a broader set of static checks.
  • Closure Analysis - Tracks pointer flow through anonymous functions and closures to identify potential nil dereferences.
  • Context-Sensitive Analysis - Implements context-sensitive modeling to differentiate between function calls and reduce false positives.
  • Flow-Sensitive Analysis - Tracks variable states across execution paths to precisely locate potential nil dereferences.
  • Go Development Workflows - Connects static analysis tools into Go development workflows via custom drivers and JSON output.
  • Nil Analysis Plugins - Ships as a modular linter plugin that outputs pointer analysis results in JSON format.
  • Static Single Assignment Analysis - Uses Static Single Assignment (SSA) form to track how pointer values flow through the program.
  • Analysis Scope Filters - Provides configuration to include or exclude specific packages to focus the analysis scope.
3,932 stars·101 forks·Go·Apache-2.0·25 views

Star history

Star history chart for uber-go/nilawayStar history chart for uber-go/nilaway

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Frequently asked questions

What does uber-go/nilaway do?

Nilaway is a static analysis tool and linter plugin for Go designed to identify potential nil pointer dereferences in source code to prevent runtime panics. It functions as an inter-procedural pointer analyzer that tracks data flow across functions and packages to detect memory safety issues.

What are the main features of uber-go/nilaway?

The main features of uber-go/nilaway are: Nil Pointer Detection, Inter-procedural Data Flow Analyzers, Interprocedural Pointer Analysis, Static Analysis Tools, Nil Dereference Detection, Pointer Analysis Frameworks, Go Source Code Analyzers, Static Code Analysis.

Which projects share features with uber-go/nilaway?

Projects with overlapping indexed features include: svf-tools/svf — SVF is an open-source static program analysis framework and points-to analysis library that tracks memory references,… troessner/reek — Reek is a static code analyzer for Ruby projects designed to identify design flaws and maintainability issues known as… facebook/infer — Infer is a static analysis toolset for Java, C, C++, and Objective-C designed to detect memory leaks, null… dominikh/go-tools — go-tools is a collection of utilities for Go static analysis and memory layout optimization. It provides a toolset… golang/tools — This project is a collection of official toolsets and server implementations designed for the parsing, formatting, and… mgechev/revive — Revive is a configurable static analysis linter and code quality tool for Go. It analyzes source code to detect common…

Projects sharing features with Nilaway

These projects share indexed features with Nilaway. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • svf-tools/svfSVF-tools avatar

    SVF-tools/SVF

    1,684View on GitHub↗

    SVF is an open-source static program analysis framework and points-to analysis library that tracks memory references, variable aliases, and data dependencies across whole programs. The platform translates compiled intermediate code formats into unified internal representations, constructing constraint graphs, call graphs, and control-flow graphs to model interprocedural execution behavior and memory state. The framework incorporates specialized engines for flow-sensitive, flow-insensitive, and context-sensitive pointer analysis alongside sparse value-flow graph generation. It features memory

    C++code-analysiscode-securitydependency-analysis
    View on GitHub↗1,684
  • troessner/reektroessner avatar

    troessner/reek

    4,138View on GitHub↗

    Reek is a static code analyzer for Ruby projects designed to identify design flaws and maintainability issues known as code smells. It functions as a quality assurance tool that inspects source code without executing it to find structural weaknesses and architectural debt. The analyzer identifies specific patterns such as large classes, long methods, and uncommunicative naming. It also detects more complex design issues, including feature envy, data clumps, simulated polymorphism, and control coupling. The tool includes capabilities for issue baselining to manage legacy code and configuratio

    Ruby
    View on GitHub↗4,138
  • dominikh/go-toolsdominikh avatar

    dominikh/go-tools

    6,928View on GitHub↗

    go-tools is a collection of utilities for Go static analysis and memory layout optimization. It provides a toolset designed to analyze source code to detect bugs and dead code, alongside specialized tools for optimizing how structs are arranged in memory. The project includes a memory alignment visualizer to display physical memory layouts and padding, as well as a struct layout optimizer that reorders fields to minimize memory padding. Additionally, it provides a boilerplate generator to automate the creation of registration and test files required for developing custom Go analyzers. The to

    Go
    View on GitHub↗6,928
  • facebook/inferfacebook avatar

    facebook/infer

    15,746View on GitHub↗

    Infer is a static analysis toolset for Java, C, C++, and Objective-C designed to detect memory leaks, null dereferences, and resource bugs. It functions as a multi-language bug finder that identifies race conditions, deadlocks, and memory safety issues by translating source code into a common intermediate representation for analysis. The project distinguishes itself through an inter-procedural data flow analyzer that tracks movement between sources and sinks to detect tainted flows and generate data flow graphs. It also includes a framework for verifying temporal properties and reachability u

    OCamlccode-qualitycpp
    View on GitHub↗15,746
Compare all 30 related projects→