mirror of
https://github.com/hohn/codeql-workshop-dataflow-c.git
synced 2025-12-16 18:43:03 +01:00
minor correction
This commit is contained in:
committed by
=Michael Hohn
parent
a24441458a
commit
55a0d8a487
@@ -1,13 +1,13 @@
|
|||||||
* CodeQL AST in dot and pdf
|
* CodeQL AST in dot and pdf
|
||||||
#+BEGIN_SRC sh
|
#+BEGIN_SRC sh
|
||||||
# Produce ast in dot format
|
# Produce ast in dot format
|
||||||
codeql database analyze \
|
codeql database analyze \
|
||||||
--format=dot --output=ast.dot \
|
--format=dot --output=ast.dot \
|
||||||
-j8 -v --ram=16000 \
|
-j8 -v --ram=16000 \
|
||||||
--rerun \
|
--rerun \
|
||||||
-- \
|
-- \
|
||||||
cpp-dataflow-part1-database \
|
cpp-dataflow-part1-database \
|
||||||
graphs/ast.ql
|
graphs/ast.ql
|
||||||
|
|
||||||
# Convert dot to pdf
|
# Convert dot to pdf
|
||||||
dot -Tpdf < ast.dot/cpp/print-ast.dot > ast.dot/cpp/print-ast.pdf
|
dot -Tpdf < ast.dot/cpp/print-ast.dot > ast.dot/cpp/print-ast.pdf
|
||||||
@@ -17,13 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# This comes from
|
# This comes from
|
||||||
unzip -v cpp-dataflow-part1-database/src.zip
|
tests-common/test_part1.c
|
||||||
# Archive: cpp-dataflow-part1-database/src.zip
|
|
||||||
# Length Method Size Cmpr Date Time CRC-32 Name
|
|
||||||
# -------- ------ ------- ---- ---------- ----- -------- ----
|
|
||||||
# 3280 Defl:N 880 73% 03-17-2025 08:59 8057b2ea Users/hohn/local/codeql-workshop-dataflow-c/tests-common/test_part1.c
|
|
||||||
# -------- ------- --- -------
|
|
||||||
# 3280 880 73% 1 file
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* CodeQL CFG in dot and pdf
|
* CodeQL CFG in dot and pdf
|
||||||
|
|||||||
Reference in New Issue
Block a user