Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[next][SuperH] Fix missing setting detail->sh #2466

Merged
merged 4 commits into from
Sep 19, 2024

Conversation

david942j
Copy link
Contributor

detail->sh is never set. Which makes the detailed output related to operands is always missing.

Your checklist for this pull request

  • I've documented or updated the documentation of every API function and struct this PR changes.
  • I've added tests that prove my fix is effective or that my feature works (if possible)

Detailed description

detail->sh is never set. Which makes the detailed output related to operands is always missing.

Test plan

build/suite/cstest/cstest tests/issues/issues.yaml, the newly added case passes/fails with/without the change.

Closing issues

closes #2424 (along with #2465)

@github-actions github-actions bot added the SH Arch label Aug 31, 2024
Copy link
Collaborator

@Rot127 Rot127 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot! Really weird it hasn't been discovered before.

Please delete the binary.
The failing clang-tidy test is because there are unrelated problems.
I asked @lhsazevedo in #2389 already to fix it.
I you want to you can of course open a PR to his branch to speed things up.

detail->sh is never set. Which makes the detailed output related to operands is always missing.

Signed-off-by: david942j <[email protected]>
@Rot127 Rot127 added this to the v6 - Alpha milestone Sep 1, 2024
@Rot127
Copy link
Collaborator

Rot127 commented Sep 9, 2024

Please rebase though and fix the conflicts. The clang-tidy job can be ignored. It is fixed in the coverity PR.

@Rot127
Copy link
Collaborator

Rot127 commented Sep 14, 2024

@david942j The clang-tidy issues are fixed in #2469. But I cannot merge, so we have to wait until @kabeor finds time to review and merges stuff.

@david942j
Copy link
Contributor Author

@kabeor I just resolved conflicts with the latest next branch, this PR is ready to be reviewed, thanks!

Copy link
Member

@kabeor kabeor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks.

@kabeor kabeor merged commit 10db5f4 into capstone-engine:next Sep 19, 2024
19 checks passed
@david942j david942j deleted the next_sh_op branch September 20, 2024 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SH Arch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SuperH missing setting detail->sh on disassemble
3 participants