Choose copy_mem() for ast rendering

This commit is contained in:
Michael Hohn
2025-03-17 19:21:15 -07:00
committed by =Michael Hohn
parent 92d605aa7a
commit a24441458a
4 changed files with 223 additions and 93 deletions

View File

@@ -1,9 +1,13 @@
* CodeQL AST in dot and pdf
#+BEGIN_SRC sh
# Produce ast in dot format
codeql database analyze \
--format=dot --output=ast.dot \
-- cpp-dataflow-part1-database solutions/ast.ql
codeql database analyze \
--format=dot --output=ast.dot \
-j8 -v --ram=16000 \
--rerun \
-- \
cpp-dataflow-part1-database \
graphs/ast.ql
# Convert dot to pdf
dot -Tpdf < ast.dot/cpp/print-ast.dot > ast.dot/cpp/print-ast.pdf