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
    16
    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 04:47 PM.

  2.    Advertissements


  3. #72
    Navigation software Moderator kunix's Avatar
    Join Date
    Sep 2011
    Location
    Belarus
    Posts
    908
    Rep Power
    438

    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
    Join Date
    Jun 2006
    Location
    GPS Underground
    Age
    17
    Posts
    406
    Rep Power
    419

    Default

    baloo

    Quote Originally Posted by pelsta View Post
    Version 3.80 works ok.
    ^^ This...
    Last edited by Schermann; 13th July 2015 at 03:55 PM.
    AAEAAQAAAAAAAAf AAAAJDRkYjlhMzllLTlhNjctNDA1ZC04ODNjLWYwNmI3ODY2NDVmMw

 

 

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
  •