Skip to content

Commit 003ca49

Browse files
committed
fix typos
1 parent 2b4d2a1 commit 003ca49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/docs/static-analysis/codeql/10-advanced.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ Most probably you will write at least a few packs. Setup the following directory
9898

9999
We divide query packs per-language, but also per-type (security, cryptographic, etc.). This follows GitHub's convention.
100100

101-
For setting-up unit tests continue reading to [Unit testing custom queries](https://appsec.guide/docs/static-analysis/codeql/advanced/#unit-testing-custom-queries) section.
101+
For setting-up unit tests continue reading to [Unit testing custom queries](#unit-testing-custom-queries) section.
102102

103-
Finally, you can us [our bash script for generating new queries](https://github.com/trailofbits/codeql-queries/tree/main/scripts/new_query.sh) when you have the structure above.
103+
Finally, you can use [our bash script for generating new queries](https://github.com/trailofbits/codeql-queries/tree/main/scripts/new_query.sh) when you have the structure above.
104104

105105

106106
### Adding dependencies
@@ -554,7 +554,7 @@ directory should contain the following three files:
554554
The source file must build cleanly without any external dependencies.
555555
This requirement is problematic mostly for C/C++ queries: you need to create
556556
stub files with `extern` declarations for libraries you want to `#include`.
557-
Check [our tests](https://github.com/trailofbits/codeql-queries/blob/d994c7ca05dab30fe195555ef6943f9d51ec38df/cpp/test/query-tests/security/CStrnFinder/test.c#L1) for an example.
557+
Check [our tests](https://github.com/trailofbits/codeql-queries/blob/d994c7ca05dab30fe195555ef6943f9d51ec38df/cpp/test/query-tests/security/CStrnFinder/test.c#L1) for examples.
558558

559559
To test the query, run the following command:
560560

0 commit comments

Comments
 (0)