Skip to content

Commit

Permalink
remove: non-working info in zygisk-ptraceXX info response
Browse files Browse the repository at this point in the history
This commit removes information given in the response of info command of "zygisk-ptrace64" or "zygisk-ptrace32" that leads to failing builds, as it is not exported from monitor.cpp.
  • Loading branch information
ThePedroo committed Nov 11, 2024
1 parent b1d118d commit 5fb7115
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 34 deletions.
33 changes: 0 additions & 33 deletions loader/src/ptracer/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,39 +82,6 @@ int main(int argc, char **argv) {
}
}

#ifdef __LP64__
printf("Daemon64 running: %d\n", status64.daemon_running);
printf("Zygote64 injected: %s\n", status64.zygote_injected ? "yes" : "no");
#else
printf("Daemon32 running: %s\n", status32.daemon_running ? "yes" : "no");
printf("Zygote32 injected: %s\n", status32.zygote_injected ? "yes" : "no");
#endif

switch (tracing_state) {
case TRACING: {
printf("Tracing state: TRACING\n");

break;
}
case STOPPING: {
printf("Tracing state: STOPPING\n");
printf("Stop reason: %s\n", monitor_stop_reason);

break;
}
case STOPPED: {
printf("Tracing state: STOPPED\n");
printf("Stop reason: %s\n", monitor_stop_reason);

break;
}
case EXITING: {
printf("Tracing state: EXITING\n");

break;
}
}

if (info.modules->modules_count != 0) {
printf("Modules: %zu\n", info.modules->modules_count);

Expand Down
1 change: 0 additions & 1 deletion loader/src/ptracer/monitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,6 @@ static bool prepare_environment() {

/* TODO: See if ZYGISK_ENABLED flag is already set,
if so, set a status saying to disable built-in Zygisk. */
A
updateStatus();

return true;
Expand Down

0 comments on commit 5fb7115

Please sign in to comment.