Skip to content

Commit beefa49

Browse files
committed
Updates requested in the PR.
1 parent 70619d0 commit beefa49

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

driver/mkbench.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,11 @@ def collect_java_binaries(cmdline):
164164
copied_command_line = {key.replace("_", "-"): val for key, val in vars(cmdline).items()}
165165

166166
# Loop over all our detected entry points and create a folder for each.
167-
class_paths = [p for p in (modelled_java_libraries.classpath_jar_files +
168-
modelled_library_directories +
169-
java_binaries.classpath_jar_files +
170-
java_libraries.classpath_jar_files +
171-
library_directories)]
167+
class_paths = (modelled_java_libraries.classpath_jar_files +
168+
modelled_library_directories +
169+
java_binaries.classpath_jar_files +
170+
java_libraries.classpath_jar_files +
171+
library_directories)
172172
for ep_data in ep_config["entryPoints"]:
173173

174174
method_data = ep_data["method"]

driver/run.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ def create_parser():
157157
"option the GOTO binary won't be produced and taint analysis is applied directly to "
158158
"the loaded Java program (translated to GOTO in the memory).")
159159
parser.add_argument("--use-models-library", action="store_true",
160-
help="Add the Diffblue Models Library's JAR file to the classpath of the security-scanner.")
160+
help="Add the Diffblue Models Library's JAR file to the classpath of the security-scanner. "
161+
"It will be put in front of the JARs of the analysed web application.")
161162
parser.add_argument("--use-java-runtime-library", action="store_true",
162163
help="Add the Java standard library to the classpath. First, there will be attempt to add "
163164
"OpenJDK version of the library. If it is not found (e.g. not installed), then the "

0 commit comments

Comments
 (0)