IDA Pro plugin to support Switch NRO binaries

Discussion in 'Switch - Hacking & Homebrew' started by adam235, Apr 26, 2017.

  1. adam235
    OP

    adam235 Newbie

    Newcomer
    7
    39
    Mar 9, 2017
    Ethiopia


  2. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    7,104
    4,497
    Jan 17, 2013
    Mexico
    So the Switch executable files are .NRO?
    Interesting... Wonder what they stand for.
     
  3. Alkéryn

    Alkéryn Moon Dweller ~

    Member
    1,521
    1,909
    Mar 15, 2015
    France
    Albategnius, Moon
    Nintendo Read Only ?
    it have to be Nintendo something
    EDIT: yeah it make no sense but first thing that come to my mind
     
    Last edited by Alkéryn, May 5, 2017
  4. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    7,104
    4,497
    Jan 17, 2013
    Mexico
    Maybe it stands for Nintendo's Really Obnoxious by not giving us a proper browser nor Virtual Console on the Switch.
     
    PF2M, jt_1258, Hoppy and 5 others like this.
  5. tech3475

    tech3475 GBAtemp Advanced Fan

    Member
    657
    287
    Jun 12, 2009
    N could stand for NX.

    Remember dol for dolphin?
     
  6. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,546
    3,953
    Jun 9, 2007
    Antarctica
    Possibly NX Relocatable Object, similar to CRO on the 3DS. Basically, dylib/so/dll. We'll know more in the coming months, though.
     
  7. BullyWiiPlaza

    BullyWiiPlaza Nintendo Hacking <3

    Member
    1,750
    1,423
    Aug 2, 2014
    Germany
    Any way to get binaries though? :P
     
  8. DeadlyFoez

    DeadlyFoez GBAtemp Guru

    Member
    5,436
    1,469
    Apr 12, 2009
    United States
    You do realize that the 'N' in 'NX' does already stand for Nintendo? :facepalm:
     
  9. tech3475

    tech3475 GBAtemp Advanced Fan

    Member
    657
    287
    Jun 12, 2009
    I've never seen anywhere say what NX officially stood for, usually it was refered to as 'the NX' or 'Nintendo NX'.

    I've tried to it look up and the closest I found was that the current CEO doesn't believe there's any meaning behind it.

    http://time.com/4131306/nintendo-kimishima-interview/
     
    Subtle Demise likes this.
  10. WiiFoundLove

    WiiFoundLove GBAtemp Regular

    Member
    210
    67
    Jan 18, 2015
    Afghanistan
    What is the IDA Pro Loader and what does it?
     
  11. GerbilSoft

    GerbilSoft GBAtemp Addict

    Member
    2,085
    2,309
    Mar 8, 2012
    United States
    I would not be surprised if Switch used position-independent executables for the main game executable in addition to libraries. That's been the standard on Windows since Vista¹, and has been slowly trickling down to Linux distributions. (Ubuntu 16.10 is fully recompiled as PIE.)

    PIE makes runtime attacks somewhat harder, since the executable base addresses aren't fixed. There are ways to work around it, though.

    ¹ Technically, Windows doesn't actually use PIE. Executables are compiled with a fixed base address and a relocation section, which allows the dynamic linker to randomize the base address. Most other OSes do use PIE, though.
     
    Last edited by GerbilSoft, Apr 26, 2017 - Reason: Not really PIE on Windows.
    Alkéryn and daxtsu like this.
  12. BullyWiiPlaza

    BullyWiiPlaza Nintendo Hacking <3

    Member
    1,750
    1,423
    Aug 2, 2014
    Germany
    It allows you to explore the code easier and possibly find valuable information/vulnerabilities to make an exploit.
     
  13. jimmyleen

    jimmyleen GBAtemp Maniac

    Member
    1,161
    198
    Feb 28, 2016
    Or easier for people to report code problems to Nintendo and get paid in return.
     
    Coc4tm likes this.
  14. addi33

    addi33 GBAtemp Advanced Maniac

    Member
    1,678
    724
    Sep 12, 2016
    Gambia, The
    -snip-
     
    Last edited by addi33, May 3, 2017
  15. Arck

    Arck GBAtemp Advanced Fan

    Member
    765
    355
    Mar 13, 2016
    you can ask ReSwitched team, they have one afaik
     
    Last edited by Arck, May 3, 2017
  16. addi33

    addi33 GBAtemp Advanced Maniac

    Member
    1,678
    724
    Sep 12, 2016
    Gambia, The
    but HOW THE HECK, did they get one, -snip-
     
    Last edited by addi33, May 3, 2017
  17. Arck

    Arck GBAtemp Advanced Fan

    Member
    765
    355
    Mar 13, 2016
    real dev (?)
    Anyway that not really the question, but in that way you can make stuff faster :P
     
  18. addi33

    addi33 GBAtemp Advanced Maniac

    Member
    1,678
    724
    Sep 12, 2016
    Gambia, The
    -snip- Thanks.
     
    Last edited by addi33, May 3, 2017
  19. jt_1258

    jt_1258 GBAtemp Advanced Maniac

    Member
    1,557
    840
    Aug 21, 2016
    United States
    theses snips are driving me crazy as to wondering what they are
     
  20. addi33

    addi33 GBAtemp Advanced Maniac

    Member
    1,678
    724
    Sep 12, 2016
    Gambia, The
    Let's say I kinda broke something i shouldn't do.
     
    Last edited by addi33, May 3, 2017