Contributions to make it easier to use smatch with generic projects
Hi there,
I was very interested to read about smatch on LWN and as I work in HPC I was curious to trial it on Slurm, the batch scheduler that a lot of sites (including everywhere I've worked since 2010) use. It took a little bit to figure out how to make it work well with it so I thought I'd try and give back by putting in two fairly trivial changes to help others out.
- https://github.com/error27/smatch/pull/18
- https://github.com/error27/smatch/pull/19
Thanks for smatch!
All the best, Chris
Thanks for merging those two! I've just added a third so smatch emits full paths to source files as code bases might have files with the same name in different directories.
- https://github.com/error27/smatch/pull/21
Thanks for taking that change, I've just done another to suppress some Perl errors for generic projects where the files they try to open don't exist.
- https://github.com/error27/smatch/pull/22