Home
last modified time | relevance | path

Searched refs:cs_option (Results 1 – 25 of 48) sorted by relevance

12

/external/capstone/suite/benchmark/
Dtest_iter_benchmark.c71 cs_option(handle, CS_OPT_SYNTAX, CS_OPT_SYNTAX_INTEL); in test()
72 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); in test()
/external/capstone/tests/
Dtest_customized_mnem.c65 cs_option(handle, CS_OPT_MNEMONIC, (size_t)&my_mnem); in test()
72 cs_option(handle, CS_OPT_MNEMONIC, (size_t)&default_mnem); in test()
Dtest_skipdata.c122 cs_option(handle, platforms[i].opt_type, platforms[i].opt_value); in test()
125 cs_option(handle, CS_OPT_SKIPDATA, CS_OPT_ON); in test()
126 cs_option(handle, platforms[i].opt_skipdata, platforms[i].skipdata); in test()
Dtest_iter.c257 cs_option(handle, platforms[i].opt_type, platforms[i].opt_value); in test()
259 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); in test()
Dtest_detail.c307 cs_option(handle, platforms[i].opt_type, platforms[i].opt_value); in test()
309 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); in test()
Dtest_arm.c313 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); in test()
316 cs_option(handle, CS_OPT_SYNTAX, platforms[i].syntax); in test()
Dtest_x86.c447 cs_option(handle, platforms[i].opt_type, platforms[i].opt_value); in test()
449 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); in test()
Dtest_evm.c88 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); in test()
Dtest_mos65xx.c130 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); in test()
Dtest_xcore.c102 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); in test()
Dtest_sparc.c114 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); in test()
Dtest_systemz.c107 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); in test()
Dtest_mips.c144 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); in test()
/external/capstone/suite/arm/
Dtest_arm_regression.c195 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); in test_invalids()
196 cs_option(handle, CS_OPT_SYNTAX, CS_OPT_SYNTAX_NOREGNAME); in test_invalids()
309 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); in test_valids()
310 cs_option(handle, CS_OPT_SYNTAX, CS_OPT_SYNTAX_NOREGNAME); in test_valids()
/external/capstone/cstool/
Dcstool.c414 cs_option(handle, CS_OPT_SYNTAX, CS_OPT_SYNTAX_ATT); in main()
419 cs_option(handle, CS_OPT_SKIPDATA, CS_OPT_ON); in main()
438 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); in main()
442 cs_option(handle, CS_OPT_UNSIGNED, CS_OPT_ON); in main()
/external/capstone/bindings/python/capstone/
D__init__.py883 status = _cs.cs_option(self.csh, CS_OPT_SYNTAX, style)
900 status = _cs.cs_option(self.csh, CS_OPT_SKIPDATA, CS_OPT_OFF)
902 status = _cs.cs_option(self.csh, CS_OPT_SKIPDATA, CS_OPT_ON)
921 …status = _cs.cs_option(self.csh, CS_OPT_SKIPDATA_SETUP, ctypes.cast(ctypes.byref(self._skipdata_op…
960 …status = _cs.cs_option(self.csh, CS_OPT_MNEMONIC, ctypes.cast(ctypes.byref(_mnem_opt), ctypes.c_vo…
981 status = _cs.cs_option(self.csh, CS_OPT_DETAIL, CS_OPT_OFF)
983 status = _cs.cs_option(self.csh, CS_OPT_DETAIL, CS_OPT_ON)
1000 status = _cs.cs_option(self.csh, CS_OPT_UNSIGNED, CS_OPT_OFF)
1002 status = _cs.cs_option(self.csh, CS_OPT_UNSIGNED, CS_OPT_ON)
1018 status = _cs.cs_option(self.csh, CS_OPT_MODE, opt)
/external/capstone/bindings/powershell/Capstone/
DCapstone.psm1374 $CallResult = [Capstone]::cs_option($DisAsmHandle, 1, $CS_OPT_SYNTAX) in Get-CapstoneDisassembly()
392 $CallResult = [Capstone]::cs_option($DisAsmHandle, 2, $CS_OPT) in Get-CapstoneDisassembly()
/external/capstone/bindings/java/capstone/
DCapstone.java302 public int cs_option(Pointer handle, int option, NativeLong optionValue); in cs_option() method
465 if (cs.cs_option(ns.csh, CS_OPT_SYNTAX, new NativeLong(syntax)) == CS_ERR_OK) { in setSyntax()
474 if (cs.cs_option(ns.csh, CS_OPT_DETAIL, new NativeLong(opt)) == CS_ERR_OK) { in setDetail()
483 if (cs.cs_option(ns.csh, CS_OPT_MODE, new NativeLong(opt)) == CS_ERR_OK) { in setMode()
/external/capstone/bindings/ocaml/
Dtest_x86.ml100 let err = cs_option handle CS_OPT_SYNTAX syntax in
104 let err = cs_option handle CS_OPT_DETAIL _CS_OPT_ON in
/external/capstone/suite/cstest/src/
Dmain.c83 if (cs_option(*handle, options[i].first_value, options[i].second_value) != CS_ERR_OK) { in setup_MC()
193 if (cs_option(*handle, options[i].first_value, options[i].second_value) != CS_ERR_OK) { in setup_issue()
Dcapstone_test.c166 if (cs_option(*handle, CS_OPT_SYNTAX, CS_OPT_SYNTAX_NOREGNAME) == CS_ERR_OK) { in test_single_MC()
188 cs_option(*handle, CS_OPT_SYNTAX, 0); in test_single_MC()
/external/capstone/bindings/vb6/
DCDisassembler.cls95 cs_option handle, CS_OPT_DETAIL, CS_OPT_ON
DvbCapstone.cpp42 return cs_option(handle, type, value); in bs_option()
/external/capstone/bindings/python/pyx/
Dccapstone.pxd50 cs_err cs_option(csh handle, cs_opt_type type, size_t value)
/external/capstone/suite/fuzz/
Dfuzz_disasm.c220 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); in LLVMFuzzerTestOneInput()

12