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