Binary Files

Discussion in 'Xbox 360 Development' started by E Nellie, Sep 15, 2010.

  1. E Nellie

    E Nellie Member

    Joined:
    Aug 15, 2010
    Messages:
    13
    Likes Received:
    0
    I know first post here :).

    Can Anyone explain how to decompile binary files? I know I need IDA which I have and whatever plugins, but as far as the rom starting point how can I determine the entry points and so forth? :shrug:

    Any help appreciated.
     
  2. lllsondowlll

    lllsondowlll Fiery Member

    Joined:
    Jan 19, 2008
    Messages:
    867
    Likes Received:
    4
    Assembly PPC language will help you in what your doing. I don't fully understand your question but to answer to the best of my ability 92000000 is the entry point for executables in memory.
     
  3. E Nellie

    E Nellie Member

    Joined:
    Aug 15, 2010
    Messages:
    13
    Likes Received:
    0
    To clear up my question, what I was asking is in order to fully decompile the binary file into the assembly language I load it into IDA with PPC selected then it asks for the ROM Address, which I don't know technically what it is asking for but im assuming it is asking for the offset of where the code starts...which I don't know how to find this or if it is just a given. I would like to get to the bare assembler language to view it and modify it.
     
  4. lllsondowlll

    lllsondowlll Fiery Member

    Joined:
    Jan 19, 2008
    Messages:
    867
    Likes Received:
    4
    Last edited: Sep 15, 2010
  5. EazyB

    EazyB Rapidly Rising Member

    Joined:
    Apr 11, 2008
    Messages:
    86
    Likes Received:
    0
    "Decompile an xex" should be an indicator that the author of that isn't the best source for this information.

    Xorloser wrote a set of instructions on loading an executable into IDA with his plugin, the text file which is packaged with Xextool includes this. If I remember it correctly offhand, you extract the PE and load that with the entry point of 0x82000000*.


    *Not sure on this number's accuracy, believe the zeros are wrong.
     
  6. E Nellie

    E Nellie Member

    Joined:
    Aug 15, 2010
    Messages:
    13
    Likes Received:
    0
    I will try 82xxx... When I get home from work tonight thanks for the replies fellas
     
  7. lllsondowlll

    lllsondowlll Fiery Member

    Joined:
    Jan 19, 2008
    Messages:
    867
    Likes Received:
    4
    First and foremost I told you I hated that site and secondly the information you just provided was sourced in the link I gave... at which point you stated wasn't a good source of information. :clap:
     
    Last edited: Sep 15, 2010
  8. EazyB

    EazyB Rapidly Rising Member

    Joined:
    Apr 11, 2008
    Messages:
    86
    Likes Received:
    0
    ...

     
  9. TheFallen93

    TheFallen93 Spirited Member

    Joined:
    Apr 22, 2009
    Messages:
    167
    Likes Received:
    68
    Use xextool with the "-b" command, it will spit out the correct loading address that you should use. Also use the "-i" to get an idc script which will load and disassemble the base file for you.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page