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) {
|
if (!bf) {
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
const RzList *fields = rz_bin_object_get_fields(bf->o);
|
const RzPVector *fields = rz_bin_object_get_fields(bf->o);
|
||||||
if (!fields) {
|
if (!fields) {
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
RzListIter *iter;
|
|
||||||
RzBinField *field;
|
|
||||||
QList<HeaderDescription> ret;
|
QList<HeaderDescription> ret;
|
||||||
|
for (auto field : CutterPVector<RzBinField>(fields)) {
|
||||||
CutterRzListForeach (fields, iter, RzBinField, field) {
|
|
||||||
HeaderDescription header;
|
HeaderDescription header;
|
||||||
header.vaddr = field->vaddr;
|
header.vaddr = field->vaddr;
|
||||||
header.paddr = field->paddr;
|
header.paddr = field->paddr;
|
||||||
@ -3242,7 +3239,6 @@ QList<HeaderDescription> CutterCore::getAllHeaders()
|
|||||||
header.name = field->name;
|
header.name = field->name;
|
||||||
ret << header;
|
ret << header;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -134,11 +134,11 @@ void Dashboard::updateContents()
|
|||||||
setPlainText(ui->percentageLineEdit, QString::number(precentage) + "%");
|
setPlainText(ui->percentageLineEdit, QString::number(precentage) + "%");
|
||||||
|
|
||||||
ui->libraryList->setPlainText("");
|
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) {
|
if (libs) {
|
||||||
QString libText;
|
QString libText;
|
||||||
bool first = true;
|
bool first = true;
|
||||||
for (const auto &lib : CutterRzList<char>(libs)) {
|
for (const auto &lib : CutterPVector<char>(libs)) {
|
||||||
if (!first) {
|
if (!first) {
|
||||||
libText.append("\n");
|
libText.append("\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user