mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Remove existing string before converting to code (#2803)
This commit is contained in:
parent
af01134ae3
commit
4ec0a076b4
@ -782,7 +782,9 @@ void CutterCore::editBytesEndian(RVA addr, const QString &bytes)
|
||||
|
||||
void CutterCore::setToCode(RVA addr)
|
||||
{
|
||||
cmdRawAt("Cd-", addr);
|
||||
CORE_LOCK();
|
||||
rz_meta_del(core->analysis, RZ_META_TYPE_STRING, core->offset, 1);
|
||||
rz_meta_del(core->analysis, RZ_META_TYPE_DATA, core->offset, 1);
|
||||
emit instructionChanged(addr);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user