[rb-general] new tool: autoprovenance

Bernhard M. Wiedemann bernhardout at lsmod.de
Tue Oct 9 13:43:01 CEST 2018


On 02/10/2018 11.43, Bernhard M. Wiedemann wrote:
> At some point, I also had the idea to create .dot graphs with graphviz
> visualizing the call traces or another graph to show the flow of input
> and output.

I meanwhile did add dot/svg generation in the devel branch.

Here are a few variations of graphs that helped show the (race) problem
that helped make this fix
https://github.com/PJK/libcbor/pull/72

https://www.zq1.de/~bernhard/images/rb/libcbor-j1.svg
https://www.zq1.de/~bernhard/images/rb/libcbor-j1c.svg
https://www.zq1.de/~bernhard/images/rb/libcbor-j1d.svg
https://www.zq1.de/~bernhard/images/rb/libcbor-j1d2.svg
(there are tooltips when you hold the mouse over a node or edge)

I'm not yet fully satisfied with how the dot generation and styles are
sprinkled all over the code, so maybe I'll refactor it to have some
intermediate representation (e.g. JSON) that gets consumed by a .dot
generator script.

Irrespective of the code quality, such visualizations make it even more
useful,
so I'm considering to just stracebuild many more unreproducible openSUSE
packages.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.reproducible-builds.org/pipermail/rb-general/attachments/20181009/ceb11806/attachment.sig>


More information about the rb-general mailing list