Skip to content

fix(detection): recover original bytes in heuristic candidates#1

Merged
kipeum86 merged 1 commit into
mainfrom
fix/framework-1-heuristic-original-bytes
Apr 17, 2026
Merged

fix(detection): recover original bytes in heuristic candidates#1
kipeum86 merged 1 commit into
mainfrom
fix/framework-1-heuristic-original-bytes

Conversation

@kipeum86

Copy link
Copy Markdown
Owner

Summary

  • add a shared recoverOriginalSlice helper for heuristic byte recovery
  • pass originalText and PositionMap through heuristic context in the runner
  • update all four heuristics and their tests to emit original-byte candidate text

Testing

  • bun run test
  • SKIP_REDOS_FUZZ=0 bun run test

@kipeum86 kipeum86 merged commit 44a9933 into main Apr 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant