Open tux3 opened 3 years ago
The code for SectionHeader::is_relocation() checks for SHT_RELA but not SHT_REL:
SectionHeader::is_relocation()
pub fn is_relocation(&self) -> bool { self.sh_type == SHT_RELA }
Apologies if this is some dark corner of the spec that I misunderstood, but as I understand it both SHT_REL and SHT_RELA should be valid relocation sections.
Thanks!
The code for
SectionHeader::is_relocation()
checks for SHT_RELA but not SHT_REL:Apologies if this is some dark corner of the spec that I misunderstood, but as I understand it both SHT_REL and SHT_RELA should be valid relocation sections.
Thanks!