summaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2018-06-04 08:41:27 +0200
committerKees Cook <keescook@chromium.org>2018-06-05 12:16:51 -0700
commit6d3344324b5ae49fc8cb599a2c687e5607ba6e9f (patch)
tree491427d7aca44d874fbbba56c2b3103f5f4725d1 /lib/dump_stack.c
parent455a35a6cdb6f53fe9294e23301eb056f2908bd9 (diff)
downloadlinux-0-day-6d3344324b5ae49fc8cb599a2c687e5607ba6e9f.tar.gz
linux-0-day-6d3344324b5ae49fc8cb599a2c687e5607ba6e9f.tar.xz
test_overflow: macrofy some more, do more tests for free
Obviously a+b==b+a and a*b==b*a, but the implementation of the fallback checks are not entirely symmetric in how they treat a and b. So we might as well check the (b,a,r,of) tuple as well as the (a,b,r,of) one for + and *. Rather than more copy-paste, factor out the common part to check_one_op. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions