weggli icon indicating copy to clipboard operation
weggli copied to clipboard

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.

Results 53 weggli issues
Sort by recently updated
recently updated
newest added

Update dependencies identified by cargo-audit as potentially vulnerable. I don't think any of these impact weggli in any meaningful way, but I think it's nice to keep tools like cargo-audit...

I would like to find function declarations only but it seems that weggli does not support this at the moment. What I have tried: `$ weggli -R func=myFoo '_ $func(_);'...

enhancement

I am not able to reproduce this, but I got this with something vaguely like `$var = $func($arg1, `. I have also noticed issues where `$v = $f()` doesn't work,...

In certain cases, weggli seems to parse the `>=` operator incorrectly. While I haven't debugged the code to confirm, I suspect weggli is mistakenly parsing template parameter statements where they...

bug

Hey, thanks for weggli, it's so awesome ;) I ran into an issue and wanted to see if you had a solution for it: Given this pattern: `weggli -u '{char...

enhancement

It would be nice if there were a script file that ran weggli using various test cases, such as the ones in the README, for quick use. Thus developers could...

I would like to have a config file where I can specify command line options. In particular I have a mixed code base here, both C and C++ and half...

Hello - when I run this query: ``` weggli -X '{ const _ $a = _; std::move($a); }' /tmp/x.cc ``` On this code: ``` MACRO namespace { void func() {...

This is some rudimentary binaryninja support based on the stuff in https://github.com/Vector35/binaryninja-api/pull/2890. For now this is mostly a proof-of-concept, and there are a lot of performance improvements that can (and...

Hi. The query `while (_) ;` (as of [13a332f](https://github.com/googleprojectzero/weggli/commit/13a332f6d9158a2b7fbc9e8542d7d41c82fd2c9f)) matches both `while (1) printf("");` and `while (1) ;`. The goal here is to find loops with an empty body. Is...