行业解决方案查看所有行业解决方案
IDA 用于解决软件行业的关键问题。
发布时间:2023-06-05 14: 44: 48
Action name:SetProcessor
Valid processor types are:
type description
---------------
8086-Intel 8086┐
80286r-Intel 80286 real mode│
80286p-Intel 80286 protected mode│
80386r-Intel 80386 real mode│
80386p-Intel 80386 protected mode│
80486r-Intel 80486 real mode│
80486p-Intel 80486 protected mode│
80586r-Intel Pentium&MMX real mode│(IBM PC family)
80586p-Intel Pentium&MMX prot mode│
80686p-Intel Pentium Pro&MMX│
k62-AMD K6-2 with 3DNow!│
p2-Intel Pentium II│
p3-Intel Pentium III│
athlon-AMD K7│
p4-Intel Pentium 4│
metapc-Disassemble all IBMPC opcodes┘
8085-Intel 8085┐
z80-Zilog 80│
z180-Zilog 180│(Zilog 80 family)
z380-Zilog 380│
64180-Hitachi HD64180│
gb-Gameboy┘
z8-Zilog 8(Zilog 8 family)
860xr-Intel 860 XR┐(Intel 860 family)
860xp-Intel 860 XP┘
8051-Intel 8051(Intel 51 family)
80196-Intel 80196┐(Intel 80196 family)
80196NP-Intel 80196NP,NU┘
m6502-MOS 6502┐(MOS Technology 65xx family)
m65c02-MOS 65c02┘
pdp11-DEC PDP/11(PDP family)
68000-Motorola MC68000┐
68010-Motorola MC68010│
68020-Motorola MC68020│
68030-Motorola MC68030│
68040-Motorola MC68040│(Motorola 680x0 family)
68330-Motorola CPU32(68330)│
68882-Motorola MC68020 with MC68882│
68851-Motorola MC68020 with MC68851│
68020EX-Motorola MC68020 with both│
colfire-Motorola ColdFire│
68K-Motorola MC680x0 all opcodes┘
6800-Motorola MC68HC00┐
6801-Motorola MC68HC01│
6803-Motorola MC68HC03│
6301-Hitachi HD 6301│
6303-Hitachi HD 6303│
6805-Motorola MC68HC05│(Motorola 8bit family)
6808-Motorola MC68HC08│
6809-Motorola MC68HC09│
6811-Motorola MC68HC11┘
6812-Motorola MC68HC12
hcs12-Motorola MC68HCS12
6816-Motorola MC68HC16
java-java(Java family)
ppc-PowerPC big endian┐
ppcl-PowerPC little endian┘(PowerPC family)
arm-ARM little endian┐(ARM family)
armb-ARM big endian┘
tms320c2-TMS320C2x series┐(TMS 16bit addressing family)
tms320c5-TMS320C5x series┘
tms320c6-TMS320C6x series┐(TMS VLIW family)
tms320c3-TMS320C3x series┘
tms32054-TMS320C54xx series
tms32055-TMS320C55xx series
sh3-Renesas SH-3(little endian)┐
sh3b-Renesas SH-3(big endian)│(Renesas SuperH series)
sh4-Renesas SH-4(little endian)│
sh4b-Renesas SH-4(big endian)│
sh2a-Renesas SH-2A(big endian)┘
avr-ATMEL AVR(ATMEL family)
mipsl-MIPS little endian┐(MIPS family:R2000,R3000,R4000,
mipsb-MIPS big endian│R4200,R4300,R4400,R4600,
mipsrl-MIPS&RSP little│R8000,R10000)
mipsr-MIPS&RSP big│
r5900l-MIPS R5900 little┘
r5900r-MIPS R5900 big┘
h8300-H8/300x in normal mode┐
h8300a-H8/300x in advanced mode│(Hitachi H8 family)
h8s300-H8S in normal mode│
h8s300a-H8S in advanced mode┘
h8500-H8/500(Hitachi H8/500 family)
pic12cxx-Microchip PIC 12-bit(12xxx)┐
pic16cxx-Microchip PIC 14-bit(16xxx)│(PIC family)
pic18cxx-Microchip PIC 16-bit(18xxx)┘
sparcb-SPARC big endian┐
sparcl-SPARC little endian┘(SPARC family)
alphab-DEC Alpha big endian┐
alphal-DEC Alpha little endian┘(ALPHA family)
hppa-HP PA-RISC big endian(HP PA-RISC family)
dsp56k-Motorola DSP 5600x┐
dsp561xx-Motorola DSP 561xx│(DSP 56K family)
dsp563xx-Motorola DSP 563xx│
dsp566xx-Motorola DSP 566xx┘
c166-Siemens C166┐
c166v1-Siemens C166 v1 family│
c166v2-Siemens C166 v2 family│(C166 family)
st10-SGS-Thomson ST10│
super10-Super10┘
st20-SGS-Thomson ST20/C1(ST20 family)
st20c4-SGS-Thomson ST20/C2-C4
st7-SGS-Thomson ST7(ST7 family)
ia64l-Intel Itanium little endian┐
ia64b-Intel Itanium big endian┘(IA64 family)
cli-Microsoft.Net platform
net-Microsoft.Net platform(alias)
i960l-Intel 960 little endian┐
i960b-Intel 960 big endian┘(i960 family)
f2mc16l-Fujitsu F2MC-16L┐
f2mc16lx-Fujitsu F2MC-16LX┘(Fujitsu F2MC family)
78k0-NEC 78k/0
78k0s-NEC 78k/0s
m740-Mitsubishi 8-bit
m7700-Mitsubishi 16-bit┐
m7750-Mitsubishi 16-bit┘(Mitsubishi 16-bit family)
m32r-Mitsubishi 32-bit┐
m32rx-Mitsubishi 32-bit extended┘(Mitsubishi 32-bit family)
st9-STMicroelectronics ST9+
fr-Fujitsu FR family
m7900-Mitsubishi M7900
kr1878-Angstrem KR1878
ad218x-Analog Devices ADSP
oakdsp-Atmel OAK DSP
tricore-Infineon Tricore
ebc-EFI Bytecode
msp430-Texas Instruments MSP430
You can change processor type only within the current family.If you have selected IBM PC family,you cannot select Zilog 80 family and vice versa.
Processor modules can accept additional options that can be passed on the commandline with the-p switch.Currently only the ARM module supports it.For example,-parm:ARMv7-A will turn on options specific for the ARMv7-A architecture,such as NEON instruction set.
For information about additional processor modules,please visit our web page at https://www.hex-rays.com/products/ida/processors.shtml
Please note that when you change the processor type,IDA may change the target assembler,so check it out.
You may get a message saying that IDA does not know the specified processor if IDA fails to load the corresponding processor module.
Windows IDA uses.dll file extension
Linux IDA uses.so file extension
Mac IDA uses.dylib file extension
NOTE:modules compiled with support for 64-bit address space,will feature a'64'suffix before the extension.E.g.,'pc64.dll'
NOTE:Changing the processor type leads to reanalysis of the whole program.Sometimes this is useful.
NOTE:when you load a new processor module,all analysis options are reset to the values specified in the configuration file.
IDA determines the default processor using the input file extension and the contents of the input file.The table which describes the input file extensions and the corresponding processor types is located in IDA.CFG file and looks like this:
DEFAULT_PROCESSOR={
/*Extension Processor*/
"com":"8086"//IDA will try the specified
"exe":"80386r"//extensions if no extension is
"dll":"80386r"//given.
"drv":"80386r"
"o":"68000"
"prc":"68000"//PalmPilot programs
"axf":"arm"
"h68":"68000"//MC68000 for*.H68 files
"i51":"8051"//i8051 for*.I51 files
"sav":"pdp11"//PDP-11 for*.SAV files
"rom":"z80"//Z80 for*.ROM files
"cla":"java"//Java classes
"class":"java"//Java classes
"s19":"6811"
"*":"80386p"//Default processor
}
If you want to change the default processor type,you need to change this table.You may add/delete rows in this table.
以下为中文翻译:
苏州6816-摩托罗拉MC68HC16
java-java(Java家族)
ppc-PowerPC大端┐
ppcl-PowerPC little endian┘(PowerPC系列)
arm-ARM little endian┐(ARM系列)
armb-ARM大端┘
tms320c2-TMS320C2x系列┐(TMS 16位寻址系列)
tms320c5-TMS320C5x系列┘
tms320c6-TMS320C6x系列┐(TMS VLIW系列)
tms320c3-TMS320C3x系列┘
tms32054-TMS320C54xx系列
tms32055-TMS320C55xx系列
sh3-Renesas SH-3(小端)┐
sh3b-Renesas SH-3(大端)│(Renesas SuperH系列)
sh4-瑞萨SH-4(小端)│
sh4b-瑞萨SH-4(大端)│
sh2a-Renesas SH-2A(大端)┘
avr-ATMEL AVR(ATMEL系列)
mipsl-MIPS little endian┐(MIPS系列:R 2000、R3000、R4000、
mipsb-MIPS大端│R4200,R 4300,R 4400,R4600,
mipsrl-MIPS和RSP小│R8000,R10000)
mipsr-MIPS和RSP大│
r5900 l-MIPS R5900小┘
r5900 r-MIPS R5900大┘
h8300-正常模式下的H8/300x┐
h8300 a-高级模式下的H8/300x│(日立H8系列)
h8s 300-正常模式下的H8S│
h8s300a-高级模式下的H8S┘
h8500-H8/500(日立H8/500系列)
pic12cxx-Microchip PIC 12位(12xxx)┐
pic16cxx-Microchip PIC 14位(16xxx)│(PIC系列)
pic18cxx-Microchip PIC 16位(18xxx)┘
sparcb-SPARC大端┐
sparcl-SPARC little endian┘(SPARC系列)
alphab-DEC Alpha大端┐
alphal-DEC Alpha little endian┘(ALPHA系列)
hppa-HP PA-RISC大端(HP PA-RISC系列)
dsp56 k-摩托罗拉DSP 5600x┐
dsp561xx-摩托罗拉DSP 561xx│(DSP 56K系列)
dsp563xx-摩托罗拉DSP 563xx│
dsp566xx-摩托罗拉DSP 566xx┘
c166-西门子C166┐
c166v 1-西门子C166 v1系列│
c166v 2-西门子C166 v2家族│(C166家族)
st10-SGS-汤姆森ST10│
超级10-超级10┘
st20-SGS-Thomson ST20/C1(ST20系列)
st20c 4-SGS-汤姆森ST20/C2-C4
st7-SGS-Thomson ST7(ST7系列)
ia64l-Intel Itanium little endian┐
ia64b-Intel Itanium big endian┘(IA64系列)
cli-Microsoft.Net平台
net-Microsoft.Net平台(别名)
i960l-英特尔960小端┐
i960b-英特尔960大端┘(i960系列)
f2mc16l-富士通F2MC-16L┐
f2mc16lx-富士通F2MC-16LX┘(富士通F2MC系列)
78k0-NEC 78k/0
78k0s-NEC 78k/0s
m740-三菱8位
m7700-三菱16位┐
m7750-Mitsubishi 16-bit┘(Mitsubishi 16-bit family)
m32r-三菱32位┐
m32rx-Mitsubishi 32-bit extended┘(Mitsubishi 32-bit family)
st9-意法半导体ST9+
fr-富士通FR系列
m7900——三菱M7900
氪-埃格斯特伦KR1878
ad218 x-模拟设备ADSP
oakdsp-Atmel OAK DSP
三核-Infineon Tricore
ebc-EFI字节码
msp 430-德州仪器MSP430
您只能在当前系列中更改处理器类型。如果你有
选择IBM PC系列,不能选择Zilog 80系列
反之亦然。
处理器模块可以接受可以使用-p开关在命令行上传递的附加选项。
目前只有ARM模块支持。例如,-parm:ARMv 7-A将打开特定于
ARMv7-A架构,如NEON指令集。
有关其他处理器模块的信息,请访问
我们的网页https://www.hex-rays.com/products/ida/processors.shtml
请注意,当您更改处理器类型时,IDA可能会更改
目标汇编器,所以检查一下。
你可能会收到一条消息说IDA不知道指定的
processor如果IDA未能加载相应的处理器模块。
Windows IDA使用..dll延伸档名
Linux IDA使用.so文件扩展名
Mac IDA使用..dylib延伸档名
注意:在支持64位地址空间的情况下编译的模块将
在扩展名前有一个“64”后缀。例如,'pc64.dll'
注意:更改处理器类型会导致重新分析整个程序。
有时这很有用。
注意:当你加载一个新的处理器模块时,所有的分析
选项被重置为指定的值
配置文件。
IDA使用输入文件扩展名和
输入文件的内容。
描述输入文件扩展名和相应的表
处理器类型位于IDA.CFG文件中,如下所示:
默认处理器={
/*扩展处理器*/
com:8086//IDA将尝试指定的
exe:80386r//如果没有扩展名则为扩展名
dll:80386r//给出。
驱动器:80386r
Ø:68000
prc:68000//PalmPilot程序
axf:手臂
h 68:68000//*.H68文件的MC68000
i 51:8051//i8051用于*.I51文件
sav:pdp11//PDP-11 for*.SAV文件
rom:z80//Z80用于*.ROM文件
cla:java//Java类
class:java//Java类
s19:6811
*:80386p//默认处理器
}
如果要更改默认处理器类型,则需要更改此表。
您可以在此表中添加/删除行。
展开阅读全文
︾
读者也喜欢这些内容:
IDA Pro快捷键怎么导出 IDA Pro换电脑后快捷键怎么导入
很多人用IDA Pro久了都会按自己的习惯改快捷键,把常用动作绑到顺手的组合键上。真到换电脑或重装系统时,如果只装回软件却没把快捷键配置带走,效率会立刻掉一截,连排查样本时的节奏都会被打断。更麻烦的是团队里有人改了快捷键但没做备份,后面想复原也说不清改了哪些。解决思路很简单,把快捷键当成一份可迁移的配置文件来管理,导出其实就是把这份文件备份好,导入就是放回正确目录并验证生效。...
阅读全文 >
IDA Pro反编译功能怎么开 IDA Pro反编译结果怎么导出保存
IDA Pro里看到伪C代码,依赖的不是“某个开关”,而是Hex-Rays Decompiler组件是否已安装且与你当前IDA版本和目标架构匹配。很多人按了F5没反应,或弹出没有反编译器的提示,本质都是反编译器没装好、装错目录、版本不匹配,或当前样本的架构没有对应的反编译器。下面按实际操作路径,把开启与导出两件事一次讲清楚,仅建议用于你有合法分析权限的程序与样本。...
阅读全文 >
IDA脚本编写复杂吗 IDA脚本如何调试优化效率
很多人觉得IDA脚本难,通常不是因为Python本身难,而是因为IDA里数据对象多,自动分析又会在后台持续变化,脚本一跑就出现取不到函数、交叉引用不全、界面卡住等情况。把脚本当成“围绕IDB数据库做批处理”的工具来写,先把运行入口、调试方法、性能习惯定成标准动作,脚本会很快从“能跑就行”变成“稳定可复用”。...
阅读全文 >
IDA支持新型架构及时吗 IDA新处理器如何添加支持
做固件与样本分析时,很多人把“IDA能不能打开”当成支持与否的判断标准,但真正决定体验的是处理器模块是否成熟,能否稳定解码、建立交叉引用、完成基本栈跟踪。判断支持是否及时,可以用官方支持清单加本机处理器选择入口做一次快速核对,再决定是升级、补装模块,还是走自建处理器模块路线。...
阅读全文 >