mirror of
https://github.com/encounter/object.git
synced 2026-03-30 11:32:22 -07:00
5fc89663a1
- The delta offset and flags combined may be larger than u64, so handle the first byte separately. - Use wrapping arithmetic. - Change `Crel::r_sym` and `Crel::r_type` to u32. - Add `Crel::symbol()`. - Fuse `CrelIterator` on error. - Replace `ElfRelaIterator` with `ElfRelocationIterator` which returns `Crel`. This avoid the need to byteswap the `Crel`, and thus avoids the use of `Endian::default` (which may not match the file). - Add test outputs.