Engineering Papers⌕ Search

DOE OSTI · 2583379

Generating and Analyzing Program Call Graphs using Ontology

Abstract

Call graph or caller-callee relationships have been used for various kinds of static program analysis, performance analysis and profiling, and for program safety or security analysis such as detecting anomalies of program execution or code injection attacks. However, different tools generate call graphs in different formats, which prevents efficient reuse of call graph results. In this paper, we present an approach of using ontology and resource description framework (RDF) to create knowledge graphs for specifying call graphs to facilitate the construction of full-fledged and complex call graphs of computer programs, realizing more interoperable and scalable program analyses than conventional approaches. We create a formal ontology-based specification of call graph information to capture concepts and properties of both static and dynamic call graphs so different tools can collaboratively contribute to more comprehensive analysis results. Our experiments show that ontology enables merging of call graphs generated from different tools and flexible queries using a standard query interface. Index Terms—Callgraph, ontology, knowl

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Dorta, E., Liao, C., Yan, Y.. 2022-08-16. Generating and Analyzing Program Call Graphs using Ontology. https://www.osti.gov/biblio/2583379

Cite the original work for its findings. Save a collection to share your selection of sources.