Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Page 8 of 8 FirstFirst ... 678
Results 71 to 74 of 74
  1. #71
    Member
    Join Date
    May 2010
    Location
    None
    Posts
    17
    Rep Power
    0

    Default

    Quote Originally Posted by kunix View Post
    I've written a new disasm script. I think it's better than the previous one I posted in this topic. It works by treating all the 4-bytes aligned 4-byte integers as pointers and judging if each one points to a function. Also smart_disasm requires that the firmware entry point is named "fw_base".

    Code:
    Please Login or Register to see the links
    I think that this row have to be changed as
    if((ptr % 2) == 0 && ...........

    and also
    addr = Dword(p);

    i think that return program code at address p, not the address in p, as seems used in script ...
    Last edited by ataro1; 2nd May 2015 at 16:47.

  2.    Advertissements


  3. #72
    Navigation software Moderator

    kunix's Avatar
    Join Date
    Sep 2011
    Location
    Belarus
    Posts
    1,038
    Rep Power
    601

    Default

    (ptr % 2) == 1 checks if the least significant bit of the pointer is set (i.e. if the pointer points to a THUMB function).
    addr = Dword(p) reads 4 bytes which are treated then as a pointer to an ARM or THUMB function.
    So those two places work as I wanted, no mistakes here
    There are other mistakes, however.
    All integers are signed in IDA script, so for(p = (min + 3) & (~3); max >= p && max - p >= 4; p = p + 4) is going to end too early if (unsigned)max>=0x80000000 and (unsigned)min<0x80000000.

  4. #73
    Junior Member
    Join Date
    Jun 2015
    Location
    Poland
    Posts
    1
    Rep Power
    0

    Default

    Hi,

    Quote Originally Posted by haute View Post
    Update to 4.10
    I'm trying to update eTrex20 with eTrex20_30_Webupdater__410_20to30_jnx_Patched but it stops on screen Software Loader Ready.

    Version 3.80 works ok.

  5. #74
    Master Schermann's Avatar
    Join Date
    Jun 2006
    Location
    Free World
    Age
    10
    Posts
    581
    Rep Power
    406

    Default

    baloo

    Quote Originally Posted by pelsta View Post
    Version 3.80 works ok.
    ^^ This...
    Last edited by Schermann; 13th July 2015 at 15:55.
    25jkpah

 

 
Page 8 of 8 FirstFirst ... 678

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.