Difference: FRCVLabMLSA_description (4 vs. 5)

Revision 52017-07-11 - AnneMarieBogar

Line: 1 to 1
<meta name="robots" content="noindex" />
Line: 30 to 30

When the designated function used to call another program of another language, such as “PyRun_SimpleFile” or JSContext().eval(), is found, its argument (name of the Python or JavaScript file) is considered a function call and the executable portion of that file is represented as the main function in the original program. That creates the connection between the two files, which allows the subsequent programs to build the call graph.

CombineCSV.py” combines all individual csv files from the list of source files into one. This file is then used as input to “GenerateDot.py”. This program translates the csv file to a dot file, which represents the csv file as a graph. The Dot program builds the final graph via GraphViz and saves it as a PDF file. Circular nodes represent C programs, rectangular nodes represent Python programs, and hexagonal nodes represent JavaScript programs. Recursive functions are denoted by dotted nodes.

  Figure 4: Example of a multilingual call graph
Line: 50 to 50
META FILEATTACHMENT attachment="call_graph.png" attr="" comment="" date="1491593790" name="call_graph.png" path="call_graph.png" size="211415" user="DamianLyons" version="1"
META FILEATTACHMENT attachment="Call_Graph_diagram.png" attr="" comment="" date="1491924500" name="Call_Graph_diagram.png" path="Call Graph diagram.png" size="42121" user="MaggieGates" version="1"
META FILEATTACHMENT attachment="Static_Analysis_diagram.png" attr="" comment="" date="1491924512" name="Static_Analysis_diagram.png" path="Static Analysis diagram.png" size="144072" user="MaggieGates" version="1"
META FILEATTACHMENT attachment="test6_callgraph.png" attr="" comment="" date="1499805913" name="test6_callgraph.png" path="test6_callgraph.png" size="440537" user="AnneMarieBogar" version="1"
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback