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

Apple compatibility changes for #2026 + misc. AARCH64 naming cleanups. #1

Closed
wants to merge 372 commits into from

Conversation

watbulb
Copy link

@watbulb watbulb commented Aug 28, 2023

note: changes to Makefile leaves CAPSTONE_HAS_ARM64 supported.

@watbulb watbulb marked this pull request as ready for review August 28, 2023 03:37
Copy link
Owner

@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 for all those little improvements!

Please note that the Makefile build method is essentially deprecated. So if you script something, better use cmake.

Also thank you for updating the test files. If you are not aware of it, please take a look at capstone-engine#1984 though. Just consider this issue, if you want to add more tests.

if (Reg)
sysop.reg = Reg->SysReg;
else {
sysop.reg.sysreg = (aarch64_sysreg)Val;
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
sysop.reg.sysreg = (aarch64_sysreg)Val;

Since raw_val gets set...

@@ -638,7 +638,7 @@ typedef enum {
typedef enum {
// generated content <AArch64GenCSSystemOperandsEnum.inc:GET_ENUM_VALUES_SysReg> begin
// clang-format off

AArch64_SYSREG_BEGIN = 0x0,
Copy link
Owner

@Rot127 Rot127 Aug 28, 2023

Choose a reason for hiding this comment

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

Its not formatted probably. But as a side note: you can ignore formatting for now. If it is not too bad. After the PR is merged I'll do a single clang-format PR.
Just be aware that Capstone uses tabs.

Copy link
Author

Choose a reason for hiding this comment

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

ah! I was wondering why the formatting was being so clunky! thanks! I should have some time tonight to look through all these

@Rot127
Copy link
Owner

Rot127 commented Nov 24, 2023

Its in next now

@Rot127 Rot127 closed this Nov 24, 2023
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.

3 participants