Skip to content

Commit 790a930

Browse files
Added new property that configures the handling of missing build system information
1 parent 99d8252 commit 790a930

4 files changed

Lines changed: 16 additions & 2 deletions

File tree

docker-resources/extraction_busybox.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ extraction.timeout = 60
2929
# of resources
3030
analysis.number_of_tasks = 5
3131

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+
3236
# The folders which are considered by KbuildMiner can be specified manually with the following property. Normally,
3337
# they are determined automatically, which we consider to be the best option in most cases
3438
# build.extractor.top_folders = arch/x86,block,crypto,drivers,fs,init,ipc,kernel,lib,mm,net,security,sound

docker-resources/extraction_linux.properties

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ extraction.timeout = 600
2929
# of resources
3030
analysis.number_of_tasks = 3
3131

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+
3236
# The folders which are considered by KbuildMiner can be specified manually with the following property. Normally,
3337
# they are determined automatically, which we consider to be the best option in most cases
3438
# build.extractor.top_folders = arch/x86,block,crypto,drivers,fs,init,ipc,kernel,lib,mm,net,security,sound
@@ -46,7 +50,6 @@ analysis.number_of_tasks = 3
4650
# Do not change this
4751
analysis.class = org.variantsync.vevos.extraction.kh.VariabilityAnalysis
4852
analysis.output.type = csv
49-
analysis.code_block.consider_missing_bm_infos = false
5053

5154
######################################
5255
# General Pipeline Parameters #

src/main/resources/extraction_busybox.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ extraction.timeout = 60
3030
# of resources
3131
analysis.number_of_tasks = 1
3232

33+
# Whether the file condition (aka. presence condition of source file) should be treated as 'true' or 'false' (default is 'true'),
34+
# in case of missing build model information (i.e., no feature model or file condition)
35+
analysis.code_block.consider_missing_bm_infos = true
36+
3337
# The folders which are considered by KbuildMiner can be specified manually with the following property. Normally,
3438
# they are determined automatically, which we consider to be the best option in most cases
3539
# build.extractor.top_folders = arch/x86,block,crypto,drivers,fs,init,ipc,kernel,lib,mm,net,security,sound

src/main/resources/extraction_linux.properties

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ extraction.timeout = 60
3030
# of resources
3131
analysis.number_of_tasks = 1
3232

33+
# Whether the file condition (aka. presence condition of source file) should be treated as 'true' or 'false' (default is 'true'),
34+
# in case of missing build model information (i.e., no feature model or file condition)
35+
analysis.code_block.consider_missing_bm_infos = true
36+
3337
# The folders which are considered by KbuildMiner can be specified manually with the following property. Normally,
3438
# they are determined automatically, which we consider to be the best option in most cases
3539
# build.extractor.top_folders = arch/x86,block,crypto,drivers,fs,init,ipc,kernel,lib,mm,net,security,sound
@@ -47,7 +51,6 @@ analysis.number_of_tasks = 1
4751
# Do not change this
4852
analysis.class = org.variantsync.vevos.extraction.kh.VariabilityAnalysis
4953
analysis.output.type = csv
50-
analysis.code_block.consider_missing_bm_infos = false
5154

5255
######################################
5356
# General Pipeline Parameters #

0 commit comments

Comments
 (0)