Skip to content

Instantly share code, notes, and snippets.

@epcnt19
Created January 22, 2018 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save epcnt19/6a6f3c28acb6b4ffc333286414d7b900 to your computer and use it in GitHub Desktop.
Save epcnt19/6a6f3c28acb6b4ffc333286414d7b900 to your computer and use it in GitHub Desktop.
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