Skip to content

Commit

Permalink
python/xrelfo: the ELF xref extractor
Browse files Browse the repository at this point in the history
This creates JSON dumps of all the xref structs littered around FRR.

Signed-off-by: David Lamparter <equinox@diac24.net>
  • Loading branch information
eqvinox committed Feb 23, 2021
1 parent 5609b3a commit 36a8fdf
Show file tree
Hide file tree
Showing 9 changed files with 1,516 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,16 @@ EXTRA_DIST += \
\
python/clidef.py \
python/clippy/__init__.py \
python/clippy/elf.py \
python/clippy/uidhash.py \
python/makevars.py \
python/makefile.py \
python/tiabwarfo.py \
python/xrelfo.py \
python/test_xrelfo.py \
python/runtests.py \
\
python/xrefstructs.json \
\
redhat/frr.logrotate \
redhat/frr.pam \
Expand Down
2 changes: 2 additions & 0 deletions python/clippy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
from _clippy import parse, Graph, GraphNode


frr_top_src = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

def graph_iterate(graph):
"""iterator yielding all nodes of a graph
Expand Down
Loading

0 comments on commit 36a8fdf

Please sign in to comment.