qiling icon indicating copy to clipboard operation
qiling copied to clipboard

Fix: Define flags for hosting ARM64 MACOS

Open 90n20 opened this issue 1 year ago • 2 comments

Checklist

Which kind of PR do you create?

  • [x] This PR only contains minor fixes.
  • [ ] This PR contains major feature update.
  • [ ] This PR introduces a new function/api for Qiling Framework.

Coding convention?

  • [x] The new code conforms to Qiling Framework naming convention.
  • [ ] The imports are arranged properly.
  • [ ] Essential comments are added.
  • [ ] The reference of the new code is pointed out.

Extra tests?

  • [x] No extra tests are needed for this PR.
  • [ ] I have added enough tests for this PR.
  • [ ] Tests will be added after some discussion and review.

Changelog?

  • [ ] This PR doesn't need to update Changelog.
  • [x] Changelog will be updated after some proper review.
  • [ ] Changelog has been updated in my PR.

Target branch?

  • [x] The target branch is dev branch.

One last thing


This PR resolves the NotImplementedError encountered when attempting to host ARM64 macOS architectures as described in issues #1491 and #1497. The proposed fix introduces the required definitions in const.py and maps them in const_mapping.py to ensure proper functionality, in a similar way to x86 macOS.

90n20 avatar Jan 23 '25 10:01 90n20

We need a quick fix for python 3.11 None is not allowed and we need to change it

xwings avatar Mar 08 '25 03:03 xwings

Hi @90n20, Could you please rebase your work on top of latest dev branch and change all None flags to be FLAG_UNSUPPORTED? (see similar changes here #1546)

elicn avatar Mar 19 '25 10:03 elicn