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 support for MOVSX* instructions #548

Merged
merged 1 commit into from
Dec 24, 2023
Merged

Add support for MOVSX* instructions #548

merged 1 commit into from
Dec 24, 2023

Conversation

dthaler
Copy link
Contributor

@dthaler dthaler commented Dec 22, 2023

These sign-extend instructions were added in cpu=v4 and are specified in
per https://www.ietf.org/archive/id/draft-ietf-bpf-isa-00.html#section-3.1

Also fix asm_marshal.cpp for SDIV and SMOD which were added in PR #540

Fixes #530

@coveralls
Copy link

Coverage Status

coverage: 89.548% (-0.01%) from 89.558%
when pulling ef3b6bc on dthaler:movsx
into 86e82a7 on vbpf:main.

@elazarg elazarg merged commit e1d7afc into vbpf:main Dec 24, 2023
13 checks passed
@dthaler dthaler deleted the movsx branch December 24, 2023 20:33
Alan-Jowett pushed a commit to Alan-Jowett/ebpf-verifier that referenced this pull request Oct 15, 2024
…bpf#548)

Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.9.1 to 2.10.1.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](step-security/harden-runner@5c7944e...91182cc)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

Add support for BPF_MOVSX instruction
3 participants