Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fknbrkn/IDA-PRO---MED17-python-script

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This script for IDA PRO to parse MED17 / DSG files

Requirements: Ida Pro 7.4+ Idapython

Howto:
-load bin with start address, loading address = 0x80000000, choose tricore cpu
-(optional if TC1793 used, choose TC1797 in list of cpus (?)) load additional binary file with these settings: TC1793_loading segments ida

-(optional) check for the segments, add 0xC, 0xB, 0xA segments if needed -make autoanalyse of pflash segment to get raw code
-file -> script file
-choose a9 register from list of results. keep in mind that its usually flash (0x80000000 based) pointer

Whats inside: -searching for global registers values (simply assignment)
-parse em in code, converts to offset (based on prjs indirect() script)
-searching for a9 global register offset
-parse direct addressing mode (sometimes not)
-handle double pointer offset // this part might be buggy (offset applies until target register assignment with some other value or 'rets')
-loading a2l definition with maps and variables + bits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.