-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
@synopsis{fills out the call graph by adding the tuples for possible actual methods and constructors, and removing the corresponding calls to virtual methods and constructors.}
rel[loc caller, loc callee] closeOverriddenVirtualCalls(M3 comp) {
return comp.callGraph
+ comp.callGraph o comp.methodOverrides // add the overridden definitions
- rangeR(comp.callGraph, comp.methodOverrides<0>); // remove the virtual intermediates
}
See this example: There can be implementations for virtual methods. Therefore, the last line in the function creates an underapproximation and seems to be misleading
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels