add * mac ** analyze db

This commit is contained in:
Michael Hohn
2025-03-04 19:48:28 -08:00
committed by =Michael Hohn
parent 55bc877bff
commit f94354b567
16 changed files with 59 additions and 1 deletions

View File

@@ -12,6 +12,31 @@
cd $SRCDIR && codeql database create --language=cpp -s . -j 8 -v $DB --command='./build.sh'
#+END_SRC
** analyze db
#+BEGIN_SRC sh
# Check paths
echo $DB
echo $SRCDIR
# setup
cd $SRCDIR
codeql pack install
# Run the query
cd $SRCDIR
codeql database analyze \
-v \
--ram=14000 \
-j12 \
--rerun \
--format=sarif-latest \
--output cpp-sqli-834ef46.sarif \
-- \
$DB \
$SRCDIR/SqlInjection.ql
#+END_SRC
** hardware
#+BEGIN_SRC sh
0:$ uname -a