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

Add LoongArch64 support #2529

Merged
merged 1 commit into from
Jan 29, 2025
Merged

Add LoongArch64 support #2529

merged 1 commit into from
Jan 29, 2025

Conversation

xtexx
Copy link
Contributor

@xtexx xtexx commented Jan 22, 2025

No description provided.

pwnlib/abi.py Outdated Show resolved Hide resolved
.editorconfig Outdated Show resolved Hide resolved
@xtexx xtexx force-pushed the loong64 branch 4 times, most recently from 9a94347 to 9500d33 Compare January 22, 2025 06:46
@xtexx xtexx force-pushed the loong64 branch 2 times, most recently from 4c9660a to ec4a299 Compare January 22, 2025 07:05
Copy link
Member

@peace-maker peace-maker left a comment

Choose a reason for hiding this comment

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

Very cool, thank you for the contribution!

To fully support shellcraft syscall generation the pushstr shellcode is required too. Please consider adding that too if you'd like.

$ shellcraft loong64.linux.execve "/bin/sh" 0 0
...
AttributeError: 'module' object has no attribute 'pushstr'

pwnlib/context/__init__.py Outdated Show resolved Hide resolved
pwnlib/shellcraft/templates/loong64/mov.asm Outdated Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
@xtexx
Copy link
Contributor Author

xtexx commented Jan 23, 2025

pushstr and pushstr_array has been added (:

@peace-maker
Copy link
Member

Can you rebase the CI changes now please? :)

Signed-off-by: Bingwu Zhang <[email protected]>
@xtexx
Copy link
Contributor Author

xtexx commented Jan 27, 2025

Done.

@peace-maker peace-maker merged commit 3eb690b into Gallopsled:dev Jan 29, 2025
15 checks passed
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