Skip to content

Should we add more ways to parse raw files and sections? #426

@NikolajSchlej

Description

@NikolajSchlej

Both @platomav (in a recent discussion in #270) and @Ykidia (in his recent PR #423) expressed the need to parse contents of raw files and raw sections.

The problem with this approach for a generic tool like this one is that such parsing can only be done by trying multiple parsers in a row, and choosing something that generated less parsing errors.

Another possible issue is on trying to rebuild such a raw file (when we get to that point again), given that there are basically not spec-compliant ways to rebuild such a file.

I'm notionally OK with adding more parsers for the sake of increasing usability as a reverse-engineering tool, and we already got way off the original plan to only parse/edit UEFI PI images, so the only issue I currently have is "adding new code needs to be justified, and we will have to support that added code forever into the future".

CC @vit9696 for his opinion.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions