4 dépôts
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 est un profileur de mémoire Linux qui utilise un allocateur global personnalisé pour intercepter les requêtes mémoire et suivre les allocations et désallocations. Il enregistre des traces complètes de pile d'appels pour chaque opération mémoire afin de mapper les allocations à leur code source d'origine. Le projet dispose d'un système de profilage de mémoire distant qui diffuse les données de capture via des sockets réseau vers une machine séparée, minimisant la surcharge de ressources sur le système cible. L'analyse est prise en charge par un langage de requête spécifique au domaine utilisé pour automatiser la détection de modèles et d'anomalies de mémoire. L'outil couvre l'analyse de l'allocation du tas pour identifier les fuites et la fragmentation, ainsi que l'introspection au runtime pour surveiller et ajuster les états de l'allocateur. Les données peuvent être exportées et rendues via un visualiseur basé sur le web pour fournir des représentations graphiques de l'utilisation de la mémoire et des modèles d'allocation.
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.