commit | 66a878b873724d473462ba281f6f91a9d35234ab | [log] [tgz] |
---|---|---|
author | Giuliano Procida <gprocida@google.com> | Thu Mar 17 12:14:31 2022 +0000 |
committer | Giuliano Procida <gprocida@google.com> | Tue Mar 29 15:48:31 2022 +0100 |
tree | 88be91f0c39464203a9604096cf3cf105b26a407 | |
parent | 40172cf2d09bc64e739975805f4ab24cc5f46b0b [diff] |
Move Removed, Added and Compare out of Type Various things ended up in the `Type` type (the graph node base class) as there was no better home for them at the time (and no `Graph` type in particular). This includes: * the top-level comparison functions `Removed`, `Added` and `Compare` * the `GetTypes` access function * the `GetType` access function * a reference to the node array The comparison functions have no dependency on `Type` other than access to the `Equals` virtual member function. This commit moves them out and makes `Equals` public instead of protected. Later changes will deal with the node array and its access functions. PiperOrigin-RevId: 435316635 Change-Id: I0e2d79cab9580d40a5a23c39956a7b1e81d58323
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.
TBD
See CONTRIBUTING.md for details.