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

Method disasm

bindings/java/capstone/Capstone.java:512–514  ·  view source on GitHub ↗

Disassemble instructions from @code assumed to be located at @address, stop when encountering first broken instruction. @param code The source machine code bytes. @param address The address of the first machine code byte. @return the array of successfully disassembled instructions, empty if no inst

(byte[] code, long address)

Source from the content-addressed store, hash-verified

510 * @return the array of successfully disassembled instructions, empty if no instruction could be disassembled.
511 */
512 public CsInsn[] disasm(byte[] code, long address) {
513 return disasm(code, address, 0);
514 }
515
516 /**
517 * Disassemble up to @count instructions from @code assumed to be located at @address,

Callers 10

mainMethod · 0.95
mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45

Calls 3

fromArrayRawMethod · 0.95
cs_disasmMethod · 0.80
getValueMethod · 0.45

Tested by 10

mainMethod · 0.76
mainMethod · 0.36
mainMethod · 0.36
mainMethod · 0.36
mainMethod · 0.36
mainMethod · 0.36
mainMethod · 0.36
mainMethod · 0.36
mainMethod · 0.36
mainMethod · 0.36