mirror of
https://github.com/hohn/codeql-workshop-dataflow-c.git
synced 2025-12-16 18:43:03 +01:00
Choose copy_mem() for ast rendering
This commit is contained in:
committed by
=Michael Hohn
parent
92d605aa7a
commit
a24441458a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user