weggli is a semantic search tool for C and C++ codebases. It helps security researchers identify interesting functionality in large codebases.
weggli performs pattern matching on Abstract Syntax Trees based on user provided queries. Its query language resembles C and C++ code, making it possible to turn interesting code patterns into queries.
weggli has support for C++ constructs such as lambda expressions, range-based for loops and constexprs. weggli does not require the ability to build the software and can work with incomplete sources or missing dependencies.