4 repository-uri
Languages specifically designed to query the structural and semantic properties of source code databases.
Distinct from API Query Languages: Distinct from API Query Languages: targets the semantic representation of code rather than general application data retrieval.
Explore 4 awesome GitHub repositories matching data & databases · Code Analysis Query Languages. Refine with filters or upvote what's useful.
CodeQL is a semantic code analysis engine and vulnerability scanning tool that treats source code as data. It utilizes a static analysis query language to define complex patterns and security vulnerabilities within a code graph database. The system represents source code as a relational database, enabling the execution of structural queries and data flow analysis. This approach allows for the detection of security flaws and coding errors across large-scale repositories. The tool provides capabilities for automated code auditing, static analysis security testing, and custom vulnerability dete
Provides a specialized query language to define complex logic and patterns for finding bugs within code.
Bytehound este un profiler de memorie Linux care utilizează un alocator global personalizat pentru a intercepta cererile de memorie și a urmări alocările și dealocările. Acesta înregistrează urme complete ale stivei de apeluri (call-stack traces) pentru fiecare operațiune de memorie pentru a mapa alocările înapoi la codul sursă de origine. Proiectul dispune de un sistem de profilare a memoriei la distanță care transmite datele capturate prin socket-uri de rețea către o mașină separată, minimizând overhead-ul de resurse pe sistemul țintă. Analiza este susținută de un limbaj de interogare specific domeniului utilizat pentru a automatiza detectarea tiparelor și anomaliilor de memorie. Instrumentul acoperă analiza alocării heap pentru a identifica scurgerile și fragmentarea, precum și introspecția runtime pentru monitorizarea și ajustarea stărilor alocatorului. Datele pot fi exportate și redate printr-un vizualizator bazat pe web pentru a oferi reprezentări grafice ale utilizării memoriei și ale tiparelor de alocare.
Includes a specialized domain-specific language to automate the detection of anomalies and patterns within memory profiles.
GritQL is an AST-based code transformation engine and structural search tool. It uses a declarative query language to identify and rewrite source code patterns across multiple programming languages by matching abstract syntax tree nodes rather than literal text. The system functions as an automated refactoring framework for large-scale migrations and API updates. It distinguishes itself by utilizing sequential transformation pipelines and reusable blueprints that can be synced between local environments and remote repositories. The tool covers a broad range of capabilities including static a
Identifies and transforms code patterns using declarative rules with metavariables and conditions.
nvim-treesitter-context is a Neovim editor extension that provides structural awareness of source files by displaying sticky headers of surrounding code blocks. It utilizes Tree-sitter queries to identify parent functions and classes, keeping them visible at the top of the editor window while scrolling. The tool allows for language rule customization, enabling the definition of specific structural queries to modify how context is detected for different programming languages. Users can also adjust the visual appearance of the context window through custom highlight groups. Beyond visual orien
Uses Tree-sitter queries to analyze the structural properties and hierarchical nesting of source code.