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

foo(_,_,0) mismatch #54

Closed fefe17 closed 2 years ago

fefe17 commented 2 years ago

I'm searching for memset(_,_,0) and it matched this line from Boost:

std::memset((void)boost::movelib::iterator_to_raw_pointer(r), 0, sizeof(value_type)n);

felixwilhelm commented 2 years ago

Thanks for the bug report and sorry for the slow response. I believe this has the same root cause as #58 (bad parsing of sizeof) and should be fixed with e6ccac1feb5.