Homebrew ABI: Difference between revisions
No edit summary |
|||
Line 2: | Line 2: | ||
=== Entrypoint === | === Entrypoint === | ||
Entrypoint is at binary_ptr+0. At this offset, there is a branch instruction that jumps past the NRO0 header. This is for compatibility with NSO0. | Entrypoint is at binary_ptr+0. At this offset, there is a branch instruction that jumps past the NRO0 header. This is for file format polyglot compatibility with NSO0. | ||
Every application should clean itself up before returning to loader. | Every application should clean itself up before returning to loader. |