Port details |
- weggli Semantic search tool for C and C++ codebases
- 0.2.4_7 security =2 0.2.4_6Version of this port present on the latest quarterly branch.
- Maintainer: bofh@FreeBSD.org
- Port Added: 2021-10-09 18:33:06
- Last Update: 2024-08-26 08:08:01
- Commit Hash: 7a55f95
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- License: APACHE20
- WWW:
- https://github.com/googleprojectzero/weggli
- Description:
- 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;).
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/security/weggli/ && make install clean
- To add the package, run one of these commands:
- pkg install security/weggli
- pkg install weggli
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: weggli
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1698584773
SHA256 (rust/crates/aho-corasick-0.7.18.crate) = 1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f
SIZE (rust/crates/aho-corasick-0.7.18.crate) = 112923
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- rust>=1.80.0 : lang/rust
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- security_weggli
- USES:
- cargo
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.2.4_7 26 Aug 2024 08:08:01 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.80.1
PR: 280490 |
0.2.4_6 18 Jun 2024 10:59:14 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.79.0
PR: 279707 |
0.2.4_5 13 May 2024 11:03:24 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.78.0
PR: 278834 |
0.2.4_4 23 Mar 2024 09:41:46 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.77.0
PR: 277786 |
0.2.4_3 19 Feb 2024 11:59:23 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.76.0
PR: 276920 |
0.2.4_2 09 Jan 2024 12:15:54 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.75.0
PR: 276033 |
0.2.4_1 03 Jan 2024 05:27:53 |
Muhammad Moinur Rahman (bofh) |
security/weggli: Fix build on HEAD
The port only builds with llvm16. |
0.2.4_1 08 Dec 2023 15:04:09 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.74.1
PR: 275243 |
0.2.4 22 Nov 2023 22:44:03 |
Muhammad Moinur Rahman (bofh) |
security/weggli: Fix build for 12 and 13
PR: 275259
Reported by: mikael |
0.2.4 29 Oct 2023 22:53:33 |
Muhammad Moinur Rahman (bofh) |
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 |
0.2.3_17 24 Oct 2023 10:22:32 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.73.0
PR: 274499 |
0.2.3_16 08 Sep 2023 09:06:24 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.72.0
PR: 273331 |
0.2.3_15 26 Aug 2023 12:46:16 |
Rodrigo Osorio (rodrigo) |
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 |
0.2.3_15 17 Jul 2023 15:58:38 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.71.0
PR: 272449 |
0.2.3_14 13 Jul 2023 19:28:23 |
Mateusz Piotrowski (0mp) |
security/weggli: Return to pool |
0.2.3_14 09 Jun 2023 11:38:16 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.70.0
PR: 271797 |
0.2.3_13 23 Apr 2023 13:14:05 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.69.0
PR: 270953 |
0.2.3_12 16 Mar 2023 11:11:52 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.68.0
PR: 270080 |
0.2.3_11 13 Feb 2023 14:52:59 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.67.1
PR: 269336 |
0.2.3_10 07 Jan 2023 19:24:18 |
Daniel Engberg (diizzy) |
*/*: Bump rust (cargo) ports to reflect on WITH_LTO
Bump ports in tree so they get rebuilt with new default settings
for cargo ports |
0.2.3_9 20 Dec 2022 17:37:15 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.66.0
PR: 268415 |
0.2.3_8 17 Nov 2022 07:06:14 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.65.0
PR: 267622 |
0.2.3_7 30 Oct 2022 12:07:09 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.64.0
PR: 267173 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
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) |
0.2.3_6 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
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 ) |
0.2.3_6 25 Aug 2022 14:49:50 |
Baptiste Daroussin (bapt) |
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 |
0.2.3_5 25 Aug 2022 10:49:39 |
Piotr Kubaj (pkubaj) |
Revert "lang/rust: Bump revisions after 1.63.0"
This reverts commit c7912d97754bb7aa9a18eb33df53f91cba4cd82d.
PR: 265915 |
0.2.3_6 25 Aug 2022 08:51:32 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.63.0 |
0.2.3_5 02 Jul 2022 13:47:05 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.62.0 |
0.2.3_4 31 May 2022 13:06:17 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.61.0 |
0.2.3_3 03 May 2022 08:00:34 |
Tobias Kortkamp (tobik) |
lang/rust: Relink ports after the Rust 1.60.0 update |
0.2.3_2 02 Apr 2022 20:31:16 |
Piotr Kubaj (pkubaj) |
security/weggli: fix build on powerpc
libc patch is upstreamed, but crossbeam-{epoch,utils} is used in older version
that requires patching. |
0.2.3_2 15 Mar 2022 09:51:58 |
Mikael Urankar (mikael) |
lang/rust: Bump revisions after 1.59.0 |
0.2.3_1 03 Feb 2022 14:02:32 |
Tobias Kortkamp (tobik) |
lang/rust: Relink consumers
PR: 261449
Security: ee26f513-826e-11ec-8be6-d4c9ef517024 |
0.2.3 20 Jan 2022 11:11:06 |
Mateusz Piotrowski (0mp) |
security/weggli: Update to 0.2.3
Changes: https://github.com/googleprojectzero/weggli/releases/tag/v0.2.3 |
0.2.2_3 17 Jan 2022 11:57:45 |
Tobias Kortkamp (tobik) |
lang/rust: Bump revisions after 1.58.0 |
0.2.2_2 05 Dec 2021 12:35:42 |
Tobias Kortkamp (tobik) |
lang/rust: Rebuild consumers for Rust 1.57.0 |
0.2.2_1 25 Oct 2021 08:55:19 |
Tobias Kortkamp (tobik) |
*: Rebuild for Rust 1.56.0 |
0.2.2 10 Oct 2021 01:12:37 |
Piotr Kubaj (pkubaj) |
security/weggli: fix build on powerpc |
0.2.2 09 Oct 2021 18:30:13 |
Mateusz Piotrowski (0mp) |
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 ) |