mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 10:56:11 +00:00
Update Rizin to the latest dev (#3278)
This commit is contained in:
parent
a7246f9532
commit
8c03b14290
2
rizin
2
rizin
@ -1 +1 @@
|
||||
Subproject commit b9851b7c24ab5d3cc2d0192d4b8f8859cad2999c
|
||||
Subproject commit 286d9bd874bfbe1e782cba901e59984d708d10af
|
@ -1666,7 +1666,7 @@ QVector<Chunk> CutterCore::getHeapChunks(RVA arena_addr)
|
||||
rz_list_free(arenas);
|
||||
return chunks_vector;
|
||||
}
|
||||
m_arena = ((RzArenaListItem *)arenas->head->data)->addr;
|
||||
m_arena = ((RzArenaListItem *)arenas->head->elem)->addr;
|
||||
rz_list_free(arenas);
|
||||
} else {
|
||||
m_arena = arena_addr;
|
||||
|
@ -55,7 +55,7 @@ static inline auto fromOwned(RZ_OWN RzList *data) -> UniquePtrCP<decltype(data),
|
||||
// deprecated, prefer using CutterPVector and CutterRzList instead
|
||||
#define CutterRzListForeach(list, it, type, x) \
|
||||
if (list) \
|
||||
for (it = list->head; it && ((x = static_cast<type *>(it->data))); it = it->n)
|
||||
for (it = list->head; it && ((x = static_cast<type *>(it->elem))); it = it->next)
|
||||
|
||||
#define CutterRzVectorForeach(vec, it, type) \
|
||||
if ((vec) && (vec)->a) \
|
||||
@ -133,7 +133,7 @@ public:
|
||||
if (!iter) {
|
||||
return *this;
|
||||
}
|
||||
iter = iter->n;
|
||||
iter = iter->next;
|
||||
return *this;
|
||||
}
|
||||
iterator operator++(int)
|
||||
@ -149,7 +149,7 @@ public:
|
||||
if (!iter) {
|
||||
return nullptr;
|
||||
}
|
||||
return reinterpret_cast<T *>(iter->data);
|
||||
return reinterpret_cast<T *>(iter->elem);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user