Created
January 22, 2018 11:19
-
-
Save epcnt19/6a6f3c28acb6b4ffc333286414d7b900 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ubuntu:/usr/local/DRAKBUF/drakvuf# sudo find . \( -name "*.cpp" -o -name "*.h" -o -name "*.ac" -o -name "*.am" \) -print | xargs grep -i "msrmon" | |
./configure.ac:AC_ARG_ENABLE([plugin_msrmon], | |
./configure.ac: [AS_HELP_STRING([--disable-plugin-msrmon], | |
./configure.ac: [Enable the MSRMON example plugin @<:@yes@:>@])], | |
./configure.ac: [plugin_msrmon="$enableval"], | |
./configure.ac: [plugin_msrmon="yes"]) | |
./configure.ac:AM_CONDITIONAL([PLUGIN_MSRMON], [test x$plugin_msrmon = xyes]) | |
./configure.ac:if test x$plugin_msrmon = xyes; then | |
./configure.ac: AC_DEFINE_UNQUOTED(ENABLE_PLUGIN_MSRMON, 1, "") | |
./configure.ac:MSRmon: $plugin_msrmon | |
./src/plugins/plugins.h: PLUGIN_MSRMON, | |
./src/plugins/plugins.h: [PLUGIN_MSRMON] = "msrmon" | |
./src/plugins/plugins.h: [PLUGIN_MSRMON] = { [VMI_OS_WINDOWS] = 1, [VMI_OS_LINUX] = 0 }, | |
./src/plugins/msrmon/msrmon.h:#ifndef MSRMON_H | |
./src/plugins/msrmon/msrmon.h:#define MSRMON_H | |
./src/plugins/msrmon/msrmon.h:class msrmon: public plugin { | |
./src/plugins/msrmon/msrmon.h: msrmon(drakvuf_t drakvuf, const void *config, output_format_t output); | |
./src/plugins/msrmon/msrmon.h: ~msrmon(); | |
./src/plugins/msrmon/msrmon.cpp:#include "msrmon.h" | |
./src/plugins/msrmon/msrmon.cpp: msrmon* s = (msrmon*)info->trap->data; | |
./src/plugins/msrmon/msrmon.cpp:msrmon::msrmon(drakvuf_t drakvuf, const void *config, output_format_t output) { | |
./src/plugins/msrmon/msrmon.cpp:msrmon::~msrmon() {} | |
./src/plugins/plugins.cpp:#include "msrmon/msrmon.h" | |
./src/plugins/plugins.cpp:#ifdef ENABLE_PLUGIN_MSRMON | |
./src/plugins/plugins.cpp: case PLUGIN_MSRMON: | |
./src/plugins/plugins.cpp: this->plugins[plugin_id] = new msrmon(this->drakvuf, config, this->output); | |
./src/plugins/Makefile.am:if PLUGIN_MSRMON | |
./src/plugins/Makefile.am:sources += msrmon/msrmon.cpp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment