kabeor / capstone-engine-documentation Goto Github PK
View Code? Open in Web Editor NEWOfficial Capstone Disassembly Engine API documentation
License: BSD 3-Clause "New" or "Revised" License
Official Capstone Disassembly Engine API documentation
License: BSD 3-Clause "New" or "Revised" License
请教下 反汇编殷勤如何识别全局变量
Hello, can this module convert assembly code into bytes
hello~
我现在有些新的,对MIPS的拓展指令,在capstone没有对这些指令的支持,我想增加这些新指令支持,是需要在MipsGenDisassemblerTables.inc文件新建DecoderTable来描述这些指令吗(看见文件注释说这些DecoderTable是自动生成的),
现在对DecoderTable某些字段意义不太明白,想请教下,例如在MipsGenDisassemblerTables.inc文件中 27行
static uint8_t DecoderTableCOP3_32[] = {
/* 0 / MCD_OPC_ExtractField, 26, 6, // Inst{31-26} ...
/ 3 / MCD_OPC_FilterValue, 51, 8, 0, // Skip to: 15
/ 7 / MCD_OPC_CheckPredicate, 1, 40, 0, // Skip to: 51
/ 11 / MCD_OPC_Decode, 220, 7, 10, // Opcode: LWC3
/ 15 / MCD_OPC_FilterValue, 55, 8, 0, // Skip to: 27
/ 19 / MCD_OPC_CheckPredicate, 2, 28, 0, // Skip to: 51
/ 23 / MCD_OPC_Decode, 167, 7, 10, // Opcode: LDC3
/ 27 / MCD_OPC_FilterValue, 59, 8, 0, // Skip to: 39
/ 31 / MCD_OPC_CheckPredicate, 1, 16, 0, // Skip to: 51
/ 35 / MCD_OPC_Decode, 242, 12, 10, // Opcode: SWC3
/ 39 / MCD_OPC_FilterValue, 63, 8, 0, // Skip to: 51
/ 43 / MCD_OPC_CheckPredicate, 2, 4, 0, // Skip to: 51
/ 47 / MCD_OPC_Decode, 161, 11, 10, // Opcode: SDC3
/ 51 / MCD_OPC_Fail,
0
};
在6915行中
case MCD_OPC_Decode: {
Opc = (unsigned)decodeULEB128(++Ptr, &Len);
Ptr += Len;
DecodeIdx = (unsigned)decodeULEB128(Ptr, &Len);
Ptr += Len;
MCInst_setOpcode(MI, Opc);
return decoder(S, DecodeIdx, insn, MI, Address, MRI);
}
对数组MCD_OPC_Decode字段进行读取,但对/ 11 */ MCD_OPC_Decode, 220, 7, 10, // Opcode: LWC3 中的220,7,10的含义不明白,220似乎是mips.h 里mips_insn中MIPS_INS_SDC3 的值,不知您对capstone对mips反汇编过程了解吗,或者是否有相关资料,望赐教。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.