keystone-engine / keystone

Keystone assembler framework: Core (Arm, Arm64, Hexagon, Mips, PowerPC, Sparc, SystemZ & X86) + bindings
http://www.keystone-engine.org
GNU General Public License v2.0
2.3k stars 456 forks source link

How to suppress warnings? #550

Open ntqbit opened 1 year ago

ntqbit commented 1 year ago

Hello. Running the following code in python results in warning:

from keystone import *
ks = Ks(KS_ARCH_ARM, KS_MODE_ARM)
ks.asm('MCR p15, #0, r1, c7, c5, #4')
warning: deprecated since v7, use 'isb'
MCR p15, #0, r1, c7, c5, #4
^

Is there a way to suppress the warning? Thank you for the awesome project!