prj
|
|
« Reply #60 on: November 22, 2012, 02:02:13 AM »
|
|
|
The only thing unique for the PROKON codewords is the word variable and the bit value, generally.
My suggestion was to use a pattern to locate the bit (B_cdxxx), then search for the codeword pattern and match RAM address/ bit value to confirm codeword. Or something along those lines. I haven't gotten the chance to play with your utility yet, so I don't really know if this is feasible. Ok, so you want to locate a certain location, and then use the address as part of another pattern? So let's say you find B_CDXXX, say you get two bytes 0x5467 (random pick), and you want to include these in the main pattern literally? This could be done.
|
|
|
Logged
|
|
|
|
prj
|
|
« Reply #61 on: November 22, 2012, 05:52:02 AM »
|
|
|
I have pushed a new version.
The lookup of patterns is now multithreaded. This is the operation that always takes the longest, and it will get worse as more patterns are added.
Now all patterns are pre-cached via a thread pool, and already there is a small performance increase.
|
|
|
Logged
|
|
|
|
dream3R
|
|
« Reply #62 on: October 07, 2013, 04:52:08 AM »
|
|
|
I'd like to contribute to the XML library.
prj do you have the screens from the original xml explanation post? I'm fairly new to IDA and those will help me understand the process.
|
|
|
Logged
|
|
|
|
prj
|
|
« Reply #63 on: October 09, 2013, 01:37:13 AM »
|
|
|
I don't think I have them unfortunately
|
|
|
Logged
|
|
|
|
dream3R
|
|
« Reply #64 on: October 13, 2013, 02:10:15 AM »
|
|
|
Hi Prj,
That's a pity.
|
|
|
Logged
|
|
|
|
dream3R
|
|
« Reply #65 on: December 01, 2013, 02:33:16 PM »
|
|
|
Hello prj. Progress has been made. The offsets on Volvo are different. Map address is not offset by 0x80000 like in vag, it's 0. Anyway, is there a quick hack to tell the software not to apply the vag offset? I'm hoping to avoid java/maven witchcraft
|
|
|
Logged
|
|
|
|
ddillenger
|
|
« Reply #66 on: December 01, 2013, 06:10:47 PM »
|
|
|
CDHSH XML attached. HSHE is right after HSH in pretty much every binary, so 2 for 1 here.
|
|
|
Logged
|
Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your experience!
Email/Google chat: DDillenger84(at)gmail(dot)com
Email>PM
|
|
|
dream3R
|
|
« Reply #67 on: December 02, 2013, 02:18:00 AM »
|
|
|
CDHSH XML attached. HSHE is right after HSH in pretty much every binary, so 2 for 1 here.
Hi, Thanks for taking the time but you got the wrong end of the stick, probably my explanation. Volvo's bin's do not need offset like VAG so the calcs are wrong on Volvo bins. Stunning software though prj, well done!!
|
|
|
Logged
|
|
|
|
ddillenger
|
|
« Reply #68 on: December 02, 2013, 05:27:46 AM »
|
|
|
That was for VAG. You bumping the thread just make me think to post it.
|
|
|
Logged
|
Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your experience!
Email/Google chat: DDillenger84(at)gmail(dot)com
Email>PM
|
|
|
dream3R
|
|
« Reply #69 on: December 02, 2013, 06:02:27 AM »
|
|
|
That was for VAG. You bumping the thread just make me think to post it.
Ah sorry. You might want to commit that to the github.
|
|
|
Logged
|
|
|
|
ddillenger
|
|
« Reply #70 on: December 02, 2013, 06:21:44 AM »
|
|
|
dream3r:
I have something that might help you. It works by referencing a library of files against one you have chosen (and provided the address for the map/variable you are searching), and looking for a pattern that applies to ALL of them. It's cmd line of course. You're going to have to email me with some similar binaries and a known address so I can verify it'll work for volvo.
|
|
|
Logged
|
Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your experience!
Email/Google chat: DDillenger84(at)gmail(dot)com
Email>PM
|
|
|
dream3R
|
|
« Reply #71 on: December 02, 2013, 06:26:02 AM »
|
|
|
dream3r:
I have something that might help you. It works by referencing a library of files against one you have chosen (and provided the address for the map/variable you are searching), and looking for a pattern that applies to ALL of them. It's cmd line of course. You're going to have to email me with some similar binaries and a known address so I can verify it'll work for volvo.
That sounds interesting! I'm going to give compiling this with changes a shot, it looks like it will be able to report memory locations on different bins, which is really what I was hoping it could do, for the logger. Why recreate the wheel and all that ... I've got to grips with assembly, thankfully, and am in the process of defining my file and creating a RAM map with IDA Pro. There's some interesting bits of code for sure. The really good news is that I think TunnerPro RT is interoperable with my Microcontrller code, which is amazing if it works. I wrote a basic Rs232 interface for controlling it from Windows and using that it should work... I'm also working on a J2534 version when time allows.
|
|
« Last Edit: December 02, 2013, 06:28:35 AM by dream3R »
|
Logged
|
|
|
|
guitar24t
Full Member
Karma: +13/-0
Offline
Posts: 101
|
|
« Reply #72 on: December 02, 2013, 09:50:42 AM »
|
|
|
I created a pull request for an update to the Xml plugin to allow correct operation on Volvo binaries. I've attached the source change here as well, for anyone who wants to compile it. The more testing, the better.
Oh, and I should note that the XML files need to be renamed to .audi.xml and ones for volvo will be named .volvo.xml. I updated the pull to reflect those changes.
|
|
« Last Edit: December 02, 2013, 10:02:49 AM by guitar24t »
|
Logged
|
|
|
|
guitar24t
Full Member
Karma: +13/-0
Offline
Posts: 101
|
|
« Reply #73 on: December 02, 2013, 11:27:28 AM »
|
|
|
I created a pull request for an update to the Xml plugin to allow correct operation on Volvo binaries. I've attached the source change here as well, for anyone who wants to compile it. The more testing, the better.
Oh, and I should note that the XML files need to be renamed to .audi.xml and ones for volvo will be named .volvo.xml. I updated the pull to reflect those changes.
Here's a compiled version of the software with these changes integrated.
|
|
|
Logged
|
|
|
|
prj
|
|
« Reply #74 on: December 04, 2013, 09:25:37 AM »
|
|
|
I need to accept the request, been so busy... If you want straight out access to the repository as a contributor let me know and I'll add you.
|
|
|
Logged
|
|
|
|
|