Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: MIPS executable format?

  1. #1
    Senior Member
    Join Date
    Jan 2004
    Location
    Hawaii
    Posts
    350

    Angry MIPS executable format?

    I can't find what the MIPS R4000 executable format is....I've googled the crap out of that phrase too...

    I believe it's ELF, like the Dreamcast uses...but I'm not sure. Does anyone know?

    I'm asking because I'm trying to find a MIPS executable to decompile with IDA Standard...for the www.psp-linux.org project...

    It seems that when I try to decompile the files in EBOOT.PBP (bootloader type deal on the PSP), I can only view garbage because it's disassembled as Intel metapc....and I'm not given the option for any MIPS procs even though IDA Standard supports MIPS.


    A_T
    Geek isn't just a four-letter word; it's a six-figure income.

  2. #2
    Senior Member
    Join Date
    Dec 2004
    Posts
    3,171
    Hi AxessTerminated,

    Is this what you're looking for...

    http://www.jps.at/pefile.html
    IT Solution & Services The Portable Executable File Format

    Eg

  3. #3
    Senior Member
    Join Date
    Jan 2004
    Location
    Hawaii
    Posts
    350
    Not quite...I don't think.

    I want to know the format of code compiled for the MIPS R4000 processor.

    A_T
    Geek isn't just a four-letter word; it's a six-figure income.

  4. #4
    Senior Member
    Join Date
    Dec 2004
    Posts
    3,171
    I'm not sure what you're looking for so...maybe it's on this page...

    http://www.google.ca/search?client=f...=Google+Search
    Google Search: code compiled for the MIPS R4000 processor

  5. #5
    Senior Member
    Join Date
    Jan 2004
    Location
    Hawaii
    Posts
    350
    Okay, a more specific question...is the .ELF extension a MIPS binary file as .EXE extension is a Windows binary file?

    A_T
    Geek isn't just a four-letter word; it's a six-figure income.

  6. #6
    Senior Member nihil's Avatar
    Join Date
    Jul 2003
    Location
    United Kingdom: Bridlington
    Posts
    17,188
    This may well be so out of date as to be useless, but it might give you some ideas

    From what I remember a MIPS executable is a compiled binary, but I do not think that it is an ELF file, I would have thought COFF (.cff)

    MIPS is a RISC system so I would expect executables to be written in assembly then whacked through the MIPS compiler. Maybe you need a disassembler tool as part of your kit?

    I also believe that there is a brand of "C" (C- -), that's minus, minus, that is supported IIRC.

    Sorry, it has been a very long time

  7. #7
    Senior Member
    Join Date
    Dec 2004
    Posts
    3,171
    Hi nihil,

    Is this the C you're talking about...

    http://64.233.167.104/search?q=cache...ient=firefox-a
    MIPSpro C++ Programmer’s Guide

  8. #8
    Senior Member nihil's Avatar
    Join Date
    Jul 2003
    Location
    United Kingdom: Bridlington
    Posts
    17,188
    Hi Eg~

    I don't think so, I believe that it was "C-minus-minus" which I understand meant "C minus the hard stuff", but that could have been sarcasm

    I think that Microsoft and Harvard University were involved? (late 1990s.............I think C++ goes back to the eighties?)

    I just had another thought about the format "a.out" is a possibility and something like ".flat"

    As I recall, these RISC boxes are not that fussy about extensions, they get the format from a "magic number" and stuff in the header.

    If Axess could attach a small sample file I might be able to work out what it is?

  9. #9
    Senior Member
    Join Date
    Jan 2004
    Location
    Hawaii
    Posts
    350
    That's the problem, I don't have any files. I need a MIPS R4000 executable so I can disassemble it and compare it to some other things I have from the PSP.

    A_T
    Geek isn't just a four-letter word; it's a six-figure income.

  10. #10
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401
    Maybe the files are encrypted/obfuscated?

    Edit: Forgot compressed...
    Oliver's Law:
    Experience is something you don't get until just after you need it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •