Open philipc opened 5 months ago
This is a breaking change, and adds significant complexity. While I think the dwarfdump support is neat, I'm not completely convinced it is worth it, so I'm going to leave this as a draft for while.
To do:
convert_address
callbacks still needed?)
Add the
Reader::Address
associated type, which implements theReaderAddress
trait. This trait is implemented for u64 to provide the existing behaviour of supporting multiple address sizes, as well as forAddress32
andAddress64
which support a single address size.The dwarfdump example now provides its own address type, which allows it to show symbols associated with relocated addresses in relocatable object files. For example:
Closes #409