commit | 40172cf2d09bc64e739975805f4ab24cc5f46b0b | [log] [tgz] |
---|---|---|
author | Giuliano Procida <gprocida@google.com> | Thu Mar 17 12:14:09 2022 +0000 |
committer | Giuliano Procida <gprocida@google.com> | Tue Mar 29 15:48:31 2022 +0100 |
tree | 26770e4d53dbf0e423265c72fda739a32fbddbf9 | |
parent | bdc3b44043dc5da373f45f481ac756ae1560b7bc [diff] |
Make state the first argument of comparison functions The `State` type is the context holder for comparison operations and will soon include a `Graph` reference. The functions are: * `Removed` * `Added` * `Compare` * `Equals` The argument lists all now look like: 1. `state` 2. nodes This should make for more readable and maintainable code. A related change will follow to consolidate and pass reporting context in a single structure. PiperOrigin-RevId: 435316578 Change-Id: Iad5eccf73280a6a7f297ccca583fba9688537ee8
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.