diff --git a/info.org b/info.org index 36af4a2..ba3b39f 100644 --- a/info.org +++ b/info.org @@ -134,41 +134,39 @@ #+END_SRC -** build db - cpp-sqli-834ef46/ - +** +build db+ TBD #+BEGIN_SRC sh - SRCDIR=$(pwd) - DB=$SRCDIR/cpp-sqli-$(cd $SRCDIR && git rev-parse --short HEAD) + # SRCDIR=$(pwd) + # DB=$SRCDIR/cpp-sqli-$(cd $SRCDIR && git rev-parse --short HEAD) - echo $DB - test -d "$DB" && rm -fR "$DB" - mkdir -p "$DB" + # echo $DB + # test -d "$DB" && rm -fR "$DB" + # mkdir -p "$DB" - cd $SRCDIR && codeql database create --language=cpp -s . -j 8 -v $DB --command='./build.sh' + # cd $SRCDIR && codeql database create --language=cpp -s . -j 8 -v $DB --command='./build.sh' #+END_SRC -** analyze db +** +analyze windows-built db+ TBD #+BEGIN_SRC sh - # Check paths - echo $DB - echo $SRCDIR + # # Check paths + # echo $DB + # echo $SRCDIR - # setup - cd $SRCDIR - codeql pack install + # # 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 + # # 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