Skip to content

Commit

Permalink
cstool: version 2 could print all debug information for all arch.
Browse files Browse the repository at this point in the history
  • Loading branch information
YUHANG TANG authored and YUHANG TANG committed Oct 16, 2016
1 parent 8377523 commit 3e6f903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cstool/cstool.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ int main(int argc, char **argv)
}
}
printf(" %s\t%s\n", insn[i].mnemonic, insn[i].op_str);
if (debug_flag) {//different mode should call different print functions
if (debug_flag) {
if (!strcmp(arch, "x86")) {
print_insn_detail_x86(handle, md, &insn[i]);
}
Expand Down

0 comments on commit 3e6f903

Please sign in to comment.