Skip to content

Commit

Permalink
Sets a default radix (#382)
Browse files Browse the repository at this point in the history
* Sets a default radix

* Default radix is 16
  • Loading branch information
catenacyber authored and aquynh committed Feb 8, 2019
1 parent 622fe09 commit d49b6fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/keystone/ks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ ks_err ks_close(ks_engine *ks)
KEYSTONE_EXPORT
ks_err ks_option(ks_engine *ks, ks_opt_type type, size_t value)
{
ks->MAI->setRadix(16);
switch(type) {
case KS_OPT_SYNTAX:
if (ks->arch != KS_ARCH_X86)
Expand Down

0 comments on commit d49b6fa

Please sign in to comment.