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

Make ALU operations check for invalid register values #550

Merged
merged 1 commit into from
Dec 24, 2023

Conversation

dthaler
Copy link
Contributor

@dthaler dthaler commented Dec 23, 2023

makeMemOp() already had a check but makeAluOp() didn't.

Fixes #505

makeMemOp() already had a check but makeAluOp() didn't.

Fixes vbpf#505

Signed-off-by: Dave Thaler <[email protected]>
@coveralls
Copy link

Coverage Status

coverage: 89.577% (+0.02%) from 89.558%
when pulling 94f4c61 on dthaler:maxreg
into 86e82a7 on vbpf:main.

@elazarg elazarg merged commit 0169e06 into vbpf:main Dec 24, 2023
13 checks passed
@dthaler dthaler deleted the maxreg branch December 24, 2023 20:38
Alan-Jowett added a commit to Alan-Jowett/ebpf-verifier that referenced this pull request Oct 15, 2024
Bring disassembler code into modern Python era by using f-strings for
formatting output. Also, add an option for giving verbose information
about the fields of the disassembled instructions. Finally, add the
ability to print warnings when unused fields in the instruction contain
non-zero values.

Signed-off-by: Will Hawkins <[email protected]>
Co-authored-by: Alan Jowett <[email protected]>
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.

PREVAIL appears to verify use of invalid registers as correct for ALU operations
3 participants