MOS executable file description
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    MarK
    Posts: 641 from 2004/1/25
    From: Prague, The Cz...
    Hi there,

    where to find a description of the subject? I wrote a simple PowerPC disassembler, but I wrote it for ELF file format, while MorphOS native executables has a MOS header with some data in front of the ELF contents. Any clue? It seams, that the header is some sort of encryption. Perhaps against disassemblers? :)

    Thanks in advance,
    Martin.

    [ Edited by MarK 08.03.2013 - 07:31 ]
  • »08.03.13 - 05:19
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3146 from 2003/3/5
    From: Canada
    MorphOS components are DRMed indeed.
  • »08.03.13 - 07:20
    Profile Visit Website
  • MorphOS Developer
    Krashan
    Posts: 1107 from 2003/6/11
    From: Białystok...
    MorphOS native executables has a MOS header with some data

    This is true only for system components released by the team. As jaca stated they are encrypted. Plain MorphOS native executables (not being system components/applications, or released by third parties) are just regular ELFs.
  • »08.03.13 - 08:47
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12241 from 2003/5/22
    From: Germany
    > It seams, that the header is some sort of encryption. Perhaps against disassemblers? :)

    According to Laire (German), the encryption has been put in place to prevent the MorphOS components from running on older MorphOS versions. Without the encryption, the ELF binaries could be stripped and made to run on MorphOS 1.x (dependencies unconsidered).
  • »08.03.13 - 16:55
    Profile