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

armv7 support: add ucontext struct definition #297

Merged
merged 3 commits into from
Sep 14, 2021

Conversation

pr0me
Copy link
Collaborator

@pr0me pr0me commented Sep 14, 2021

The ucontext_t and mcontext_t structs are missing in libc for 32 bit armv7 (e.g., rust target armv7-unknown-linux-gnueabihf).
Adding their definitions enables compilation for such targets.

@pr0me pr0me requested a review from domenukk September 14, 2021 10:18
@domenukk
Copy link
Member

Looks like this needs a cargo fmt

libafl/src/bolts/llmp.rs Outdated Show resolved Hide resolved
@domenukk domenukk merged commit f0d5c2f into AFLplusplus:main Sep 14, 2021
@domenukk
Copy link
Member

Thx! :)

@pr0me pr0me deleted the armv7_ucontext branch September 26, 2021 20:24
khang06 pushed a commit to khang06/LibAFL that referenced this pull request Oct 11, 2022
* add uncontext and mcontext struct defs for armv7

* formatting

* merge import lines
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.

None yet

2 participants