Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Module Support #66

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

[WIP] Module Support #66

wants to merge 4 commits into from

Conversation

krakjoe
Copy link

@krakjoe krakjoe commented Mar 1, 2019

This is a WIP for module support, and depends on CMake PR

The basic idea is that phpspy should export handler pointer, LD_PRELOAD is used to load the module and set that handler ...

TODO:

  • CMake build for module
  • Support standard makefile build ?
  • Have phpspy detect when handler is not builtin, force pid mode only ?

This is nothing like complete, but a thing to get the conversation started ...

Open questions:

  • Depend on libdl so that phpspy may load the modules (no preload)
  • Support makefiles (ewww)
  • Define module structure with individual handlers for each event, so that a module may set handlers for events it intends to process.

Implements #60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant