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.34k stars 130 forks source link

Feature request: Make ; optional for last statement #15

Closed bluec0re closed 3 years ago

bluec0re commented 3 years ago

Would be nice if weggli could automatically add ; if missing/the query is invalid:

Current behavior

$ weggli `strcat()` .
Error! Query parsing failed: strcat()

Wanted behavior

$ weggli `strcat()` .
# same output as if strcat(); was used
felixwilhelm commented 3 years ago

This was pretty easy to implement and hopefully improves the initial user experience a bit.