mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 05:45:27 +00:00
convert to api for aht
This commit is contained in:
parent
3d39cf625f
commit
d6ce8048c5
@ -951,7 +951,12 @@ void CutterCore::applyStructureOffset(const QString &structureOffset, RVA offset
|
|||||||
offset = getOffset();
|
offset = getOffset();
|
||||||
}
|
}
|
||||||
|
|
||||||
this->cmdRawAt("aht " + structureOffset, offset);
|
applyAtSeek(
|
||||||
|
[&]() {
|
||||||
|
CORE_LOCK();
|
||||||
|
rz_core_analysis_hint_set_offset(core, structureOffset.toUtf8().constData());
|
||||||
|
},
|
||||||
|
offset);
|
||||||
emit instructionChanged(offset);
|
emit instructionChanged(offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user