Skip to content

Commit a48b764

Browse files
Added gitignore
1 parent 790a930 commit a48b764

3 files changed

Lines changed: 107 additions & 1 deletion

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ __pycache__
2020
*/latex/*.synctex.gz
2121
/out/
2222
/src/main/resources/META-INF/
23-
extraction-results/
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
#####################################
2+
# Common Extractor Parameters #
3+
#####################################
4+
5+
# Path to BusyBox sources, change this if you have cloned the repo to a different location!
6+
source_tree = ./busybox
7+
# This url is only required if the repo has not been cloned yet and should be cloned to the directory specified above
8+
source_repo_url = https://git.busybox.net/busybox/
9+
10+
# The architecture for which BusyBOx is supposed to be analyzed, you do not have to change this value. If it is changed,
11+
# the variability is extracted for files that are associated with a different architecture. See the contents of
12+
# BUSYBOX_DIR/arch for possible values.
13+
arch = i386
14+
15+
### Logging ###
16+
# Possible values: INFO, STATUS, DEBUG, WARNING, ERROR
17+
# Log level used by KernelHaven
18+
log.level = INFO
19+
# Flag whether the KernelHaven log should be printed to the terminal
20+
log.console = false
21+
# Log level used by the VariabilityExtraction
22+
log.level.main = STATUS
23+
# For a minority of commits the build process can get stuck. We stop KernelHaven after the timeout and consider the
24+
# commit to be an error commit
25+
extraction.timeout = 60
26+
27+
### Analysis Parameters ###
28+
# How many commits should be analyzed in parallel? Warning: each task requires a considerable amount
29+
# of resources
30+
analysis.number_of_tasks = 5
31+
32+
# Whether the file condition (aka. presence condition of source file) should be treated as 'true' or 'false' (default is 'true'),
33+
# in case of missing build model information (i.e., no feature model or file condition)
34+
analysis.code_block.consider_missing_bm_infos = true
35+
36+
# The folders which are considered by KbuildMiner can be specified manually with the following property. Normally,
37+
# they are determined automatically, which we consider to be the best option in most cases
38+
# build.extractor.top_folders = arch/x86,block,crypto,drivers,fs,init,ipc,kernel,lib,mm,net,security,sound
39+
40+
#######################################
41+
#######################################
42+
# WARNING #
43+
# KernelHaven properties below. Only #
44+
# change them if you know what you #
45+
# are doing, otherwise the extraction #
46+
# might break. #
47+
#######################################
48+
#######################################
49+
50+
# Do not change this
51+
analysis.class = org.variantsync.vevos.extraction.kh.VariabilityAnalysis
52+
preparation.class.0 = net.ssehub.kernel_haven.busyboot.PrepareBusybox
53+
analysis.output.type = csv
54+
55+
######################################
56+
# General Pipeline Parameters #
57+
######################################
58+
resource_dir = commit-analysis/run-0/res/
59+
output_dir = commit-analysis/run-0/output/
60+
plugins_dir = commit-analysis/run-0/plugins/
61+
cache_dir = commit-analysis/run-0/cache/
62+
archive = false
63+
64+
### Logging ###
65+
log.dir = commit-analysis/run-0/log/
66+
log.file = true
67+
68+
################################
69+
# Code Model Parameters #
70+
################################
71+
72+
code.provider.timeout = 0
73+
code.provider.cache.write = false
74+
code.provider.cache.read = false
75+
code.extractor.class = net.ssehub.kernel_haven.block_extractor.CodeBlockExtractor
76+
code.extractor.files =
77+
# CodeBlockExtractor parses header and code files separately
78+
code.extractor.file_regex = .*\\.(c|h)
79+
code.extractor.threads = 10
80+
code.extractor.invalid_condition = TRUE
81+
code.extractor.handle_linux_macros = true
82+
code.extractor.fuzzy_parsing = true
83+
84+
85+
################################
86+
# Build Model Parameters #
87+
################################
88+
89+
build.provider.timeout = 0
90+
build.provider.cache.write = false
91+
build.provider.cache.read = false
92+
build.extractor.class = net.ssehub.kernel_haven.kbuildminer.KbuildMinerExtractor
93+
94+
95+
#######################################
96+
# Variability Model Parameters #
97+
#######################################
98+
99+
variability.provider.timeout = 0
100+
variability.provider.cache.write = true
101+
variability.provider.cache.read = false
102+
variability.extractor.class = net.ssehub.kernel_haven.kconfigreader.KconfigReaderExtractor
103+
variability.extractor.dumpconf_version = BUSYBOX

extraction-results/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Ignore everything in this directory
2+
*
3+
# Except this file
4+
!.gitignore

0 commit comments

Comments
 (0)