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

Sign extension generates BOT #679

Open
elazarg opened this issue Sep 11, 2024 · 0 comments
Open

Sign extension generates BOT #679

elazarg opened this issue Sep 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@elazarg
Copy link
Collaborator

elazarg commented Sep 11, 2024

This seems to happen on numbers that are close to the bound of the extension.

The test ebpf-samples/cilium/bpf_netdev.o from-netdev should be marked as failing:

$ ./check --no-simplify ebpf-samples/cilium/bpf_netdev.o from-netdev -v 
...
Pre-invariant : [...
     r1.type=number, r1.svalue=[0, 4294967161], r1.svalue=r1.uvalue, ..., r1.uvalue=[0, 4294967161], ...]
499:
  assert r1.type == number;
  r1 s32= r1;
  goto 501;

Post-invariant: _|_
...

This blocks #678.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant