Skip to content

Sign extension generates BOT #679

@elazarg

Description

@elazarg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions