MCPcopy Create free account
hub / github.com/capstone-engine/capstone / setSyntax

Method setSyntax

bindings/java/capstone/Capstone.java:467–473  ·  view source on GitHub ↗
(int syntax)

Source from the content-addressed store, hash-verified

465
466 // set Assembly syntax
467 public void setSyntax(int syntax) {
468 if (cs.cs_option(ns.csh, CS_OPT_SYNTAX, new NativeLong(syntax)) == CS_ERR_OK) {
469 this.syntax = syntax;
470 } else {
471 throw new RuntimeException("ERROR: Failed to set assembly syntax");
472 }
473 }
474
475 // set detail option at run-time
476 public void setDetail(int opt) {

Callers 3

mainMethod · 0.95
mainMethod · 0.80
mainMethod · 0.80

Calls 1

cs_optionMethod · 0.80

Tested by 3

mainMethod · 0.76
mainMethod · 0.64
mainMethod · 0.64