-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_fortrancallgraph.py
52 lines (41 loc) · 1.77 KB
/
config_fortrancallgraph.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import os
# Config file for FortranCallGraph
# Can be placed in FortranCallGraph's root directory or in a subdirectory called config or at any place and picked with -cf
# Directory where serialized call trees are stored for quicker analysis
# OPTIONAL: If omitted call trees won't be cached
CACHE_DIR = os.path.dirname(os.path.realpath(__file__)) + '/cache'
# Locations of the assembler files
# Directories are searched in the order of this list
# Subdirectories are included automatically
# REQUIRED
ASSEMBLER_DIRS = []
# Locations of the original source files
# same as above
# REQUIRED
SOURCE_DIRS = []
# Are the files in SOURCE_DIRS already preprocessed?
# OPTIONAL, default: False
SOURCE_FILES_PREPROCESSED = False
# dict of all modules that are not defined in a filename with correspondig name (module_name.f90)
# Format 'module_name':'actual_file_name'
# OPTIONAL
SPECIAL_MODULE_FILES = {}
# Modules to be excluded completely from the analysis
# OPTIONAL
EXCLUDE_MODULES = []
# Modules from which global variables shall not be listed when running -a globals or -a all
# OPTIONAL
IGNORE_GLOBALS_FROM_MODULES = EXCLUDE_MODULES + []
# Types whose components shall not be listed when running -a ...
# OPTIONAL
IGNORE_DERIVED_TYPES = []
# List of types of which all components are considered to be used as soon as a variable of that type appears
# OPTIONAL
ALWAYS_FULL_TYPES = {}
# dict of subtypes that are chosen as the one and only implementation of an abstract type.
# FCG handles variables of a given abstract type as if the type were the given subtype.
# Format: 'abstract_type':('subtype_module','subtype')
# If the module with analyzed subroutine has a dependency to subtype_module anyway, you can leave it away:
# 'abstract_type':'subtype'
# OPTIONAL
ABSTRACT_TYPE_IMPLEMENTATIONS = {}