mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-19 02:48:49 +00:00
Fix CutterCore::getAllRelocs() for RBTree (#1135)
* Fix CutterCore::getAllRelocs() for RBTree * Update r2 submodule for RBTree C++ fix
This commit is contained in:
parent
2d2d4d3346
commit
fc534df099
2
radare2
2
radare2
@ -1 +1 @@
|
||||
Subproject commit bbe5c2a31e984a93e465afbc4892352857e8aae9
|
||||
Subproject commit 2032399ca89bda5539af120ee201f77b4564c1ba
|
@ -1619,12 +1619,13 @@ QList<CommentDescription> CutterCore::getAllComments(const QString &filterType)
|
||||
QList<RelocDescription> CutterCore::getAllRelocs()
|
||||
{
|
||||
CORE_LOCK();
|
||||
RListIter *it;
|
||||
QList<RelocDescription> ret;
|
||||
|
||||
RBinReloc *br;
|
||||
if (core_ && core_->bin && core_->bin->cur && core_->bin->cur->o) {
|
||||
CutterRListForeach(core_->bin->cur->o->relocs, it, RBinReloc, br) {
|
||||
auto relocs = core_->bin->cur->o->relocs;
|
||||
RBIter iter;
|
||||
RBinReloc *br;
|
||||
r_rbtree_foreach (relocs, iter, br, RBinReloc, vrb) {
|
||||
RelocDescription reloc;
|
||||
|
||||
reloc.vaddr = br->vaddr;
|
||||
|
Loading…
Reference in New Issue
Block a user