22# Common Extractor Parameters #
33# ####################################
44
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-
155# ## Logging ###
166# Possible values: INFO, STATUS, DEBUG, WARNING, ERROR
177# Log level used by KernelHaven
18- log.level = INFO
8+ log.level = DEBUG
199# Flag whether the KernelHaven log should be printed to the terminal
2010log.console = false
2111# Log level used by the VariabilityExtraction
@@ -33,10 +23,6 @@ analysis.number_of_tasks = 5
3323# in case of missing build model information (i.e., no feature model or file condition)
3424analysis.code_block.consider_missing_bm_infos = true
3525
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-
4026# ######################################
4127# ######################################
4228# WARNING #
@@ -47,9 +33,14 @@ analysis.code_block.consider_missing_bm_infos = true
4733# ######################################
4834# ######################################
4935
36+ arch =
37+
38+ # Path to sources
39+ source_tree = TBD
40+ source_repo_url = TBD
41+
5042# Do not change this
51- analysis.class = org.variantsync.vevos.extraction.kh.VariabilityAnalysis
52- preparation.class.0 = net.ssehub.kernel_haven.busyboot.PrepareBusybox
43+ analysis.class = org.variantsync.vevos.extraction.kh.PartialAnalysis
5344analysis.output.type = csv
5445
5546# #####################################
@@ -75,29 +66,19 @@ code.provider.cache.read = false
7566code.extractor.class = net.ssehub.kernel_haven.block_extractor.CodeBlockExtractor
7667code.extractor.files =
7768# CodeBlockExtractor parses header and code files separately
78- code.extractor.file_regex = .*\\ .(c|h)
69+ code.extractor.file_regex = .*\\ .(c|h|cpp|hpp )
7970code.extractor.threads = 10
8071code.extractor.invalid_condition = TRUE
81- code.extractor.handle_linux_macros = true
72+ code.extractor.handle_linux_macros = false
8273code.extractor.fuzzy_parsing = true
8374
8475
8576# ###############################
8677# Build Model Parameters #
8778# ###############################
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-
79+ # EMPTY as build model analysis is project-dependent
9480
9581# ######################################
9682# Variability Model Parameters #
9783# ######################################
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
84+ # EMPTY as variability model analysis is project-dependent
0 commit comments