Lines Matching +full:- +full:- +full:platforms
62 struct platform platforms[] = { in test() local
68 sizeof(X86_CODE32) - 1, in test()
69 "X86 32 (Intel syntax) - Skip data", in test()
75 sizeof(X86_CODE32) - 1, in test()
76 "X86 32 (Intel syntax) - Skip data with custom mnemonic", in test()
88 sizeof(RANDOM_CODE) - 1, in test()
89 "Arm - Skip data", in test()
95 sizeof(RANDOM_CODE) - 1, in test()
96 "Arm - Skip data with callback", in test()
112 for (i = 0; i < sizeof(platforms)/sizeof(platforms[0]); i++) { in test()
114 printf("Platform: %s\n", platforms[i].comment); in test()
115 err = cs_open(platforms[i].arch, platforms[i].mode, &handle); in test()
121 if (platforms[i].opt_type) in test()
122 cs_option(handle, platforms[i].opt_type, platforms[i].opt_value); in test()
126 cs_option(handle, platforms[i].opt_skipdata, platforms[i].skipdata); in test()
128 count = cs_disasm(handle, platforms[i].code, platforms[i].size, address, 0, &insn); in test()
132 print_string_hex(platforms[i].code, platforms[i].size); in test()
141 printf("0x%" PRIx64 ":\n", insn[j-1].address + insn[j-1].size); in test()
147 printf("Platform: %s\n", platforms[i].comment); in test()
148 print_string_hex(platforms[i].code, platforms[i].size); in test()