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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid number literals causes crash

pgoodman opened this issue · comments

e.g. foo(123a).

Hey,

thanks for the bug report. I'm not able to reproduce this. Could you add an example source + query that triggers a crash?

I am actually unable to reproduce this as well :-/ This happened about a week ago, where I wrote a sort of incorrect query like memcpy($$a, $$b, $$c) and so it interpreted the $$ as process ID I think, and the issues query was memcpy(3952a, 3952b, 3952c). At the time, I grabbed this screenshot, but can't repro now:
image

Oh I think I have weggli configuration disabled, that is why. I can probably still reproduce if I re-configure my build. Is the screenshot sufficient?

I'll close this in favor of #61.
Lets track progress on this issue there.