Skip to content

Commit d49b6fa

Browse files
catenacyberaquynh
authored andcommitted
Sets a default radix (#382)
* Sets a default radix * Default radix is 16
1 parent 622fe09 commit d49b6fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/keystone/ks.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,7 @@ ks_err ks_close(ks_engine *ks)
522522
KEYSTONE_EXPORT
523523
ks_err ks_option(ks_engine *ks, ks_opt_type type, size_t value)
524524
{
525+
ks->MAI->setRadix(16);
525526
switch(type) {
526527
case KS_OPT_SYNTAX:
527528
if (ks->arch != KS_ARCH_X86)

0 commit comments

Comments
 (0)