Howzits there cosmonauts!
It appears to me that the execve command cannot have been working for files within the containing APE zip.
if (0 && _weaken(__zipos_parseuri) &&
(_weaken(__zipos_parseuri)(prog, &uri) != -1)) {
...
}
which renders the condition false (notice the 0 &&). Not sure how the corresponding tests still work. Was this intentional?
APE files could provide an interesting way to create portable multicall binaries composed of different commands. I want to put APE curl inside a modified APE QuickJS binary. But I think the above stands in the way of this kind of use.
Should I not be thinking of this sort of malarkey? Cheers all!
- Cefan