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

[arch] add support for LoongArch architecture #1019

Closed
wants to merge 1 commit into from

Conversation

liushuyu
Copy link

@liushuyu liushuyu commented Dec 5, 2023

Description

This pull request adds initial support for the LoongArch architecture. The documentation for this architecture can be found here: https://loongson.github.io/LoongArch-Documentation/README-EN.html.

The support added in this pull request includes full functionality (with mprotect_asm implemented) on LoongArch64 systems that use the new v1 ABI (instead of the v0 ABI). Partial support is also available for LoongArch32 and old v0 ABI.

Checklist

  • My code follows the code style of this project.
  • My change includes a change to the documentation, if required.
  • If my change adds new code, adequate tests have been added.
  • I have read and agree to the CONTRIBUTING document.

Copy link

github-actions bot commented Dec 5, 2023

🤖 Coverage Update

  • Commit: 295cbf7
  • Current Coverage: 71.4300%
  • New Coverage: 71.4300%
  • Diff: 0.0

To this point, this PR:

  • does not include changes to tests
  • does not include changes to documentation
  • does not include forbidden words

@Grazfather
Copy link
Collaborator

This is probably more appropriate for the gef-extras repo.

@hugsy
Copy link
Owner

hugsy commented Dec 22, 2023

@liushuyu

Like @Grazfather mentioned, could you move this PR to GEF-Extras instead? Only core features on main architectures go into GEF.

Thanks!

@liushuyu
Copy link
Author

@liushuyu

Like @Grazfather mentioned, could you move this PR to GEF-Extras instead? Only core features on main architectures go into GEF.

Thanks!

Will do

@Grazfather Grazfather closed this Dec 22, 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