| 910 | } |
| 911 | |
| 912 | void 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 |
| 940 | bool X86_getInstruction(csh ud, const uint8_t *code, size_t code_len, |
no test coverage detected
searching dependent graphs…