osquery-1/sdk
Alexander Kindyakov 82a99aee16 plugin SDK tests: registry should contain only optional plugins and some mandatory registries (#5481)
Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5481

osquery registries is big part of SDK interface and it is important to make
sure SDK include them all.

Need of tests for non optional plugins can be not so obvious. All non-optional
plugins should not be included to SDK library. Because it causes to double
plugin registration when extensions process connects to `osqueryd`. That leads
to the crash of extensions process.

Unfortunatelly there is no explisit list of plugins included to SDK and there is
no way to check them at compile time. Thankfully it can be done at
runtime and we can make a test for it.

Reviewed By: fmanco

Differential Revision: D14261046

fbshipit-source-id: 0fb6618368ae7f735c648cc69fc3ea5f331123ad
2019-02-28 11:14:11 -08:00
..
tests plugin SDK tests: registry should contain only optional plugins and some mandatory registries (#5481) 2019-02-28 11:14:11 -08:00
BUCK plugin SDK tests: registry should contain only optional plugins and some mandatory registries (#5481) 2019-02-28 11:14:11 -08:00
empty_register_foreign_tables.cpp Include empty registerForeignTables() function to plugin_sdk library (#5480) 2019-02-28 11:14:11 -08:00
plugin_sdk.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00