Skip to content

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 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

No packages published

Languages