mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 10:56:11 +00:00
Update rizin to latest dev (#3266)
Some fields were changed from RzList to RzPVector in Rizin.
This commit is contained in:
parent
7256fbb00e
commit
653435cb14
2
rizin
2
rizin
@ -1 +1 @@
|
||||
Subproject commit 444000416cc929d4ce67116a46eaeee1d8a5b4fd
|
||||
Subproject commit b9851b7c24ab5d3cc2d0192d4b8f8859cad2999c
|
@ -3226,15 +3226,12 @@ QList<HeaderDescription> CutterCore::getAllHeaders()
|
||||
if (!bf) {
|
||||
return {};
|
||||
}
|
||||
const RzList *fields = rz_bin_object_get_fields(bf->o);
|
||||
const RzPVector *fields = rz_bin_object_get_fields(bf->o);
|
||||
if (!fields) {
|
||||
return {};
|
||||
}
|
||||
RzListIter *iter;
|
||||
RzBinField *field;
|
||||
QList<HeaderDescription> ret;
|
||||
|
||||
CutterRzListForeach (fields, iter, RzBinField, field) {
|
||||
for (auto field : CutterPVector<RzBinField>(fields)) {
|
||||
HeaderDescription header;
|
||||
header.vaddr = field->vaddr;
|
||||
header.paddr = field->paddr;
|
||||
@ -3242,7 +3239,6 @@ QList<HeaderDescription> CutterCore::getAllHeaders()
|
||||
header.name = field->name;
|
||||
ret << header;
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -134,11 +134,11 @@ void Dashboard::updateContents()
|
||||
setPlainText(ui->percentageLineEdit, QString::number(precentage) + "%");
|
||||
|
||||
ui->libraryList->setPlainText("");
|
||||
const RzList *libs = bf ? rz_bin_object_get_libs(bf->o) : nullptr;
|
||||
const RzPVector *libs = bf ? rz_bin_object_get_libs(bf->o) : nullptr;
|
||||
if (libs) {
|
||||
QString libText;
|
||||
bool first = true;
|
||||
for (const auto &lib : CutterRzList<char>(libs)) {
|
||||
for (const auto &lib : CutterPVector<char>(libs)) {
|
||||
if (!first) {
|
||||
libText.append("\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user