weggli-rs / weggli

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.
Apache License 2.0
2.32k stars 127 forks source link

More a question than an issue #93

Open andno037 opened 6 months ago

andno037 commented 6 months ago

Awesome tool I just had a question if I do not see that there there is a way to restrict the match to only include the match it self if I'm searching for a function call even if the function call is multil line.

example:

printf("foo foo %s\n",
          "what ever");

weggli -X "printf(_);"