Difference: FRCVLabMLSA_description (5 vs. 6)

Revision 62017-07-12 - AnneMarieBogar

Line: 1 to 1
 
META TOPICPARENT name="FRCVLabMLSA"
<meta name="robots" content="noindex" />

How does it work?

Changed:
<
<
Static_Analysis_diagram.png
>
>
Static_Analysis_diagram.png
 
Changed:
<
<
Call_Graph_diagram.png
>
>
Call_Graph_diagram.png
  The process starts with C, Python and JavaScript source code from which separate ASTs (Abstract Syntax Tree) are dumped using Clang-Check (for C files)
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.

Changed:
<
<
test6_callgraph.png
>
>
test6_callgraph.png
  Figure 4: Example of a multilingual call graph
Line: 49 to 49
 
META FILEATTACHMENT attachment="jsJSON.png" attr="" comment="javascript AST" date="1491593251" name="jsJSON.png" path="jsJSON.png" size="26339" user="DamianLyons" version="1"
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"
Deleted:
<
<
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"
Added:
>
>
META FILEATTACHMENT attachment="Static_Analysis_diagram.png" attr="" comment="" date="1499870065" name="Static_Analysis_diagram.png" path="Static_Analysis_diagram.png" size="31113" user="AnneMarieBogar" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback