Abigail reader: avoid swapping / deleting existing nodes

This was a neat trick to make the code more uniform, but these kinds
of mutation won't be supported later.

PiperOrigin-RevId: 435316090
Change-Id: I7e2fd4031fcbab64adf700b93af4000b483c6c34
1 file changed
tree: 4b2b332dfcee933f9d9ae5dcd3fdad585645bb4b
  1. fuzz/
  2. abigail_reader.cc
  3. abigail_reader.h
  4. btf_reader.cc
  5. btf_reader.h
  6. btfinfo.cc
  7. CONTRIBUTING.md
  8. crc.h
  9. error.h
  10. error_test.cc
  11. LICENSE
  12. METADATA
  13. MODULE_LICENSE_LLVM
  14. order.h
  15. order_test.cc
  16. OWNERS
  17. README.md
  18. scc.h
  19. scc_test.cc
  20. stg.cc
  21. stg.h
  22. stgdiff.cc
README.md

Symbol-Type Graph (STG)

The STG (symbol-type graph) is an ABI representation and this project contains tools for the creation and comparison of such representations. At present parsers exist for libabigail's ABI XML (C types only) and BTF. The ABI diff tool, stgdiff, supports multiple reporting options. This software currently depends on libabigail for ELF symbol functionality, on libxml2 for XML parsing and on Linux UAPI headers for BTF types.

How to build the project

TBD

Contributions

See CONTRIBUTING.md for details.