| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-01-15 | macho: use target arch page_size for codesig | Jakub Konka | |
| It turns out I was wrong and we can set the page size to the actual page size used by the target architecture when dividing the binary into chunks and calculating a hash of each chunk for embedding within the adhoc code signature. This shaves of a considerable amount of bytes since we divide the code signature section by at least 2x. I've also unified the `write` interface of `CodeSignature` struct to follow that used in every other bit of `MachO`; namely, the functions now accept a writer instead of a buffer, therefore, there is no need to manually track where to write each struct field anymore. | |||
| 2021-01-01 | macho: unblock stage2 on 32bit platforms (#7632) | Jakub Konka | |
| * macho: unblock stage2 on 32bit platforms Unblocks compilation of stage2 on 32bit platforms, and fixes #7630. * Use libstd convention: reads - usize, writes - u64 | |||
| 2020-12-19 | macho: auto-coerce to slice | Jakub Konka | |
| 2020-12-01 | macho: dynamically calculate code signature padding | Jakub Konka | |
| 2020-12-01 | macho: unify code signature between stage1 and stage2 | Jakub Konka | |
| 2020-12-01 | lld: use commands.LoadCommand in self-hosted linker | Jakub Konka | |
| 2020-12-01 | lld: add code signature to lld output | Jakub Konka | |
| 2020-11-26 | stage2 macho: first, rough draft at trampolining | Jakub Konka | |
| 2020-11-26 | stage2 macho: cleanup logs | Jakub Konka | |
| 2020-11-26 | stage2 macho: fix issues with codesigning | Jakub Konka | |
| 2020-11-26 | stage2 macho: generate a code sig (not valid yet) | Jakub Konka | |
| 2020-11-26 | stage2 macho: add info about __TEXT segment | Jakub Konka | |
| 2020-11-26 | stage2 macho: add empty CodeDirectory blob | Jakub Konka | |
| 2020-11-26 | stage2 macho: move code signature logic into struct | Jakub Konka | |
