weggliSemantic search tool for C and C++ codebases
0.2.4_13securityΣ=0 0.2.4_13Version of this port present on the latest quarterly branch.
DEPRECATED: Upstream inactive as last release was in 2022 This port expired on: 2025-04-27 IGNORE: is marked as broken on amd64: link fails: error: version script assignment of 'global' to symbol '__muloti4' failed: symbol not defined
weggli is a fast and robust semantic search tool for C and C++ codebases. It is
designed to help 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 easy
to turn interesting code patterns into queries.
weggli is inspired by great tools like Semgrep, Coccinelle, joern and CodeQL,
but makes some different design decisions:
- C++ support: weggli has first class support for modern C++ constructs, such
as lambda expressions, range-based for loops and constexprs.
- Minimal setup: weggli should work out-of-the box against most software you
will encounter. weggli does not require the ability to build the software and
can work with incomplete sources or missing dependencies.
- Interactive: weggli is designed for interactive usage and fast query
performance. Most of the time, a weggli query will be faster than a grep
search. The goal is to enable an interactive workflow where quick switching
between code review and query creation/improvement is possible.
- Greedy: weggli's pattern matching is designed to find as many (useful)
matches as possible for a specific query. While this increases the risk of
false positives it simplifies query creation. For example, the query $x = 10;
will match both assignment expressions (foo = 10;) and declarations
(int bar = 10;).
security/weggli: Mark DEPRECATED
- Inactive upstream as last release was in 2022
- Set EXPIRATION_DATE 2025-04-26
If someone needs this port feel free to undeprecate and takeover
maintainership.
all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X
Reviewed by: many
Differential Revision: https://reviews.freebsd.org/D46601
*/*: remove STRIP_CMD calls in rust based ports
This is not needed after bc4fedc1fec0d359365c04d43be9e32bf101a50e
PR: 246993
Differential Revision: https://reviews.freebsd.org/D46503
security/weggli: Update version 0.2.3=>0.2.4
- Adopt port
I had to remove a port for the powerpc build as that module is no longer
used. But in case it's broken on powerpc* please fix.
Changelog: https://github.com/weggli-rs/weggli/releases/tag/v0.2.4
security/weggli: Broken
Broken in build stage with the following message:
error: linking with `cc` failed: exit status: 1
= note: ld: error: version script assignment of 'global' to symbol
'__muloti4' failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Same error with weggli v0.2.4
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
rust: bring back update to 1.63
Revert back the revert of the update of rust and related commits
This revert was drive by beside validation by portmgr via exp-run
and not respectful of the etiquette we have between committers
This reverts commit 8ecb1f8141144c1603eb4026122d2e60eeaccd64.
This reverts commit 04d257baa182926cff158f32cf459e560426add0.
This reverts commit 2757c63bd0e6d01f9f0657fe03bb3a7b49adcae2.
This reverts commit 75f4713de5e3fbd1c6a0cb572e08121814a4072e.
This reverts commit e88e592111c86fdd1c0ac8717dbef9342e15e27c.
This reverts commit 783c056d7d681d66e2c5c59251c275d65274028e.
With hat: portmgr
security/weggli: Add a new port
weggli is a fast and robust semantic search tool for C and C++
codebases. It is designed to help 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
easy to turn interesting code patterns into queries.
weggli is inspired by great tools like Semgrep, Coccinelle, joern and
CodeQL, but makes some different design decisions:
- C++ support: weggli has first class support for modern C++ constructs,
such as lambda expressions, range-based for loops and constexprs.
- Minimal setup: weggli should work out-of-the box against most software
(Only the first 15 lines of the commit message are shown above )