Skip to content

Commit 69d7baa

Browse files
author
james
committed
docs: update snapshot terminology
1 parent 8661de1 commit 69d7baa

17 files changed

+46
-46
lines changed

docs/language/ql-training/cpp/bad-overflow-guard.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ Setup
1616
For this example you should download:
1717

1818
- `QL for Eclipse <https://help.semmle.com/ql-for-eclipse/Content/WebHelp/install-plugin-free.html>`__
19-
- `ChakraCore snapshot <https://downloads.lgtm.com/snapshots/cpp/microsoft/chakracore/ChakraCore-revision-2017-April-12--18-13-26.zip>`__
19+
- `ChakraCore database <https://downloads.lgtm.com/snapshots/cpp/microsoft/chakracore/ChakraCore-revision-2017-April-12--18-13-26.zip>`__
2020

2121
.. note::
2222

2323
For the examples in this presentation, we will be analyzing `ChakraCore <https://github.com/microsoft/ChakraCore>`__.
2424

2525
You can query the project in `the query console <https://lgtm.com/query/project:2034240708/lang:cpp/>`__ on LGTM.com.
2626

27-
.. insert snapshot-note.rst to explain differences between snapshot available to download and the version available in the query console.
27+
.. insert database-note.rst to explain differences between database available to download and the version available in the query console.
2828
29-
.. include:: ../slide-snippets/snapshot-note.rst
29+
.. include:: ../slide-snippets/database-note.rst
3030

3131
.. resume slides
3232
@@ -233,4 +233,4 @@ The final query
233233
.. literalinclude:: ../query-examples/cpp/bad-overflow-guard-3.ql
234234
:language: ql
235235

236-
This query finds a single result in our historic snapshot, which was `a genuine bug in ChakraCore <https://github.com/Microsoft/ChakraCore/commit/2500e1cdc12cb35af73d5c8c9b85656aba6bab4d>`__.
236+
This query finds a single result in our historic database, which was `a genuine bug in ChakraCore <https://github.com/Microsoft/ChakraCore/commit/2500e1cdc12cb35af73d5c8c9b85656aba6bab4d>`__.

docs/language/ql-training/cpp/control-flow-cpp.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ Setup
1818
For this example you should download:
1919

2020
- `QL for Eclipse <https://help.semmle.com/ql-for-eclipse/Content/WebHelp/install-plugin-free.html>`__
21-
- `ChakraCore snapshot <https://downloads.lgtm.com/snapshots/cpp/microsoft/chakracore/ChakraCore-revision-2017-April-12--18-13-26.zip>`__
21+
- `ChakraCore database <https://downloads.lgtm.com/snapshots/cpp/microsoft/chakracore/ChakraCore-revision-2017-April-12--18-13-26.zip>`__
2222

2323
.. note::
2424

2525
For the examples in this presentation, we will be analyzing `ChakraCore <https://github.com/microsoft/ChakraCore>`__.
2626

2727
You can query the project in `the query console <https://lgtm.com/query/project:2034240708/lang:cpp/>`__ on LGTM.com.
2828

29-
.. insert snapshot-note.rst to explain differences between snapshot available to download and the version available in the query console.
29+
.. insert database-note.rst to explain differences between database available to download and the version available in the query console.
3030
31-
.. include:: ../slide-snippets/snapshot-note.rst
31+
.. include:: ../slide-snippets/database-note.rst
3232

3333
.. resume slides
3434

docs/language/ql-training/cpp/data-flow-cpp.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ Setup
1616
For this example you should download:
1717

1818
- `QL for Eclipse <https://help.semmle.com/ql-for-eclipse/Content/WebHelp/install-plugin-free.html>`__
19-
- `dotnet/coreclr snapshot <http://downloads.lgtm.com/snapshots/cpp/dotnet/coreclr/dotnet_coreclr_fbe0c77.zip>`__
19+
- `dotnet/coreclr database <http://downloads.lgtm.com/snapshots/cpp/dotnet/coreclr/dotnet_coreclr_fbe0c77.zip>`__
2020

2121
.. note::
2222

2323
For the examples in this presentation, we will be analyzing `dotnet/coreclr <https://github.com/dotnet/coreclr>`__.
2424

2525
You can query the project in `the query console <https://lgtm.com/query/projects:1505958977333/lang:cpp/>`__ on LGTM.com.
2626

27-
.. insert snapshot-note.rst to explain differences between snapshot available to download and the version available in the query console.
27+
.. insert database-note.rst to explain differences between database available to download and the version available in the query console.
2828
29-
.. include:: ../slide-snippets/snapshot-note.rst
29+
.. include:: ../slide-snippets/database-note.rst
3030

3131
.. resume slides
3232

docs/language/ql-training/cpp/global-data-flow-cpp.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ Setup
1616
For this example you should download:
1717

1818
- `QL for Eclipse <https://help.semmle.com/ql-for-eclipse/Content/WebHelp/install-plugin-free.html>`__
19-
- `dotnet/coreclr snapshot <http://downloads.lgtm.com/snapshots/cpp/dotnet/coreclr/dotnet_coreclr_fbe0c77.zip>`__
19+
- `dotnet/coreclr database <http://downloads.lgtm.com/snapshots/cpp/dotnet/coreclr/dotnet_coreclr_fbe0c77.zip>`__
2020

2121
.. note::
2222

2323
For the examples in this presentation, we will be analyzing `dotnet/coreclr <https://github.com/dotnet/coreclr>`__.
2424

2525
You can query the project in `the query console <https://lgtm.com/query/projects:1505958977333/lang:cpp/>`__ on LGTM.com.
2626

27-
.. insert snapshot-note.rst to explain differences between snapshot available to download and the version available in the query console.
27+
.. insert database-note.rst to explain differences between database available to download and the version available in the query console.
2828
29-
.. include:: ../slide-snippets/snapshot-note.rst
29+
.. include:: ../slide-snippets/database-note.rst
3030

3131
.. resume slides
3232

docs/language/ql-training/cpp/intro-ql-cpp.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ Setup
1616
For this example you should download:
1717

1818
- `QL for Eclipse <https://help.semmle.com/ql-for-eclipse/Content/WebHelp/install-plugin-free.html>`__
19-
- `exiv2 snapshot <http://downloads.lgtm.com/snapshots/cpp/exiv2/Exiv2_exiv2_b090f4d.zip>`__
19+
- `exiv2 database <http://downloads.lgtm.com/snapshots/cpp/exiv2/Exiv2_exiv2_b090f4d.zip>`__
2020

2121
.. note::
2222

2323
For this example, we will be analyzing `exiv2 <https://github.com/Exiv2/exiv2>`__.
2424

2525
You can also query the project in `the query console <https://lgtm.com/query/project:1506532406873/lang:cpp/>`__ on LGTM.com.
2626

27-
.. insert snapshot-note.rst to explain differences between snapshot available to download and the version available in the query console.
27+
.. insert database-note.rst to explain differences between database available to download and the version available in the query console.
2828
29-
.. include:: ../slide-snippets/snapshot-note.rst
29+
.. include:: ../slide-snippets/database-note.rst
3030

3131
.. resume slides
3232

docs/language/ql-training/cpp/program-representation-cpp.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Working with macros
107107
#define square(x) x*x
108108
y = square(y0), z = square(z0)
109109
110-
is represented in the snapshot database as:
110+
is represented in the CodeQL database database as:
111111

112112
- A Macro entity representing the text of the *head* and *body* of the macro
113113
- Assignment nodes, representing the two assignments after preprocessing
@@ -121,4 +121,4 @@ Useful predicates on ``Element``: ``isInMacroExpansion()``, ``isAffectedByMacro(
121121

122122
.. note::
123123

124-
The snapshot also contains information about macro definitions, which are represented by class ``Macro``. These macro definitions are related to the AST nodes resulting from their uses by the class ``MacroAccess``.
124+
The CodeQL database also contains information about macro definitions, which are represented by class ``Macro``. These macro definitions are related to the AST nodes resulting from their uses by the class ``MacroAccess``.

docs/language/ql-training/cpp/snprintf.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ Setup
1616
For this example you should download:
1717

1818
- `QL for Eclipse <https://help.semmle.com/ql-for-eclipse/Content/WebHelp/install-plugin-free.html>`__
19-
- `rsyslog snapshot <https://downloads.lgtm.com/snapshots/cpp/rsyslog/rsyslog/rsyslog-all-revision-2018-April-27--14-12-31.zip>`__
19+
- `rsyslog database <https://downloads.lgtm.com/snapshots/cpp/rsyslog/rsyslog/rsyslog-all-revision-2018-April-27--14-12-31.zip>`__
2020

2121
.. note::
2222

2323
For this example, we will be analyzing `rsyslog <https://github.com/rsyslog/rsyslog>`__.
2424

2525
You can also query the project in `the query console <https://lgtm.com/query/project:1506087977050/lang:cpp/>`__ on LGTM.com.
2626

27-
.. insert snapshot-note.rst to explain differences between snapshot available to download and the version available in the query console.
27+
.. insert database-note.rst to explain differences between database available to download and the version available in the query console.
2828
29-
.. include:: ../slide-snippets/snapshot-note.rst
29+
.. include:: ../slide-snippets/database-note.rst
3030

3131
.. resume slides
3232

docs/language/ql-training/java/apache-struts-java.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ Setup
2020
For this example you should download:
2121

2222
- `QL for Eclipse <https://help.semmle.com/ql-for-eclipse/Content/WebHelp/install-plugin-free.html>`__
23-
- `Apache Struts snapshot <https://downloads.lgtm.com/snapshots/java/apache/struts/apache-struts-7fd1622-CVE-2018-11776.zip>`__
23+
- `Apache Struts database <https://downloads.lgtm.com/snapshots/java/apache/struts/apache-struts-7fd1622-CVE-2018-11776.zip>`__
2424

2525
.. note::
2626

2727
For this example, we will be analyzing `Apache Struts <https://github.com/apache/struts>`__.
2828

2929
You can also query the project in `the query console <https://lgtm.com/query/project:1878521151/lang:java/>`__ on LGTM.com.
3030

31-
.. insert snapshot-note.rst to explain differences between snapshot available to download and the version available in the query console.
31+
.. insert database-note.rst to explain differences between database available to download and the version available in the query console.
3232
33-
.. include:: ../slide-snippets/snapshot-note.rst
33+
.. include:: ../slide-snippets/database-note.rst
3434

3535
.. resume slides
3636

docs/language/ql-training/java/data-flow-java.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ Setup
1616
For this example you should download:
1717

1818
- `QL for Eclipse <https://help.semmle.com/ql-for-eclipse/Content/WebHelp/install-plugin-free.html>`__
19-
- `VIVO Vitro snapshot <http://downloads.lgtm.com/snapshots/java/vivo-project/Vitro/vivo-project_Vitro_java-srcVersion_47ae42c01954432c3c3b92d5d163551ce367f510-dist_odasa-lgtm-2019-04-23-7ceff95-linux64.zip>`__
19+
- `VIVO Vitro database <http://downloads.lgtm.com/snapshots/java/vivo-project/Vitro/vivo-project_Vitro_java-srcVersion_47ae42c01954432c3c3b92d5d163551ce367f510-dist_odasa-lgtm-2019-04-23-7ceff95-linux64.zip>`__
2020

2121
.. note::
2222

2323
For this example, we will be analyzing `VIVO Vitro <https://github.com/vivo-project/Vitro>`__.
2424

2525
You can also query the project in `the query console <https://lgtm.com/query/project:14040005/lang:java/>`__ on LGTM.com.
2626

27-
.. insert snapshot-note.rst to explain differences between snapshot available to download and the version available in the query console.
27+
.. insert database-note.rst to explain differences between database available to download and the version available in the query console.
2828
29-
.. include:: ../slide-snippets/snapshot-note.rst
29+
.. include:: ../slide-snippets/database-note.rst
3030

3131
.. resume slides
3232

docs/language/ql-training/java/global-data-flow-java.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ Setup
1616
For this example you should download:
1717

1818
- `QL for Eclipse <https://help.semmle.com/ql-for-eclipse/Content/WebHelp/install-plugin-free.html>`__
19-
- `Apache Struts snapshot <https://downloads.lgtm.com/snapshots/java/apache/struts/apache-struts-7fd1622-CVE-2018-11776.zip>`__
19+
- `Apache Struts database <https://downloads.lgtm.com/snapshots/java/apache/struts/apache-struts-7fd1622-CVE-2018-11776.zip>`__
2020

2121
.. note::
2222

2323
For this example, we will be analyzing `Apache Struts <https://github.com/apache/struts>`__.
2424

2525
You can also query the project in `the query console <https://lgtm.com/query/project:1878521151/lang:java/>`__ on LGTM.com.
2626

27-
.. insert snapshot-note.rst to explain differences between snapshot available to download and the version available in the query console.
27+
.. insert database-note.rst to explain differences between database available to download and the version available in the query console.
2828
29-
.. include:: ../slide-snippets/snapshot-note.rst
29+
.. include:: ../slide-snippets/database-note.rst
3030

3131
.. resume slides
3232

0 commit comments

Comments
 (0)