You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assigning to a function pointer in a function appears to defeat the points-to analysis used to resolve the dispatch of function pointers.
In the following example I would have expected to see two flows from source() to target() but only the second one from the direct assignment of the function pointer is reported.
Assigning to a function pointer in a function appears to defeat the points-to analysis used to resolve the dispatch of function pointers.
In the following example I would have expected to see two flows from
source()
totarget()
but only the second one from the direct assignment of the function pointer is reported.This is the complete query
This is the output. I would have expected to also see a flow to line 28.
CodeQL version: 2.19.3
The text was updated successfully, but these errors were encountered: