radareorg / ideas

4 stars 1 forks source link

Preferred Executable Format : Joy!peff #276

Open Maijin opened 8 years ago

Maijin commented 8 years ago

To be added in radare2-extras

https://en.wikipedia.org/wiki/Preferred_Executable_Format https://knight.sc/software/2020/04/19/classic-macos-development.html (see books) https://vintageapple.org/macprogramming/

radare commented 8 years ago

any sample bin? any specs? any implementation?

Maijin commented 8 years ago
radare commented 8 years ago

what about having a file that can be shared? is this the default haiku file format? i though they used elf

On 06 Jun 2016, at 20:27, Maijin notifications@github.com wrote:

Do not share on r2r: https://cloud.githubusercontent.com/assets/1408600/15833053/1ef8483a-2c25-11e6-98a1-cf19bc9169fb.jpg — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/radare/radare2/issues/5079#issuecomment-224045605, or mute the thread https://github.com/notifications/unsubscribe/AA3-lt90KXGlCzTr6_RFDSVZ5yMGkeQTks5qJGakgaJpZM4It6V3.

Maijin commented 8 years ago

Classila can: classilla Even got source code: https://code.google.com/archive/p/classilla/downloads

I don't think it is, probably just legacy for BeOS

mmuman commented 6 years ago

I don't think it is, probably just legacy for BeOS

Indeed, the PEF format was used in BeOS but only on PPC, on x86 they first used PE then ELF. Haiku just uses ELF.

It seems it's the only known format for a kernel the BeBox rom knows how to load and boot. Oddly, BFD doesn't seem to actually write it correctly. I was expecting it to allow me to generate a bootloader that would run there…

Maijin commented 4 years ago

Lot of resources here:

https://knight.sc/software/2020/04/19/classic-macos-development.html (see books) https://vintageapple.org/macprogramming/

mmuman commented 4 years ago

For the record, I started implementing the missing bits in BFD but I didn't touch it for a while, and since binutils seems to want to remove all non-ELF targets it's probably completely useless.