Closed XVilka closed 11 months ago
Was able to fix by changing rz-ghidra/src/RizinUtil.h
template<typename T, typename F> void rz_list_foreach_cpp(RzList *list, const F &func)
{
- for(RzListIter *it = list->head; it; it = it->n)
+ for(RzListIter *it = list->head; it; it = rz_list_iter_get_next(it))
{
- func(reinterpret_cast<T *>(it->data));
+ func(reinterpret_cast<T *>(rz_list_iter_get_data(it)));
}
}
Looks like it was caused by this commit to the rizin dev branch.
@treseco do you want to send a PR?
@XVilka Yes I have just done so I believe. My apologies I am new to this process and not sure how to proceed with the workflows and such but I hope it helps.