Repository navigation
Conversation
Codex Review SummaryThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 34038e58ce
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| &self, | ||
| resolved: ResolvedInstructionRef, | ||
| diff_config: &DiffObjConfig, | ||
| ) -> Result<Option<Vec<String>>> { |
There was a problem hiding this comment.
Import String for the no-std WASM build
The documented WASM build uses objdiff-wasm, whose Cargo.toml:29-32 disables objdiff-core's default features while enabling x86, so this module is compiled with the core prelude rather than the std prelude. Because x86.rs does not import alloc::string::String, this new Vec<String> signature fails with cannot find type String in this scope and blocks the web artifact; import String from alloc.
AGENTS.md reference: AGENTS.md:L23-L23
Useful? React with 👍 / 👎.
Summary
Preserve x86 operand punctuation and argument positions in instruction comparisons, so
mov eax, [ebx]andmov [eax], ebxare no longer treated as equivalent. Fixes #416.Evidence
8b 03and89 18) produced matching decoded argument values, so the distinct memory/register operand layouts were treated as equal.cargo test --offline -p objdiff-corepassed;cargo +nightly clippy --offline -p objdiff-core --all-targets --all-features -- -D warningspassed; Nightly rustfmt check andgit diff --checkpassed.objdiff-core/src/arch/mod.rs,objdiff-core/src/arch/x86.rs,objdiff-core/src/diff/code.rs.Merge Danger
Door: Two-way
Blast Radius: Low
The comparison key is opt-in by architecture and overridden only for x86 in this change.