1

i have a c++ module that removes empty block it used to work well but now I'm porting it to ida 7.7 I'm having issues.

mba_t *mba;
mba->remove_empty_blocks();

It throws following error

"remove_empty_blocks" is not a member of 'mba_t'

Even if it's deprecated what can be a possible solution to this, or i just ignore it ?

1 Answer 1

3

That function was renamed from bool remove_empty_blocks(void) to bool remove_empty_and_unreachable_blocks(void) as of Hex-Rays 7.6. Just change the name of the function you're trying to call.

1
  • Actually I'm trying to port your CPP HexRaysDeob plugin
    – Ronny
    Commented Feb 2, 2022 at 8:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.