]> git.proxmox.com Git - mirror_frr.git/commit - lib/command_py.c
lib/clippy: add libelf wrapper
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 9 Aug 2018 17:11:53 +0000 (19:11 +0200)
committerDavid Lamparter <equinox@diac24.net>
Tue, 23 Feb 2021 15:56:58 +0000 (16:56 +0100)
commit5609b3af497c44d980aad2bc7d6332dedd7974e7
tree132a58bfe8ba5f582cddd9e0fe7625b5abb8da01
parent4fe016fe133d704c733e5e1e333075fffeec34de
lib/clippy: add libelf wrapper

This adds _clippy.ELFFile, which provides a fast wrapper around libelf.
The API is similar to / a subset of pyelfutils, which unfortunately is
painfully slow (to the tune of minutes instead of seconds.)

The idea is that xrefs can be read out of ELF files by reading out the
"xref_array" section or "FRRouting/XREF" note.

Signed-off-by: David Lamparter <equinox@diac24.net>
configure.ac
debian/control
lib/clippy.h
lib/command_py.c
lib/elf_py.c [new file with mode: 0644]
lib/subdir.am