add: additional information to ptrace command

This commit adds more information to the ptrace command to allow better integration with external features.
This commit is contained in:
ThePedroo
2024-08-10 13:43:14 -03:00
parent 88f1b7fdb9
commit 75a004f9d5
6 changed files with 139 additions and 21 deletions
+6
View File
@@ -42,6 +42,11 @@ private:
Fd fd_ = -1;
};
struct zygote_modules {
char **modules;
size_t modules_count;
};
enum zygote_root_impl {
ZYGOTE_ROOT_IMPL_NONE,
ZYGOTE_ROOT_IMPL_APATCH,
@@ -50,6 +55,7 @@ enum zygote_root_impl {
};
struct zygote_info {
struct zygote_modules *modules;
enum zygote_root_impl root_impl;
pid_t pid;
bool running;