The immediate problem (when run on a copy of /bin/sed from Ubuntu 18.04, which I had lying around) is that partway through the program headers it finds one of type 4 and thinks this isn't a valid ElfSegmentType, except that it is, and it's not clear what's going on.
This version builds, but doesn't work yet.
The immediate problem (when run on a copy of /bin/sed from Ubuntu 18.04, which I had lying around) is that partway through the program headers it finds one of type 4 and thinks this isn't a valid ElfSegmentType, except that it is, and it's not clear what's going on.