- Format with rustfmt; fix clippy lints
- Add module documentation
- Reject invalid record types instead of silently skipping
- Recognize the DWARF segment class as debug sections
- Add read_core,omf to the feature test matrix
This module contains macros to create data structures containing
constant names at the same time as the constants are defined.
The data structures support inheriting sets of constants, which
is useful for processor and OS specific constants.
Use these macros to define elf/macho/pe constants, and replace most
of the architecture-specific constant names in the readobj example.
The Builder can be created from an existing ELF file, modified,
and then written out again.
Also add the `object-rewrite` crate which provides higher
level operations for modification. Use this to replace
the elfcopy example.