keystone-engine / keypatch

Multi-architecture assembler for IDA Pro. Powered by Keystone Engine.
http://www.keystone-engine.org/keypatch
GNU General Public License v2.0
1.47k stars 355 forks source link

Lockup with high CPU load on malformed input #86

Open flowswitch opened 2 years ago

flowswitch commented 2 years ago

An example: CMP X2, #0x3F ; '?' in the "Patch" dialog edit box. Deleting the last single quote mark locks up Keypatch/IDA completely. IDA 7.6-7.7 Linux, latest Keystone built from git source.