Re: [PATCH 34/49] analyzer: new file: sm-malloc.cc

2019-12-07 Thread Jeff Law
On Fri, 2019-11-15 at 20:23 -0500, David Malcolm wrote: > This patch adds a state machine checker for malloc/free. > > gcc/ChangeLog: > * analyzer/sm-malloc.cc: New file. FWIW, I could easily see someone using this as a template for other checkers. It shows several key concepts that I suspe

[PATCH 34/49] analyzer: new file: sm-malloc.cc

2019-11-15 Thread David Malcolm
This patch adds a state machine checker for malloc/free. gcc/ChangeLog: * analyzer/sm-malloc.cc: New file. --- gcc/analyzer/sm-malloc.cc | 799 ++ 1 file changed, 799 insertions(+) create mode 100644 gcc/analyzer/sm-malloc.cc diff --git a/gcc/