[Cocci] [PATCH] scripts/coccinelle: Add script to detect sign extension

2021-03-28 Thread Evan Benn
Hello, I am attempting to create a coccinelle script that will detect possibly buggy usage of the bitwise operators where integer promotion may result in bugs, usually due to sign extension. I know this script needs a lot more work, but I am just beginning to learn the syntax of coccinelle. At th

Re: [Cocci] [PATCH] scripts/coccinelle: Add script to detect sign extension

2021-03-19 Thread Julia Lawall
On Fri, 19 Mar 2021, Evan Benn wrote: > Hello, > > I am attempting to create a coccinelle script that will detect possibly buggy > usage of the bitwise operators where integer promotion may result in bugs, > usually due to sign extension. > > I know this script needs a lot more work, but I am j