Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 586fd5a

Browse files
committed
Java: Rename file for generating flow models.
1 parent bbf60b8 commit 586fd5a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

java/ql/src/utils/model-generator/GenerateFlowModel.py renamed to java/ql/src/utils/model-generator/generate_flow_model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
def printHelp():
1313
print("""Usage:
14-
GenerateFlowModel.py <library-database> <outputQll> [--with-sinks] [--with-sources] [--with-summaries]
14+
python3 GenerateFlowModel.py <library-database> <outputQll> [--with-sinks] [--with-sources] [--with-summaries]
1515
1616
This generates summary, source and sink models for the code in the database.
1717
The files will be placed in `java/ql/lib/semmle/code/java/frameworks/<outputQll>` where
@@ -25,8 +25,8 @@ def printHelp():
2525
If none of these flags are specified, all models are generated.
2626
2727
Example invocations:
28-
$ GenerateFlowModel.py /tmp/dbs/apache_commons-codec_45649c8 "apache/Codec.qll"
29-
$ GenerateFlowModel.py /tmp/dbs/jdk15_db "javase/jdk_sinks.qll" --with-sinks
28+
$ python3 GenerateFlowModel.py /tmp/dbs/apache_commons-codec_45649c8 "apache/Codec.qll"
29+
$ python3 GenerateFlowModel.py /tmp/dbs/jdk15_db "javase/jdk_sinks.qll" --with-sinks
3030
3131
Requirements: `codeql` should both appear on your path.
3232
""")

0 commit comments

Comments
 (0)