Skip to content
IDA Pro module for Toshiba MeP processors
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cgen Initial commit. Dec 28, 2015
.gitignore Initial commit. Dec 28, 2015
LICENSE Initial commit Dec 28, 2015
README.md IDA 7.x support Jun 22, 2018
ana.cpp Fix incorrect 16-bit offsets Jun 26, 2018
bfd_stdint.h Initial commit. Dec 28, 2015
cgen.h Initial commit. Dec 28, 2015
emu.cpp Incorrect argument order for xrefs Jun 23, 2018
find_mep_addr_pairs.py Script emulates add3 correctly Feb 22, 2017
generate.sh Added support for c5 instructions Dec 30, 2015
idp.cpp Fix incorrect 16-bit offsets Jun 26, 2018
ins.cpp Fixed bra giving incorrect edges (#5) Feb 18, 2017
ins.hpp Added support for c5 instructions Dec 30, 2015
makefile
mep.hpp
mep.sln Added VS project for windows Feb 18, 2017
mep.vcxproj Added outputting offset to imm16 operands Feb 18, 2017
out.cpp IDA 7.x support Jun 22, 2018
reg.cpp IDA 7.x support Jun 22, 2018
symcat.h Initial commit. Dec 28, 2015

README.md

Toshiba MeP for IDA Pro 7.x

This is a processor module for MeP mostly generated from CGEN.

Features

  • Analysis of the core instruction set + C5 additions
  • Basic data/code reference detection
  • Basic branch detection
  • Basic stack behavior detection

Not Supported

  • VLIW (including operation switching)
  • Co-processor instruction sets (adding support as a different processor module should be easy, but integrating it together and adding support for switching instruction sets will be akin to ARM/Thumb support)

Building

Create a directory mep in $IDASDK/module with the files here. Then edit $IDASDK/module/makefile and add mep to DIRS32. Then follow the SDK's build instructions for your platform.

For Windows, make sure you have VS2015 installed and your IDA SDK installed to C:\IDASDK. You can then use the VS project file.

To regenerate the CGEN files, modify generate.sh to point to your CGEN path and run it. Note that modifications have been made to the generated files here, so you may want to diff the changes first and add them back.

License

The code is licensed under MIT License as permitted by the special exception to GPLv3 specified by CGEN. The CGEN headers included are licensed under GPLv3, however the FSF said previously that headers does not count as derivative work.

You can’t perform that action at this time.