rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
97.74k stars 12.64k forks source link

unable to perform type-based search on foreign functions #131804

Open lolbinarycat opened 2 hours ago

lolbinarycat commented 2 hours ago

for example searching for functions that return FILE in libc yields no result instead of matching fopen.

lolbinarycat commented 2 hours ago

the issue is that get_function_type_for_search doesn't match ForeignFunctionItem