Notices
ECU Flash

Auto-Disassembly Script

Thread Tools
 
Search this Thread
 
Old Mar 15, 2022, 07:16 AM
  #16  
EvoM Community Team Leader
 
Biggiesacks's Avatar
 
Join Date: Aug 2005
Location: West Coast
Posts: 5,688
Received 704 Likes on 592 Posts
Check out Ghidra. It's an open source alternative to IDAPro that came out a few years ago. It supports SH2 and will disassemble and decompile into c code.
Old Mar 15, 2022, 11:57 AM
  #17  
Newbie
 
professor_jonny's Avatar
 
Join Date: Jan 2020
Location: taranaki
Posts: 44
Received 2 Likes on 2 Posts
Originally Posted by dingus
Thank you very much for the links! I have spent lots of time digging and didn't find this github. IDK if I will get anywhere but have to start somewhere. Thanks again!
The waybackmachine works with the geekmapped forum and you can find past info from ceddy.us websitethere is bugger all info around I believe this script only works on olderversions of ida and only works with the sh4 based ecu's not h8/500 I'm waiting on conformation by the dev for a bit of help.
Old Mar 16, 2022, 04:28 AM
  #18  
Newbie
iTrader: (3)
 
dingus's Avatar
 
Join Date: Jul 2010
Location: Arkansas
Posts: 78
Received 1 Like on 1 Post
Originally Posted by Biggiesacks
Check out Ghidra. It's an open source alternative to IDAPro that came out a few years ago. It supports SH2 and will disassemble and decompile into c code.
Ah nice thanks for the tip. Last time I looked it did not or I didn't figure it out. My IDA is out of support and the cost for a new license is too much.

I was going to try out the Logic's sh2dis script. Anyone used that one?
Old Mar 16, 2022, 04:29 AM
  #19  
Newbie
iTrader: (3)
 
dingus's Avatar
 
Join Date: Jul 2010
Location: Arkansas
Posts: 78
Received 1 Like on 1 Post
Originally Posted by professor_jonny
The waybackmachine works with the geekmapped forum and you can find past info from ceddy.us websitethere is bugger all info around I believe this script only works on olderversions of ida and only works with the sh4 based ecu's not h8/500 I'm waiting on conformation by the dev for a bit of help.
Thanks for the tip.
Old Mar 16, 2022, 10:40 AM
  #20  
Newbie
 
professor_jonny's Avatar
 
Join Date: Jan 2020
Location: taranaki
Posts: 44
Received 2 Likes on 2 Posts
Originally Posted by Biggiesacks
Check out Ghidra. It's an open source alternative to IDAPro that came out a few years ago. It supports SH2 and will disassemble and decompile into c code.
​​​​​​​Sadly there is still work to be done to support the h8/500 cpu used in the evo 5/6 and ida is the only option currently.​​​​​​​​​​​​​​https://github.com/NationalSecurityA...ra/issues/1793
Old Mar 17, 2022, 04:50 PM
  #21  
Newbie
 
professor_jonny's Avatar
 
Join Date: Jan 2020
Location: taranaki
Posts: 44
Received 2 Likes on 2 Posts
Originally Posted by dingus
Thank you very much for the links! I have spent lots of time digging and didn't find this github. IDK if I will get anywhere but have to start somewhere. Thanks again!

I just tried the script and it fails to get the processor type and fails to process the script because of undefined varables, I'm not really skilled in this but looking at the idc reference here:
IDA Help: Alphabetical list of IDC functions (hex-rays.com)

The script needs altering
processor = get_processor ()
; needs to b changed to
processor = get_processor_name();
it looks like they have changed the function names in later versions.

I had to comment out some undefined variables also.
I created a pr and pull request on the dparish repo.
The script now runs on ida pro 7.x
professor-jonny/ecurom at patch-1 (github.com)

Last edited by professor_jonny; Mar 17, 2022 at 10:02 PM. Reason: fixed script and updated info
The following users liked this post:
CDrinkH2O (Mar 20, 2022)
Old Mar 20, 2022, 11:16 AM
  #22  
EvoM Guru
iTrader: (7)
 
CDrinkH2O's Avatar
 
Join Date: Nov 2006
Location: San Francisco
Posts: 1,142
Received 153 Likes on 116 Posts
Thanks for the update!
Old Apr 24, 2024, 04:05 AM
  #23  
Newbie
 
Aloosh1983's Avatar
 
Join Date: May 2023
Location: Jordan
Posts: 31
Received 0 Likes on 0 Posts
Originally Posted by professor_jonny
I just tried the script and it fails to get the processor type and fails to process the script because of undefined varables, I'm not really skilled in this but looking at the idc reference here:
IDA Help: Alphabetical list of IDC functions (hex-rays.com)

The script needs altering ; needs to b changed to it looks like they have changed the function names in later versions.

I had to comment out some undefined variables also.
I created a pr and pull request on the dparish repo.
The script now runs on ida pro 7.x
professor-jonny/ecurom at patch-1 (github.com)
Can you help me am looking for idc script for m32r Mitsubishi
Old Apr 25, 2024, 01:56 PM
  #24  
Newbie
 
professor_jonny's Avatar
 
Join Date: Jan 2020
Location: taranaki
Posts: 44
Received 2 Likes on 2 Posts
Originally Posted by Aloosh1983
Can you help me am looking for idc script for m32r Mitsubishi
The script on my repo supports m32r but I have never used it as my car has a h8 based ECU.

#define M32R_ROM_START 0x0080
Old Apr 25, 2024, 02:02 PM
  #25  
Newbie
 
Aloosh1983's Avatar
 
Join Date: May 2023
Location: Jordan
Posts: 31
Received 0 Likes on 0 Posts
Originally Posted by professor_jonny
The script on my repo supports m32r but I have never used it as my car has a h8 based ECU.

I used it your script but unfortunately not working
Old Apr 25, 2024, 03:18 PM
  #26  
Newbie
 
professor_jonny's Avatar
 
Join Date: Jan 2020
Location: taranaki
Posts: 44
Received 2 Likes on 2 Posts
Originally Posted by Aloosh1983

I used it your script but unfortunately not working
have a watch of this, but it looks like you only have the free version of IDA or selected the incorrect processor type.

Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
jcsbanks
ECU Flash
19
Mar 8, 2011 04:15 PM
Vostok 7
ECU Flash
1
Sep 19, 2007 11:29 PM
98autogstspyder
ECU Flash
5
Sep 3, 2007 08:07 AM



Quick Reply: Auto-Disassembly Script



All times are GMT -7. The time now is 10:04 AM.