We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When converting from a signed integer to unsigned integer the value should be 2^(bits)-value
Ex: signed 32 bit: -1 unsigned 32 bit casted: 2^32 - 1
The text was updated successfully, but these errors were encountered:
Currently sets to max but this is wrong:
zig-ebpf/src/interpreter.zig
Lines 238 to 242 in d294476
Sorry, something went wrong.
No branches or pull requests
When converting from a signed integer to unsigned integer the value should be 2^(bits)-value
Ex:
signed 32 bit: -1
unsigned 32 bit casted: 2^32 - 1
The text was updated successfully, but these errors were encountered: