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

Move probe storage allocation to an externally defined and injected function #16

Open
phsmenon opened this issue Nov 4, 2022 · 0 comments
Assignees

Comments

@phsmenon
Copy link
Contributor

phsmenon commented Nov 4, 2022

Context: MCTrace supports platform-specific allocation of the telemetry storage block. Currently the allocation is handled by a set of hardcoded instructions in the platform-specific plugin. Instead, the allocation function should be defined as part of an external (compiled) module. MCTrace must be updated to inject this module in to the binary and make calls these functions as appropriate.

To achieve this MCTrace must support injecting external modules in to the binary and invoking these newly injected functions afterwards.

Note that this approach can also be used to support externally specified data exfiltration functions.

See also #9.

@phsmenon phsmenon self-assigned this Nov 4, 2022
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

No branches or pull requests

1 participant