FunctionPointerCallResolver

This Pass is responsible for resolving function pointer calls, i.e., CallExpression nodes that contain a reference/pointer to a function and are being "called". This pass is intentionally split from the CallResolver because it depends on DFG edges. This split allows the CallResolver to be run before any DFG passes, which in turn allow us to also populate DFG passes for inferred functions.

This pass is currently only run for the CXXLanguageFrontend, however, in the future we might extend it to other languages that support some kind of function reference/pointer calling, such as Go.

Constructors

Functions

Link copied to clipboard
open override fun accept(t: TranslationResult)
Link copied to clipboard
fun addSoftDependency(toAdd: Class<out Pass?>)
Link copied to clipboard
Link copied to clipboard
open override fun cleanup()
Link copied to clipboard

Check if the pass requires a specific language frontend and if that frontend has been executed.

Link copied to clipboard

Specifies, whether this pass supports this particular language. This defaults to true * and needs to be overridden if a different behaviour is wanted.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard