## Overview
**LoadProcConfig** is an IDA Plugin to load processor configuration files.
With just a couple of clicks configuration files can turn this:
![](./Resources/screenshots/lpc_before.png)
Into this, adding memory regions, entries and registers/ports:
![](./Resources/screenshots/lpc_after.png)
By default IDA is shipped with configuration files for many processors in **IDA/cfg** folder. These configuration files are loaded automatically when corresponding processor module is loaded.
However, this approach has some disadvantages:
1. You have to keep your own configuration files inside IDA
2. There is no easy way to load and apply configuration file on existing database
3. Most important, ARM processor module doesn't have configuration file
Current plugin was implemented to address all these issues.
## Installation
Just copy **LoadProcConfig.pmc** and **LoadProcConfig.pmc64** to IDA plugins folder.
## Usage
From **Edit / Plugins** menu choose **Load Processor Config**.
Then open configuration file using the file dialog.
IDA will parse this file and display all available devices.
Pick your device and press **OK**.
![](./Resources/screenshots/lpc_device.png)
Choose what do you want to load from this configuration file.
![](./Resources/screenshots/lpc_info.png)
Plugin will reanalyse entire database using device description and create additional memory regions.
## Configuration files
There are many configuration files in **IDA/cfg** folder. While the format has no proper documentation, we can get some ideas by looking into **idasdk/module/iocommon.cpp**
Every configuration includes following parts:
```
; Default device in current configuration file
.default MYDEVICE
; Device description
.MYDEVICE
; RAM/FLASH specification
RAM=512
ROM=8192
EEPROM=512
; Memory Map
area DATA I_SRAM 0x00060:0x00260 Internal SRAM
area DATA E_SRAM 0x00260:0x10000 External SRAM
; Interrupts and reset vector assignments
entry RESET 0x0000 External Reset, Power-on Reset and Watchdog Reset
entry UART_RX 0x0009 UART, Rx Complete
; Registers (with bit fields)
USR 0x000B UART Status Register
USR.RXC 7 UART Receive Complete
USR.TXC 6 UART Transmit Complete
USR.UDRE 5 UART Data Register Empty
USR.FE 4 Framing Error
USR.OR 3 Overrun
```
You can find example for STM32F40x in **Configurations** folder
没有合适的资源?快使用搜索试试~ 我知道了~
IDA Pro插件LoadProcConfig
共19个文件
png:4个
dylib:2个
md:1个
需积分: 2 0 下载量 163 浏览量
2022-01-06
19:05:00
上传
评论
收藏 1.06MB ZIP 举报
温馨提示
IDA Pro插件LoadProcConfig
资源详情
资源评论
资源推荐
收起资源包目录
LoadProcConfig.zip (19个子文件)
LoadProcConfig
.gitignore 228B
README.md 2KB
LoadProcConfig
LoadProcConfig.sln 1KB
LoadProcConfig.cpp 6KB
LoadProcConfig.xcodeproj
project.pbxproj 19KB
LoadProcConfig.vcxproj 15KB
bin
LoadProcConfig.p64 76KB
LoadProcConfig.plw 76KB
LoadProcConfig64.dylib 21KB
LoadProcConfig.dylib 21KB
LoadProcConfig.pmc64 15KB
LoadProcConfig.pmc 15KB
Resources
screenshots
lpc_after.png 442KB
lpc_before.png 431KB
lpc_info.png 181KB
lpc_device.png 90KB
idasdk
.keep_me 0B
Configurations
stm32f40x.cfg 29KB
.DS_Store 6KB
共 19 条
- 1
ultrain
- 粉丝: 0
- 资源: 81
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0