qiling
qiling copied to clipboard
Fix: Define flags for hosting ARM64 MACOS
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
- [x] I have read the contribution guide
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.
We need a quick fix for python 3.11 None is not allowed and we need to change it
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)