about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCityOfLight77 <75525669+CityOfLight77@users.noreply.github.com>2021-12-15 09:22:17 +0700
committerGitHub <noreply@github.com>2021-12-15 09:22:17 +0700
commitfad8a3feb842f5c9ae2ea009b3efe57619cb051a (patch)
tree68fd0092629f9d5e5c75cd1d9d2592ed84c79f0a
parent2564eb6f8c8ed49b0ec30e1e297ad93067e8f1f2 (diff)
downloadafl++-fad8a3feb842f5c9ae2ea009b3efe57619cb051a.tar.gz
Fix CodeQL command typo
fix command to create CodeQL database and use all cores to compile CodeQL database
-rw-r--r--utils/autodict_ql/readme.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/autodict_ql/readme.md b/utils/autodict_ql/readme.md
index f61026b7..42059f09 100644
--- a/utils/autodict_ql/readme.md
+++ b/utils/autodict_ql/readme.md
@@ -104,7 +104,7 @@ The usage of Autodict-QL is pretty easy. But let's describe it as:
      we want to compile `libxml` with codeql. Go to libxml and issue the
      following commands:
      - `./configure --disable-shared`
-     - `codeql create database libxml-db --language=cpp --command=make`
+     - `codeql database create libxml-db --language=cpp --command="make -j$(nproc)"`
        - Now you have the CodeQL database of the project :-)
 3. The final step is to update the CodeQL database you created in step 2
    (Suppose we are in `aflplusplus/utils/autodict_ql/` directory):
@@ -144,4 +144,4 @@ There are 2 important points to remember:
 - Do not forget to set `AFL_MAX_DET_EXTRAS` at least to the number of generated
   dictionaries. If you forget to set this environment variable, then AFL++ uses
   just 200 tokens and use the rest of them only probabilistically. So this will
-  guarantee that your tokens will be used by AFL++.
\ No newline at end of file
+  guarantee that your tokens will be used by AFL++.