opt/delinit/DelInit.h (12 lines of code) (raw):

/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "Pass.h" class DelInitPass : public Pass { public: DelInitPass() : Pass("DelInitPass") {} void bind_config() override { bind("package_allowlist", {}, m_package_filter); } void run_pass(DexStoresVector&, ConfigFiles&, PassManager&) override; private: std::vector<std::string> m_package_filter; };