Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rz-plugin/data.cpp:167:64: error: ‘RzListIter’ {aka ‘struct rz_list_iter_t’} has no member named ‘n’ #25

Closed
XVilka opened this issue Feb 24, 2024 · 0 comments · Fixed by #26
Labels
rizin API Changes in the Rizin API

Comments

@XVilka
Copy link
Member

XVilka commented Feb 24, 2024

/home/runner/work/rz-retdec/rz-retdec/src/rz-plugin/data.cpp: In member function ‘void retdec::rzplugin::RizinDatabase::fetchFunctionsAndGlobals(retdec::config::Config&) const’:
/home/runner/work/rz-retdec/rz-retdec/src/rz-plugin/data.cpp:167:64: error: ‘RzListIter’ {aka ‘struct rz_list_iter_t’} has no member named ‘n’
  167 |                 for (RzListIter *it = list->head; it; it = it->n) {
      |                                                                ^
/home/runner/work/rz-retdec/rz-retdec/src/rz-plugin/data.cpp:168:78: error: ‘RzListIter’ {aka ‘struct rz_list_iter_t’} has no member named ‘data’
  168 |                         auto fnc = reinterpret_cast<RzAnalysisFunction*>(it->data);
      |                                                                              ^~~~
/home/runner/work/rz-retdec/rz-retdec/src/rz-plugin/data.cpp: In member function ‘void retdec::rzplugin::RizinDatabase::fetchGlobals(retdec::config::Config&) const’:
/home/runner/work/rz-retdec/rz-retdec/src/rz-plugin/data.cpp:209:37: error: ‘struct rz_pvector_t’ has no member named ‘head’
  209 |         for (RzListIter *it = list->head; it; it = it->n) {
      |                                     ^~~~
/home/runner/work/rz-retdec/rz-retdec/src/rz-plugin/data.cpp:209:56: error: ‘RzListIter’ {aka ‘struct rz_list_iter_t’} has no member named ‘n’
  209 |         for (RzListIter *it = list->head; it; it = it->n) {
      |                                                        ^
/home/runner/work/rz-retdec/rz-retdec/src/rz-plugin/data.cpp:210:63: error: ‘RzListIter’ {aka ‘struct rz_list_iter_t’} has no member named ‘data’
  210 |                 auto sym = reinterpret_cast<RzBinSymbol*>(it->data);
      |                                                               ^~~~
/home/runner/work/rz-retdec/rz-retdec/src/rz-plugin/data.cpp: In member function ‘void retdec::rzplugin::RizinDatabase::fetchExtraArgsData(retdec::common::ObjectSequentialContainer&, RzAnalysisFunction&) const’:
/home/runner/work/rz-retdec/rz-retdec/src/rz-plugin/data.cpp:366:64: error: ‘RzListIter’ {aka ‘struct rz_list_iter_t’} has no member named ‘n’
  366 |                 for (RzListIter *it = list->head; it; it = it->n) {
      |                                                                ^
/home/runner/work/rz-retdec/rz-retdec/src/rz-plugin/data.cpp:367:72: error: ‘RzListIter’ {aka ‘struct rz_list_iter_t’} has no member named ‘data’
  367 |                         arg = reinterpret_cast<RzAnalysisFuncArg*>(it->data);
      |                                                                        ^~~~
@XVilka XVilka added the rizin API Changes in the Rizin API label Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rizin API Changes in the Rizin API
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant