Giter Club home page Giter Club logo

capstone-engine-documentation's People

Contributors

kabeor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

capstone-engine-documentation's Issues

question

Hello, can this module convert assembly code into bytes

请教下关于添加capstone对新指令的支持

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反汇编过程了解吗,或者是否有相关资料,望赐教。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.