What is Nostr?
✧✦✶✷Catherine✷✶✦✧ /
npub1gjd…9nsr
2024-11-16 03:45:49

✧✦✶✷Catherine✷✶✦✧ on Nostr: yeah i love fat shared libraries (libraries with both PE and ELF headers that refer ...

yeah i love fat shared libraries (libraries with both PE and ELF headers that refer to the exact same executable code. for compatibility.)

(the PE header starts at 0x80, and conveniently, the ELF file header ends at 0x40. basically everything else lives at offsets specified in the file headers, so you can have both)

all you need to add is compiler-generated thunks adjusting the calling convention
Author Public Key
npub1gjd3qm6vxnrfev7tfpsuudenvkts572f7u3a8w2gamnz9td6vucqh49nsr