aboutsummaryrefslogtreecommitdiff
path: root/tracing/README.rst
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-06-21 18:47:06 +0100
committerMark Haines <mark.haines@matrix.org>2015-06-21 18:47:06 +0100
commitfb980849c4ffc99bca7a2dd5a347e9f0b4b99469 (patch)
treed223e53f304a8fa7dca8df7b8f442af7bd6ff67e /tracing/README.rst
parent0ca3797d2d065e63dc5806ba014bcb742b09c5d7 (diff)
Add gdb script and psuedo-call graph generator python script for tracing calls to crypto primitives
Diffstat (limited to 'tracing/README.rst')
-rw-r--r--tracing/README.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/tracing/README.rst b/tracing/README.rst
new file mode 100644
index 0000000..d2846ef
--- /dev/null
+++ b/tracing/README.rst
@@ -0,0 +1,8 @@
+Tracing
+=======
+
+To see what crypto functions are being called with what input run
+
+.. code:: bash
+
+ gdb --batch -x tracing/trace.gdb ./build/test_ratchet | grep "^[- ]" | tr "{}" "[]" | tracing/graph.py