chore(release): bump to 3.7.0 with audit hardening#128
Conversation
Bump project(VERSION) to 3.7.0 and apply the small, verified fixes from the architecture/performance audit: input and RTTI bound/span guards, a UTF-8-aware bootstrap process gate, a validate-version CI guard, corrected SafetyHook teardown docs, and relational version tests.
|
Warning Review limit reached
More reviews will be available in 41 minutes and 23 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR bumps the project version from 3.6.1 to 3.7.0 and adds CI validation to ensure release workflow inputs match CMakeLists.txt. It also updates version tests to use macro-driven assertions, clarifies SafetyHook thread behavior in documentation, adds implementation hardening via bounds checks and wide-character handling, and documents API behavior across multiple headers. ChangesVersion 3.7.0 Release and Maintenance
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/release.yml:
- Around line 35-36: Replace every occurrence of the mutable actions/checkout@v4
usage with a pinned full 40-character commit SHA (e.g.,
actions/checkout@<40-char-commit-sha>)—search for "uses: actions/checkout@v4"
and update each instance to the corresponding full commit SHA for the
actions/checkout repo; ensure the SHA is 40 hex characters and is used
consistently in all occurrences.
In `@include/DetourModKit/hook_manager.hpp`:
- Around line 635-639: The public docblock for VMT hooks (the comment above the
VMT hook behavior in hook_manager.hpp) is missing the required call‑site safety
classification; add a "`@note` Setup/control-plane only" line to that docblock so
it explicitly marks that callers must perform hook setup/teardown only from the
control plane and not from concurrent threads.
In `@include/DetourModKit/scanner.hpp`:
- Around line 644-648: The comment should be updated to clarify error mapping:
state that finalize_cascade_with_fallback() will return
PrologueFallbackNotApplicable when the prologue rebuild/fallback is not
applicable (so no fallback is attempted) and that NoMatch is returned only after
the fallback has been formed and actually tried but failed to match; mention
both error variants (PrologueFallbackNotApplicable and NoMatch) and that callers
should handle them differently rather than assuming all unsupported overwrite
shapes always map to NoMatch.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 4c582c88-30da-48f9-be6e-49f53a4425ee
📒 Files selected for processing (16)
.github/workflows/release.ymlAGENTS.mdCMakeLists.txtdocs/hot-reload/README.mdinclude/DetourModKit/config.hppinclude/DetourModKit/drift_manifest.hppinclude/DetourModKit/hook_manager.hppinclude/DetourModKit/logger.hppinclude/DetourModKit/rtti_dissect.hppinclude/DetourModKit/scanner.hppsrc/bootstrap.cppsrc/hook_manager.cppsrc/input.cppsrc/rtti.cppsrc/string_xref.cpptests/test_version.cpp
Add the Setup/control-plane only label to create_vmt_hook (matching the rest of the kit) and distinguish PrologueFallbackNotApplicable from NoMatch in resolve_cascade_with_prologue_fallback. Addresses PR #128 review feedback.
Summary
Prepares the v3.7.0 release. Bumps
project(VERSION)to 3.7.0 and folds in the small, verified fixes from the recent architecture and performance audit. Everything here is additive or internal hardening with no public API or behavior change, so this stays a minor release.Changes
project(VERSION)to 3.7.0 and make the version tests relational, so a future bump touches a single literal.validate-versionCI job that fails closed when the release tag does not matchproject(VERSION).Summary by CodeRabbit
Documentation
Bug Fixes