diff options
author | Edward Cree <ecree@solarflare.com> | 2017-08-07 15:26:36 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-08 17:51:34 -0700 |
commit | b03c9f9fdc37dab81ea04d5dacdc5995d4c224c2 (patch) | |
tree | 864f5f7e43fbcba5dcc2953ee84d9c1470373d59 /lib/ubsan.h | |
parent | f1174f77b50c94eecaa658fdc56fa69b421de4b8 (diff) | |
download | linux-b03c9f9fdc37dab81ea04d5dacdc5995d4c224c2.tar.gz linux-b03c9f9fdc37dab81ea04d5dacdc5995d4c224c2.tar.bz2 linux-b03c9f9fdc37dab81ea04d5dacdc5995d4c224c2.zip |
bpf/verifier: track signed and unsigned min/max values
Allows us to, sometimes, combine information from a signed check of one
bound and an unsigned check of the other.
We now track the full range of possible values, rather than restricting
ourselves to [0, 1<<30) and considering anything beyond that as
unknown. While this is probably not necessary, it makes the code more
straightforward and symmetrical between signed and unsigned bounds.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/ubsan.h')
0 files changed, 0 insertions, 0 deletions