Repository navigation
fix(ghidra): say byte-search pages read match metadata live - #10684
Conversation
A search_bytes cursor resumes the same target, profile and query, and the limitation said only that. In a real session, renaming a function between pages changed the procedure name on the next page from the same cursor, while the page Evidence kept the same target and profile digest and no limitation explained the difference. The search_bytes limitation now states that the cursor does not pin match metadata: procedure names and other match metadata are read live on each page, so a rename in the session between pages appears on later pages. This takes the issue's "identify that match metadata is live" option; binding or qualifying pages to a metadata version is left open. No prose-asserting test was added, following the direction in morluto#10508. Validation: src/ghidra/GhidraProvider.behavior.test.ts 296/296; check:fast passes. Refs morluto#8365
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
[Low impact] The PR appears safe to merge; the added wording matches how byte-search pages read metadata. SummaryClarifies that Ghidra
Reviews (1) · Last reviewed commit: "fix(ghidra): say byte-search pages read ..." · Reviewed by Greptile |
|
Ready to merge: full CI is green on this head, Greptile's latest review is 5/5 with no open threads, and it merges into main 42cab26 without conflicts. |
gensokyo-dev
left a comment
There was a problem hiding this comment.
Verified: main's search_bytes limitation still says only that the cursor resumes target, profile and query. The added sentence states the live-metadata behavior shown in #8365. Thanks.
Summary
Refs #8365. This takes the issue's first option: say that match metadata is live. Binding or qualifying pages to a metadata version is left open.
A
search_bytescursor resumes the same target, profile and query, and the limitation said only that. The issue's real session showed the gap: afterset_address_namerenamedentrybetween pages, the next page from the same first-page cursor reportedrenamed_entry. Both pages' Evidence had the same target and profile digest, and no limitation explained the difference.Change and scope
search_byteslimitation inGhidraProviderCapabilities.tsnow says that the cursor does not pin match metadata. Procedure names and other match metadata are read live on each page, so a rename made in the session between pages appears on later pages.Evidence and regression coverage
src/ghidra/GhidraProvider.behavior.test.ts: 296 passed.Validation performed
npm run test:local -- src/ghidra/GhidraProvider.behavior.test.ts: 296 passed.npm run check:fastpassed.Author readiness
Human owner: @Davmunrey
Before merge
type(scope): outcome.