mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
22 lines
602 B
C++
22 lines
602 B
C++
// See the file in the main distribution directory for copyright.
|
|
|
|
#include "PE.h"
|
|
#include "plugin/Plugin.h"
|
|
#include "file_analysis/Component.h"
|
|
|
|
namespace zeek::plugin::detail::Zeek_PE {
|
|
|
|
class Plugin : public zeek::plugin::Plugin {
|
|
public:
|
|
zeek::plugin::Configuration Configure() override
|
|
{
|
|
AddComponent(new zeek::file_analysis::Component("PE", zeek::file_analysis::detail::PE::Instantiate));
|
|
|
|
zeek::plugin::Configuration config;
|
|
config.name = "Zeek::PE";
|
|
config.description = "Portable Executable analyzer";
|
|
return config;
|
|
}
|
|
} plugin;
|
|
|
|
} // namespace zeek::plugin::detail::Zeek_PE
|