capstone-rs
capstone-rs copied to clipboard
Reduce number of disasm*() methods
Address comments from: https://github.com/capstone-rust/capstone-rs/pull/115#pullrequestreview-3050330818
There is a small place where the existing disasm_all/disasm_count is more convenient: disasm_iter does not allow having two Insn at the same time (due to sharing their details pointer).
There is a small place where the existing
disasm_all/disasm_countis more convenient:disasm_iterdoes not allow having twoInsnat the same time (due to sharing their details pointer).
Therefore, I prefer to keep the existing ones and suggest performance-sensitive users to switch over.