Post AxmBpUZpRGBFF4spkW by shac@ioc.exchange
 (DIR) More posts by shac@ioc.exchange
 (DIR) Post #AxmBpTY1GV8g3B1sI4 by Gte@mastodon.social
       2025-09-01T21:34:09Z
       
       0 likes, 0 repeats
       
       For various reasons I’ve had to become pretty familiar with the MachO format over the years. It’s pretty simple but in that simplicity lies great possibilities. Like multi-architecture binaries which have eased Apple’s transition across processors over the years while avoiding the pitfalls Microsoft has had to deal with. This is a great read and worth it even if you don’t need to know the details.https://oliviagallucci.com/the-anatomy-of-a-mach-o-structure-code-signing-and-pac/
       
 (DIR) Post #AxmBpUZpRGBFF4spkW by shac@ioc.exchange
       2025-09-01T21:55:39Z
       
       1 likes, 0 repeats
       
       @Gte Multi-architecture (fat) binaries are really two or more mach-o binaries wrapped together with a lipo header. I don’t think they can share any common segments, even if the linker were smart enough to do that. There’s no reason you can’t stuff two or more PE (windows) binaries in the same way. The fact that Microsoft chose not to do this is some unfathomable bad internal decision, not a technical one.