HomePhabricator

[analyzer] Validate checker option names and values

Authored by Kristof Umann <kristof.umann@ericsson.com> on May 17 2019, 2:51 AM.

Description

[analyzer] Validate checker option names and values

Validate whether the option exists, and also whether the supplied value is of
the correct type. With this patch, invoking the analyzer should be, at least
in the frontend mode, a lot safer.

Differential Revision: https://reviews.llvm.org/D57860

llvm-svn: 361011

Event Timeline

Kristof Umann <kristof.umann@ericsson.com> committed rG85cf76e783a4: [analyzer] Validate checker option names and values (authored by Kristof Umann <kristof.umann@ericsson.com>).May 17 2019, 2:51 AM