Skip to content

Commit da96b2a

Browse files
committed
Add src/resolved-languages.json
1 parent aa90e97 commit da96b2a

File tree

1 file changed

+291
-0
lines changed

1 file changed

+291
-0
lines changed

src/resolved-languages.json

Lines changed: 291 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,291 @@
1+
{
2+
"aliases" : {
3+
"c" : "cpp",
4+
"c++" : "cpp",
5+
"c-c++" : "cpp",
6+
"c-cpp" : "cpp",
7+
"c#" : "csharp",
8+
"java-kotlin" : "java",
9+
"kotlin" : "java",
10+
"javascript-typescript" : "javascript",
11+
"typescript" : "javascript"
12+
},
13+
"extractors" : {
14+
"xml" : [
15+
{
16+
"extractor_root" : "/opt/hostedtoolcache/CodeQL/2.23.0/x64/codeql/xml"
17+
}
18+
],
19+
"python" : [
20+
{
21+
"extractor_root" : "/opt/hostedtoolcache/CodeQL/2.23.0/x64/codeql/python",
22+
"extractor_options" : {
23+
"logging" : {
24+
"title" : "Options pertaining to logging.",
25+
"description" : "Options pertaining to logging.",
26+
"type" : "object",
27+
"properties" : {
28+
"verbosity" : {
29+
"title" : "Python extractor logging verbosity level.",
30+
"description" : "Controls the level of verbosity of the CodeQL Python extractor.\nThe supported levels are (in order of increasing verbosity):\n\n - off\n - errors\n - warnings\n - info or progress\n - debug or progress+\n - trace or progress++\n - progress+++\n",
31+
"type" : "string",
32+
"pattern" : "^(off|errors|warnings|(info|progress)|(debug|progress\\+)|(trace|progress\\+\\+)|progress\\+\\+\\+)$"
33+
}
34+
}
35+
},
36+
"python_executable_name" : {
37+
"title" : "Controls the name of the Python executable used by the Python extractor.",
38+
"description" : "The Python extractor uses platform-dependent heuristics to determine the name of the Python executable to use. Specifying a value for this option overrides the name of the Python executable used by the extractor. Accepted values are py, python and python3. Use this setting with caution, the Python extractor requires Python 3 to run.\n",
39+
"type" : "string",
40+
"pattern" : "^(py|python|python3)$"
41+
}
42+
}
43+
}
44+
],
45+
"properties" : [
46+
{
47+
"extractor_root" : "/opt/hostedtoolcache/CodeQL/2.23.0/x64/codeql/properties"
48+
}
49+
],
50+
"javascript" : [
51+
{
52+
"extractor_root" : "/opt/hostedtoolcache/CodeQL/2.23.0/x64/codeql/javascript",
53+
"extractor_options" : {
54+
"skip_types" : {
55+
"title" : "Skip type extraction for TypeScript",
56+
"description" : "Whether to skip the extraction of types in a TypeScript application",
57+
"type" : "string",
58+
"pattern" : "^(false|true)$"
59+
}
60+
}
61+
}
62+
],
63+
"csharp" : [
64+
{
65+
"extractor_root" : "/opt/hostedtoolcache/CodeQL/2.23.0/x64/codeql/csharp",
66+
"extractor_options" : {
67+
"trap" : {
68+
"title" : "Options pertaining to TRAP.",
69+
"description" : "Options pertaining to TRAP.",
70+
"type" : "object",
71+
"properties" : {
72+
"compression" : {
73+
"title" : "Controls compression for the TRAP files written by the extractor.",
74+
"description" : "This option is only intended for use in debugging the extractor. Accepted values are 'brotli' (the default, to write brotli-compressed TRAP), 'gzip', and 'none' (to write uncompressed TRAP).\n",
75+
"type" : "string",
76+
"pattern" : "^(none|gzip|brotli)$"
77+
}
78+
}
79+
},
80+
"buildless" : {
81+
"title" : "DEPRECATED - Whether to use buildless (standalone) extraction.",
82+
"description" : "DEPRECATED: Use `--build-mode none` instead.\nA value indicating, which type of extraction the autobuilder should perform. If 'true', then the standalone extractor will be used, otherwise tracing extraction will be performed. The default is 'false'. Note that buildless extraction will generally yield less accurate analysis results, and should only be used in cases where it is not possible to build the code (for example if it uses inaccessible dependencies).\n",
83+
"type" : "string",
84+
"pattern" : "^(false|true)$"
85+
},
86+
"logging" : {
87+
"title" : "Options pertaining to logging.",
88+
"description" : "Options pertaining to logging.",
89+
"type" : "object",
90+
"properties" : {
91+
"verbosity" : {
92+
"title" : "Extractor logging verbosity level.",
93+
"description" : "Controls the level of verbosity of the extractor. The supported levels are (in order of increasing verbosity):\n - off\n - errors\n - warnings\n - info or progress\n - debug or progress+\n - trace or progress++\n - progress+++\n",
94+
"type" : "string",
95+
"pattern" : "^(off|errors|warnings|(info|progress)|(debug|progress\\+)|(trace|progress\\+\\+)|progress\\+\\+\\+)$"
96+
}
97+
}
98+
},
99+
"binlog" : {
100+
"title" : "Binlog",
101+
"description" : "[EXPERIMENTAL] The value is a path to the MsBuild binary log file that should be extracted. This option only works when `--build-mode none` is also specified.\n",
102+
"type" : "array"
103+
}
104+
}
105+
}
106+
],
107+
"rust" : [
108+
{
109+
"extractor_root" : "/opt/hostedtoolcache/CodeQL/2.23.0/x64/codeql/rust",
110+
"extractor_options" : {
111+
"trap" : {
112+
"title" : "Options pertaining to TRAP.",
113+
"description" : "Options pertaining to TRAP.",
114+
"type" : "object",
115+
"properties" : {
116+
"compression" : {
117+
"title" : "Controls compression for the TRAP files written by the extractor.",
118+
"description" : "This option is only intended for use in debugging the extractor. Accepted values are 'gzip' (to write gzip-compressed TRAP) 'zstd' (to write Zstandard-compressed TRAP) and 'none' (the default, to write uncompressed TRAP).\n",
119+
"type" : "string",
120+
"pattern" : "^(none|gzip|zstd)$"
121+
}
122+
}
123+
},
124+
"cargo_target_dir" : {
125+
"title" : "Directory to use for cargo output files.",
126+
"description" : "This value is an optional path to use as `CARGO_TARGET_DIR` for the internal cargo commands the extractor uses. Pointing it to a persistent directory may reduce execution time of consecutive extractor runs. By default, a new scratch directory is used for each run.\n",
127+
"type" : "string"
128+
},
129+
"cargo_target" : {
130+
"title" : "Target architecture",
131+
"description" : "Target architecture to use for analysis, analogous to `cargo --target`. By default the host architecture is used.\n",
132+
"type" : "string"
133+
},
134+
"cargo_features" : {
135+
"title" : "Cargo features to turn on",
136+
"description" : "Comma-separated list of features to turn on. By default all features are enabled. If any features are specified, then only those features are enabled. The `default` feature must be explicitly specified if only default features are desired. Can be repeated.\n",
137+
"type" : "array"
138+
},
139+
"cargo_cfg_overrides" : {
140+
"title" : "Cargo cfg overrides",
141+
"description" : "Comma-separated list of cfg settings to enable, or disable if prefixed with `-`. Can be repeated.\n",
142+
"type" : "array"
143+
},
144+
"logging" : {
145+
"title" : "Options pertaining to logging.",
146+
"description" : "Options pertaining to logging.",
147+
"type" : "object",
148+
"properties" : {
149+
"verbosity" : {
150+
"title" : "Extractor logging verbosity level.",
151+
"description" : "Controls the level of verbosity of the extractor. The supported levels are (in order of increasing verbosity):\n - off\n - errors\n - warnings\n - info or progress\n - debug or progress+\n - trace or progress++\n - progress+++\n",
152+
"type" : "string",
153+
"pattern" : "^(off|errors|warnings|(info|progress)|(debug|progress\\+)|(trace|progress\\+\\+)|progress\\+\\+\\+)$"
154+
},
155+
"flamegraph" : {
156+
"title" : "[Experimental] File path for write flame graph log",
157+
"description" : "Collect flame graph data using the `tracing-flame` crate. To render a flame graph or chart, run the `inferno-flamegraph` command. See also: https://crates.io/crates/tracing-flame\n",
158+
"type" : "string"
159+
}
160+
}
161+
},
162+
"extract_dependencies_as_source" : {
163+
"title" : "Extract dependencies as source code",
164+
"description" : "Extract the full source code of dependencies instead of only extracting signatures.\n",
165+
"type" : "string",
166+
"pattern" : "^(false|true)$"
167+
}
168+
}
169+
}
170+
],
171+
"ruby" : [
172+
{
173+
"extractor_root" : "/opt/hostedtoolcache/CodeQL/2.23.0/x64/codeql/ruby",
174+
"extractor_options" : {
175+
"trap" : {
176+
"title" : "Options pertaining to TRAP.",
177+
"description" : "Options pertaining to TRAP.",
178+
"type" : "object",
179+
"properties" : {
180+
"compression" : {
181+
"title" : "Controls compression for the TRAP files written by the extractor.",
182+
"description" : "This option is only intended for use in debugging the extractor. Accepted values are 'gzip' (the default, to write gzip-compressed TRAP) 'zstd' (to write Zstandard-compressed TRAP) and 'none' (to write uncompressed TRAP).\n",
183+
"type" : "string",
184+
"pattern" : "^(none|gzip|zstd)$"
185+
}
186+
}
187+
}
188+
}
189+
}
190+
],
191+
"go" : [
192+
{
193+
"extractor_root" : "/opt/hostedtoolcache/CodeQL/2.23.0/x64/codeql/go",
194+
"extractor_options" : {
195+
"extract_tests" : {
196+
"title" : "Whether to include Go test files in the CodeQL database.",
197+
"description" : "A value indicating whether Go test files should be included in the CodeQL database. The default is 'false'.\n",
198+
"type" : "string",
199+
"pattern" : "^(false|true)$"
200+
},
201+
"extract_vendor_dirs" : {
202+
"title" : "Whether to include Go vendor directories in the CodeQL database.",
203+
"description" : "A value indicating whether Go vendor directories should be included in the CodeQL database. The default is 'false'.\n",
204+
"type" : "string",
205+
"pattern" : "^(false|true)$"
206+
}
207+
}
208+
}
209+
],
210+
"cpp" : [
211+
{
212+
"extractor_root" : "/opt/hostedtoolcache/CodeQL/2.23.0/x64/codeql/cpp",
213+
"extractor_options" : {
214+
"scale_timeouts" : {
215+
"title" : "Value to scale compiler introspection timeouts with",
216+
"description" : "The extractor attempts to determine what compiler the source code being extracted is compiled with. To this end the extractor makes additional calls to the compiler, some of which are expected to return within a certain fixed time (either 10s or 15s). On some systems that are under high load this time might be too short, and can be scaled up using this option.\n",
217+
"type" : "string",
218+
"pattern" : "[0-9]+"
219+
},
220+
"log_verbosity" : {
221+
"title" : "Verbosity of the extractor logging",
222+
"description" : "Set the verbosity of the extractor logging to 'quiet' (0), 'normal' (1), 'chatty' (2), or 'noisy' (3). The default is 'normal'.\n",
223+
"type" : "string",
224+
"pattern" : "[0-3]"
225+
}
226+
}
227+
}
228+
],
229+
"yaml" : [
230+
{
231+
"extractor_root" : "/opt/hostedtoolcache/CodeQL/2.23.0/x64/codeql/yaml"
232+
}
233+
],
234+
"html" : [
235+
{
236+
"extractor_root" : "/opt/hostedtoolcache/CodeQL/2.23.0/x64/codeql/html"
237+
}
238+
],
239+
"swift" : [
240+
{
241+
"extractor_root" : "/opt/hostedtoolcache/CodeQL/2.23.0/x64/codeql/swift"
242+
}
243+
],
244+
"csv" : [
245+
{
246+
"extractor_root" : "/opt/hostedtoolcache/CodeQL/2.23.0/x64/codeql/csv"
247+
}
248+
],
249+
"actions" : [
250+
{
251+
"extractor_root" : "/opt/hostedtoolcache/CodeQL/2.23.0/x64/codeql/actions",
252+
"extractor_options" : { }
253+
}
254+
],
255+
"java" : [
256+
{
257+
"extractor_root" : "/opt/hostedtoolcache/CodeQL/2.23.0/x64/codeql/java",
258+
"extractor_options" : {
259+
"exclude" : {
260+
"title" : "A glob excluding files from analysis.",
261+
"description" : "A glob indicating what files to exclude from the analysis. This accepts glob patterns that are supported by Java's 'getPathMatcher' implementation.\n",
262+
"type" : "string"
263+
},
264+
"add_prefer_source" : {
265+
"title" : "Whether to always prefer source files over class files.",
266+
"description" : "A value indicating whether source files should be preferred over class files. If set to 'true', the extraction adds '-Xprefer:source' to the javac command line. If set to 'false', the extraction uses the default javac behavior ('-Xprefer:newer'). The default is 'true'.\n",
267+
"type" : "string",
268+
"pattern" : "^(false|true)$"
269+
},
270+
"buildless" : {
271+
"title" : "Whether to use buildless (standalone) extraction (experimental).",
272+
"description" : "A value indicating, which type of extraction the autobuilder should perform. If 'true', then the standalone extractor will be used, otherwise tracing extraction will be performed. The default is 'false'. Note that buildless extraction will generally yield less accurate analysis results, and should only be used in cases where it is not possible to build the code (for example if it uses inaccessible dependencies).\n",
273+
"type" : "string",
274+
"pattern" : "^(false|true)$"
275+
},
276+
"buildless_dependency_dir" : {
277+
"title" : "The path where buildless (standalone) extraction should keep dependencies.",
278+
"description" : "If set, the buildless (standalone) extractor will store dependencies in this directory.\n",
279+
"type" : "string"
280+
},
281+
"minimize_dependency_jars" : {
282+
"title" : "Whether to rewrite and minimize downloaded JAR dependencies (experimental).",
283+
"description" : "If 'true', JAR dependencies downloaded during extraction will be rewritten to remove unneeded data, such as method bodies. The default is 'false'.\n",
284+
"type" : "string",
285+
"pattern" : "^(false|true)$"
286+
}
287+
}
288+
}
289+
]
290+
}
291+
}

0 commit comments

Comments
 (0)