olm/tracing
Matthew Hodgson 28622db92f switch from /usr/bin/python to /usr/bin/env python. this doesn't help folks whose python path points at python3 (e.g. Arch linux) though, but I see no choice than they have to change the shebangs, as we do on Synapse. For instance, OSX doesn't have a python2 symlink, otherwise we'd use /usr/bin/env python2 shebang. 2015-11-01 13:05:51 +00:00
..
README.rst Add gdb script and psuedo-call graph generator python script for tracing calls to crypto primitives 2015-06-21 18:47:06 +01:00
graph.py switch from /usr/bin/python to /usr/bin/env python. this doesn't help folks whose python path points at python3 (e.g. Arch linux) though, but I see no choice than they have to change the shebangs, as we do on Synapse. For instance, OSX doesn't have a python2 symlink, otherwise we'd use /usr/bin/env python2 shebang. 2015-11-01 13:05:51 +00:00
trace.gdb Add gdb script and psuedo-call graph generator python script for tracing calls to crypto primitives 2015-06-21 18:47:06 +01:00

README.rst

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