MCPcopy Create free account
hub / github.com/capstone-engine/capstone / X86_init

Function X86_init

arch/X86/X86Disassembler.c:912–937  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

910}
911
912void X86_init(MCRegisterInfo *MRI)
913{
914 // InitMCRegisterInfo(), X86GenRegisterInfo.inc
915 // RI->InitMCRegisterInfo(X86RegDesc, 277,
916 // RA, PC,
917 // X86MCRegisterClasses, 86,
918 // X86RegUnitRoots, 162, X86RegDiffLists, X86LaneMaskLists, X86RegStrings,
919 // X86RegClassStrings,
920 // X86SubRegIdxLists, 9,
921 // X86SubRegIdxRanges, X86RegEncodingTable);
922 /*
923 InitMCRegisterInfo(X86RegDesc, 234,
924 RA, PC,
925 X86MCRegisterClasses, 79,
926 X86RegUnitRoots, 119, X86RegDiffLists, X86RegStrings,
927 X86SubRegIdxLists, 7,
928 X86SubRegIdxRanges, X86RegEncodingTable);
929 */
930
931 MCRegisterInfo_InitMCRegisterInfo(MRI, X86RegDesc, 277,
932 0, 0,
933 X86MCRegisterClasses, 86,
934 0, 0, X86RegDiffLists, 0,
935 X86SubRegIdxLists, 9,
936 0);
937}
938
939// Public interface for the disassembler
940bool X86_getInstruction(csh ud, const uint8_t *code, size_t code_len,

Callers 1

X86_global_initFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…