rizin icon indicating copy to clipboard operation
rizin copied to clipboard

Bitvector in-place refactor

Open Rot127 opened this issue 3 weeks ago • 4 comments

Your checklist for this pull request

  • [x] I've read the guidelines for contributing to this repository.
  • [x] I made sure to follow the project's coding style.
  • [ ] I've documented every RZ_API function and struct this PR changes.
  • [x] I've added tests that prove my changes are effective (required for changes to RZ_API).
  • [ ] I've updated the Rizin book with the relevant information (if needed).
  • [ ] I've used AI tools to generate fully or partially these code changes and I'm sure the changes are not copyrighted by somebody else.

Detailed description

Refactors multiple bit vector operations to work in place.

This is helpful for hot paths which don't want to allocate a new bit vector with each operation on them.

TODO

  • [ ] Document new functions

Test plan

Added

Closing issues

...

Rot127 avatar Dec 04 '25 16:12 Rot127