- Tytuł:
- Static analysis of function calls in Erlang. Refining the static function call graph with dynamic call information by using data-flow analysis
- Autorzy:
-
Horpácsi, D.
Koszegi, J. - Powiązania:
- https://bibliotekanauki.pl/articles/384069.pdf
- Data publikacji:
- 2013
- Wydawca:
- Politechnika Wrocławska. Oficyna Wydawnicza Politechniki Wrocławskiej
- Tematy:
-
static function call graph
dynamic call information
flow analysis
language Erlang - Opis:
- Functions and their relations can affect numerous properties and metrics of a functional program. To identify and represent the functions and their calling connections, software analysers commonly apply semantic function analysis, which derives the static call graph of the program, based on its source code. Function calls however may be dynamic and complex, making it difficult to statically identify the callee. Dynamic calls are determined just at run-time, static analysis therefore cannot be expected to fully identify every call. Nevertheless, by utilising the results of a properly performed data-flow analysis as well as taking ambiguous references into account, numerous dynamic calls are discoverable and representable. We consider cases where the identifiers of the callee are statically determined, but they flow into the call expression from a different program point, and also, we manage to handle function calls whose identifiers are not fully identifiable at compile-time. By utilizing the improved reference analysis, we extend the static call graph with various information about dynamic function calls. We investigate such a function call analysis in the programming language Erlang.
- Źródło:
-
e-Informatica Software Engineering Journal; 2013, 7, 1; 65-76
1897-7979 - Pojawia się w:
- e-Informatica Software Engineering Journal
- Dostawca treści:
- Biblioteka Nauki