Lines Matching full:platforms
62 struct platform platforms[] = { in test() local
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()
147 printf("Platform: %s\n", platforms[i].comment); in test()
148 print_string_hex(platforms[i].code, platforms[i].size); in test()