Notices

ROM disassembly as raw text file

Thread Tools
 
Search this Thread
 
Old Mar 22, 2012 | 03:38 AM
  #181  
richardjh's Avatar
Thread Starter
Evolved Member
 
Joined: Oct 2010
Posts: 2,447
Likes: 14
From: Australia
Reply
Old Mar 22, 2012 | 08:35 AM
  #182  
itzwolf's Avatar
Evolved Member
20 Year Member
iTrader: (9)
 
Joined: Mar 2005
Posts: 1,193
Likes: 2
From: Florida
Originally Posted by lodifreefly
Automated table discovery is now a reality.

Can't vouch for it's accuracy just yet, but what richard calls the "rombot" just found and generated XML for 307 new tables in the 52690021 ROM. I am going through right now and checking the scaling values by hand, so far so good.
Amazing work! I can't wait to see how this all pans out into the future of ECUFlash for our cars!

Reply
Old Mar 22, 2012 | 09:24 AM
  #183  
RazorLab's Avatar
EvoM Guru
20 Year Member
Liked
Loved
Community Favorite
iTrader: (8)
 
Joined: Aug 2003
Posts: 14,094
Likes: 1,093
From: Mid-Hudson, NY
Originally Posted by lodifreefly
Automated table discovery is now a reality.

Can't vouch for it's accuracy just yet, but what richard calls the "rombot" just found and generated XML for 307 new tables in the 52690021 ROM. I am going through right now and checking the scaling values by hand, so far so good.
Super awesome!
Reply
Old Mar 22, 2012 | 09:31 AM
  #184  
momostallion's Avatar
Evolved Member
iTrader: (1)
 
Joined: Jan 2012
Posts: 623
Likes: 6
From: Dallas, TX
that's amazing!
Reply
Old Mar 22, 2012 | 10:15 AM
  #185  
fostytou's Avatar
EvoM Community Team
iTrader: (15)
 
Joined: Sep 2006
Posts: 3,143
Likes: 7
From: Aurora, IL
I am highly impressed. This could be a very big thing!
Reply
Old Mar 22, 2012 | 11:02 AM
  #186  
jyamona's Avatar
Evolving Member
iTrader: (8)
 
Joined: Jun 2010
Posts: 348
Likes: 0
From: Northeast PA
Originally Posted by lodifreefly
Automated table discovery is now a reality.

Can't vouch for it's accuracy just yet, but what richard calls the "rombot" just found and generated XML for 307 new tables in the 52690021 ROM. I am going through right now and checking the scaling values by hand, so far so good.
excellent work sir. the developments from this could be HUGE
Reply
Old Mar 22, 2012 | 11:10 AM
  #187  
Golden's Avatar
Evolved Member
iTrader: (1)
 
Joined: Nov 2009
Posts: 1,456
Likes: 0
From: Omaha, NE
Any luck on finding similar tables in different roms?

i.e. Make it real simple for me to post fully defined roms definitions to my site for all roms out there.

I am working on an app that finds tables in different roms, but it works from a completely different angle. It works ok. The newer roms change little things that make it harder to find certain tables.
Reply
Old Mar 24, 2012 | 10:17 AM
  #188  
lodifreefly's Avatar
Evolving Member
iTrader: (1)
 
Joined: Jun 2009
Posts: 136
Likes: 0
From: Lodi, CA
I haven't done it yet, but I do have a strategy for it. My plan is to grab the table from the existing ROM, find the start of the header, then find all of the subroutines that reference the table. From there I'll "fingerprint" the subroutines, basically generating a model that can be used to compare and tell me whether or not another subroutine is a probable match.

Once I have my fingerprints, I'll look through the new ROM for a table that is referenced the same way by similar subroutines.

The table data changes between ROMs enough to make finding them via table comparison problematic, but the subroutines that are used to access the tables only change slightly if at all between ROMs, so this method should be fairly reliable.

Any method for doing this though is going to be imperfect, so there will be some cases where my tool can only find a "likely" match, not an exact match. In those cases it will be up to a human to go check the bot's work.

I haven't had time to work on this since my last post but I'm hoping to have some time this weekend.
Reply
Old Mar 25, 2012 | 04:15 PM
  #189  
lodifreefly's Avatar
Evolving Member
iTrader: (1)
 
Joined: Jun 2009
Posts: 136
Likes: 0
From: Lodi, CA
For those interested, here are all of the tables I've found on my rom (52690021) grab a hex file if you don't have the right ROM on your car and you can take a peak at the maps.

http://raw.github.com/javiermuniz/ec...m/52690021.xml

For those with some assembly knowhow, my annotated assembly files are also on github. You have to download the entire repo because they are too big to browse.

I will be writing up easy to follow instructions for macos soon that will let you start doing this yourselves. If you don't have extensive knowledge of programming, it will probably be a waste of time for you (CS degree highly recommended).

p.s. homebrew accepted my pull request, so the default binutils now includes the m32r target. In order to install a working disassembler on the mac with homebrew, all you need to do now is type: brew install binutils
Reply
Old Mar 25, 2012 | 05:30 PM
  #190  
RazorLab's Avatar
EvoM Guru
20 Year Member
Liked
Loved
Community Favorite
iTrader: (8)
 
Joined: Aug 2003
Posts: 14,094
Likes: 1,093
From: Mid-Hudson, NY
Can't seem to grab that XML...
Reply
Old Mar 25, 2012 | 05:34 PM
  #191  
lodifreefly's Avatar
Evolving Member
iTrader: (1)
 
Joined: Jun 2009
Posts: 136
Likes: 0
From: Lodi, CA
Hmm, i'll try again:

https://raw.github.com/javiermuniz/e...m/52690021.xml
Reply
Old Mar 25, 2012 | 05:35 PM
  #192  
lodifreefly's Avatar
Evolving Member
iTrader: (1)
 
Joined: Jun 2009
Posts: 136
Likes: 0
From: Lodi, CA
Here is the "nice" github version as well:

https://github.com/javiermuniz/ecuto...m/52690021.xml
Reply
Old Mar 25, 2012 | 06:01 PM
  #193  
RazorLab's Avatar
EvoM Guru
20 Year Member
Liked
Loved
Community Favorite
iTrader: (8)
 
Joined: Aug 2003
Posts: 14,094
Likes: 1,093
From: Mid-Hudson, NY
Originally Posted by lodifreefly
That worked, thanks
Reply
Old Mar 25, 2012 | 06:14 PM
  #194  
richardjh's Avatar
Thread Starter
Evolved Member
 
Joined: Oct 2010
Posts: 2,447
Likes: 14
From: Australia
There are some very pretty 3D maps in there. It'll be exciting to see what they actually do!

Rich
Reply
Old Mar 26, 2012 | 01:19 AM
  #195  
Clipse3GT's Avatar
Account Disabled
iTrader: (10)
 
Joined: Dec 2005
Posts: 2,185
Likes: 2
From: Cleveland, OH
This is very awesome indeed. Great Work...

This is exciting but to figure out what these maps do is the real challenge. So we barely touched a tip of the iceberg where we are with the X with the current ECUFLASH maps.
Reply



All times are GMT -7. The time now is 03:44 PM.