PSPReverse / PSPTool

Display, extract, and manipulate PSP firmware inside UEFI images
GNU General Public License v3.0
612 stars 62 forks source link

Improve deduplication of Entry objects #37

Open cwerling opened 2 years ago

cwerling commented 2 years ago

Unique entries in the Blob (identified by their start address and size) can be referenced by different Entry objects from different Directory objects. For the consistency of the Blob it might be beneficial to deduplicate those Entry objects in their factory methods (from_fields, from_blob)