Skip to content

Conversation

@Rot127
Copy link
Member

@Rot127 Rot127 commented Nov 20, 2025

Your checklist for this pull request

  • I've read the guidelines for contributing to this repository.
  • I made sure to follow the project's coding style.
  • I've documented every RZ_API function and struct this PR changes.
  • 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

Extends the hash table with the option to count references of borrowed values/pointers.

This can be useful if the hash table is used in a cache module or some multi-threaded design.

Test plan

Added, 100% coverage of new code.

Closing issues

...

@codecov
Copy link

codecov bot commented Nov 20, 2025

Codecov Report

❌ Patch coverage is 81.25000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 46.58%. Comparing base (856c28f) to head (e5a78d7).
⚠️ Report is 9 commits behind head on dev.

Files with missing lines Patch % Lines
librz/util/ht/ht_inc.c 76.00% 0 Missing and 6 partials ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
librz/util/ht/ht_sp.c 100.00% <ø> (ø)
librz/util/ht/ht_ss.c 81.25% <ø> (ø)
librz/util/ht/ht_su.c 100.00% <ø> (ø)
librz/util/ht/ht_up.c 100.00% <100.00%> (ø)
librz/util/ht/ht_inc.c 78.93% <76.00%> (+0.47%) ⬆️

... and 4 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 856c28f...e5a78d7. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Rot127 Rot127 added the New Analysis A label to mark all PRs associated with the new analysis design and implementation. label Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API New Analysis A label to mark all PRs associated with the new analysis design and implementation. rz-test RzUtil

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant