Home
last modified time | relevance | path

Searched refs:all_insn (Results 1 – 4 of 4) sorted by relevance

/external/capstone/bindings/java/
DTest.java166 Capstone.CsInsn[] all_insn = cs.disasm(platforms[j].code, 0x1000); in main() local
168 for (int i = 0; i < all_insn.length; i++) { in main()
169 System.out.println(String.format("0x%x: \t%s\t%s", all_insn[i].address, in main()
170 all_insn[i].mnemonic, all_insn[i].opStr)); in main()
172 …System.out.printf("0x%x:\n\n", all_insn[all_insn.length-1].address + all_insn[all_insn.length-1].s… in main()
/external/capstone/suite/fuzz/
Dfuzz_harness.c137 cs_insn *all_insn; in main() local
160 size_t count = cs_disasm(handle, buf_ptr, buf_ptr_size, address, 0, &all_insn); in main()
169 cs_insn *i = &(all_insn[j]); in main()
200 printf("0x%"PRIx64":\n", all_insn[j-1].address + all_insn[j-1].size); in main()
201 cs_free(all_insn, count); in main()
/external/capstone/tests/
Dtest_detail.c214 cs_insn *all_insn; in test() local
234 count = cs_disasm(handle, platforms[i].code, platforms[i].size, address, 0, &all_insn); in test()
243 cs_insn *ins = &(all_insn[j]); in test()
279 printf("0x%" PRIx64 ":\n", all_insn[j-1].address + all_insn[j-1].size); in test()
282 cs_free(all_insn, count); in test()
/external/capstone/bindings/python/capstone/
D__init__.py388 all_insn = ctypes.POINTER(_cs_insn)()
389 res = _cs.cs_disasm(csh, code, len(code), offset, count, ctypes.byref(all_insn))
393 yield CsInsn(_dummy_cs(csh, arch), all_insn[i])
395 _cs.cs_free(all_insn, res)
429 all_insn = ctypes.POINTER(_cs_insn)()
430 res = _cs.cs_disasm(csh, code, len(code), offset, count, ctypes.byref(all_insn))
434 insn = all_insn[i]
437 _cs.cs_free(all_insn, res)
841 all_insn = ctypes.POINTER(_cs_insn)()
850 res = _cs.cs_disasm(self.csh, code, len(code), offset, count, ctypes.byref(all_insn))
[all …]